]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: unset r3 enforce-first-as bgp_route_server_client
authorLouis Scalbert <louis.scalbert@6wind.com>
Thu, 10 Oct 2024 12:59:50 +0000 (14:59 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Fri, 11 Oct 2024 12:07:37 +0000 (14:07 +0200)
Unset enforce-first-as on r3 of bgp_route_server_client to enable the
reception of routes on this router.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
tests/topotests/bgp_route_server_client/r3/bgpd.conf
tests/topotests/bgp_route_server_client/r3/show_bgp_ipv6.json

index 60a5ffc559a0584792e7e55836626996c8116b60..f7daba87facee9b257e2898680335e131ff42edc 100644 (file)
@@ -2,6 +2,7 @@
 router bgp 65003
  bgp router-id 10.10.10.3
  no bgp ebgp-requires-policy
+ no bgp enforce-first-as
  neighbor 2001:db8:3::1 remote-as external
  neighbor 2001:db8:3::1 timers 3 10
  neighbor 2001:db8:3::1 timers connect 5
index aebffb2c552f7accfdc5feff038983447d8c38e3..5ebcbe4c6856c25cdabce9fbc19b8688df33f75a 100644 (file)
@@ -2,6 +2,19 @@
   "routerId": "10.10.10.3",
   "localAS": 65003,
   "routes": {
+    "2001:db8:1::/64": [
+      {
+        "nexthops": [
+          {
+            "ip": "2001:db8:1::2",
+            "hostname": "r2",
+            "afi": "ipv6",
+            "scope": "global",
+            "used": true
+          }
+        ]
+      }
+    ],
     "2001:db8:3::/64": [
       {
         "nexthops": [
         ]
       }
     ],
+    "2001:db8:f::1/128": [
+      {
+        "nexthops": [
+          {
+            "ip": "2001:db8:1::2",
+            "hostname": "r2",
+            "afi": "ipv6",
+            "scope": "global",
+            "used": true
+          }
+        ]
+      }
+    ],
     "2001:db8:f::3/128": [
       {
         "nexthops": [