public class ns_clusternode extends base_resource
SESSION_NOT_EXISTS| Constructor and Description |
|---|
ns_clusternode() |
| Modifier and Type | Method and Description |
|---|---|
static long |
count_filtered(nitro_service service,
filtervalue[] filter)
Use this API to count the filtered set of ns_clusternode resources.
|
static long |
count_filtered(nitro_service service,
String filter)
Use this API to count the filtered set of ns_clusternode resources.
|
static long |
count(nitro_service service)
Use this API to count the ns_clusternode resources configured on NetScaler SDX.
|
String |
get_act_id()
Activity Id
|
String |
get_clip()
Cluster IP
|
String |
get_clmasterstate()
Cluster Master State
|
String |
get_clnodeeffectivehealth()
Effective Health of the node in the cluster
|
String |
get_clnodehealth()
Health of the node in the cluster
|
String |
get_clnodeip()
Cluster Node IP
|
Double |
get_clptprx()
Number of PTP packets received on the node
|
String |
get_clptpstate()
PTP state of the node.
|
Double |
get_clptptx()
Number of PTP packets transmitted by the node
|
String |
get_clsyncstate()
Sync state of the cluster node
|
Double |
get_cltothbrx()
Cluster Number of Heartbeats Received
|
Double |
get_cltothbtx()
Cluster Number of Heartbeats Sent
|
Integer |
get_clusterid()
Cluster Instance ID
|
static ns_clusternode[] |
get_filtered(nitro_service service,
filtervalue[] filter)
Use this API to fetch filtered set of ns_clusternode resources.
|
static ns_clusternode[] |
get_filtered(nitro_service service,
String filter)
Use this API to fetch filtered set of ns_clusternode resources.
|
Boolean |
get_iscco()
Is CCO
|
String |
get_islocalsdx()
Is Node Belonging to Local SDX
|
protected base_resource[] |
get_nitro_bulk_response(nitro_service service,
String response)
Converts API response of bulk operation into object and returns the object array in case of get request.
|
protected base_resource[] |
get_nitro_response(nitro_service service,
String response)
Converts API response into object and returns the object array in case of get request.
|
Double |
get_nnmcurconn()
Number of Connections open for node to node connection.
|
Double |
get_nnmerrmsend()
Number of errors in sending node-to-node multicast/broadcast messages
|
Double |
get_nnmtotconnrx()
Number of node-to-node messages received
|
Double |
get_nnmtotconntx()
Number of node-to-node messages sent
|
Integer |
get_nodeid()
Cluster Node ID
|
protected String |
get_object_id()
Returns the value of object identifier argument.
|
protected String |
get_object_type()
Gets the resource type.
|
String |
get_password()
Password of the CCO node(CLIP)
|
static ns_clusternode |
remove_node(nitro_service client,
ns_clusternode resource)
Use this operation to remove node from cluster.
|
static ns_clusternode[] |
remove_node(nitro_service client,
ns_clusternode[] resources)
Use this operation to remove node from cluster in bulk.
|
void |
set_clip(String clip)
Cluster IP
|
void |
set_clnodeip(String clnodeip)
Cluster Node IP
|
void |
set_clusterid(Integer clusterid)
Cluster Instance ID
|
void |
set_iscco(Boolean iscco)
Is CCO
|
void |
set_islocalsdx(String islocalsdx)
Is Node Belonging to Local SDX
|
void |
set_nodeid(Integer nodeid)
Cluster Node ID
|
void |
set_password(String password)
Password of the CCO node(CLIP)
|
protected void |
validate(String operationType)
Performs generic data validation for the operation to be performed
|
add_resource, add_resource, delete_bulk_request, delete_resource, get_resource, get_resource, get_resources, get_resources, getfiltered, perform_operation_bulk_request, perform_operation, perform_operation, perform_operation, resource_to_string, resource_to_string, update_bulk_request, update_resource, update_resourceprotected String get_object_type()
base_resourceget_object_type in class base_resourceprotected String get_object_id()
get_object_id in class base_resourcepublic String get_clnodehealth()
Health of the node in the cluster
public void set_clusterid(Integer clusterid)
Cluster Instance ID
public Integer get_clusterid()
Cluster Instance ID
public void set_nodeid(Integer nodeid)
Cluster Node ID
public Integer get_nodeid()
Cluster Node ID
public Double get_nnmcurconn()
Number of Connections open for node to node connection.
public void set_clnodeip(String clnodeip)
Cluster Node IP
public String get_clnodeip()
Cluster Node IP
public Double get_nnmerrmsend()
Number of errors in sending node-to-node multicast/broadcast messages
public Double get_nnmtotconntx()
Number of node-to-node messages sent
public void set_password(String password)
Password of the CCO node(CLIP)
public String get_password()
Password of the CCO node(CLIP)
public String get_act_id()
Activity Id
public void set_iscco(Boolean iscco)
Is CCO
public Boolean get_iscco()
Is CCO
public String get_clnodeeffectivehealth()
Effective Health of the node in the cluster
public void set_clip(String clip)
Cluster IP
public String get_clip()
Cluster IP
public Double get_clptptx()
Number of PTP packets transmitted by the node
public String get_clmasterstate()
Cluster Master State
public String get_clsyncstate()
Sync state of the cluster node
public Double get_cltothbtx()
Cluster Number of Heartbeats Sent
public Double get_nnmtotconnrx()
Number of node-to-node messages received
public Double get_clptprx()
Number of PTP packets received on the node
public String get_clptpstate()
PTP state of the node. This state is Master for one node and Slave for the rest
public Double get_cltothbrx()
Cluster Number of Heartbeats Received
public void set_islocalsdx(String islocalsdx)
Is Node Belonging to Local SDX
public String get_islocalsdx()
Is Node Belonging to Local SDX
public static ns_clusternode remove_node(nitro_service client, ns_clusternode resource) throws Exception
Use this operation to remove node from cluster.
Exceptionpublic static ns_clusternode[] remove_node(nitro_service client, ns_clusternode[] resources) throws Exception
Use this operation to remove node from cluster in bulk.
Exceptionpublic static ns_clusternode[] get_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static ns_clusternode[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception
Exceptionpublic static long count(nitro_service service) throws Exception
Exceptionpublic static long count_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static long count_filtered(nitro_service service, filtervalue[] filter) throws Exception
Exceptionprotected base_resource[] get_nitro_response(nitro_service service, String response) throws Exception
Converts API response into object and returns the object array in case of get request.
get_nitro_response in class base_resourceExceptionprotected base_resource[] get_nitro_bulk_response(nitro_service service, String response) throws Exception
Converts API response of bulk operation into object and returns the object array in case of get request.
get_nitro_bulk_response in class base_resourceExceptionprotected void validate(String operationType) throws Exception
Performs generic data validation for the operation to be performed
validate in class base_resourceoperationType - : add,delete,modify,get etc.ExceptionCopyright © 2013 Citrix Systems, Inc.. All Rights Reserved.