mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 12:25:02 +00:00
bgp_l3vpn_to_bgp_vrf: collect iproute2 package into
Signed-off-by: Lou Berger <lberger@labn.net>
This commit is contained in:
parent
6dd81dbbfe
commit
d1f82d97db
@ -156,6 +156,11 @@ def ltemplatePreRouterStartHook():
|
||||
intfs = ['lo', 'r2-eth0', 'r2-eth1', 'r2-eth2']
|
||||
for intf in intfs:
|
||||
doCmd(tgen, 'r2', 'echo 1 > /proc/sys/net/mpls/conf/{}/input'.format(intf))
|
||||
#collect/log info on iproute2
|
||||
doCmd(tgen, 'r2', 'apt-cache policy iproute2')
|
||||
doCmd(tgen, 'r2', 'yum info iproute2')
|
||||
doCmd(tgen, 'r2', 'yum info iproute')
|
||||
|
||||
#configure cust1 VRFs & MPLS
|
||||
rtrs = ['r1', 'r3', 'r4']
|
||||
cmds = ['ip link add cust1 type vrf table 10',
|
||||
|
Loading…
Reference in New Issue
Block a user