Loading __pycache__/common.cpython-312.pyc (8.14 KiB) File changed.No diff preview for this file type. View original file View changed file __pycache__/ne-cfg.cpython-312.pyc −25 B (456 B) File changed.No diff preview for this file type. View original file View changed file common.py +0 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ def get_filtered_config(mgr, filter): root = tree.getroot() xmlstr = ET.tostring(root, encoding='unicode', method='xml') print(xmlstr) #return mgr.get_config(source='running', filter=("subtree", xmlstr)).data_xml return mgr.get(filter=("subtree", xmlstr)).data_xml def get_running_config(mgr): Loading features/S_C_vlan.feature +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ Scenario: S-VLAN PEB deployment When the controller deploys VLAN 301 And the controller register the CVLAN 302 and 303 to the VLAN 301 Then the traffic should pass on this VLAN And the VLAN 201 should be in the configuration And the VLAN 301 should be in the configuration Scenario: S-VLAN PEB Removal Loading features/steps/NetconfLibrary.py +1 −1 Original line number Diff line number Diff line Loading @@ -166,7 +166,7 @@ class NetconfLibrary: context = { "cvid1":cvid1, "cvid2":cvid2, "port1_name" : ne.port_1 "port1_name" : ne.edgeIface } xml = env.get_template("features/steps/svlan_2_registration_deletion.xml.pyformat").render(context) m.edit_config(target="candidate", config=xml) Loading Loading
__pycache__/common.cpython-312.pyc (8.14 KiB) File changed.No diff preview for this file type. View original file View changed file
__pycache__/ne-cfg.cpython-312.pyc −25 B (456 B) File changed.No diff preview for this file type. View original file View changed file
common.py +0 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ def get_filtered_config(mgr, filter): root = tree.getroot() xmlstr = ET.tostring(root, encoding='unicode', method='xml') print(xmlstr) #return mgr.get_config(source='running', filter=("subtree", xmlstr)).data_xml return mgr.get(filter=("subtree", xmlstr)).data_xml def get_running_config(mgr): Loading
features/S_C_vlan.feature +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ Scenario: S-VLAN PEB deployment When the controller deploys VLAN 301 And the controller register the CVLAN 302 and 303 to the VLAN 301 Then the traffic should pass on this VLAN And the VLAN 201 should be in the configuration And the VLAN 301 should be in the configuration Scenario: S-VLAN PEB Removal Loading
features/steps/NetconfLibrary.py +1 −1 Original line number Diff line number Diff line Loading @@ -166,7 +166,7 @@ class NetconfLibrary: context = { "cvid1":cvid1, "cvid2":cvid2, "port1_name" : ne.port_1 "port1_name" : ne.edgeIface } xml = env.get_template("features/steps/svlan_2_registration_deletion.xml.pyformat").render(context) m.edit_config(target="candidate", config=xml) Loading