Initial KEA DHCP Hook
[demo.git] / vnfs / vCPE / kea-sdnc-notify-mod / test / README.md
diff --git a/vnfs/vCPE/kea-sdnc-notify-mod/test/README.md b/vnfs/vCPE/kea-sdnc-notify-mod/test/README.md
new file mode 100644 (file)
index 0000000..9007694
--- /dev/null
@@ -0,0 +1,16 @@
+
+
+
+# sdnc emulator
+# install in /var/www/html with standard apache2 and php install
+# create /var/log/onap directoy
+# set owner to 'www-data'  on /var/log/onap and /var/log/onap/macaddr.log
+
+# test with curl http://localhost/sdnc.php?macaddr=11:22:33:44
+# or 
+#  curl -H "Content-Type: application/json" -X POST -d '{"username":"xyz","password":"xyz"}' http://localhost/sdnc.php?macaddr=12:34:56:66
+#
+# response is {"succes"}
+#
+# macaddr.log should record the data submitted
+