diff options
author | Marco Platania <platania@research.att.com> | 2017-08-04 18:21:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-08-04 18:21:56 +0000 |
commit | a94e309943d51a2d56e9aa19a582ac9eb40966e6 (patch) | |
tree | 3304d9250e478670988a447e076367c590c9bf13 /vnfs/vCPE/kea-sdnc-notify-mod/test/README.md | |
parent | 98e9a903f874816de88c99beef5871910e1a83f0 (diff) | |
parent | f08fe6bfad6f9d044512142f104609d5c092a4f1 (diff) |
Merge "Initial KEA DHCP Hook"
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 + |