fix a bug
This commit is contained in:
parent
e8269cc756
commit
8400845dce
|
@ -277,7 +277,6 @@ class netcontrol(object):
|
|||
info['inet'].remove(addr)
|
||||
for otheraddr in info['inet']:
|
||||
ipcontrol.del_addr(gwport, otheraddr)
|
||||
ovscontrol.set_port_tag(gwport, tag)
|
||||
if info['state'] == 'DOWN':
|
||||
ipcontrol.up_link(gwport)
|
||||
return [True, "check gateway port %s" % gwport]
|
||||
|
|
Loading…
Reference in New Issue