Loading InventoryTest.robot +13 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ Test Net Test Service Test Service ${vendor_1} filters/ServiceFilter/bridge_filter.xml #Test Service PEB Mode ${vendor_1} filters/ServiceFilter/bridge_filter.xml filters/ServiceFilter/interface_filter.xml *** Keywords *** Loading Loading @@ -86,6 +87,18 @@ Test Service Log ${passed} console=yes Should Be Equal ${passed} SUCCESS Test Service PEB Mode [Arguments] ${info} @{args} ${svc_inventory}= Inventory Request ${info} @{args[0]} ${passed}= Check SVC Inventory ${svc_inventory} Log ${passed} console=yes Should Be Equal ${passed} SUCCESS ${iface_inventory}= Inventory Request ${info} @{args[1]} ${passed}= Check SVC PEB Inventory ${iface_inventory} Log ${passed} console=yes Should Be Equal ${passed} SUCCESS Inventory Request [Arguments] ${par} @{filter} ${m}= Connect With Key ${par["host"]} ${par["port"]} ${par["username"]} ${par["key_filename"]} Loading __pycache__/validateInventory.cpython-312.pyc +942 B (19 KiB) File changed.No diff preview for this file type. View original file View changed file features/S-vlan.feature.tmp→features/S_C_vlan.feature +0 −0 File moved. View file features/vlan.featuredeleted 100644 → 0 +0 −37 Original line number Diff line number Diff line Feature: Simple VLAN management As a Network Controller, I want to deploy and remove VLANs on network elements. Scenario: Plain VLAN 100 Given the network mentioned in network.csv When the controller deploys VLAN 100 Then the traffic should pass on this VLAN And the VLAN 100 should be in the configuration Scenario: Plain VLAN 100 Removal Given the network mentioned in network.csv When the controller removes VLAN 100 Then the traffic should not pass on this VLAN And the VLAN 100 should not be in the configuration Scenario Outline: Deploy VLAN independanly Given the network mentioned in network.csv # When the VLAN <vlan_id> is deployed When the controller deploys VLAN <vlan_id> Then the traffic should pass on this VLAN And the VLAN 100 should be in the configuration Examples: | vlan_id | | 100 | | 200 | Scenario: Multiple VLANs Given the network mentioned in network.csv # And the VLANs 300 to 400 by step of 2 # When all these VLANs are deployed When the controller deploys VLANs 300 to 400 by step of 50 Then the traffic should pass on all these VLANs filters/ServiceFilter/interface_filter.xml 0 → 100644 +5 −0 Original line number Diff line number Diff line <?xml version="1.0"?> <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> <interface> </interface> </interfaces> Loading
InventoryTest.robot +13 −0 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ Test Net Test Service Test Service ${vendor_1} filters/ServiceFilter/bridge_filter.xml #Test Service PEB Mode ${vendor_1} filters/ServiceFilter/bridge_filter.xml filters/ServiceFilter/interface_filter.xml *** Keywords *** Loading Loading @@ -86,6 +87,18 @@ Test Service Log ${passed} console=yes Should Be Equal ${passed} SUCCESS Test Service PEB Mode [Arguments] ${info} @{args} ${svc_inventory}= Inventory Request ${info} @{args[0]} ${passed}= Check SVC Inventory ${svc_inventory} Log ${passed} console=yes Should Be Equal ${passed} SUCCESS ${iface_inventory}= Inventory Request ${info} @{args[1]} ${passed}= Check SVC PEB Inventory ${iface_inventory} Log ${passed} console=yes Should Be Equal ${passed} SUCCESS Inventory Request [Arguments] ${par} @{filter} ${m}= Connect With Key ${par["host"]} ${par["port"]} ${par["username"]} ${par["key_filename"]} Loading
__pycache__/validateInventory.cpython-312.pyc +942 B (19 KiB) File changed.No diff preview for this file type. View original file View changed file
features/vlan.featuredeleted 100644 → 0 +0 −37 Original line number Diff line number Diff line Feature: Simple VLAN management As a Network Controller, I want to deploy and remove VLANs on network elements. Scenario: Plain VLAN 100 Given the network mentioned in network.csv When the controller deploys VLAN 100 Then the traffic should pass on this VLAN And the VLAN 100 should be in the configuration Scenario: Plain VLAN 100 Removal Given the network mentioned in network.csv When the controller removes VLAN 100 Then the traffic should not pass on this VLAN And the VLAN 100 should not be in the configuration Scenario Outline: Deploy VLAN independanly Given the network mentioned in network.csv # When the VLAN <vlan_id> is deployed When the controller deploys VLAN <vlan_id> Then the traffic should pass on this VLAN And the VLAN 100 should be in the configuration Examples: | vlan_id | | 100 | | 200 | Scenario: Multiple VLANs Given the network mentioned in network.csv # And the VLANs 300 to 400 by step of 2 # When all these VLANs are deployed When the controller deploys VLANs 300 to 400 by step of 50 Then the traffic should pass on all these VLANs
filters/ServiceFilter/interface_filter.xml 0 → 100644 +5 −0 Original line number Diff line number Diff line <?xml version="1.0"?> <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> <interface> </interface> </interfaces>