0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Flock tests and CLI: checking show route all

This commit is contained in:
Maria Matejka 2024-07-19 19:28:19 +02:00
parent 48dccde2ab
commit 1eefc350be
17 changed files with 890 additions and 257 deletions

View File

@ -7,8 +7,9 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -17,10 +18,17 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,44 +7,51 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (170)' - args: '* (170)'
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (170)' - args: '* (170)'
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (170)' - args: '* (170)'
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (170)' - args: '* (170)'
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (170)' - args: '* (170)'
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee6::/48: 2001:db8:eee6::/48:
routes: routes:
- args: '* (170)' - args: '* (170)'
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -53,28 +60,49 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (100) [AS170i]' - args: '* (100) [AS170i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 170
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (100) [AS170i]' - args: '* (100) [AS170i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 170
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,68 +7,81 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (180)' - args: '* (180)'
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (180)' - args: '* (180)'
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (180)' - args: '* (180)'
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (180)' - args: '* (180)'
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (180)' - args: '* (180)'
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee6::/48: 2001:db8:eee6::/48:
routes: routes:
- args: '* (180)' - args: '* (180)'
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -77,37 +90,65 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (100) [AS180i]' - args: '* (100) [AS180i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 180
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (100) [AS170i]' - args: '* (100) [AS170i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 170
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (100) [AS170i]' - args: '* (100) [AS170i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 170
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,92 +7,111 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (190)' - args: '* (190)'
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (190)' - args: '* (190)'
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (190)' - args: '* (190)'
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (190)' - args: '* (190)'
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (190)' - args: '* (190)'
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee6::/48: 2001:db8:eee6::/48:
routes: routes:
- args: '* (190)' - args: '* (190)'
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -101,46 +120,81 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (100) [AS180i]' - args: '* (100) [AS180i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 180
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (100) [AS170i]' - args: '* (100) [AS170i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 170
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,116 +7,141 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee6::/48: 2001:db8:eee6::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -125,55 +150,97 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (100) [AS170i]' - args: '* (100) [AS170i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 170
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,92 +7,111 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
2001:db8:eee6::/48: 2001:db8:eee6::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -101,46 +120,81 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,68 +7,81 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
2001:db8:eee6::/48: 2001:db8:eee6::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -77,46 +90,81 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,44 +7,51 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
2001:db8:eee6::/48: 2001:db8:eee6::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -53,28 +60,49 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,8 +7,9 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -17,10 +18,17 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,44 +7,51 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
2001:db8:eee6::/48: 2001:db8:eee6::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -53,28 +60,49 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,68 +7,81 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
2001:db8:eee6::/48: 2001:db8:eee6::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -77,46 +90,81 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,92 +7,111 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
2001:db8:eee6::/48: 2001:db8:eee6::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -101,46 +120,81 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,116 +7,141 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee6::/48: 2001:db8:eee6::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -125,55 +150,97 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (100) [AS170i]' - args: '* (100) [AS170i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 170
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -7,116 +7,141 @@ tables:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: STARTUP proto: STARTUP
when: true source: static
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
2001:db8:eee6::/48: 2001:db8:eee6::/48:
routes: routes:
- args: '* (200)' - args: '* (200)'
dest: unreachable dest: unreachable
preference: '200'
proto: p200 proto: p200
when: true source: static
- args: (190) - args: (190)
dest: unreachable dest: unreachable
preference: '190'
proto: p190 proto: p190
when: true source: static
- args: (180) - args: (180)
dest: unreachable dest: unreachable
preference: '180'
proto: p180 proto: p180
when: true source: static
- args: (170) - args: (170)
dest: unreachable dest: unreachable
preference: '170'
proto: p170 proto: p170
when: true source: static
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x
--- ---
tables: tables:
@ -125,55 +150,97 @@ tables:
2001:db8:cc00::/40: 2001:db8:cc00::/40:
routes: routes:
- args: '* (100) [AS1i]' - args: '* (100) [AS1i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: '1'
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee1::/48: 2001:db8:eee1::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee2::/48: 2001:db8:eee2::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee3::/48: 2001:db8:eee3::/48:
routes: routes:
- args: '* (100) [AS200i]' - args: '* (100) [AS200i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 200
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee4::/48: 2001:db8:eee4::/48:
routes: routes:
- args: '* (100) [AS190i]' - args: '* (100) [AS190i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 190
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
2001:db8:eee5::/48: 2001:db8:eee5::/48:
routes: routes:
- args: '* (100) [AS170i]' - args: '* (100) [AS170i]'
bgp_local_pref: '100'
bgp_next_hop: 2001:db8::1 fe80::bc92:adff:fea1:2c5c
bgp_origin: IGP
bgp_path: 1 170
dest: unicast dest: unicast
from: 2001:db8::1
igp_metric: '0'
nexthop: nexthop:
- iface: L - iface: L
nexthop: 2001:db8::1 nexthop: 2001:db8::1
preference: '100'
proto: LINK proto: LINK
when: true source: BGP
version: v3.0-alpha2-660-g62145d08-x version: v3.0-alpha2-660-g62145d08-x

View File

@ -16,12 +16,14 @@ class CLI:
async def disable(self, proto: str): async def disable(self, proto: str):
return await self.transport.send_cmd("disable", proto) return await self.transport.send_cmd("disable", proto)
async def show_route(self, table=["all"]): async def show_route(self, table=["all"], args=[]):
cmd = [ "show", "route" ] cmd = [ "show", "route" ]
for t in table: for t in table:
cmd.append("table") cmd.append("table")
cmd.append(t) cmd.append(t)
cmd += args
result = await self.transport.send_cmd(*cmd) result = await self.transport.send_cmd(*cmd)
if len(result["err"]): if len(result["err"]):
raise Exception(f"Command {cmd} returned {result['err'].decode()}, stdout={result['out'].decode()}") raise Exception(f"Command {cmd} returned {result['err'].decode()}, stdout={result['out'].decode()}")

View File

@ -120,6 +120,31 @@ class NextHopParser(CLIParser):
def exit(self): def exit(self):
self.parent.result["nexthop"].append(self.result) self.parent.result["nexthop"].append(self.result)
@subparser(RouteParser)
class AttributeParser(CLIParser):
entryRegex = re.compile("\\s+([a-zA-Z_.0-9]+): (.*)$")
def enter(self, groups):
self.key, self.value = groups
def exit(self):
if self.key in self.parent.result:
raise ParserException(f"Duplicate key {self.key} in route")
self.parent.result[self.key] = self.value
@subparser(RouteParser)
class InternalRouteHandlingValuesParser(CLIParser):
entryRegex = re.compile("\\s+Internal route handling values: (\\d+)L (\\d+)G (\\d+)S id (\\d+)$")
def enter(self, groups):
self.result = {
k: v for k,v in zip(("!_l", "!_g", "!_s", "!_id"), groups)
}
def exit(self):
for k,v in self.result.items():
if k in self.parent.result:
raise ParserException(f"Duplicate internal value {k} in route")
self.parent.result[k] = v
def parse(data: str): def parse(data: str):
parser = ShowRouteParser() parser = ShowRouteParser()
for line in data.split("\n"): for line in data.split("\n"):

View File

@ -251,7 +251,7 @@ class Test:
await asyncio.gather(*[ v.cleanup() for v in self.machine_index.values() ]) await asyncio.gather(*[ v.cleanup() for v in self.machine_index.values() ])
await self.hcom("stop", True) await self.hcom("stop", True)
async def route_dump(self, timeout, name, machines=None, check_timeout=10, check_retry_timeout=0.5): async def route_dump(self, timeout, name, full=True, machines=None, check_timeout=10, check_retry_timeout=0.5):
# Compile dump ID # Compile dump ID
self.route_dump_id += 1 self.route_dump_id += 1
if name is None: if name is None:
@ -268,18 +268,24 @@ class Test:
for m in machines for m in machines
] ]
# Compile command
args = []
if full:
args.append("all")
# Define the obtainer function # Define the obtainer function
async def obtain(): async def obtain():
dump = await asyncio.gather(*[ dump = await asyncio.gather(*[
where.show_route() where.show_route(args=args)
for where in machines for where in machines
]) ])
for d in dump: for d in dump:
for t in d["tables"].values(): for t in d["tables"].values():
for n in t["networks"].values(): for n in t["networks"].values():
for r in n["routes"]: for r in n["routes"]:
assert("when" in r) for k in ("when", "!_l", "!_g", "!_s", "!_id"):
r["when"] = True assert(k in r)
del r[k]
return dump return dump
match self.mode: match self.mode: