Skip to content
  • Iustin Pop's avatar
    htools: add spindle-related attribute to nodes · 8bc34c7b
    Iustin Pop authored
    
    
    This adds the spindleCount, hiSpindles and instSpindles attributes.
    
    The spindleCount is equivalent to spindle_count on the ganeti side (a
    node parameter). hiSpindles is the maximum instance-used spindles, and
    instSpindles will be used to track spindles as used by instances (in
    later patches).
    
    The patch also reads spindleCount from the live backends. The text and
    simu backends currently set it to 1, hard-coded.
    
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
    8bc34c7b