I’m trying to find out all the states of nodes in a pool. I try to run
ITCMLocalLB.Node.get_node_address_states
But since it only takes a list of ip addresses (I tried to a list with use ‘:’
but it doesn’t work). If I use
ITCMLocalLB.Node.get_state
which takes a
ITCMCommon.IPPortDefinition
things work as expected, but off course I have to run it seperately for every
node in the pool.
My question, what is the difference between the 2? Will set_node_address_states
disable all services for that IP, whereas set_state will only disable the IP/port pair?
Do the {get,set}_state have to be used together, as well as the
{get,set}_node_address_states?
The docs are not extremely clear, although it may be my lack of understanding of the
terminology (note: Sets the states for a sequence of node addresses vs. Set the
enabled state for a sequence of nodes)