X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=README.md;h=63f9778b2467c6af472ea4718946a9e4f57137a6;hb=f3bf0e72a2df0a10a62565279a71598f5d9c6e63;hp=6d54ca5ba7256d9da4cf1f4004988d4d5b4d6697;hpb=7408542a62711664395fcc15582d277d186daa86;p=osm%2Fvim-emu.git diff --git a/README.md b/README.md index 6d54ca5..63f9778 100755 --- a/README.md +++ b/README.md @@ -84,13 +84,21 @@ In the `~/son-emu` directory: * `son-emu-cli compute list` * First terminal: * `containernet> vnf1 ping -c 2 vnf2` -* Second terminal: - * `son-emu-cli monitor get_rate -vnf vnf1` + ### Run Unit Tests * `cd ~/son-emu` -* `sudo py.test -v src/emuvim` (equivalent to `python setup.py test -v --addopts 'src/emuvim'` but with direct access to the commandline arguments) +* `sudo py.test -v src/emuvim/test/unittests` ### CLI * [Full CLI command documentation](https://github.com/sonata-nfv/son-emu/wiki/CLI-Command-Overview) +### Vagrant VM creation +A Vagrantfile allows to automatically create and provision a VM in which son-emu is installed and ready to be used. + +* `cd ~/son-emu` +* `vagrant up` +* `vagrant ssh` to enter the new VM in which the emulator is installed. + +Follow the MOTD in the VM to run the example topology and the fake-gatekeeper. The fake-gatekeeper's default port 5000 is forwarded to the host machine and can be accessed from it by using, e.g., curl http://127.0.0.1:5000/packages. +