ci: cram: test tr181-dhcpv4 alignment to tr181 2.19.1
Paths under test:
* DHCPv4.Server.Pool.{i}.WINSServers
Implements: PCF-2070
References: FEAT-32
Signed-off-by: Anatolii Rybchych <anatolii.rybchych@globallogic.com>
This commit is contained in:
parent
97e8b52ec2
commit
ee50c87dcf
21
.gitlab/tests/cram/wnc-freedom/tr181-dhcpv4/winsservers.t
Normal file
21
.gitlab/tests/cram/wnc-freedom/tr181-dhcpv4/winsservers.t
Normal file
@ -0,0 +1,21 @@
|
||||
Create R alias:
|
||||
|
||||
$ alias R="${CRAM_REMOTE_COMMAND:-}"
|
||||
|
||||
Set one IPv4 as WINSServers:
|
||||
|
||||
$ R "ba-cli 'Device.DHCPv4.Server.Pool.lan.WINSServers=\"192.168.1.1\"'" | grep -Ev '^>|^$'
|
||||
Device.DHCPv4.Server.Pool.1.
|
||||
Device.DHCPv4.Server.Pool.1.WINSServers="192.168.1.1"
|
||||
|
||||
Set several IPv4 as WINSServers:
|
||||
|
||||
$ R "ba-cli 'Device.DHCPv4.Server.Pool.lan.WINSServers=\"192.168.1.1,192.168.1.56,192.168.1.20\"'" | grep -Ev '^>|^$'
|
||||
Device.DHCPv4.Server.Pool.1.
|
||||
Device.DHCPv4.Server.Pool.1.WINSServers="192.168.1.1,192.168.1.56,192.168.1.20"
|
||||
|
||||
Clean up WINSServers:
|
||||
|
||||
$ R "ba-cli 'Device.DHCPv4.Server.Pool.lan.WINSServers=\"\"'" | grep -Ev '^>|^$'
|
||||
Device.DHCPv4.Server.Pool.1.
|
||||
Device.DHCPv4.Server.Pool.1.WINSServers=""
|
||||
Loading…
Reference in New Issue
Block a user