summaryrefslogtreecommitdiff
path: root/libnm/nm-device.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-10-02 08:39:09 +0200
committerLubomir Rintel <lkundrak@v3.sk>2017-10-30 17:40:08 +0100
commit6748c44cb66d6d9e631a91c9c86958acfcd6806f (patch)
tree1dd51440f4094eb2cc4ba454706934db1d96d422 /libnm/nm-device.c
parentb0f3dc0add9dc74ef1192f2996b420b159add9af (diff)
downloadNetworkManager-6748c44cb66d6d9e631a91c9c86958acfcd6806f.tar.gz
introspection: add o.fd.NM.Device.OvsPort interface
Diffstat (limited to 'libnm/nm-device.c')
-rw-r--r--libnm/nm-device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libnm/nm-device.c b/libnm/nm-device.c
index 96efbc348e..6f972c6fac 100644
--- a/libnm/nm-device.c
+++ b/libnm/nm-device.c
@@ -262,6 +262,7 @@ coerce_type (NMDeviceType type)
case NM_DEVICE_TYPE_BT:
case NM_DEVICE_TYPE_OLPC_MESH:
case NM_DEVICE_TYPE_OVS_INTERFACE:
+ case NM_DEVICE_TYPE_OVS_PORT:
case NM_DEVICE_TYPE_WIMAX:
case NM_DEVICE_TYPE_MODEM:
case NM_DEVICE_TYPE_INFINIBAND:
@@ -1525,6 +1526,8 @@ get_type_name (NMDevice *device)
return _("OLPC Mesh");
case NM_DEVICE_TYPE_OVS_INTERFACE:
return _("OpenVSwitch Interface");
+ case NM_DEVICE_TYPE_OVS_PORT:
+ return _("OpenVSwitch Port");
case NM_DEVICE_TYPE_WIMAX:
return _("WiMAX");
case NM_DEVICE_TYPE_MODEM: