Add ospf net type (#45904)

* Added ospf network type option to nxos_interface_ospf module

* Added documentation and example for the 'network' parameter

* adding version
This commit is contained in:
Dan
2018-09-25 07:08:39 +01:00
committed by Trishna Guha
parent d5f8738bf2
commit a6c20488d3
3 changed files with 28 additions and 1 deletions

View File

@@ -54,3 +54,5 @@ class TestNxosInterfaceOspfModule(TestNxosModule):
def test_loopback_interface_failed(self):
set_module_args(dict(interface='loopback0', ospf=1, area=0, passive_interface=True))
self.execute_module(failed=True, changed=False)
set_module_args(dict(interface='loopback0', ospf=1, area=0, network='broadcast'))
self.execute_module(failed=True, changed=False)