]> git.puffer.fish Git - mirror/frr.git/commit
tests: rename routers in nhrp_redundancy
authorLouis Scalbert <louis.scalbert@6wind.com>
Fri, 30 Aug 2024 09:16:44 +0000 (11:16 +0200)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Mon, 2 Sep 2024 11:18:15 +0000 (11:18 +0000)
commitd600a9760896407bdb7c7332710db77265a0fc06
tree6aef0063c30fa893704160977d3f869d8168a8a1
parent33b216e16bcb53d3ab930aa8d4b6f1ee03c31d22
tests: rename routers in nhrp_redundancy

Rename routers in nhrp_redundancy to match the diagram. Cosmetic change.

> cd tests/topotests/nhrp_redundancy
> git grep r1  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|r1|nhs1|g' -i
> git grep r2  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|r2|nhs2|g' -i
> git grep r3  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|r3|nhs3|g' -i
> git grep r4  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|r4|nhc1|g' -i
> git grep r5  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|r5|nhc2|g' -i
> git grep r6  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|r6|router|g' -i
> git grep r7  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|r7|host|g' -i
>
> git grep R1  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|R1|nhs1|g' -i
> git grep R2  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|R2|nhs2|g' -i
> git grep R3  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|R3|nhs3|g' -i
> git grep R4  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|R4|nhc1|g' -i
> git grep R5  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|R5|nhc2|g' -i
> git grep R6  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|R6|router|g' -i
> git grep R7  | cut -f1 -d: | uniq | xargs -L1 sed -e 's|R7|host|g' -i
>
> mv r1 nhs1
> mv r2 nhs2
> mv r3 nhs3
> mv r4 nhc1
> mv r5 nhc2
> mv r6 router
> mv r7 host

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
(cherry picked from commit 3f49c5026c3f6ebc1583951f145b77d479abb834)
48 files changed:
tests/topotests/nhrp_redundancy/host/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhc1/nhrp_cache.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhc1/nhrp_route.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhc1/nhrp_route_shortcut.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhc1/nhrpd.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhc1/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhc2/nhrp_cache.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhc2/nhrp_route.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhc2/nhrpd.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhc2/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhs1/nhrp_cache.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhs1/nhrp_route.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhs1/nhrpd.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhs1/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhs2/nhrp_cache.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhs2/nhrp_route.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhs2/nhrpd.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhs2/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhs3/nhrp_cache.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhs3/nhrp_route.json [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhs3/nhrpd.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/nhs3/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/r1/nhrp_cache.json [deleted file]
tests/topotests/nhrp_redundancy/r1/nhrp_route.json [deleted file]
tests/topotests/nhrp_redundancy/r1/nhrpd.conf [deleted file]
tests/topotests/nhrp_redundancy/r1/zebra.conf [deleted file]
tests/topotests/nhrp_redundancy/r2/nhrp_cache.json [deleted file]
tests/topotests/nhrp_redundancy/r2/nhrp_route.json [deleted file]
tests/topotests/nhrp_redundancy/r2/nhrpd.conf [deleted file]
tests/topotests/nhrp_redundancy/r2/zebra.conf [deleted file]
tests/topotests/nhrp_redundancy/r3/nhrp_cache.json [deleted file]
tests/topotests/nhrp_redundancy/r3/nhrp_route.json [deleted file]
tests/topotests/nhrp_redundancy/r3/nhrpd.conf [deleted file]
tests/topotests/nhrp_redundancy/r3/zebra.conf [deleted file]
tests/topotests/nhrp_redundancy/r4/nhrp_cache.json [deleted file]
tests/topotests/nhrp_redundancy/r4/nhrp_route.json [deleted file]
tests/topotests/nhrp_redundancy/r4/nhrp_route_shortcut.json [deleted file]
tests/topotests/nhrp_redundancy/r4/nhrpd.conf [deleted file]
tests/topotests/nhrp_redundancy/r4/zebra.conf [deleted file]
tests/topotests/nhrp_redundancy/r5/nhrp_cache.json [deleted file]
tests/topotests/nhrp_redundancy/r5/nhrp_route.json [deleted file]
tests/topotests/nhrp_redundancy/r5/nhrpd.conf [deleted file]
tests/topotests/nhrp_redundancy/r5/zebra.conf [deleted file]
tests/topotests/nhrp_redundancy/r6/zebra.conf [deleted file]
tests/topotests/nhrp_redundancy/r7/zebra.conf [deleted file]
tests/topotests/nhrp_redundancy/router/zebra.conf [new file with mode: 0644]
tests/topotests/nhrp_redundancy/test_nhrp_redundancy.dot
tests/topotests/nhrp_redundancy/test_nhrp_redundancy.py