public class xen extends host_device
SESSION_NOT_EXISTS| Constructor and Description |
|---|
xen() |
| Modifier and Type | Method and Description |
|---|---|
static long |
count_filtered(nitro_service service,
filtervalue[] filter)
Use this API to count the filtered set of xen resources.
|
static long |
count_filtered(nitro_service service,
String filter)
Use this API to count the filtered set of xen resources.
|
static long |
count(nitro_service service)
Use this API to count the xen resources configured on NetScaler SDX.
|
String |
get_bios_version()
BIOS Version
|
String |
get_build_date()
XenServer Build Date
|
String |
get_build_number()
XenServer Build Number
|
String |
get_edition()
XenServer Edition
|
String |
get_expiry()
XenServer Expiry
|
static xen[] |
get_filtered(nitro_service service,
filtervalue[] filter)
Use this API to fetch filtered set of xen resources.
|
static xen[] |
get_filtered(nitro_service service,
String filter)
Use this API to fetch filtered set of xen resources.
|
String |
get_iscsi_iqn()
iSCSI IQN
|
String |
get_kernel_version()
Kernel Version
|
Double |
get_lan_in()
LAN In (Mbps)
|
Double |
get_lan_out()
LAN Out (Mbps)
|
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.
|
protected String |
get_object_id()
Returns the value of object identifier argument.
|
protected String |
get_object_type()
Gets the resource type.
|
String |
get_productcode()
XenServer Product Code
|
String |
get_serialnumber()
XenServer Serial Number
|
String |
get_supplemental_pack()
Supplemental Pack installed on XenServer
|
String |
get_version_long()
XenServer Version (full text)
|
String |
get_version_short()
XenServer Version
|
Double |
get_wan_in()
WAN In (Mbps)
|
Double |
get_wan_out()
WAN Out (Mbps)
|
static xen[] |
get(nitro_service client)
Use this operation to get XenServers.
|
static xen |
get(nitro_service client,
xen resource)
Use this operation to get XenServers.
|
static xen |
reboot(nitro_service client,
xen resource)
Use this operation to reboot XenServer.
|
static xen[] |
reboot(nitro_service client,
xen[] resources)
Use this operation to reboot XenServer in bulk.
|
static xen |
stop(nitro_service client,
xen resource)
Use this operation to shutdown XenServer.
|
static xen[] |
stop(nitro_service client,
xen[] resources)
Use this operation to shutdown XenServer in bulk.
|
protected void |
validate(String operationType)
Performs generic data validation for the operation to be performed
|
get_cpu_usage, get_enabled, get_memory_free, get_memory_total, get_memory_usage, get_number_of_cpu, get_rx, get_ssl_cores_free, get_ssl_cores_total, get_tx, get_uptime, get_uuid, getadd, add, delete, delete, get_act_id, get_description, get_device_family, get_gateway, get_hostname, get_id, get_instance_state, get_ip_address, get_name, get_netmask, get_ping_state, get_profile_name, get_profile_password, get_profile_username, get_reason, get_status, get_type, get_user_driven, get_version, set_description, set_device_family, set_gateway, set_hostname, set_id, set_ip_address, set_name, set_netmask, set_profile_name, set_profile_password, set_profile_username, set_typeadd_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 host_deviceprotected String get_object_id()
get_object_id in class host_devicepublic String get_kernel_version()
Kernel Version
public String get_version_short()
XenServer Version
public String get_expiry()
XenServer Expiry
public String get_supplemental_pack()
Supplemental Pack installed on XenServer
public String get_productcode()
XenServer Product Code
public String get_bios_version()
BIOS Version
public String get_build_date()
XenServer Build Date
public String get_iscsi_iqn()
iSCSI IQN
public String get_version_long()
XenServer Version (full text)
public String get_build_number()
XenServer Build Number
public String get_edition()
XenServer Edition
public String get_serialnumber()
XenServer Serial Number
public Double get_wan_out()
WAN Out (Mbps)
public Double get_lan_out()
LAN Out (Mbps)
public Double get_wan_in()
WAN In (Mbps)
public Double get_lan_in()
LAN In (Mbps)
public static xen reboot(nitro_service client, xen resource) throws Exception
Exceptionpublic static xen[] reboot(nitro_service client, xen[] resources) throws Exception
Use this operation to reboot XenServer in bulk.
Exceptionpublic static xen stop(nitro_service client, xen resource) throws Exception
Exceptionpublic static xen[] stop(nitro_service client, xen[] resources) throws Exception
Use this operation to shutdown XenServer in bulk.
Exceptionpublic static xen[] get(nitro_service client) throws Exception
Use this operation to get XenServers.
Exceptionpublic static xen get(nitro_service client, xen resource) throws Exception
Exceptionpublic static xen[] get_filtered(nitro_service service, String filter) throws Exception
Exceptionpublic static xen[] 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 host_deviceExceptionprotected 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 host_deviceExceptionprotected void validate(String operationType) throws Exception
Performs generic data validation for the operation to be performed
validate in class host_deviceoperationType - : add,delete,modify,get etc.ExceptionCopyright © 2013 Citrix Systems, Inc.. All Rights Reserved.