View Source XenAPI.Cluster (XenAPI v0.3.1)
Cluster-wide Cluster metadata
Link to this section Summary
Functions
Add the given key-value pair to the other_config field of the given Cluster.
Add the given key-value pair to the other_config field of the given Cluster. (Raise error on XMLRPC failure)
Creates a Cluster object and one Cluster_host object as its first member
Creates a Cluster object and one Cluster_host object as its first member (Raise error on XMLRPC failure)
Destroys a Cluster object and the one remaining Cluster_host member
Destroys a Cluster object and the one remaining Cluster_host member (Raise error on XMLRPC failure)
Return a list of all the Clusters known to the system.
Return a list of all the Clusters known to the system. (Raise error on XMLRPC failure)
Return a map of Cluster references to Cluster records for all Clusters known to the system.
Return a map of Cluster references to Cluster records for all Clusters known to the system. (Raise error on XMLRPC failure)
Get the allowed_operations field of the given Cluster.
Get the allowed_operations field of the given Cluster. (Raise error on XMLRPC failure)
Get a reference to the Cluster instance with the specified UUID.
Get a reference to the Cluster instance with the specified UUID. (Raise error on XMLRPC failure)
Get the cluster_config field of the given Cluster.
Get the cluster_config field of the given Cluster. (Raise error on XMLRPC failure)
Get the cluster_hosts field of the given Cluster.
Get the cluster_hosts field of the given Cluster. (Raise error on XMLRPC failure)
Get the cluster_stack field of the given Cluster.
Get the cluster_stack field of the given Cluster. (Raise error on XMLRPC failure)
Get the cluster_token field of the given Cluster.
Get the cluster_token field of the given Cluster. (Raise error on XMLRPC failure)
Get the current_operations field of the given Cluster.
Get the current_operations field of the given Cluster. (Raise error on XMLRPC failure)
Returns the network used by the cluster for inter-host communication, i.e. the network shared by all cluster host PIFs
Returns the network used by the cluster for inter-host communication, i.e. the network shared by all cluster host PIFs (Raise error on XMLRPC failure)
Get the other_config field of the given Cluster.
Get the other_config field of the given Cluster. (Raise error on XMLRPC failure)
Get the pending_forget field of the given Cluster.
Get the pending_forget field of the given Cluster. (Raise error on XMLRPC failure)
Get the pool_auto_join field of the given Cluster.
Get the pool_auto_join field of the given Cluster. (Raise error on XMLRPC failure)
Get a record containing the current state of the given Cluster. Returns XenAPI.Cluster
struct.
Get a record containing the current state of the given Cluster. Returns XenAPI.Cluster
struct. (Raise error on XMLRPC failure)
Get the token_timeout field of the given Cluster.
Get the token_timeout field of the given Cluster. (Raise error on XMLRPC failure)
Get the token_timeout_coefficient field of the given Cluster.
Get the token_timeout_coefficient field of the given Cluster. (Raise error on XMLRPC failure)
Get the uuid field of the given Cluster.
Get the uuid field of the given Cluster. (Raise error on XMLRPC failure)
Attempt to create a Cluster from the entire pool
Attempt to create a Cluster from the entire pool (Raise error on XMLRPC failure)
Attempt to destroy the Cluster_host objects for all hosts in the pool and then destroy the Cluster.
Attempt to destroy the Cluster_host objects for all hosts in the pool and then destroy the Cluster. (Raise error on XMLRPC failure)
Attempt to force destroy the Cluster_host objects, and then destroy the Cluster.
Attempt to force destroy the Cluster_host objects, and then destroy the Cluster. (Raise error on XMLRPC failure)
Resynchronise the cluster_host objects across the pool. Creates them where they need creating and then plugs them
Resynchronise the cluster_host objects across the pool. Creates them where they need creating and then plugs them (Raise error on XMLRPC failure)
Remove the given key and its corresponding value from the other_config field of the given Cluster. If the key is not in that Map, then do nothing.
Remove the given key and its corresponding value from the other_config field of the given Cluster. If the key is not in that Map, then do nothing. (Raise error on XMLRPC failure)
Set the other_config field of the given Cluster.
Set the other_config field of the given Cluster. (Raise error on XMLRPC failure)
Link to this section Functions
Add the given key-value pair to the other_config field of the given Cluster.
Add the given key-value pair to the other_config field of the given Cluster. (Raise error on XMLRPC failure)
create(xen_session, arg, cluster_stack, pool_auto_join, token_timeout, token_timeout_coefficient)
View SourceCreates a Cluster object and one Cluster_host object as its first member
create!(xen_session, arg, cluster_stack, pool_auto_join, token_timeout, token_timeout_coefficient)
View SourceCreates a Cluster object and one Cluster_host object as its first member (Raise error on XMLRPC failure)
Destroys a Cluster object and the one remaining Cluster_host member
Destroys a Cluster object and the one remaining Cluster_host member (Raise error on XMLRPC failure)
Return a list of all the Clusters known to the system.
Return a list of all the Clusters known to the system. (Raise error on XMLRPC failure)
Return a map of Cluster references to Cluster records for all Clusters known to the system.
Return a map of Cluster references to Cluster records for all Clusters known to the system. (Raise error on XMLRPC failure)
Get the allowed_operations field of the given Cluster.
Get the allowed_operations field of the given Cluster. (Raise error on XMLRPC failure)
Get a reference to the Cluster instance with the specified UUID.
Get a reference to the Cluster instance with the specified UUID. (Raise error on XMLRPC failure)
Get the cluster_config field of the given Cluster.
Get the cluster_config field of the given Cluster. (Raise error on XMLRPC failure)
Get the cluster_hosts field of the given Cluster.
Get the cluster_hosts field of the given Cluster. (Raise error on XMLRPC failure)
Get the cluster_stack field of the given Cluster.
Get the cluster_stack field of the given Cluster. (Raise error on XMLRPC failure)
Get the cluster_token field of the given Cluster.
Get the cluster_token field of the given Cluster. (Raise error on XMLRPC failure)
Get the current_operations field of the given Cluster.
Get the current_operations field of the given Cluster. (Raise error on XMLRPC failure)
Returns the network used by the cluster for inter-host communication, i.e. the network shared by all cluster host PIFs
Returns the network used by the cluster for inter-host communication, i.e. the network shared by all cluster host PIFs (Raise error on XMLRPC failure)
Get the other_config field of the given Cluster.
Get the other_config field of the given Cluster. (Raise error on XMLRPC failure)
Get the pending_forget field of the given Cluster.
Get the pending_forget field of the given Cluster. (Raise error on XMLRPC failure)
Get the pool_auto_join field of the given Cluster.
Get the pool_auto_join field of the given Cluster. (Raise error on XMLRPC failure)
Get a record containing the current state of the given Cluster. Returns XenAPI.Cluster
struct.
Get a record containing the current state of the given Cluster. Returns XenAPI.Cluster
struct. (Raise error on XMLRPC failure)
Get the token_timeout field of the given Cluster.
Get the token_timeout field of the given Cluster. (Raise error on XMLRPC failure)
Get the token_timeout_coefficient field of the given Cluster.
Get the token_timeout_coefficient field of the given Cluster. (Raise error on XMLRPC failure)
Get the uuid field of the given Cluster.
Get the uuid field of the given Cluster. (Raise error on XMLRPC failure)
pool_create(xen_session, network, cluster_stack, token_timeout, token_timeout_coefficient)
View SourceAttempt to create a Cluster from the entire pool
pool_create!(xen_session, network, cluster_stack, token_timeout, token_timeout_coefficient)
View SourceAttempt to create a Cluster from the entire pool (Raise error on XMLRPC failure)
Attempt to destroy the Cluster_host objects for all hosts in the pool and then destroy the Cluster.
Attempt to destroy the Cluster_host objects for all hosts in the pool and then destroy the Cluster. (Raise error on XMLRPC failure)
Attempt to force destroy the Cluster_host objects, and then destroy the Cluster.
Attempt to force destroy the Cluster_host objects, and then destroy the Cluster. (Raise error on XMLRPC failure)
Resynchronise the cluster_host objects across the pool. Creates them where they need creating and then plugs them
Resynchronise the cluster_host objects across the pool. Creates them where they need creating and then plugs them (Raise error on XMLRPC failure)
Remove the given key and its corresponding value from the other_config field of the given Cluster. If the key is not in that Map, then do nothing.
Remove the given key and its corresponding value from the other_config field of the given Cluster. If the key is not in that Map, then do nothing. (Raise error on XMLRPC failure)
Set the other_config field of the given Cluster.
Set the other_config field of the given Cluster. (Raise error on XMLRPC failure)