RestConf commands
[scp/oam/modeling.git] / data-model / tools / o1-controller-restconf-commands / get-sdnr-create-connection-rfc8040.rest
diff --git a/data-model/tools/o1-controller-restconf-commands/get-sdnr-create-connection-rfc8040.rest b/data-model/tools/o1-controller-restconf-commands/get-sdnr-create-connection-rfc8040.rest
new file mode 100644 (file)
index 0000000..ce660a7
--- /dev/null
@@ -0,0 +1,16 @@
+POST {{baseUrl}}/rests/operations/data-provider:create-network-element-connection HTTP/1.1
+Authorization: Basic {{user}} {{password}}
+Accept: application/yang-data+json
+Content-Type: application/yang-data+json
+
+{
+  "data-provider:input": {
+    "id": "new-mountpoint-name",
+    "node-id": "new-mountpoint-name",
+    "host": "10.10.10.10",
+    "port": "830",
+    "username": "netconf",
+    "password": "netconf",
+    "is-required": "true"
+  }
+}
\ No newline at end of file