summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_multiview_topo1/peer2
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 04:24:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 04:24:32 +0000
commit35cadacd2bb9383686753731e31bd7e145fb2506 (patch)
tree4489adbde75a837989533837185b2b8369a0bf68 /tests/topotests/bgp_multiview_topo1/peer2
parentAdding debian version 9.1-0.1. (diff)
downloadfrr-35cadacd2bb9383686753731e31bd7e145fb2506.tar.xz
frr-35cadacd2bb9383686753731e31bd7e145fb2506.zip
Merging upstream version 10.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/topotests/bgp_multiview_topo1/peer2')
-rwxr-xr-xtests/topotests/bgp_multiview_topo1/peer2/exa-send.py2
-rw-r--r--tests/topotests/bgp_multiview_topo1/peer2/exabgp.cfg33
2 files changed, 16 insertions, 19 deletions
diff --git a/tests/topotests/bgp_multiview_topo1/peer2/exa-send.py b/tests/topotests/bgp_multiview_topo1/peer2/exa-send.py
index 09f6ea5..0e50d46 100755
--- a/tests/topotests/bgp_multiview_topo1/peer2/exa-send.py
+++ b/tests/topotests/bgp_multiview_topo1/peer2/exa-send.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
"""
exa-send.py: Send a few testroutes with ExaBGP
diff --git a/tests/topotests/bgp_multiview_topo1/peer2/exabgp.cfg b/tests/topotests/bgp_multiview_topo1/peer2/exabgp.cfg
index 1e8eef1..13670c3 100644
--- a/tests/topotests/bgp_multiview_topo1/peer2/exabgp.cfg
+++ b/tests/topotests/bgp_multiview_topo1/peer2/exabgp.cfg
@@ -1,21 +1,18 @@
-group controller {
-
- process announce-routes {
- run "/etc/exabgp/exa-send.py 2 10";
- }
-
- process receive-routes {
- run "/etc/exabgp/exa-receive.py 2";
- receive-routes;
- encoder text;
- }
+process announce-routes {
+ run /etc/exabgp/exa-send.py 2 10;
+ encoder text;
+}
- neighbor 172.16.1.254 {
- router-id 172.16.1.2;
- local-address 172.16.1.2;
- local-as 65002;
- peer-as 100;
- graceful-restart;
- }
+process receive-routes {
+ run /etc/exabgp/exa-receive.py 2;
+ encoder text;
+}
+neighbor 172.16.1.254 {
+ router-id 172.16.1.2;
+ local-address 172.16.1.2;
+ local-as 65002;
+ peer-as 100;
+ capability {graceful-restart;}
+ api {processes [ announce-routes, receive-routes ];}
}