summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2013-10-11 14:59:26 -0400
committerDan Winship <danw@gnome.org>2013-11-06 10:26:16 -0500
commitb7300bbe5a9f298ede02225b6b7e73e05aa78bc8 (patch)
tree614b3cb520f8b3827d5ddc6ae5ba5157e8b98831 /introspection
parenta4dcd666980bc4c0137c6885c0cfeadd3f54df85 (diff)
downloadNetworkManager-b7300bbe5a9f298ede02225b6b7e73e05aa78bc8.tar.gz
core: improve handling of NPAR/SR-IOV devices (rh #804527)
Use the new kernel physical_port_id interface property to recognize when two devices are just virtual devices sharing the same physical port, and refuse to bond/team multiple slaves on the same port.
Diffstat (limited to 'introspection')
-rw-r--r--introspection/nm-device.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/introspection/nm-device.xml b/introspection/nm-device.xml
index 7c63a3d738..d9e7702d14 100644
--- a/introspection/nm-device.xml
+++ b/introspection/nm-device.xml
@@ -125,6 +125,14 @@
An array of object paths of every configured connection that is currently 'available' through this device.
</tp:docstring>
</property>
+ <property name="PhysicalPortId" type="s" access="read">
+ <tp:docstring>
+ If non-empty, an (opaque) indicator of the physical network
+ port associated with the device. This can be used to recognize
+ when two seemingly-separate hardware devices are actually just
+ different virtual interfaces to the same physical port.
+ </tp:docstring>
+ </property>
<method name="Disconnect">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_device_disconnect"/>