Skip to content

Commit

Permalink
soc_ipv6
Browse files Browse the repository at this point in the history
  • Loading branch information
zjswhhh committed Jul 11, 2023
1 parent ff380e0 commit 4e92b27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/route_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,9 @@ def get_soc_ips(config_db):
if mux_entry.get("cable_type", "") == "active-active" and "soc_ipv4" in mux_entry:
soc_ips.append(mux_entry["soc_ipv4"])

if "soc_ipv6" in mux_entry and mux_entry["soc_ipv6"]:
soc_ips.append(mux_entry["soc_ipv6"])

return soc_ips


Expand Down

0 comments on commit 4e92b27

Please sign in to comment.