testbed: Remove trailing dot from path references

Issue: VLAN tests fail to configure the vlan on the lan side because a VLANPort can not be created

Cause: Trailing dots are no longer allowed in the path references. TR181-bridging v2.8.13, v2.8.10 and v2.8.12 include changes to remove the trailing dot from path references. This is done to be inline with the tr181 spec

Fix: Remove the trailing dots from the command creating the VLANPort

Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
This commit is contained in:
Toon Caeyers 2024-10-28 10:01:44 +01:00 committed by Petr Štetiar
parent 191ad535f9
commit 10dc99cf3d
No known key found for this signature in database
GPG Key ID: 58EE120F30CC02D3

View File

@ -162,7 +162,7 @@ class TestbedDevice:
self.shell.run(f"ubus-cli {bridge_vlan_port}.Enable=1")
self.shell.run(
f"ubus-cli Bridging.Bridge.1.VLANPort+{{Alias='LAN', Name='vlan201', Port='Device.{bridge_vlan_port}.', VLAN='Device.Bridging.Bridge.1.VLAN.1.', Enable=1}}"
f"ubus-cli Bridging.Bridge.1.VLANPort+{{Alias='LAN', Name='vlan201', Port='Device.{bridge_vlan_port}', VLAN='Device.Bridging.Bridge.1.VLAN.1', Enable=1}}"
)
def init_vlans(self):