From c74f10d83f2122cb5bacc2c4f870ca42c49a8d51 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 21 Feb 2018 13:42:42 -0800 Subject: [PATCH] add support for more bgp address families --- nxtoolkit/nxtoolkit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxtoolkit/nxtoolkit.py b/nxtoolkit/nxtoolkit.py index f13cd70..0605289 100755 --- a/nxtoolkit/nxtoolkit.py +++ b/nxtoolkit/nxtoolkit.py @@ -1043,7 +1043,7 @@ def set_type(self, af_type): """ if af_type is None: raise TypeError('AF Type can not be set to None') - valid_af_types = ['ipv4-ucast', 'l2vpn-evpn'] + valid_af_types = ['ipv4-ucast', 'vpnv4-ucast', 'ipv6-ucast', 'vpnv6-ucast ', 'l2vpn-evpn'] if af_type not in valid_af_types: raise ValueError('AF type specified is not valid') self._type = af_type