another NM.BridgeVlan
zero of the two instances are equivalent or a non-zero integer otherwise. This defines a total ordering over the VLANs. Whether a VLAN is sealed or not does not affect the comparison.
Gets the VLAN id range.
true is the VLAN specifies a range, false if it is a single-id VLAN.
Returns whether the VLAN is the PVID for the port.
true if the VLAN is the PVID
whether self is sealed or not.
Returns whether the VLAN is untagged.
true if the VLAN is untagged, false otherwise
a clone of vlan. This instance is always unsealed.
Increases the reference count of the object.
the input argument vlan object. Since 1.42, ref-counting of NM.BridgeVlan is thread-safe.
Seal the NM.BridgeVlan instance. Afterwards, it is a bug
to call all functions that modify the instance (except ref/unref).
A sealed instance cannot be unsealed again, but you can create
an unsealed copy with nm_bridge_vlan_new_clone().
Change the value of the PVID property of the VLAN. It
is invalid to set the value to true for non-single-id
VLANs.
the new value
Change the value of the untagged property of the VLAN.
the new value
Convert a %NMBridgeVlan to a string.
formatted string or null
Decreases the reference count of the object. If the reference count reaches zero the object will be destroyed.
Since 1.42, ref-counting of NM.BridgeVlan is thread-safe.
Staticfrom_Parses the string representation of the queueing discipline to a %NMBridgeVlan instance.
the string representation of a bridge VLAN
Staticnew
Compare two bridge VLAN objects.