Fix pbit verification test.
For reasons still unknown the, current scheme of sending packets
from musezahn were not reaching the peer end. Changed the mausezahn
options a bit and verified that it works manually and now submitting
a robot patch for the same.
This patch also is reverting an earlier hack to not send traffic on
all pbits as this is fixed in latest BAL release.
Change-Id: Ieba59e57ef02cd1200b636b1f1a46cfd7375339b
diff --git a/tests/functional/Voltha_PODTests.robot b/tests/functional/Voltha_PODTests.robot
index 98dffe9..52acdb3 100644
--- a/tests/functional/Voltha_PODTests.robot
+++ b/tests/functional/Voltha_PODTests.robot
@@ -621,8 +621,7 @@
[Documentation] Assuming that test1 was executed where all the ONUs are authenticated/DHCP/pingable
... Prerequisite tools : Tcpdump and Mausezahn traffic generator on both RG and DHCP/BNG VMs
... Install jq tool to read json file, where test suite is being running
- ... Make sure 9999 port is enabled or forwarded for both upsteam and downstream direction
- ... This test sends UDP packets on port 9999 with pbits between 0 and 7 and validates that
+ ... This test sends TCP packets with pbits between 0 and 7 and validates that
... the pbits are preserved by the PON.
[Tags] dataplane TechProfile VOL-2054
[Setup] Start Logging TechProfile
@@ -649,7 +648,7 @@
Log Upstream test
Run Keyword If ${has_dataplane} Create traffic with each pbit and capture at other end
... ${dst['dp_iface_ip_qinq']} ${dst['dp_iface_name']} ${src['dp_iface_name']}
- ... 0 udp 9999 0 vlan
+ ... 0 tcp 0 vlan
... ${bng_ip} ${bng_user} ${bng_pass} ${dst['container_type']} ${dst['container_name']}
... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']}
Log Downstream test
@@ -659,7 +658,7 @@
Should Be Equal As Integers ${rc} 0 Could not get RG's IP address
Run Keyword If ${has_dataplane} Create traffic with each pbit and capture at other end
... ${rg_ip} ${src['dp_iface_name']} ${dst['dp_iface_name']}.${src['s_tag']}
- ... 0 udp 9999 ${src['c_tag']} udp
+ ... 0 tcp ${src['c_tag']} tcp
... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']}
... ${bng_ip} ${bng_user} ${bng_pass} ${dst['container_type']} ${dst['container_name']}
END