topotests: convert bgp_multiview_topo1 to exabgp 4

Convert bgp_multiview_topo1 to exabgp 4

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
This commit is contained in:
Louis Scalbert 2023-11-27 17:02:33 +01:00
parent bc149fee3d
commit d228f6a564
9 changed files with 137 additions and 160 deletions

View File

@ -1,5 +1,6 @@
[exabgp.api] [exabgp.api]
ack = false
encoder = text encoder = text
highres = false highres = false
respawn = false respawn = false

View File

@ -1,21 +1,18 @@
group controller { process announce-routes {
run /etc/exabgp/exa-send.py 1 10;
process announce-routes {
run "/etc/exabgp/exa-send.py 1 10";
}
process receive-routes {
run "/etc/exabgp/exa-receive.py 1";
receive-routes;
encoder text; encoder text;
} }
neighbor 172.16.1.254 { process receive-routes {
run /etc/exabgp/exa-receive.py 1;
encoder text;
}
neighbor 172.16.1.254 {
router-id 172.16.1.1; router-id 172.16.1.1;
local-address 172.16.1.1; local-address 172.16.1.1;
local-as 65001; local-as 65001;
peer-as 100; peer-as 100;
graceful-restart; capability {graceful-restart;}
} api {processes [ announce-routes, receive-routes ];}
} }

View File

@ -1,21 +1,18 @@
group controller { process announce-routes {
run /etc/exabgp/exa-send.py 2 10;
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; encoder text;
} }
neighbor 172.16.1.254 { process receive-routes {
run /etc/exabgp/exa-receive.py 2;
encoder text;
}
neighbor 172.16.1.254 {
router-id 172.16.1.2; router-id 172.16.1.2;
local-address 172.16.1.2; local-address 172.16.1.2;
local-as 65002; local-as 65002;
peer-as 100; peer-as 100;
graceful-restart; capability {graceful-restart;}
} api {processes [ announce-routes, receive-routes ];}
} }

View File

@ -1,21 +1,18 @@
group controller { process announce-routes {
run /etc/exabgp/exa-send.py 3 10;
process announce-routes {
run "/etc/exabgp/exa-send.py 3 10";
}
process receive-routes {
run "/etc/exabgp/exa-receive.py 3";
receive-routes;
encoder text; encoder text;
} }
neighbor 172.16.1.254 { process receive-routes {
run /etc/exabgp/exa-receive.py 3;
encoder text;
}
neighbor 172.16.1.254 {
router-id 172.16.1.3; router-id 172.16.1.3;
local-address 172.16.1.3; local-address 172.16.1.3;
local-as 65003; local-as 65003;
peer-as 100; peer-as 100;
graceful-restart; capability {graceful-restart;}
} api {processes [ announce-routes, receive-routes ];}
} }

View File

@ -1,21 +1,18 @@
group controller { process announce-routes {
run /etc/exabgp/exa-send.py 4 10;
process announce-routes {
run "/etc/exabgp/exa-send.py 4 10";
}
process receive-routes {
run "/etc/exabgp/exa-receive.py 4";
receive-routes;
encoder text; encoder text;
} }
neighbor 172.16.1.254 { process receive-routes {
run /etc/exabgp/exa-receive.py 4;
encoder text;
}
neighbor 172.16.1.254 {
router-id 172.16.1.4; router-id 172.16.1.4;
local-address 172.16.1.4; local-address 172.16.1.4;
local-as 65004; local-as 65004;
peer-as 100; peer-as 100;
graceful-restart; capability {graceful-restart;}
} api {processes [ announce-routes, receive-routes ];}
} }

View File

@ -1,21 +1,18 @@
group controller { process announce-routes {
run /etc/exabgp/exa-send.py 5 10;
process announce-routes {
run "/etc/exabgp/exa-send.py 5 10";
}
process receive-routes {
run "/etc/exabgp/exa-receive.py 5";
receive-routes;
encoder text; encoder text;
} }
neighbor 172.16.1.254 { process receive-routes {
run /etc/exabgp/exa-receive.py 5;
encoder text;
}
neighbor 172.16.1.254 {
router-id 172.16.1.5; router-id 172.16.1.5;
local-address 172.16.1.5; local-address 172.16.1.5;
local-as 65005; local-as 65005;
peer-as 100; peer-as 100;
graceful-restart; capability {graceful-restart;}
} api {processes [ announce-routes, receive-routes ];}
} }

View File

@ -1,21 +1,18 @@
group controller { process announce-routes {
run /etc/exabgp/exa-send.py 6 10;
process announce-routes {
run "/etc/exabgp/exa-send.py 6 10";
}
process receive-routes {
run "/etc/exabgp/exa-receive.py 6";
receive-routes;
encoder text; encoder text;
} }
neighbor 172.16.1.254 { process receive-routes {
run /etc/exabgp/exa-receive.py 6;
encoder text;
}
neighbor 172.16.1.254 {
router-id 172.16.1.6; router-id 172.16.1.6;
local-address 172.16.1.6; local-address 172.16.1.6;
local-as 65006; local-as 65006;
peer-as 100; peer-as 100;
graceful-restart; capability {graceful-restart;}
} api {processes [ announce-routes, receive-routes ];}
} }

View File

@ -1,21 +1,18 @@
group controller { process announce-routes {
run /etc/exabgp/exa-send.py 7 10;
process announce-routes {
run "/etc/exabgp/exa-send.py 7 10";
}
process receive-routes {
run "/etc/exabgp/exa-receive.py 7";
receive-routes;
encoder text; encoder text;
} }
neighbor 172.16.1.254 { process receive-routes {
run /etc/exabgp/exa-receive.py 7;
encoder text;
}
neighbor 172.16.1.254 {
router-id 172.16.1.7; router-id 172.16.1.7;
local-address 172.16.1.7; local-address 172.16.1.7;
local-as 65007; local-as 65007;
peer-as 100; peer-as 100;
graceful-restart; capability {graceful-restart;}
} api {processes [ announce-routes, receive-routes ];}
} }

View File

@ -1,21 +1,18 @@
group controller { process announce-routes {
run /etc/exabgp/exa-send.py 8 10;
process announce-routes {
run "/etc/exabgp/exa-send.py 8 10";
}
process receive-routes {
run "/etc/exabgp/exa-receive.py 8";
receive-routes;
encoder text; encoder text;
} }
neighbor 172.16.1.254 { process receive-routes {
run /etc/exabgp/exa-receive.py 8;
encoder text;
}
neighbor 172.16.1.254 {
router-id 172.16.1.8; router-id 172.16.1.8;
local-address 172.16.1.8; local-address 172.16.1.8;
local-as 65008; local-as 65008;
peer-as 100; peer-as 100;
graceful-restart; capability {graceful-restart;}
} api {processes [ announce-routes, receive-routes ];}
} }