mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 04:07:52 +00:00
Fix formatting error
Signed-off-by: Matthew Stidham <stidmatt@protonmail.com>
This commit is contained in:
@@ -94,7 +94,7 @@ def main():
|
|||||||
"cxs": None
|
"cxs": None
|
||||||
}
|
}
|
||||||
# update_group_args['name'] =
|
# update_group_args['name'] =
|
||||||
if args.first_qvlan_ip.lower() == "dhcp":
|
if args.first_qvlan_ip in ["dhcp", "DHCP"]:
|
||||||
dhcp = True
|
dhcp = True
|
||||||
else:
|
else:
|
||||||
dhcp = False
|
dhcp = False
|
||||||
@@ -143,10 +143,6 @@ def main():
|
|||||||
if len(port_list) != len(ip_list):
|
if len(port_list) != len(ip_list):
|
||||||
raise ValueError(temp_list, " ports must have matching ip addresses!")
|
raise ValueError(temp_list, " ports must have matching ip addresses!")
|
||||||
|
|
||||||
if args.first_qvlan_ip.lower() == "dhcp":
|
|
||||||
dhcp = True
|
|
||||||
else:
|
|
||||||
dhcp = False
|
|
||||||
print(port_list)
|
print(port_list)
|
||||||
print(ip_list)
|
print(ip_list)
|
||||||
create_qvlan = CreateQVlan(args.mgr,
|
create_qvlan = CreateQVlan(args.mgr,
|
||||||
|
|||||||
Reference in New Issue
Block a user