Forum Discussion

Barbara_D_Amico's avatar
Barbara_D_Amico
Icon for Nimbostratus rankNimbostratus
Jan 14, 2005

AvailabilityState enumeration

Hi,

 

 

I'm using the Node get_availability method to get the status of nodes and display it in our web site. I can't find any information on what the AVAILABILITY_PORT_DISABLED (value 11) means, or how that can be set from anywhere. I don't think we would end up ever wanting to set that at this point in time, but I would like to know what it means so I can know what to show the status as if this case ever comes back from the get_availability call.

 

 

Thanks a lot,

 

Barb
  • Loc_Pham_101863's avatar
    Loc_Pham_101863
    Historic F5 Account
    Hi Barb,

     

     

    According to the SDK documentation for ITCMLocalLB::Node, AVAILABILITY_PORT_DISABLED means that the node service is disabled. This means that an object is enabled, but whose port/service is disabled. Typically, you don't ever set this, i.e. this status is dynamically calculated and reported by our health monitoring system. The only thing you would ever call set_availability with is AVAILABILITY_UP/AVAILABILITY_DOWN to up/down the node or node address respectively.

     

     

    Regards,

     

    Loc