summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_roles_capability/r1/bgpd.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:16:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:16:35 +0000
commite2bbf175a2184bd76f6c54ccf8456babeb1a46fc (patch)
treef0b76550d6e6f500ada964a3a4ee933a45e5a6f1 /tests/topotests/bgp_roles_capability/r1/bgpd.conf
parentInitial commit. (diff)
downloadfrr-e2bbf175a2184bd76f6c54ccf8456babeb1a46fc.tar.xz
frr-e2bbf175a2184bd76f6c54ccf8456babeb1a46fc.zip
Adding upstream version 9.1.upstream/9.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/topotests/bgp_roles_capability/r1/bgpd.conf')
-rw-r--r--tests/topotests/bgp_roles_capability/r1/bgpd.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/topotests/bgp_roles_capability/r1/bgpd.conf b/tests/topotests/bgp_roles_capability/r1/bgpd.conf
new file mode 100644
index 0000000..273f933
--- /dev/null
+++ b/tests/topotests/bgp_roles_capability/r1/bgpd.conf
@@ -0,0 +1,25 @@
+router bgp 64501
+ bgp router-id 192.168.2.1
+ network 192.0.2.0/24
+! Correct role pair
+ neighbor 192.168.2.2 remote-as external
+ neighbor 192.168.2.2 local-role provider
+ neighbor 192.168.2.2 timers 3 10
+! Incorrect role pair
+ neighbor 192.168.3.2 remote-as external
+ neighbor 192.168.3.2 local-role provider
+ neighbor 192.168.3.2 timers 3 10
+! Missed neighbor role
+ neighbor 192.168.4.2 remote-as external
+ neighbor 192.168.4.2 local-role provider
+ neighbor 192.168.4.2 timers 3 10
+! Missed neighbor role with strict-mode
+ neighbor 192.168.5.2 remote-as external
+ neighbor 192.168.5.2 local-role provider strict-mode
+ neighbor 192.168.5.2 timers 3 10
+! Testing peer-groups
+ neighbor PG peer-group
+ neighbor PG remote-as external
+ neighbor PG local-role provider
+ neighbor PG timers 3 10
+ neighbor 192.168.6.2 peer-group PG