summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_gshut/r3
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_gshut/r3
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_gshut/r3')
-rw-r--r--tests/topotests/bgp_gshut/r3/bgp_route_1.json9
-rw-r--r--tests/topotests/bgp_gshut/r3/bgp_route_2.json16
-rw-r--r--tests/topotests/bgp_gshut/r3/bgpd.conf11
-rw-r--r--tests/topotests/bgp_gshut/r3/zebra.conf9
4 files changed, 45 insertions, 0 deletions
diff --git a/tests/topotests/bgp_gshut/r3/bgp_route_1.json b/tests/topotests/bgp_gshut/r3/bgp_route_1.json
new file mode 100644
index 0000000..94de01a
--- /dev/null
+++ b/tests/topotests/bgp_gshut/r3/bgp_route_1.json
@@ -0,0 +1,9 @@
+{
+ "prefix":"11.1.1.1\/32",
+ "paths":[
+ {
+ "origin":"IGP",
+ "valid":true
+ }
+ ]
+}
diff --git a/tests/topotests/bgp_gshut/r3/bgp_route_2.json b/tests/topotests/bgp_gshut/r3/bgp_route_2.json
new file mode 100644
index 0000000..f918265
--- /dev/null
+++ b/tests/topotests/bgp_gshut/r3/bgp_route_2.json
@@ -0,0 +1,16 @@
+{
+ "prefix":"11.1.1.1\/32",
+ "paths":[
+ {
+ "origin":"IGP",
+ "locPrf":0,
+ "valid":true,
+ "community":{
+ "string":"graceful-shutdown",
+ "list":[
+ "gracefulShutdown"
+ ]
+ }
+ }
+ ]
+}
diff --git a/tests/topotests/bgp_gshut/r3/bgpd.conf b/tests/topotests/bgp_gshut/r3/bgpd.conf
new file mode 100644
index 0000000..5d7c0cd
--- /dev/null
+++ b/tests/topotests/bgp_gshut/r3/bgpd.conf
@@ -0,0 +1,11 @@
+!
+router bgp 65003
+ no bgp ebgp-requires-policy
+ no bgp network import-check
+ timers bgp 3 9
+ neighbor 192.168.254.1 remote-as 65001
+ neighbor 192.168.254.1 timers connect 10
+ address-family ipv4 unicast
+ network 13.1.1.1/32
+ exit-address-family
+!
diff --git a/tests/topotests/bgp_gshut/r3/zebra.conf b/tests/topotests/bgp_gshut/r3/zebra.conf
new file mode 100644
index 0000000..f490d97
--- /dev/null
+++ b/tests/topotests/bgp_gshut/r3/zebra.conf
@@ -0,0 +1,9 @@
+! exit2
+interface lo
+ ip address 172.16.254.254/32
+!
+interface r3-eth0
+ ip address 192.168.254.2/30
+!
+ip forwarding
+!