-
string
uuid
unique identifier/object reference
-
string
name_label
a human-readable name
-
string
name_description
a notes field containg human-readable description
-
Set[enum network_operations]
allowed_operations
list of the operations allowed in this state. This list is advisory only and the server state may have changed by the time this field is read by a client.
-
Map[string,enum network_operations]
current_operations
links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
-
Set[VIF]
VIFs
list of connected vifs
-
Set[PIF]
PIFs
list of connected pifs
-
Map[string,string]
other_config
additional configuration
-
string
bridge
name of the bridge corresponding to this network on the local host
-
Record[network]
get_record
(session session_id, network self)
Get a record containing the current state of the given network.
-
network
get_by_uuid
(session session_id, string uuid)
Get a reference to the network instance with the specified UUID.
-
network
create
(session session_id, string name_label, string name_description, Map[string,string] other_config)
Create a new network instance, and return its handle.
-
void
destroy
(session session_id, network self)
Destroy the specified network instance.
-
Set[network]
get_by_name_label
(session session_id, string label)
Get all the network instances with the given label.
-
Set[network]
get_all
(session session_id)
Return a list of all the networks known to the system.
-
Map[network,Record[network]]
get_all_records
(session session_id)
Return a map of network references to network records for all networks known to the system.