Dimitrios Mavrommatis | 92d93d5 | 2017-12-02 13:23:27 -0800 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | curl -X POST --header 'Content-Type: application/json' -u onos:rocks --header 'Accept: application/json' -d '{ |
| 3 | "input": { |
| 4 | "op-id": "3", |
| 5 | "targets": [ |
| 6 | { |
| 7 | "target": "/ietf-dmm-fpcagent:tenants/tenant/default/fpc-mobility/contexts/202374885" |
| 8 | } |
| 9 | ], |
| 10 | "client-id": "1", |
| 11 | "session-state": "complete", |
| 12 | "admin-state": "enabled", |
| 13 | "op-type": "delete", |
| 14 | "op-ref-scope": "none" |
| 15 | } |
| 16 | }' 'http://localhost:8181/onos/restconf/operations/ietf-dmm-fpcagent:configure' |