From 10dc99cf3d89fd2ed7261d379d60368cb45be660 Mon Sep 17 00:00:00 2001 From: Toon Caeyers Date: Mon, 28 Oct 2024 10:01:44 +0100 Subject: [PATCH] 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 --- .gitlab/scripts/testbed-device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/scripts/testbed-device.py b/.gitlab/scripts/testbed-device.py index 019840c797..2cbfaaae7b 100755 --- a/.gitlab/scripts/testbed-device.py +++ b/.gitlab/scripts/testbed-device.py @@ -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):