View Source XenAPI.NetworkSriov (XenAPI v0.3.1)

network-sriov which connects logical pif and physical pif

Link to this section Summary

Functions

Enable SR-IOV on the specific PIF. It will create a network-sriov based on the specific PIF and automatically create a logical PIF to connect the specific network.

Enable SR-IOV on the specific PIF. It will create a network-sriov based on the specific PIF and automatically create a logical PIF to connect the specific network. (Raise error on XMLRPC failure)

Disable SR-IOV on the specific PIF. It will destroy the network-sriov and the logical PIF accordingly.

Disable SR-IOV on the specific PIF. It will destroy the network-sriov and the logical PIF accordingly. (Raise error on XMLRPC failure)

Return a list of all the network_sriovs known to the system.

Return a list of all the network_sriovs known to the system. (Raise error on XMLRPC failure)

Return a map of network_sriov references to network_sriov records for all network_sriovs known to the system.

Return a map of network_sriov references to network_sriov records for all network_sriovs known to the system. (Raise error on XMLRPC failure)

Get a reference to the network_sriov instance with the specified UUID.

Get a reference to the network_sriov instance with the specified UUID. (Raise error on XMLRPC failure)

Get the configuration_mode field of the given network_sriov.

Get the configuration_mode field of the given network_sriov. (Raise error on XMLRPC failure)

Get the logical_PIF field of the given network_sriov.

Get the logical_PIF field of the given network_sriov. (Raise error on XMLRPC failure)

Get the physical_PIF field of the given network_sriov.

Get the physical_PIF field of the given network_sriov. (Raise error on XMLRPC failure)

Get a record containing the current state of the given network_sriov. Returns XenAPI.NetworkSriov struct.

Get a record containing the current state of the given network_sriov. Returns XenAPI.NetworkSriov struct. (Raise error on XMLRPC failure)

Get the number of free SR-IOV VFs on the associated PIF

Get the number of free SR-IOV VFs on the associated PIF (Raise error on XMLRPC failure)

Get the requires_reboot field of the given network_sriov.

Get the requires_reboot field of the given network_sriov. (Raise error on XMLRPC failure)

Get the uuid field of the given network_sriov.

Get the uuid field of the given network_sriov. (Raise error on XMLRPC failure)

Link to this section Functions

Link to this function

create(xen_session, pif, network)

View Source

Enable SR-IOV on the specific PIF. It will create a network-sriov based on the specific PIF and automatically create a logical PIF to connect the specific network.

Link to this function

create!(xen_session, pif, network)

View Source

Enable SR-IOV on the specific PIF. It will create a network-sriov based on the specific PIF and automatically create a logical PIF to connect the specific network. (Raise error on XMLRPC failure)

Link to this function

destroy(xen_session, network_sriov_ref)

View Source

Disable SR-IOV on the specific PIF. It will destroy the network-sriov and the logical PIF accordingly.

Link to this function

destroy!(xen_session, network_sriov_ref)

View Source

Disable SR-IOV on the specific PIF. It will destroy the network-sriov and the logical PIF accordingly. (Raise error on XMLRPC failure)

Return a list of all the network_sriovs known to the system.

Return a list of all the network_sriovs known to the system. (Raise error on XMLRPC failure)

Link to this function

get_all_records(xen_session)

View Source

Return a map of network_sriov references to network_sriov records for all network_sriovs known to the system.

Link to this function

get_all_records!(xen_session)

View Source

Return a map of network_sriov references to network_sriov records for all network_sriovs known to the system. (Raise error on XMLRPC failure)

Link to this function

get_by_uuid(xen_session, uuid)

View Source

Get a reference to the network_sriov instance with the specified UUID.

Link to this function

get_by_uuid!(xen_session, uuid)

View Source

Get a reference to the network_sriov instance with the specified UUID. (Raise error on XMLRPC failure)

Link to this function

get_configuration_mode(xen_session, network_sriov_ref)

View Source

Get the configuration_mode field of the given network_sriov.

Link to this function

get_configuration_mode!(xen_session, network_sriov_ref)

View Source

Get the configuration_mode field of the given network_sriov. (Raise error on XMLRPC failure)

Link to this function

get_logical_PIF(xen_session, network_sriov_ref)

View Source

Get the logical_PIF field of the given network_sriov.

Link to this function

get_logical_PIF!(xen_session, network_sriov_ref)

View Source

Get the logical_PIF field of the given network_sriov. (Raise error on XMLRPC failure)

Link to this function

get_physical_PIF(xen_session, network_sriov_ref)

View Source

Get the physical_PIF field of the given network_sriov.

Link to this function

get_physical_PIF!(xen_session, network_sriov_ref)

View Source

Get the physical_PIF field of the given network_sriov. (Raise error on XMLRPC failure)

Link to this function

get_record(xen_session, network_sriov_ref)

View Source

Get a record containing the current state of the given network_sriov. Returns XenAPI.NetworkSriov struct.

Link to this function

get_record!(xen_session, network_sriov_ref)

View Source

Get a record containing the current state of the given network_sriov. Returns XenAPI.NetworkSriov struct. (Raise error on XMLRPC failure)

Link to this function

get_remaining_capacity(xen_session, network_sriov_ref)

View Source

Get the number of free SR-IOV VFs on the associated PIF

Link to this function

get_remaining_capacity!(xen_session, network_sriov_ref)

View Source

Get the number of free SR-IOV VFs on the associated PIF (Raise error on XMLRPC failure)

Link to this function

get_requires_reboot(xen_session, network_sriov_ref)

View Source

Get the requires_reboot field of the given network_sriov.

Link to this function

get_requires_reboot!(xen_session, network_sriov_ref)

View Source

Get the requires_reboot field of the given network_sriov. (Raise error on XMLRPC failure)

Link to this function

get_uuid(xen_session, network_sriov_ref)

View Source

Get the uuid field of the given network_sriov.

Link to this function

get_uuid!(xen_session, network_sriov_ref)

View Source

Get the uuid field of the given network_sriov. (Raise error on XMLRPC failure)