PVS_server
Class: PVS_server
individual machine serving provisioning (block) data
| Published in: | XenServer 7.1 (ely) |  | 
Fields
string set
addresses
[RO/constructor]
IPv4 addresses of this server
| Default value: | {} | 
| Published in: | XenServer 7.1 (ely) |  | 
int
first_port
[RO/constructor]
First UDP port accepted by this server
| Default value: | 0 | 
| Published in: | XenServer 7.1 (ely) |  | 
int
last_port
[RO/constructor]
Last UDP port accepted by this server
| Default value: | 0 | 
| Published in: | XenServer 7.1 (ely) |  | 
PVS_site ref
site
[RO/constructor]
PVS site this server is part of
| Default value: | OpaqueRef:NULL | 
| Published in: | XenServer 7.1 (ely) |  | 
string
uuid
[RO/runtime]
Unique identifier/object reference
| Published in: | XenServer 7.1 (ely) |  | 
Messages
void
forget
(session ref, PVS_server ref)
forget a PVS server
| Parameters: | session ref session_id | Reference to a valid session | 
|  | PVS_server ref self | this PVS server | 
| Minimum role: | pool-operator | 
| Published in: | XenServer 7.1 (ely) |  | 
string set
get_addresses
(session ref, PVS_server ref)
Get the addresses field of the given PVS_server.
| Parameters: | session ref session_id | Reference to a valid session | 
|  | PVS_server ref self | reference to the object | 
| Minimum role: | read-only | 
| Result: | value of the field | 
| Published in: | XenServer 7.1 (ely) |  | 
PVS_server ref set
get_all
(session ref)
Return a list of all the PVS_servers known to the system.
| Parameters: | session ref session_id | Reference to a valid session | 
| Minimum role: | read-only | 
| Result: | references to all objects | 
| Published in: | XenServer 7.1 (ely) |  | 
(PVS_server ref → PVS_server record) map
get_all_records
(session ref)
Return a map of PVS_server references to PVS_server records for all PVS_servers known to the system.
| Parameters: | session ref session_id | Reference to a valid session | 
| Minimum role: | read-only | 
| Result: | records of all objects | 
| Published in: | XenServer 7.1 (ely) |  | 
PVS_server ref
get_by_uuid
(session ref, string)
Get a reference to the PVS_server instance with the specified UUID.
| Parameters: | session ref session_id | Reference to a valid session | 
|  | string uuid | UUID of object to return | 
| Minimum role: | read-only | 
| Result: | reference to the object | 
| Published in: | XenServer 7.1 (ely) |  | 
int
get_first_port
(session ref, PVS_server ref)
Get the first_port field of the given PVS_server.
| Parameters: | session ref session_id | Reference to a valid session | 
|  | PVS_server ref self | reference to the object | 
| Minimum role: | read-only | 
| Result: | value of the field | 
| Published in: | XenServer 7.1 (ely) |  | 
int
get_last_port
(session ref, PVS_server ref)
Get the last_port field of the given PVS_server.
| Parameters: | session ref session_id | Reference to a valid session | 
|  | PVS_server ref self | reference to the object | 
| Minimum role: | read-only | 
| Result: | value of the field | 
| Published in: | XenServer 7.1 (ely) |  | 
PVS_server record
get_record
(session ref, PVS_server ref)
Get a record containing the current state of the given PVS_server.
| Parameters: | session ref session_id | Reference to a valid session | 
|  | PVS_server ref self | reference to the object | 
| Minimum role: | read-only | 
| Result: | all fields from the object | 
| Published in: | XenServer 7.1 (ely) |  | 
PVS_site ref
get_site
(session ref, PVS_server ref)
Get the site field of the given PVS_server.
| Parameters: | session ref session_id | Reference to a valid session | 
|  | PVS_server ref self | reference to the object | 
| Minimum role: | read-only | 
| Result: | value of the field | 
| Published in: | XenServer 7.1 (ely) |  | 
string
get_uuid
(session ref, PVS_server ref)
Get the uuid field of the given PVS_server.
| Parameters: | session ref session_id | Reference to a valid session | 
|  | PVS_server ref self | reference to the object | 
| Minimum role: | read-only | 
| Result: | value of the field | 
| Published in: | XenServer 7.1 (ely) |  | 
PVS_server ref
introduce
(session ref, string set, int, int, PVS_site ref)
introduce new PVS server
| Parameters: | session ref session_id | Reference to a valid session | 
|  | string set addresses | IPv4/IPv6 addresses of the server | 
|  | int first_port | first UDP port accepted by this server | 
|  | int last_port | last UDP port accepted by this server | 
|  | PVS_site ref site | PVS site this server is a part of | 
| Minimum role: | pool-operator | 
| Result: | the new PVS server | 
| Published in: | XenServer 7.1 (ely) |  |