update a member

I am trying to create a c program where I am given a member and I want to make it active or inactive. Is there any way of doing this with jsut being given the member or do i need to know the pool, virtual server, etc.

In v4.x, you can use the ITCMLocalLB::Node::set_state() method to enable or disable a node in the global context. This will disable the node in all pools it is currently a member of.

struct IPPortDefinition {
  String address,
  long port
};
enum EnabledState {
  STATE_DISABLED,
  STATE_ENABLED
};
void ITCMLocalLB::Node::set_state(
    in IPPortDefinition[] node_defs,
    in EnabledState state
);

-Joe