summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os_net_config/impl_ifcfg.py3
-rw-r--r--os_net_config/tests/test_impl_ifcfg.py2
2 files changed, 0 insertions, 5 deletions
diff --git a/os_net_config/impl_ifcfg.py b/os_net_config/impl_ifcfg.py
index ff4a059..91a6fd2 100644
--- a/os_net_config/impl_ifcfg.py
+++ b/os_net_config/impl_ifcfg.py
@@ -55,9 +55,6 @@ class IfcfgNetConfig(os_net_config.NetConfig):
data += "TYPE=OVSIntPort\n"
data += "OVS_BRIDGE=%s\n" % base_opt.bridge_name
data += "OVS_OPTIONS=\"tag=%s\"\n" % base_opt.vlan_id
- data += "OVS_EXTRA=\"set Interface $DEVICE "
- data += "external-ids:iface-id=$(hostname -s)"
- data += "-$DEVICE-vif\"\n"
else:
data += "TYPE=OVSPort\n"
data += "OVS_BRIDGE=%s\n" % base_opt.bridge_name
diff --git a/os_net_config/tests/test_impl_ifcfg.py b/os_net_config/tests/test_impl_ifcfg.py
index cf1f0c0..55e926a 100644
--- a/os_net_config/tests/test_impl_ifcfg.py
+++ b/os_net_config/tests/test_impl_ifcfg.py
@@ -81,8 +81,6 @@ _VLAN_OVS_BRIDGE = _BASE_VLAN + """DEVICETYPE=ovs
TYPE=OVSIntPort
OVS_BRIDGE=br-ctlplane
OVS_OPTIONS="tag=5"
-OVS_EXTRA=\"set Interface $DEVICE external-ids:iface-id=$(hostname -s\
-)-$DEVICE-vif\"
BOOTPROTO=none
"""