Fix convert_v1_net_data.py - ipv6 property
Ensure the ipv6 property is at the network level. Previously the key would be converted in at the subnet level, which is incorrect. Closes-Bug: #1951308 Change-Id: Iab58ff31b4434785376ae3c553c0e7c89c6b7ff5
This commit is contained in:
parent
913aa30d85
commit
531aecc4ba
@ -51,6 +51,7 @@ def main():
|
||||
)
|
||||
new_item["vip"] = item.pop("vip", False)
|
||||
new_item["mtu"] = item.pop("mtu", 1500)
|
||||
new_item["ipv6"] = item.pop("ipv6", False)
|
||||
new_item["subnets"] = item.pop("subnets", dict())
|
||||
new_item["subnets"]["{}_subnet".format(name_lower)] = item
|
||||
new_template_data.append(new_item)
|
||||
|
Loading…
Reference in New Issue
Block a user