fix nxos_bgp_af issues (#36147)

* fix nxos_bgp_af issues

* shippable fix

* review comments

* shippable error fix
This commit is contained in:
saichint 2018-02-15 20:04:24 -08:00 committed by Trishna Guha
parent 53a314f767
commit 75a34f6668
4 changed files with 280 additions and 78 deletions

View file

@ -89,7 +89,7 @@ class TestNxosBgpAfModule(TestNxosModule):
dampening_half_time=5, dampening_suppress_time=2000,
dampening_reuse_time=1900, dampening_max_suppress_time=10))
result = self.execute_module(failed=True)
self.assertEqual(result['msg'], 'dampening_routemap cannot be used with the dampening_half_time param')
self.assertEqual(result['msg'], 'parameters are mutually exclusive: dampening_routemap, dampening_half_time')
def test_nxos_bgp_af_client(self):
set_module_args(dict(asn=65535, afi='ipv4', safi='unicast',