diff options
Diffstat (limited to 'vnfs/vCPE/kea-sdnc-notify-mod/test/README.md')
-rw-r--r-- | vnfs/vCPE/kea-sdnc-notify-mod/test/README.md | 16 |
1 files changed, 16 insertions, 0 deletions
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 index 00000000..90076945 --- /dev/null +++ b/vnfs/vCPE/kea-sdnc-notify-mod/test/README.md @@ -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 + |