Defined IMPL in global ipv6 namespace.
* fix LP1014798 Change-Id: Ife2cc064128ee99a7ba1352f10c373812c69dd13
This commit is contained in:
parent
2ba710af4f
commit
4becac7cc1
|
@ -25,6 +25,7 @@ ipv6_backend_opt = cfg.StrOpt('ipv6_backend',
|
|||
|
||||
FLAGS = flags.FLAGS
|
||||
FLAGS.register_opt(ipv6_backend_opt)
|
||||
IMPL = None
|
||||
|
||||
|
||||
def reset_backend():
|
||||
|
@ -41,4 +42,5 @@ def to_global(prefix, mac, project_id):
|
|||
def to_mac(ipv6_address):
|
||||
return IMPL.to_mac(ipv6_address)
|
||||
|
||||
|
||||
reset_backend()
|
||||
|
|
Loading…
Reference in New Issue