]> git.puffer.fish Git - matthieu/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)
committerLouis Scalbert <louis.scalbert@6wind.com>
Fri, 30 Aug 2024 12:59:07 +0000 (14:59 +0200)
commit5f058cdef7ef52da9a4aa9589169e50e457b40a0
tree5b82d65252c422abf0329f60d0d7749258822670
parentf04191f559b516a2962e092fe849a38b2f6715ec
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>
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