Commit 0b0121f4 authored by douomo's avatar douomo
Browse files

on PEB deleted the creation of CVLAN

parent 3d97910c
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -133,14 +133,6 @@ class NetconfLibrary:
                m = connect_with_key(ne.address, ne.mgmt_port, ne.username, ne.key_filename)
                #m = connect_with_credentials(ne.address, ne.mgmt_port, ne.username, ne.password)
                env = Environment( loader=FileSystemLoader("."), autoescape=False)
                xml = create_VLAN_xml(ne,cvid1)
                target = "candidate"
                m.edit_config(target=target, config=xml)
                m.commit()
                xml = create_VLAN_xml(ne,cvid2)
                target = "candidate"
                m.edit_config(target=target, config=xml)
                m.commit()
                context = {
                    "port1_name":ne.edgeIface,
                    "cvid1":cvid1,
@@ -171,12 +163,6 @@ class NetconfLibrary:
                xml = env.get_template("features/steps/svlan_2_registration_deletion.xml.pyformat").render(context)
                m.edit_config(target="candidate", config=xml)
                m.commit()
                xml = delete_VLAN_xml(ne, cvid1)
                m.edit_config(target="candidate", config=xml)
                m.commit()
                xml = delete_VLAN_xml(ne, cvid2)
                m.edit_config(target="candidate", config=xml)
                m.commit()
                m.close_session()