Skip to content

Commit

Permalink
Merge pull request #219 from annetutil/fix/huawei_plist_seq
Browse files Browse the repository at this point in the history
fix prefix list seq on huawei and arista for compatibility
  • Loading branch information
Tishka17 authored Jan 30, 2025
2 parents 697307a + f44ece7 commit fe39933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions annet/rpl_generators/prefix_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _huawei_prefix_list(
"ip",
prefix_type,
name,
f"index {i * 10 + 5}",
f"index {i * 5 + 5}",
"permit",
str(addr_mask.ip).upper(),
str(addr_mask.network.prefixlen),
Expand Down Expand Up @@ -126,7 +126,7 @@ def _arista_prefix_list(
prefix_type,
"prefix-list",
name,
f"seq {i * 10 + 5}",
f"seq {i * 5 + 5}",
"permit",
str(addr_mask.ip).upper(),
str(addr_mask.network.prefixlen),
Expand Down

0 comments on commit fe39933

Please sign in to comment.