public class ns_cluster extends base_resource
SESSION_NOT_EXISTS| Constructor and Description |
|---|
ns_cluster() |
| 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_cluster resources.
|
static long |
count_filtered(nitro_service service,
String filter)
Use this API to count the filtered set of ns_cluster resources.
|
static long |
count(nitro_service service)
Use this API to count the ns_cluster resources configured on NetScaler SDX.
|
static ns_cluster |
form_cluster(nitro_service client,
ns_cluster resource)
Use this operation to form one node cluster from NetScaler Instance.
|
static ns_cluster[] |
form_cluster(nitro_service client,
ns_cluster[] resources)
Use this operation to form one node cluster from NetScaler Instance in bulk.
|
String |
get_act_id()
Activity Id
|
String |
get_backplane()
Backplane Interface
|
Double |
get_clbkplanerx()
Traffic received on backplane (in mbits)
|
Double |
get_clbkplanerxrate()
Traffic rate received on backplane (in mbits)
|
Double |
get_clbkplanetx()
Traffic transmitted from backplane (in mbits)
|
Double |
get_clbkplanetxrate()
Traffic rate transmitted from backplane (in mbits)
|
String |
get_clcurstatus()
State of the cluster
|
String |
get_clip()
Cluster IPAddress
|
String |
get_clnodes()
List of Nodes part of Cluster
|
Integer |
get_clnumnodes()
Cluster ID
|
Integer |
get_clusterid()
Cluster Id
|
String |
get_clviewleader()
Cluster CCO NSIP
|
Double |
get_cpu_usage()
CPU Usage (%) of Cluster Instance
|
static ns_cluster[] |
get_filtered(nitro_service service,
filtervalue[] filter)
Use this API to fetch filtered set of ns_cluster resources.
|
static ns_cluster[] |
get_filtered(nitro_service service,
String filter)
Use this API to fetch filtered set of ns_cluster resources.
|
String |
get_health()
Node Health State
|
Double |
get_http_req()
HTTP Requests/second on Cluster Instance
|
String |
get_ipaddress()
NS ipaddress
|
Boolean |
get_iscco()
Is CCO
|
Double |
get_memory_usage()
Memory Usage (%) of Cluster Instance
|
Double |
get_mgmt_cpu_usage()
Management CPU Usage (%) of Cluster Instance
|
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.
|
Integer |
get_nodeid()
Node Id
|
Double |
get_numdfddroppkts()
Total number of packets steered on the cluster backplane
|
protected String |
get_object_id()
Returns the value of object identifier argument.
|
protected String |
get_object_type()
Gets the resource type.
|
String |
get_operationalstate()
Cluster Operational State
|
String |
get_password()
Password of the Configuration Coordinator node(Cluster IP)
|
String |
get_profile_name()
Profile Name
|
Double |
get_rx()
In Throughput of Cluster Instance in Mbps
|
String |
get_state()
Node State
|
Double |
get_totpropagationtimeout()
Number of times the update to the client timed-out
|
Double |
get_totsteeredpkts()
Total number of packets steered on the cluster backplane
|
Double |
get_tx()
Out Throughput of Cluster Instance in Mbps
|
static ns_cluster[] |
get(nitro_service client)
Use this operation to get ns cluster instance.
|
static ns_cluster |
join(nitro_service client,
ns_cluster resource)
Use this operation to join NetScaler Instance to existing cluster.
|
static ns_cluster[] |
join(nitro_service client,
ns_cluster[] resources)
Use this operation to join NetScaler Instance to existing cluster in bulk.
|
static ns_cluster |
modify_password(nitro_service client,
ns_cluster resource)
Use this operation to modify Cluster IP admin ns password.
|
static ns_cluster[] |
modify_password(nitro_service client,
ns_cluster[] resources)
Use this operation to modify Cluster IP admin ns password in bulk.
|
static ns_cluster |
remove(nitro_service client,
ns_cluster resource)
Use this operation to remove entire Cluster Instance.
|
static ns_cluster[] |
remove(nitro_service client,
ns_cluster[] resources)
Use this operation to remove entire Cluster Instance in bulk.
|
void |
set_backplane(String backplane)
Backplane Interface
|
void |
set_clip(String clip)
Cluster IPAddress
|
void |
set_clnodes(String clnodes)
List of Nodes part of Cluster
|
void |
set_clnumnodes(Integer clnumnodes)
Cluster ID
|
void |
set_clusterid(Integer clusterid)
Cluster Id
|
void |
set_clviewleader(String clviewleader)
Cluster CCO NSIP
|
void |
set_ipaddress(String ipaddress)
NS ipaddress
|
void |
set_iscco(Boolean iscco)
Is CCO
|
void |
set_nodeid(Integer nodeid)
Node Id
|
void |
set_password(String password)
Password of the Configuration Coordinator node(Cluster IP)
|
void |
set_profile_name(String profile_name)
Profile Name
|
void |
set_state(String state)
Node State
|
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 Double get_mgmt_cpu_usage()
Management CPU Usage (%) of Cluster Instance
public Double get_clbkplanerx()
Traffic received on backplane (in mbits)
public void set_backplane(String backplane)
Backplane Interface
public String get_backplane()
Backplane Interface
public void set_clusterid(Integer clusterid)
Cluster Id
public Integer get_clusterid()
Cluster Id
public void set_nodeid(Integer nodeid)
Node Id
public Integer get_nodeid()
Node Id
public void set_clnodes(String clnodes)
List of Nodes part of Cluster
public String get_clnodes()
List of Nodes part of Cluster
public void set_state(String state)
Node State
public String get_state()
Node State
public Double get_totpropagationtimeout()
Number of times the update to the client timed-out
public Double get_totsteeredpkts()
Total number of packets steered on the cluster backplane
public Double get_clbkplanetx()
Traffic transmitted from backplane (in mbits)
public void set_password(String password)
Password of the Configuration Coordinator node(Cluster IP)
public String get_password()
Password of the Configuration Coordinator node(Cluster IP)
public String get_act_id()
Activity Id
public void set_clip(String clip)
Cluster IPAddress
public String get_clip()
Cluster IPAddress
public void set_iscco(Boolean iscco)
Is CCO
public Boolean get_iscco()
Is CCO
public String get_operationalstate()
Cluster Operational State
public Double get_numdfddroppkts()
Total number of packets steered on the cluster backplane
public void set_clviewleader(String clviewleader)
Cluster CCO NSIP
public String get_clviewleader()
Cluster CCO NSIP
public Double get_tx()
Out Throughput of Cluster Instance in Mbps
public void set_clnumnodes(Integer clnumnodes)
Cluster ID
public Integer get_clnumnodes()
Cluster ID
public String get_clcurstatus()
State of the cluster
public Double get_http_req()
HTTP Requests/second on Cluster Instance
public Double get_rx()
In Throughput of Cluster Instance in Mbps
public Double get_memory_usage()
Memory Usage (%) of Cluster Instance
public Double get_clbkplanetxrate()
Traffic rate transmitted from backplane (in mbits)
public String get_health()
Node Health State
public Double get_clbkplanerxrate()
Traffic rate received on backplane (in mbits)
public Double get_cpu_usage()
CPU Usage (%) of Cluster Instance
public void set_ipaddress(String ipaddress)
NS ipaddress
public String get_ipaddress()
NS ipaddress
public void set_profile_name(String profile_name)
Profile Name
public String get_profile_name()
Profile Name
public static ns_cluster remove(nitro_service client, ns_cluster resource) throws Exception
Use this operation to remove entire Cluster Instance.
Exceptionpublic static ns_cluster[] remove(nitro_service client, ns_cluster[] resources) throws Exception
Use this operation to remove entire Cluster Instance in bulk.
Exceptionpublic static ns_cluster[] get(nitro_service client) throws Exception
Use this operation to get ns cluster instance.
Exceptionpublic static ns_cluster modify_password(nitro_service client, ns_cluster resource) throws Exception
Use this operation to modify Cluster IP admin ns password.
Exceptionpublic static ns_cluster[] modify_password(nitro_service client, ns_cluster[] resources) throws Exception
Use this operation to modify Cluster IP admin ns password in bulk.
Exceptionpublic static ns_cluster form_cluster(nitro_service client, ns_cluster resource) throws Exception
Use this operation to form one node cluster from NetScaler Instance.
Exceptionpublic static ns_cluster[] form_cluster(nitro_service client, ns_cluster[] resources) throws Exception
Use this operation to form one node cluster from NetScaler Instance in bulk.
Exceptionpublic static ns_cluster join(nitro_service client, ns_cluster resource) throws Exception
Use this operation to join NetScaler Instance to existing cluster.
Exceptionpublic static ns_cluster[] join(nitro_service client, ns_cluster[] resources) throws Exception
Use this operation to join NetScaler Instance to existing cluster in bulk.
Exceptionpublic static ns_cluster[] get_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static ns_cluster[] 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.