Fix TP pbit verification test.
The s-tag from the BNG also should carry the same pbit as the c-tag.
Otherwise the RG could receive pbit 0 instead of any other intended pbit
because the pbit from the s-tag is copied (possibly) by BAL to c-tag and
since the pbit on the s-tag default to 0 if not filled at BNG, it could
corrupt RGs pbit on the c-tag.
Change-Id: Icf4ee4d438d35bee4dc133b8a6503cd21222c1c7
diff --git a/tests/functional/Voltha_PODTests.robot b/tests/functional/Voltha_PODTests.robot
index 7faba13..b513e0d 100755
--- a/tests/functional/Voltha_PODTests.robot
+++ b/tests/functional/Voltha_PODTests.robot
@@ -624,7 +624,7 @@
... Install jq tool to read json file, where test suite is being running
... 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 notready
+ [Tags] dataplane TechProfile VOL-2054
[Setup] Start Logging TechProfile
[Teardown] Run Keywords Collect Logs
... AND Stop Logging TechProfile
@@ -649,7 +649,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 tcp 0 vlan
+ ... 0 tcp 0 ${src['s_tag']} upstream 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
@@ -658,8 +658,8 @@
... ${src['ip']} ${src['user']} ${src['pass']} ${src['container_type']} ${src['container_name']}
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 tcp ${src['c_tag']} tcp
+ ... ${rg_ip} ${src['dp_iface_name']} ${dst['dp_iface_name']}
+ ... 0 tcp ${src['c_tag']} ${src['s_tag']} downstream 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