diff options
Diffstat (limited to 'test/lib/gobgp.py')
-rw-r--r-- | test/lib/gobgp.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/lib/gobgp.py b/test/lib/gobgp.py index 36b4b86e..0b352fa5 100644 --- a/test/lib/gobgp.py +++ b/test/lib/gobgp.py @@ -212,10 +212,12 @@ class GoBGPContainer(BGPContainer): else: Exception('invalid ip address version. {0}'.format(version)) - if info['evpn']: + if info['vpn']: + afi_safi_list.append({'afi-safi-name': 'l3vpn-ipv4-unicast'}) + afi_safi_list.append({'afi-safi-name': 'l3vpn-ipv6-unicast'}) afi_safi_list.append({'afi-safi-name': 'l2vpn-evpn'}) - afi_safi_list.append({'afi-safi-name': 'encap'}) - afi_safi_list.append({'afi-safi-name': 'rtc'}) + afi_safi_list.append({'afi-safi-name': 'rtc', + 'route-target-membership': {'deferral-time': 10}}) if info['flowspec']: afi_safi_list.append({'afi-safi-name': 'ipv4-flowspec'}) |