ci: cdrouter-dut-flush-dns-relay-cache.sh: rename DNS.Relay.X_PRPL-COM_Config
After aligning the tr181-dns datamodel with the tr181 v2.18 datamodel, the DNS.Relay.X_PRPL-COM_Config object no longer exists: Running .gitlab/scripts/dut-init/cdrouter-dut-flush-dns-relay-cache.sh Command failed: Request timed out > DNS.Relay.X_PRPL-COM_Config.[Alias=="lan"].FlushCache() ERROR: No objects found DNS.Relay.X_PRPL-COM_Config.[Alias=="lan"].FlushCache So lets fix it by using the current DNS.Relay.Config without the prefix. References: PCF-1492 Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
This commit is contained in:
parent
086792c0b0
commit
533c7c32a1
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
ssh "root@$TARGET_LAN_IP" "ubus -t 180 wait_for DNS.Relay.X_PRPL-COM_Config.1"
|
||||
ssh "root@$TARGET_LAN_IP" "ba-cli 'DNS.Relay.X_PRPL-COM_Config.[Alias==\"lan\"].FlushCache()'"
|
||||
ssh "root@$TARGET_LAN_IP" "ubus -t 180 wait_for DNS.Relay.Config.1"
|
||||
ssh "root@$TARGET_LAN_IP" "ba-cli 'DNS.Relay.Config.[Alias==\"lan\"].FlushCache()'"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user