Rome hackathon work integrated onto boron.
[unimgr.git] / restclient / nrp-fcspec.txt
diff --git a/restclient/nrp-fcspec.txt b/restclient/nrp-fcspec.txt
new file mode 100644 (file)
index 0000000..9df8e13
--- /dev/null
@@ -0,0 +1,18 @@
+# -*- restclient -*-
+# Settings
+:host = http://localhost:8181
+:basic-auth := (format "Basic %s" (base64-encode-string (format "%s:%s" "admin" "admin")))
+
+# Create FcSoec
+POST :host/restconf/config/CoreModel-CoreModelEnhancements-ProfilesTemplatesAndSpecificationsModule:FcSpecList
+Authorization: :basic-auth
+Content-Type: application/json
+{
+   "FcSpec" : {
+      "uuid": "an-original-name"
+   }
+}
+
+# Delete FcSpec
+
+# List FcSpec