Merge "Remove unused FP device creation and deletion methods."

This commit is contained in:
Zuul 2019-07-27 04:56:28 +00:00 committed by Gerrit Code Review
commit 1599e3cf68
1 changed files with 0 additions and 13 deletions

View File

@ -1186,19 +1186,6 @@ def _ovs_vsctl(args):
raise exception.OvsConfigurationFailure(inner_exception=e)
def create_fp_dev(dev, sockpath, sockmode):
if not nova.privsep.linux_net.device_exists(dev):
utils.execute('fp-vdev', 'add', dev, '--sockpath', sockpath,
'--sockmode', sockmode, run_as_root=True)
nova.privsep.linux_net.set_device_mtu(dev)
nova.privsep.linux_net.set_device_enabled(dev)
def delete_fp_dev(dev):
if nova.privsep.linux_net.device_exists(dev):
utils.execute('fp-vdev', 'del', dev, run_as_root=True)
def delete_bridge_dev(dev):
"""Delete a network bridge."""
if nova.privsep.linux_net.device_exists(dev):