Skip to content

Commit

Permalink
Merge pull request #743 from kylerisse/remove_dhcp_soda_vlan
Browse files Browse the repository at this point in the history
[READY] don't do dhcp on soda vlan
  • Loading branch information
sarcasticadmin authored Mar 16, 2024
2 parents 74dc41b + 558d2fd commit b1ae9ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions facts/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,8 @@ def generatekeaconfig(servers, aps, vlans, outputdir):
subnets_dict = []
for vlan in vlans:
# Make sure to skip vlans that have no ranges
if vlan["ipv4bitmask"] == "0":
# TODO: filtering out vlan 112 for the soda machine
if vlan["ipv4bitmask"] == "0" or vlan["id"] == "112":
continue
else:
subnet = {
Expand Down Expand Up @@ -585,7 +586,8 @@ def generatekeaconfig(servers, aps, vlans, outputdir):
subnets6_dict = []
for vlan in vlans:
# Make sure to skip vlans that have no ranges
if vlan["ipv6bitmask"] == "0":
# TODO: filtering out vlan 112 for the soda machine
if vlan["ipv6bitmask"] == "0" or vlan["id"] == "112":
continue
else:
subnet = {
Expand Down

0 comments on commit b1ae9ab

Please sign in to comment.