Commit a4404213 authored by douomo's avatar douomo
Browse files

qualityofsignal xml modified. Tx Power set at max before starting performance test

parent 286282f4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ Decrease TX Power
    #${m}=    Connect With Credentials    ${par["host"]}    ${par["port"]}    ${par["username"]}    ${par["password"]}
    ${t}=    Connect With Key    ${transimitter["host"]}    ${transimitter["port"]}    ${transimitter["username"]}    ${transimitter["key_filename"]}
    #${t}=    Connect With Credentials    ${transimitter["host"]}    ${transimitter["port"]}    ${transimitter["username"]}    ${transimitter["password"]}
    Set TX Power    ${t}    ${transimitter["testInterface"]}    ${transimitter["maxTxPower"]}    #On transimitter node: need to connect to the TX and change ${m} with the reference to the transmitter
    ${init_SNR} =    Get Iface Metrics    ${m}    ${par["testInterface"]}    "actual-snir"
    Set TX Power    ${t}    ${transimitter["testInterface"]}    ${transimitter["minTxPower"]}    #On transimitter node: need to connect to the TX and change ${m} with the reference to the transmitter
    ${final_SNR} =    Get Iface Metrics    ${m}    ${par["testInterface"]}    "actual-snir"
+142 −140
Original line number Diff line number Diff line
@@ -50,11 +50,13 @@ class NetconfLibrary:
        for ne in self.network:
            m = connect_with_key(ne.address, ne.mgmt_port, ne.username, "/home/douomo/.ssh/netconf_key")
            #m = connect_with_credentials(ne.address, ne.mgmt_port, ne.username, ne.password)
            BuiltIn().log_to_console(ne)
            xml = create_VLAN_xml(ne,vlan_id)
            target = "candidate"
            m.edit_config(target=target, config=xml)
            m.commit()
            m.close_session()
            BuiltIn().log_to_console("Configuration committed")
        self.builtin.set_global_variable("${VLAN_ID}", vlan_id)

    @keyword("the VLAN ${vlan_id} should be in the configuration")
+0 −3
Original line number Diff line number Diff line
@@ -2,8 +2,5 @@
    <interface>
        <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:microwaveCarrierTermination</type>
        <name>{{ name }}</name>
        <actual-transmitted-level/>
        <actual-received-level/>
        <actual-snir/>
    </interface>
</interfaces>
+6 −6
Original line number Diff line number Diff line
@@ -2074,31 +2074,31 @@ storage = function () {
window.output = {};
</script>
<script type="text/javascript">
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]];
window.output["suite"] = [1,2,3,0,[],[0,0,1419],[[4,5,6,7,[],[0,8,1410],[],[[8,0,0,[],[0,50,1365,9],[[0,10,11,0,12,0,0,0,[1,51,1],[[52,2,13]]],[0,14,11,0,15,0,0,0,[0,52,1361],[]],[0,16,17,0,18,0,0,0,[3,1414,0],[]],[0,19,11,0,20,0,0,0,[3,1415,0],[]]]],[21,0,0,[22],[0,1416,1,23],[]],[24,0,0,[22],[0,1417,0,23],[]],[25,0,0,[22],[0,1417,0,23],[]],[26,0,0,[22],[0,1417,0,23],[]]],[],[5,0,5,0]]],[],[],[5,0,5,0]];
</script>
<script type="text/javascript">
window.output["strings"] = [];
</script>
<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","*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"]);
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>","*[NetworkElement(name='ne1', address='192.168.13.134', username='domenico', password='domenico', bridgeName='Bridge-1', componentName='Component-1', port_1='1', port_2='2', mgmt_port='830')]","*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 type="text/javascript">
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}]];
window.output["stats"] = [[{"elapsed":"00:00:01","fail":5,"label":"All Tests","pass":0,"skip":0}],[{"combined":"NOT robot:exit","elapsed":"00:00:01","fail":1,"info":"combined","label":"NOT robot:exit","pass":0,"skip":0}],[{"elapsed":"00:00:01","fail":5,"id":"s1","label":"Features","name":"Features","pass":0,"skip":0},{"elapsed":"00:00:01","fail":5,"id":"s1-s1","label":"Features.Simple VLAN management","name":"Simple VLAN management","pass":0,"skip":0}]];
</script>
<script type="text/javascript">
window.output["errors"] = [];
</script>
<script type="text/javascript">
window.output["baseMillis"] = 1761046085321;
window.output["baseMillis"] = 1761053085996;
</script>
<script type="text/javascript">
window.output["generated"] = 7188;
window.output["generated"] = 1423;
</script>
<script type="text/javascript">
window.output["expand_keywords"] = null;
</script>
<script type="text/javascript">
window.settings = {"defaultLevel":"INFO","minLevel":"NONE","reportURL":"report.html","rpa":false,"splitLogBase":"log","title":""};
window.settings = {"defaultLevel":"INFO","minLevel":"INFO","reportURL":"report.html","rpa":false,"splitLogBase":"log","title":""};
</script>
<title></title>
</head>
Loading