blob: 772b61b10187aa6c7612266bfc01594eeab928d3 [file] [log] [blame]
Dimitrios Mavrommatis92d93d52017-12-02 13:23:27 -08001#!/bin/bash
2curl -X POST --header 'Content-Type: application/json' -u onos:rocks --header 'Accept: application/json' -d '{
3 "input": {
4 "op-id": "3",
5 "targets": [
6 {
Dimitrios Mavrommatis9842f8a2017-12-03 23:40:36 -08007 "target": "/ietf-dmm-fpcagent:tenants/tenant=default/fpc-mobility/contexts=202374887"
Dimitrios Mavrommatis92d93d52017-12-02 13:23:27 -08008 }
9 ],
10 "client-id": "1",
11 "session-state": "complete",
12 "admin-state": "enabled",
13 "op-type": "delete",
14 "op-ref-scope": "none"
15 }
Dimitrios Mavrommatis9842f8a2017-12-03 23:40:36 -080016}' 'http://localhost:8181/onos/restconf/operations/ietf-dmm-fpcagent:configure' | python -m json.tool