restconf dbg

This commit is contained in:
Olof Hagsand 2017-10-08 19:44:00 +02:00
parent 089b2da71c
commit 2d9e4666eb
4 changed files with 9 additions and 11 deletions

View file

@ -83,7 +83,7 @@ new "restconf get subtree"
expectfn "curl -sS -G http://localhost/restconf/data" '{"interfaces": {"interface": {"name": "eth/0/0","type": "eth","enabled": "true"}}}
$'
new "restconf rpc using POST json"
new "restconf operation rpc using POST json"
expectfn 'curl -sS -X POST -d {"input":{"routing-instance-name":"ipv4"}} http://localhost/restconf/operations/rt:fib-route' '{ "output": { "route": { "address-family": "ipv4", "next-hop": { "next-hop-list": "2.3.4.5" } } } } '
new "restconf rpc using POST xml"