blob: 9a077760060afe718a264eb314a996b2fcb8a0e4 [file] [log] [blame]
Dimitrios Mavrommatis92d93d52017-12-02 13:23:27 -08001curl -i --header "Content-type: application/json" --request POST -u onos:rocks --data '{
2 "dpns": [
3 {
Dimitrios Mavrommatisc53923a2017-12-03 19:48:48 -08004 "dpn-id": "1",
Dimitrios Mavrommatis92d93d52017-12-02 13:23:27 -08005 "dpn-name": "site1-anchor1",
6 "dpn-groups": [
7 "foo"
8 ],
Dimitrios Mavrommatisc53923a2017-12-03 19:48:48 -08009 "node-id": "node1",
10 "network-id": "network1"
Dimitrios Mavrommatis92d93d52017-12-02 13:23:27 -080011 }
12 ]
Dimitrios Mavrommatisc53923a2017-12-03 19:48:48 -080013}' 'http://localhost:8181/onos/restconf/data/ietf-dmm-fpcagent:tenants/tenant=default/fpc-topology'