the VLAN id
true if the VLAN was added; false if it already existed
Determines if two NM.SriovVF objects have the same index, attributes and VLANs.
the NM.SriovVF to compare vf to.
true if the objects contain the same values, false if they do not.
Gets an array of attribute names defined on vf.
a null-terminated array of attribute names
Gets the index property of this VF object.
the VF index
Returns the VLANs currently configured on the VF. Currently kernel only supports one VLAN per VF.
a list of VLAN ids configured on the VF.
Returns the configured protocol for the given VLAN.
the VLAN id
the configured protocol
Returns the QoS value for the given VLAN.
the VLAN id
the QoS value
Increases the reference count of the object.
Removes a VLAN from a VF.
the VLAN id
true if the VLAN was removed, false if the VLAN vlan_id did not belong to the VF.
Sets the protocol for the given VLAN.
the VLAN id
the VLAN protocol
Sets a QoS value for the given VLAN.
the VLAN id
a QoS (priority) value
Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.
Staticattribute_Staticnew
Adds a VLAN to the VF. Currently kernel only supports one VLAN per VF.