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/dt-workflow/Voltha_DT_PODTests.robot b/tests/dt-workflow/Voltha_DT_PODTests.robot
index fcbcc33..0db4600 100644
--- a/tests/dt-workflow/Voltha_DT_PODTests.robot
+++ b/tests/dt-workflow/Voltha_DT_PODTests.robot
@@ -569,8 +569,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] dataplaneDt TechProfileDt VOL-3291
[Setup] Start Logging TechProfileDt
@@ -599,7 +598,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_iface_name}
- ... 0 udp 9999 ${src['c_tag']} vlan
+ ... 0 tcp ${src['c_tag']} 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
@@ -609,7 +608,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_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