X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Femuvim%2Fapi%2Fsonata%2FREADME.md;h=d662f1e45c13eb4bef5fb5efc80e1d86111dbd80;hb=33175620135388fecf31d40983a70e41459abd7b;hp=30586e7771d214a4444e270e5175c948c100cb85;hpb=593ca58d734362b0ddc7ca6ac23631d11f94d57e;p=osm%2Fvim-emu.git diff --git a/src/emuvim/api/sonata/README.md b/src/emuvim/api/sonata/README.md old mode 100644 new mode 100755 index 30586e7..d662f1e --- a/src/emuvim/api/sonata/README.md +++ b/src/emuvim/api/sonata/README.md @@ -20,9 +20,9 @@ The example starts a small network with two data centers. ## Upload a package (*.son) file: -To upload the file `sonata-demo.son` (from son-schema repo) do: +To upload the file `sonata-demo-docker.son` (can be found in `son-emu/misc/`) do: -* `curl -i -X POST -F package=@sonata-demo.son http://127.0.0.1:5000/packages` +* `curl -i -X POST -F package=@sonata-demo-docker.son http://127.0.0.1:5000/packages` To list all uploaded packages do: @@ -37,6 +37,15 @@ To list all running services do: * `curl http://127.0.0.1:5000/instantiations` +## VNF Requirements + +A VNF container that is used with the dummy gatekeeper should specify a emulator specific entrypoint script in its Dockerfile: + +* `ENV SON_EMU_CMD ./start.sh` + +This script is called by the dummy gatekeeper after a VNF was started and the chaining was done. The script can then be used to trigger the execution of individual VNF software. + +ATTENTION: The specified script must not block! ## API definition