Skip to content

Commit

Permalink
Align testdata with the new template
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Paolinelli <[email protected]>
  • Loading branch information
fedepaol committed Sep 9, 2024
1 parent 2afa4fa commit add7151
Show file tree
Hide file tree
Showing 17 changed files with 130 additions and 130 deletions.
16 changes: 8 additions & 8 deletions internal/frr/testdata/TestMultipleNeighborsOneV4AndOneV6.golden
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ ipv6 nht resolve-via-default

ip prefix-list 192.168.1.2-pl-ipv4 seq 1 permit 192.169.1.0/24



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 2 deny any

route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 2 deny any





ip prefix-list 192.168.1.2-inpl-ipv4 seq 1 deny any
Expand All @@ -35,17 +35,17 @@ route-map 192.168.1.2-in permit 4

ipv6 prefix-list 2001:db8::1-pl-ipv6 seq 1 permit 2001:db8:abcd::/48



ip prefix-list 2001:db8::1-pl-ipv6 seq 2 deny any

route-map 2001:db8::1-out permit 1
match ip address prefix-list 2001:db8::1-pl-ipv6
route-map 2001:db8::1-out permit 2
match ipv6 address prefix-list 2001:db8::1-pl-ipv6



ip prefix-list 2001:db8::1-pl-ipv6 seq 2 deny any





ip prefix-list 2001:db8::1-inpl-ipv6 seq 1 deny any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ ipv6 nht resolve-via-default

ip prefix-list 192.168.1.2-pl-ipv4 seq 1 permit 192.169.1.0/24



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 2 deny any

route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 2 deny any





ip prefix-list 192.168.1.2-inpl-ipv4 seq 1 deny any
Expand All @@ -35,17 +35,17 @@ route-map 192.168.1.2-in permit 4

ipv6 prefix-list 2001:db8::1-pl-ipv6 seq 1 permit 2001:db8:abcd::/48



ip prefix-list 2001:db8::1-pl-ipv6 seq 2 deny any

route-map 2001:db8::1-out permit 1
match ip address prefix-list 2001:db8::1-pl-ipv6
route-map 2001:db8::1-out permit 2
match ipv6 address prefix-list 2001:db8::1-pl-ipv6



ip prefix-list 2001:db8::1-pl-ipv6 seq 2 deny any





ip prefix-list 2001:db8::1-inpl-ipv6 seq 1 deny any
Expand Down
10 changes: 5 additions & 5 deletions internal/frr/testdata/TestMultipleRoutersImportVRFs.golden
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ ip nht resolve-via-default
ipv6 nht resolve-via-default


route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4



ip prefix-list 192.168.1.2-pl-ipv4 seq 1 deny any
ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 2 deny any

route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4




Expand Down
32 changes: 16 additions & 16 deletions internal/frr/testdata/TestMultipleRoutersMultipleNeighs.golden
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ ipv6 nht resolve-via-default

ip prefix-list 192.168.1.2-pl-ipv4 seq 1 permit 192.169.1.0/24



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 2 deny any

route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 2 deny any





ip prefix-list 192.168.1.2-inpl-ipv4 seq 1 deny any
Expand All @@ -35,17 +35,17 @@ route-map 192.168.1.2-in permit 4

ipv6 prefix-list 2001:db8::1-pl-ipv6 seq 1 permit 2001:db8:abcd::/48



ip prefix-list 2001:db8::1-pl-ipv6 seq 2 deny any

route-map 2001:db8::1-out permit 1
match ip address prefix-list 2001:db8::1-pl-ipv6
route-map 2001:db8::1-out permit 2
match ipv6 address prefix-list 2001:db8::1-pl-ipv6



ip prefix-list 2001:db8::1-pl-ipv6 seq 2 deny any





ip prefix-list 2001:db8::1-inpl-ipv6 seq 1 deny any
Expand All @@ -61,17 +61,17 @@ route-map 2001:db8::1-in permit 4

ip prefix-list 192.170.1.2-pl-ipv4 seq 1 permit 192.171.1.0/24



ipv6 prefix-list 192.170.1.2-pl-ipv4 seq 2 deny any

route-map 192.170.1.2-out permit 1
match ip address prefix-list 192.170.1.2-pl-ipv4
route-map 192.170.1.2-out permit 2
match ipv6 address prefix-list 192.170.1.2-pl-ipv4



ipv6 prefix-list 192.170.1.2-pl-ipv4 seq 2 deny any





ip prefix-list 192.170.1.2-inpl-ipv4 seq 1 deny any
Expand All @@ -87,17 +87,17 @@ route-map 192.170.1.2-in permit 4

ipv6 prefix-list 2001:db9::1-pl-ipv6 seq 1 permit 2001:db9:abcd::/48



ip prefix-list 2001:db9::1-pl-ipv6 seq 2 deny any

route-map 2001:db9::1-out permit 1
match ip address prefix-list 2001:db9::1-pl-ipv6
route-map 2001:db9::1-out permit 2
match ipv6 address prefix-list 2001:db9::1-pl-ipv6



ip prefix-list 2001:db9::1-pl-ipv6 seq 2 deny any





ip prefix-list 2001:db9::1-inpl-ipv6 seq 1 deny any
Expand Down
8 changes: 4 additions & 4 deletions internal/frr/testdata/TestSingleSession
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ip prefix-list 192.168.1.2-pl-ipv4 seq 1 permit 192.169.1.0/24

ip prefix-list 192.168.1.2-pl-ipv4 seq 2 permit 192.170.1.0/22



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 3 deny any

route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 3 deny any





ip prefix-list 192.168.1.2-inpl-ipv4 seq 1 deny any
Expand Down
8 changes: 4 additions & 4 deletions internal/frr/testdata/TestSingleSession.golden
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ip prefix-list 192.168.1.2-pl-ipv4 seq 1 permit 192.169.1.0/24

ip prefix-list 192.168.1.2-pl-ipv4 seq 2 permit 192.170.1.0/22



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 3 deny any

route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 3 deny any





ip prefix-list 192.168.1.2-inpl-ipv4 seq 1 deny any
Expand Down
10 changes: 5 additions & 5 deletions internal/frr/testdata/TestSingleSessionBFD.golden
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ ip nht resolve-via-default
ipv6 nht resolve-via-default


route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4



ip prefix-list 192.168.1.2-pl-ipv4 seq 1 deny any
ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 2 deny any

route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4




Expand Down
20 changes: 10 additions & 10 deletions internal/frr/testdata/TestSingleSessionWithAlwaysBlock.golden
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ ip nht resolve-via-default
ipv6 nht resolve-via-default


route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4



ip prefix-list 192.168.1.2-pl-ipv4 seq 1 deny any
ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 2 deny any

route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4




Expand All @@ -36,16 +36,16 @@ route-map 192.168.1.2-in permit 6
match ipv6 address prefix-list 192.168.1.2-inpl-ipv4


route-map 192.168.1.6-out permit 1
match ip address prefix-list 192.168.1.6-pl-ipv4
route-map 192.168.1.6-out permit 2
match ipv6 address prefix-list 192.168.1.6-pl-ipv4



ip prefix-list 192.168.1.6-pl-ipv4 seq 1 deny any
ipv6 prefix-list 192.168.1.6-pl-ipv4 seq 2 deny any

route-map 192.168.1.6-out permit 1
match ip address prefix-list 192.168.1.6-pl-ipv4
route-map 192.168.1.6-out permit 2
match ipv6 address prefix-list 192.168.1.6-pl-ipv4




Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ip prefix-list 192.168.1.2-pl-ipv4 seq 1 permit 192.169.1.0/24

ip prefix-list 192.168.1.2-pl-ipv4 seq 2 permit 192.170.1.0/22



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 3 deny any

route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 3 deny any





ip prefix-list 192.168.1.2-inpl-ipv4 seq 1 deny any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ip prefix-list 192.168.1.2-pl-ipv4 seq 1 permit 192.169.1.0/24

ip prefix-list 192.168.1.2-pl-ipv4 seq 2 permit 192.170.1.0/22



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 3 deny any

route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4



ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 3 deny any





ip prefix-list 192.168.1.2-inpl-ipv4 seq 1 deny any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ ip nht resolve-via-default
ipv6 nht resolve-via-default


route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4



ip prefix-list 192.168.1.2-pl-ipv4 seq 1 deny any
ipv6 prefix-list 192.168.1.2-pl-ipv4 seq 2 deny any

route-map 192.168.1.2-out permit 1
match ip address prefix-list 192.168.1.2-pl-ipv4
route-map 192.168.1.2-out permit 2
match ipv6 address prefix-list 192.168.1.2-pl-ipv4




Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ ipv6 nht resolve-via-default

ipv6 prefix-list 2001:db8::1-pl-ipv6 seq 1 permit 2001:db8:abcd::/48



ip prefix-list 2001:db8::1-pl-ipv6 seq 2 deny any

route-map 2001:db8::1-out permit 1
match ip address prefix-list 2001:db8::1-pl-ipv6
route-map 2001:db8::1-out permit 2
match ipv6 address prefix-list 2001:db8::1-pl-ipv6



ip prefix-list 2001:db8::1-pl-ipv6 seq 2 deny any





ip prefix-list 2001:db8::1-inpl-ipv6 seq 1 deny any
Expand Down
Loading

0 comments on commit add7151

Please sign in to comment.