Commit 7e3cbd9a authored by douomo's avatar douomo
Browse files

NetconfLibrary fixed tabs and spaces

parent 91e5cfae
Loading
Loading
Loading
Loading
+7 −7
Original line number Original line Diff line number Diff line
@@ -2074,31 +2074,31 @@ storage = function () {
window.output = {};
window.output = {};
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["suite"] = [1,2,3,0,[],[0,0,37],[[4,5,6,7,[],[0,11,25],[],[[8,0,0,[],[0,24,4,9],[[0,10,0,0,0,0,0,0,[0,28,0],[[28,5,9]]],[0,11,0,0,0,0,0,0,[3,28,0],[]],[0,12,13,0,14,0,0,0,[3,28,0],[]],[0,15,0,0,0,0,0,0,[3,28,0],[]]]],[16,0,0,[],[0,29,2,9],[[0,10,0,0,0,0,0,0,[0,30,0],[[30,5,9]]],[0,17,0,0,0,0,0,0,[3,30,0],[]],[0,18,13,0,19,0,0,0,[3,30,0],[]],[0,20,0,0,0,0,0,0,[3,30,0],[]]]],[21,0,0,[],[0,31,2,9],[[0,10,0,0,0,0,0,0,[0,32,0],[[32,5,9]]],[0,11,0,0,0,0,0,0,[3,32,0],[]],[0,12,13,0,14,0,0,0,[3,32,0],[]],[0,15,0,0,0,0,0,0,[3,32,0],[]]]],[22,0,0,[],[0,33,2,9],[[0,10,0,0,0,0,0,0,[0,34,0],[[34,5,9]]],[0,23,0,0,0,0,0,0,[3,34,0],[]],[0,12,13,0,14,0,0,0,[3,34,0],[]],[0,15,0,0,0,0,0,0,[3,34,0],[]]]],[24,0,0,[],[0,35,1,9],[[0,10,0,0,0,0,0,0,[0,36,0],[[36,5,9]]],[0,25,0,0,0,0,0,0,[3,36,0],[]],[0,26,13,0,27,0,0,0,[3,36,0],[]]]]],[],[5,0,5,0]]],[],[],[5,0,5,0]];
window.output["suite"] = [1,2,3,0,[],[0,0,7182],[[4,5,6,7,[],[0,13,7168],[],[[8,0,0,[],[0,160,7017,9],[[0,10,11,0,12,0,0,0,[1,161,1],[]],[0,13,11,0,14,0,0,0,[0,162,7010],[]],[0,15,16,0,17,0,0,0,[3,7174,0],[]],[0,18,11,0,19,0,0,0,[3,7177,0],[]]]],[20,0,0,[21],[0,7178,1,22],[]],[23,0,0,[21],[0,7178,1,22],[]],[24,0,0,[21],[0,7180,0,22],[]],[25,0,0,[21],[0,7181,0,22],[]]],[],[5,0,5,0]]],[],[],[5,0,5,0]];
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["strings"] = [];
window.output["strings"] = [];
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["strings"] = window.output["strings"].concat(["*","*Features","*/home/douomo/sampleTest/features","*features","*Simple VLAN management","*/home/douomo/sampleTest/features/vlan.feature","*features/vlan.feature","*<p>As a Network Controller, I want to deploy and remove VLANs on network elements.\x3c/p>","*Plain VLAN 100","*No keyword with name 'Given the network mentioned in network.csv' found.","*Given the network mentioned in network.csv","*When the controller deploys VLAN 100","*Then the traffic should pass on this VLAN","*TesterLibrary","*<p>Fails if the traffic don't pass on the VLAN.\x3c/p>","*And the VLAN 100 should be in the configuration","*Plain VLAN 100 Removal","*When the controller removes VLAN 100","*Then the traffic should not pass on this VLAN","*<p>Fails if the traffic pass on the VLAN.\x3c/p>","*And the VLAN 100 should not be in the configuration","*Deploy VLAN independanly vlan_id = 100","*Deploy VLAN independanly vlan_id = 200","*When the controller deploys VLAN 200","*Multiple VLANs","*When the controller deploys VLANs 300 to 400 by step of 50","*Then the traffic should pass on all these VLANs","*<p>Fails if the traffic don't pass on several VLANs.\x3c/p>","eNqNkDFvwkAMhff8Cm8BqeQU6JStAxJIVYrULJ0q5+LAicv55Lu0XH99E7G1CDH6PT/7s7ciLGAc9MYS5OrEA6mORx5YBRy8pYZCVD1hHIWCCpF8UF8W3eeZ0jdLF4pJ51E05cAOrHEEzxXsB88SjTtOSiso6eHhNUXNrn+9xgqfcuhxousqeE8u4mU7M1dAF086Ugd5lcPiX+rpirIpl1kjqKlFfYbFwCGCkCYXQaO1YDHEZZUB1OwoO3w0u7f68NLsZukx4DuNrXGzOwZR0xeUT/HEblOuix/jbxhFub6tzuWqS84ydnfW/QkFE2nlp7PxSOEXlnir9w=="]);
window.output["strings"] = window.output["strings"].concat(["*","*Features","*/home/douomo/sampleTest/features","*features","*Simple VLAN management","*/home/douomo/sampleTest/features/vlan.feature","*features/vlan.feature","*<p>As a Network Controller, I want to deploy and remove VLANs on network elements.\x3c/p>","*Plain VLAN 100","*Execution terminated by signal","*Given the network mentioned in network.csv","*NetconfLibrary","*<p>Load network from CSV file.\x3c/p>","*When the controller deploys VLAN 100","*<p>Deploy a VLAN on all network elements. <code>vlan_id\x3c/code> is pushed in all NEs.\x3c/p>","*Then the traffic should pass on this VLAN","*TesterLibrary","*<p>Fails if the traffic don't pass on the VLAN.\x3c/p>","*And the VLAN 100 should be in the configuration","*<p>Verify that VLAN is deployed in all NEs configuration.\x3c/p>","*Plain VLAN 100 Removal","*robot:exit","*Test execution stopped due to a fatal error.","*Deploy VLAN independanly vlan_id = 100","*Deploy VLAN independanly vlan_id = 200","*Multiple VLANs"]);
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["stats"] = [[{"elapsed":"00:00:00","fail":5,"label":"All Tests","pass":0,"skip":0}],[],[{"elapsed":"00:00:00","fail":5,"id":"s1","label":"Features","name":"Features","pass":0,"skip":0},{"elapsed":"00:00:00","fail":5,"id":"s1-s1","label":"Features.Simple VLAN management","name":"Simple VLAN management","pass":0,"skip":0}]];
window.output["stats"] = [[{"elapsed":"00:00:07","fail":5,"label":"All Tests","pass":0,"skip":0}],[{"combined":"NOT robot:exit","elapsed":"00:00:07","fail":1,"info":"combined","label":"NOT robot:exit","pass":0,"skip":0}],[{"elapsed":"00:00:07","fail":5,"id":"s1","label":"Features","name":"Features","pass":0,"skip":0},{"elapsed":"00:00:07","fail":5,"id":"s1-s1","label":"Features.Simple VLAN management","name":"Simple VLAN management","pass":0,"skip":0}]];
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["errors"] = [[16,4,28]];
window.output["errors"] = [];
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["baseMillis"] = 1760970973345;
window.output["baseMillis"] = 1761046085321;
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["generated"] = 41;
window.output["generated"] = 7188;
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["expand_keywords"] = null;
window.output["expand_keywords"] = null;
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.settings = {"defaultLevel":"INFO","minLevel":"FAIL","reportURL":"report.html","rpa":false,"splitLogBase":"log","title":""};
window.settings = {"defaultLevel":"INFO","minLevel":"NONE","reportURL":"report.html","rpa":false,"splitLogBase":"log","title":""};
</script>
</script>
<title></title>
<title></title>
</head>
</head>
+24 −79
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<robot generator="Robot 7.3.2 (Python 3.12.3 on linux)" generated="2025-10-20T16:36:13.344709" rpa="false" schemaversion="5">
<robot generator="Robot 7.3.2 (Python 3.12.3 on linux)" generated="2025-10-21T13:28:05.320669" rpa="false" schemaversion="5">
<suite id="s1" name="Features" source="/home/douomo/sampleTest/features">
<suite id="s1" name="Features" source="/home/douomo/sampleTest/features">
<suite id="s1-s1" name="Simple VLAN management" source="/home/douomo/sampleTest/features/vlan.feature">
<suite id="s1-s1" name="Simple VLAN management" source="/home/douomo/sampleTest/features/vlan.feature">
<test id="s1-s1-t1" name="Plain VLAN 100" line="5">
<test id="s1-s1-t1" name="Plain VLAN 100" line="5">
<kw name="Given the network mentioned in network.csv">
<kw name="Given the network mentioned in network.csv" owner="NetconfLibrary" source_name="the network mentioned in ${network_filename}">
<msg time="2025-10-20T16:36:13.372842" level="FAIL">No keyword with name 'Given the network mentioned in network.csv' found.</msg>
<doc>Load network from CSV file.</doc>
<status status="FAIL" start="2025-10-20T16:36:13.372794" elapsed="0.000114">No keyword with name 'Given the network mentioned in network.csv' found.</status>
<status status="PASS" start="2025-10-21T13:28:05.481792" elapsed="0.001207"/>
</kw>
</kw>
<kw name="When the controller deploys VLAN 100">
<kw name="When the controller deploys VLAN 100" owner="NetconfLibrary" source_name="the controller deploys VLAN ${vlan_id}">
<status status="NOT RUN" start="2025-10-20T16:36:13.373144" elapsed="0.000025"/>
<doc>Deploy a VLAN on all network elements.
``vlan_id`` is pushed in all NEs.</doc>
<status status="FAIL" start="2025-10-21T13:28:05.483249" elapsed="7.010411">Execution terminated by signal</status>
</kw>
</kw>
<kw name="Then the traffic should pass on this VLAN" owner="TesterLibrary">
<kw name="Then the traffic should pass on this VLAN" owner="TesterLibrary">
<doc>Fails if the traffic don't pass on the VLAN.</doc>
<doc>Fails if the traffic don't pass on the VLAN.</doc>
<status status="NOT RUN" start="2025-10-20T16:36:13.373317" elapsed="0.000023"/>
<status status="NOT RUN" start="2025-10-21T13:28:12.494772" elapsed="0.000084"/>
</kw>
</kw>
<kw name="And the VLAN 100 should be in the configuration">
<kw name="And the VLAN 100 should be in the configuration" owner="NetconfLibrary" source_name="the VLAN ${vlan_id} should be in the configuration">
<status status="NOT RUN" start="2025-10-20T16:36:13.373489" elapsed="0.000017"/>
<doc>Verify that VLAN is deployed in all NEs configuration.</doc>
<status status="NOT RUN" start="2025-10-21T13:28:12.498030" elapsed="0.000044"/>
</kw>
</kw>
<status status="FAIL" start="2025-10-20T16:36:13.369351" elapsed="0.004317">No keyword with name 'Given the network mentioned in network.csv' found.</status>
<status status="FAIL" start="2025-10-21T13:28:05.481050" elapsed="7.017309">Execution terminated by signal</status>
</test>
</test>
<test id="s1-s1-t2" name="Plain VLAN 100 Removal" line="12">
<test id="s1-s1-t2" name="Plain VLAN 100 Removal" line="12">
<kw name="Given the network mentioned in network.csv">
<tag>robot:exit</tag>
<msg time="2025-10-20T16:36:13.374749" level="FAIL">No keyword with name 'Given the network mentioned in network.csv' found.</msg>
<status status="FAIL" start="2025-10-21T13:28:12.498726" elapsed="0.000521">Test execution stopped due to a fatal error.</status>
<status status="FAIL" start="2025-10-20T16:36:13.374716" elapsed="0.000079">No keyword with name 'Given the network mentioned in network.csv' found.</status>
</kw>
<kw name="When the controller removes VLAN 100">
<status status="NOT RUN" start="2025-10-20T16:36:13.374987" elapsed="0.000019"/>
</kw>
<kw name="Then the traffic should not pass on this VLAN" owner="TesterLibrary">
<doc>Fails if the traffic pass on the VLAN.</doc>
<status status="NOT RUN" start="2025-10-20T16:36:13.375145" elapsed="0.000021"/>
</kw>
<kw name="And the VLAN 100 should not be in the configuration">
<status status="NOT RUN" start="2025-10-20T16:36:13.375337" elapsed="0.000018"/>
</kw>
<status status="FAIL" start="2025-10-20T16:36:13.373868" elapsed="0.001638">No keyword with name 'Given the network mentioned in network.csv' found.</status>
</test>
</test>
<test id="s1-s1-t3" name="Deploy VLAN independanly vlan_id = 100" line="18">
<test id="s1-s1-t3" name="Deploy VLAN independanly vlan_id = 100" line="18">
<kw name="Given the network mentioned in network.csv">
<tag>robot:exit</tag>
<msg time="2025-10-20T16:36:13.376899" level="FAIL">No keyword with name 'Given the network mentioned in network.csv' found.</msg>
<status status="FAIL" start="2025-10-21T13:28:12.499489" elapsed="0.000885">Test execution stopped due to a fatal error.</status>
<status status="FAIL" start="2025-10-20T16:36:13.376862" elapsed="0.000073">No keyword with name 'Given the network mentioned in network.csv' found.</status>
</kw>
<kw name="When the controller deploys VLAN 100">
<status status="NOT RUN" start="2025-10-20T16:36:13.377159" elapsed="0.000020"/>
</kw>
<kw name="Then the traffic should pass on this VLAN" owner="TesterLibrary">
<doc>Fails if the traffic don't pass on the VLAN.</doc>
<status status="NOT RUN" start="2025-10-20T16:36:13.377308" elapsed="0.000020"/>
</kw>
<kw name="And the VLAN 100 should be in the configuration">
<status status="NOT RUN" start="2025-10-20T16:36:13.377492" elapsed="0.000017"/>
</kw>
<status status="FAIL" start="2025-10-20T16:36:13.375829" elapsed="0.001829">No keyword with name 'Given the network mentioned in network.csv' found.</status>
</test>
</test>
<test id="s1-s1-t4" name="Deploy VLAN independanly vlan_id = 200" line="18">
<test id="s1-s1-t4" name="Deploy VLAN independanly vlan_id = 200" line="18">
<kw name="Given the network mentioned in network.csv">
<tag>robot:exit</tag>
<msg time="2025-10-20T16:36:13.378790" level="FAIL">No keyword with name 'Given the network mentioned in network.csv' found.</msg>
<status status="FAIL" start="2025-10-21T13:28:12.500884" elapsed="0.000456">Test execution stopped due to a fatal error.</status>
<status status="FAIL" start="2025-10-20T16:36:13.378762" elapsed="0.000062">No keyword with name 'Given the network mentioned in network.csv' found.</status>
</kw>
<kw name="When the controller deploys VLAN 200">
<status status="NOT RUN" start="2025-10-20T16:36:13.379011" elapsed="0.000020"/>
</kw>
<kw name="Then the traffic should pass on this VLAN" owner="TesterLibrary">
<doc>Fails if the traffic don't pass on the VLAN.</doc>
<status status="NOT RUN" start="2025-10-20T16:36:13.379154" elapsed="0.000019"/>
</kw>
<kw name="And the VLAN 100 should be in the configuration">
<status status="NOT RUN" start="2025-10-20T16:36:13.379329" elapsed="0.000017"/>
</kw>
<status status="FAIL" start="2025-10-20T16:36:13.377937" elapsed="0.001551">No keyword with name 'Given the network mentioned in network.csv' found.</status>
</test>
</test>
<test id="s1-s1-t5" name="Multiple VLANs" line="30">
<test id="s1-s1-t5" name="Multiple VLANs" line="30">
<kw name="Given the network mentioned in network.csv">
<tag>robot:exit</tag>
<msg time="2025-10-20T16:36:13.380584" level="FAIL">No keyword with name 'Given the network mentioned in network.csv' found.</msg>
<status status="FAIL" start="2025-10-21T13:28:12.501597" elapsed="0.000318">Test execution stopped due to a fatal error.</status>
<status status="FAIL" start="2025-10-20T16:36:13.380560" elapsed="0.000057">No keyword with name 'Given the network mentioned in network.csv' found.</status>
</kw>
<kw name="When the controller deploys VLANs 300 to 400 by step of 50">
<status status="NOT RUN" start="2025-10-20T16:36:13.380788" elapsed="0.000017"/>
</kw>
<kw name="Then the traffic should pass on all these VLANs" owner="TesterLibrary">
<doc>Fails if the traffic don't pass on several VLANs.</doc>
<status status="NOT RUN" start="2025-10-20T16:36:13.380926" elapsed="0.000024"/>
</kw>
<status status="FAIL" start="2025-10-20T16:36:13.379796" elapsed="0.001292">No keyword with name 'Given the network mentioned in network.csv' found.</status>
</test>
</test>
<doc>As a Network Controller,
<doc>As a Network Controller,
    I want to deploy and remove VLANs on network elements.</doc>
    I want to deploy and remove VLANs on network elements.</doc>
<status status="FAIL" start="2025-10-20T16:36:13.356167" elapsed="0.025402"/>
<status status="FAIL" start="2025-10-21T13:28:05.334420" elapsed="7.167907"/>
</suite>
</suite>
<status status="FAIL" start="2025-10-20T16:36:13.345478" elapsed="0.036763"/>
<status status="FAIL" start="2025-10-21T13:28:05.321495" elapsed="7.181590"/>
</suite>
</suite>
<statistics>
<statistics>
<total>
<total>
<stat pass="0" fail="5" skip="0">All Tests</stat>
<stat pass="0" fail="5" skip="0">All Tests</stat>
</total>
</total>
<tag>
<tag>
<stat info="combined" combined="NOT robot:exit" pass="0" fail="1" skip="0">NOT robot:exit</stat>
</tag>
</tag>
<suite>
<suite>
<stat name="Features" id="s1" pass="0" fail="5" skip="0">Features</stat>
<stat name="Features" id="s1" pass="0" fail="5" skip="0">Features</stat>
@@ -102,15 +57,5 @@
</suite>
</suite>
</statistics>
</statistics>
<errors>
<errors>
<msg time="2025-10-20T16:36:13.361125" level="ERROR">Error in file '/home/douomo/sampleTest/features/steps/vlan_keywords.resource' on line 4: Importing library '/home/douomo/sampleTest/features/steps/NetconfLibrary.py' failed: SyntaxError: expected ':' (NetconfLibrary.py, line 31)
Traceback (most recent call last):
  None
PYTHONPATH:
  /home/douomo/sampleTest/features/steps
  /home/douomo/sampleTest/bin
  /usr/lib/python312.zip
  /usr/lib/python3.12
  /usr/lib/python3.12/lib-dynload
  /home/douomo/sampleTest/lib/python3.12/site-packages</msg>
</errors>
</errors>
</robot>
</robot>
+5 −5
Original line number Original line Diff line number Diff line
@@ -1887,22 +1887,22 @@ storage = function () {
window.output = {};
window.output = {};
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["suite"] = [1,2,3,0,[],[0,0,37],[[4,5,6,7,[],[0,11,25],[],[[8,0,0,[],[0,24,4,9],[]],[10,0,0,[],[0,29,2,9],[]],[11,0,0,[],[0,31,2,9],[]],[12,0,0,[],[0,33,2,9],[]],[13,0,0,[],[0,35,1,9],[]]],[],[5,0,5,0]]],[],[],[5,0,5,0]];
window.output["suite"] = [1,2,3,0,[],[0,0,7182],[[4,5,6,7,[],[0,13,7168],[],[[8,0,0,[],[0,160,7017,9],[]],[10,0,0,[11],[0,7178,1,12],[]],[13,0,0,[11],[0,7178,1,12],[]],[14,0,0,[11],[0,7180,0,12],[]],[15,0,0,[11],[0,7181,0,12],[]]],[],[5,0,5,0]]],[],[],[5,0,5,0]];
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["strings"] = [];
window.output["strings"] = [];
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["strings"] = window.output["strings"].concat(["*","*Features","*/home/douomo/sampleTest/features","*features","*Simple VLAN management","*/home/douomo/sampleTest/features/vlan.feature","*features/vlan.feature","*<p>As a Network Controller, I want to deploy and remove VLANs on network elements.\x3c/p>","*Plain VLAN 100","*No keyword with name 'Given the network mentioned in network.csv' found.","*Plain VLAN 100 Removal","*Deploy VLAN independanly vlan_id = 100","*Deploy VLAN independanly vlan_id = 200","*Multiple VLANs"]);
window.output["strings"] = window.output["strings"].concat(["*","*Features","*/home/douomo/sampleTest/features","*features","*Simple VLAN management","*/home/douomo/sampleTest/features/vlan.feature","*features/vlan.feature","*<p>As a Network Controller, I want to deploy and remove VLANs on network elements.\x3c/p>","*Plain VLAN 100","*Execution terminated by signal","*Plain VLAN 100 Removal","*robot:exit","*Test execution stopped due to a fatal error.","*Deploy VLAN independanly vlan_id = 100","*Deploy VLAN independanly vlan_id = 200","*Multiple VLANs"]);
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["stats"] = [[{"elapsed":"00:00:00","fail":5,"label":"All Tests","pass":0,"skip":0}],[],[{"elapsed":"00:00:00","fail":5,"id":"s1","label":"Features","name":"Features","pass":0,"skip":0},{"elapsed":"00:00:00","fail":5,"id":"s1-s1","label":"Features.Simple VLAN management","name":"Simple VLAN management","pass":0,"skip":0}]];
window.output["stats"] = [[{"elapsed":"00:00:07","fail":5,"label":"All Tests","pass":0,"skip":0}],[{"combined":"NOT robot:exit","elapsed":"00:00:07","fail":1,"info":"combined","label":"NOT robot:exit","pass":0,"skip":0}],[{"elapsed":"00:00:07","fail":5,"id":"s1","label":"Features","name":"Features","pass":0,"skip":0},{"elapsed":"00:00:07","fail":5,"id":"s1-s1","label":"Features.Simple VLAN management","name":"Simple VLAN management","pass":0,"skip":0}]];
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["baseMillis"] = 1760970973345;
window.output["baseMillis"] = 1761046085321;
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["generated"] = 41;
window.output["generated"] = 7188;
</script>
</script>
<script type="text/javascript">
<script type="text/javascript">
window.output["expand_keywords"] = null;
window.output["expand_keywords"] = null;