3 :host = http://localhost:8181
4 :basic-auth := (format "Basic %s" (base64-encode-string (format "%s:%s" "admin" "admin")))
7 GET :host/restconf/modules
8 Authorization: :basic-auth
10 # Operational Network Topology
11 GET :host/restconf/operational/network-topology:network-topology/
12 Authorization: :basic-auth
13 Accept: application/xml
15 # Config Network Topology
16 GET :host/restconf/config/network-topology:network-topology/
17 Authorization: :basic-auth
18 Accept: application/xml
21 DELETE :host/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2F%2F192.168.2.10
22 Authorization: :basic-auth
25 DELETE :host/restconf/config/network-topology:network-topology/topology/ovsdb:1/
26 Authorization: :basic-auth
29 POST :host/restconf/config/network-topology:network-topology/topology/unimgr:uni/
30 Content-type: application/json
31 Authorization: :basic-auth
35 "node-id": "uni://192.168.2.12",
36 "cl-unimgr-mef:type": "",
37 "cl-unimgr-mef:mtu-size": 0,
38 "cl-unimgr-mef:physical-medium": "UNI TypeFull Duplex 2 Physical Interface",
39 "cl-unimgr-mef:ip-address": "192.168.2.12",
40 "cl-unimgr-mef:mode": "Full Duplex",
41 "cl-unimgr-mef:speed": {
44 "cl-unimgr-mef:mac-layer": "IEEE 802.3-2005",
45 "cl-unimgr-mef:mac-address": "68:5b:35:bb:f8:3c"
51 DELETE :host/restconf/config/network-topology:network-topology/topology/unimgr:uni/node/uni:%2f%2f192.168.2.12
52 Authorization: :basic-auth
56 GET :host/restconf/ovsdb:ovsdb/
57 Authorization: :basic-auth
60 GET :host/restconf/operational/network-topology:network-topology/topology/topology-netconf/node/asr-101
61 Authorization: :basic-auth