Trivial: Fix ovs cleanup script on Windows

The ovs cleanup script fails to run on Windows due to an import
error. The linux utils module will always get imported, which uses
platform specific modules.

Since only a constant is used from this module, the import can
easily be removed, fixing this issue.

Change-Id: I0cf7b629dc5d374d2066346276f73a12e4d03973
Closes-Bug: #1804180
This commit is contained in:
Lucian Petrut 2018-11-20 11:51:27 +02:00
parent 6b8634161d
commit 01fe73f99c
1 changed files with 1 additions and 2 deletions

View File

@ -13,7 +13,6 @@
from oslo_config import cfg
from neutron._i18n import _
from neutron.agent.linux import ipset_manager
ip_opts = [
@ -25,7 +24,7 @@ ip_opts = [
help=_('Destroy IPsets even if there is an iptables '
'reference.')),
cfg.StrOpt('prefix',
default=ipset_manager.NET_PREFIX,
default='N', # ipset_manager.NET_PREFIX
help=_('String prefix used to match IPset names.')),
]