extension search index
This commit is contained in:
parent
c43ee9e1ef
commit
2eae2b6000
5 changed files with 26 additions and 25 deletions
|
|
@ -27,6 +27,7 @@ fi
|
|||
|
||||
h=$1
|
||||
|
||||
ssh -t $h "test -d src || mkdir src"
|
||||
ssh -t $h "test -d src/cligen || (cd src;git clone https://github.com/olofhagsand/cligen.git)"
|
||||
ssh -t $h "(cd src/cligen;git pull)"
|
||||
ssh -t $h "(cd src/cligen;./configure)"
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ new "restconf get protocol tcp"
|
|||
expecteq "$(curl -s -X GET http://localhost/restconf/data/system:system)" 0 '{"system:system":{"protocol":{"tcp":[null]}}}
|
||||
'
|
||||
|
||||
new "restconf set protocol tcp+udp fail"
|
||||
new "restconf set protocol tcp+udp fail again"
|
||||
expecteq "$(curl -s -X PUT -H "Content-Type: application/yang-data+json" http://localhost/restconf/data/system:system/protocol -d '{"system:protocol":{"tcp": [null], "udp": [null]}}')" 0 '{"ietf-restconf:errors":{"error":{"error-type":"application","error-tag":"bad-element","error-info":{"bad-element":"udp"},"error-severity":"error","error-message":"Element in choice statement already exists"}}}
'
|
||||
|
||||
new "cli set protocol udp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue