Add new configurations for nxos_vxlan_vtep (#47834)

* add new commands for vxlan

* review comments

* fix unit test

* fix sanity yaml spaces
This commit is contained in:
saichint 2018-11-01 22:53:37 -07:00 committed by Trishna Guha
parent 1b9cf85860
commit b92556549e
3 changed files with 155 additions and 7 deletions

View file

@ -48,7 +48,7 @@ class TestNxosVxlanVtepVniModule(TestNxosModule):
def test_nxos_vxlan_vtep(self):
set_module_args(dict(interface='nve1', description='simple description'))
self.execute_module(changed=True, commands=['interface nve1', 'description simple description'])
self.execute_module(changed=True, commands=['interface nve1', 'terminal dont-ask', 'description simple description'])
def test_nxos_vxlan_vtep_present_no_change(self):
set_module_args(dict(interface='nve1'))