mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-06 22:22:46 +00:00
tests: add unit-test for choice/case node queries
Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
b9ff10b086
commit
73df7da40a
@ -2,4 +2,8 @@ show yang operational-data /frr-test-module:frr-test-module
|
|||||||
show yang operational-data /frr-test-module:frr-test-module/vrfs/vrf[name='vrf0']/routes/route[2]
|
show yang operational-data /frr-test-module:frr-test-module/vrfs/vrf[name='vrf0']/routes/route[2]
|
||||||
show yang operational-data /frr-test-module:frr-test-module/vrfs/vrf[name='vrf0']/routes/route[3]/interface
|
show yang operational-data /frr-test-module:frr-test-module/vrfs/vrf[name='vrf0']/routes/route[3]/interface
|
||||||
show yang operational-data /frr-test-module:frr-test-module/vrfs/vrf[name='vrf0']/routes/route[10]
|
show yang operational-data /frr-test-module:frr-test-module/vrfs/vrf[name='vrf0']/routes/route[10]
|
||||||
|
show yang operational-data /frr-test-module:frr-test-module/c1value
|
||||||
|
show yang operational-data /frr-test-module:frr-test-module/c2cont
|
||||||
|
show yang operational-data /frr-test-module:frr-test-module/c2cont/
|
||||||
|
show yang operational-data /frr-test-module:frr-test-module/c2cont/c2value
|
||||||
test rpc
|
test rpc
|
||||||
|
@ -174,6 +174,36 @@ test# show yang operational-data /frr-test-module:frr-test-module/vrfs/vrf[name=
|
|||||||
}
|
}
|
||||||
test# show yang operational-data /frr-test-module:frr-test-module/vrfs/vrf[name='vrf0']/routes/route[10]
|
test# show yang operational-data /frr-test-module:frr-test-module/vrfs/vrf[name='vrf0']/routes/route[10]
|
||||||
{}
|
{}
|
||||||
|
test# show yang operational-data /frr-test-module:frr-test-module/c1value
|
||||||
|
{
|
||||||
|
"frr-test-module:frr-test-module": {
|
||||||
|
"c1value": 21
|
||||||
|
}
|
||||||
|
}
|
||||||
|
test# show yang operational-data /frr-test-module:frr-test-module/c2cont
|
||||||
|
{
|
||||||
|
"frr-test-module:frr-test-module": {
|
||||||
|
"c2cont": {
|
||||||
|
"c2value": 2868969987
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
test# show yang operational-data /frr-test-module:frr-test-module/c2cont/
|
||||||
|
{
|
||||||
|
"frr-test-module:frr-test-module": {
|
||||||
|
"c2cont": {
|
||||||
|
"c2value": 2868969987
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
test# show yang operational-data /frr-test-module:frr-test-module/c2cont/c2value
|
||||||
|
{
|
||||||
|
"frr-test-module:frr-test-module": {
|
||||||
|
"c2cont": {
|
||||||
|
"c2value": 2868969987
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
test# test rpc
|
test# test rpc
|
||||||
vrf testname data testdata
|
vrf testname data testdata
|
||||||
test#
|
test#
|
||||||
|
Loading…
Reference in New Issue
Block a user