peusterm [Wed, 25 Apr 2018 13:36:15 +0000 (15:36 +0200)]
Fix: hackfest_1 deployment using OSM LB returned
and network not found error. This fix ensures that
some default networks are always available for OSM.
Change-Id: I0ae791d64c527ea451b406452619d04e6f3b98af
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Tue, 24 Apr 2018 14:52:51 +0000 (16:52 +0200)]
Fix: Instantiate the same NS without emulator restart
Fixes a bug that causes the emulator to not properly clean
its internal data structures when a NS is deleted. This could
cause errors when a NS should be instantiated again, without
restarting the emulator.
Change-Id: I8a0be1f28b889f2c01e7ef859acd6bdcc35b8b9d
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Tue, 24 Apr 2018 12:15:53 +0000 (14:15 +0200)]
Added emulator-compatible services and VNFs for R4 integration tests.
The emulator needs slightly modified test NSDs and VNFDs
to work with. This commit adds such examples based on the
official hackfest_1 and hackfest_2 services.
These example descriptors/packages are also used for the R4
integration tests with vim-emu.
Change-Id: Ief26dbdbb15dc973e7563923394d7e7e90579fab
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Wed, 17 Jan 2018 14:15:22 +0000 (15:15 +0100)]
Pingpong example for OSM-to-vim-emu deployments.
This commit cleans up the outdated emulator examples
from the SONATA project and adds example VNFs (ping and pong)
as well as a corresponding NSD as an up-to-date
example that is tested with OSM rel. THREE.
The added example service and VNFs is used by the
end-to-end example documented in the OSM wiki.
Goal is to give users an pre-defined example on how to
on-board and instantiate a network service on the
emulator using OSM.
Also improved README.md.
Change-Id: I45a00f1b6acf1664a96b22e21be4c23612f581cf
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Wed, 10 Jan 2018 10:06:05 +0000 (11:06 +0100)]
Fix: HTTP 204 response must not contain any payload.
Change-Id: Ib2fed74478233851e50f438c241b97bd949325d0
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
marchettim [Thu, 21 Dec 2017 13:33:25 +0000 (14:33 +0100)]
Merge "Added example topology for daemonized execution."
peusterm [Wed, 20 Dec 2017 14:48:35 +0000 (15:48 +0100)]
Added example topology for daemonized execution.
Allows to run vim-emu in a daemonized Docker container
and allows to shut it down gracefully using docker stop.
Change-Id: I49e92a670ed8cba1de64a2e896e6bb87839c16d5
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Tue, 19 Dec 2017 14:18:11 +0000 (15:18 +0100)]
Fix: Better name-handling of Docker-based VNFs
There was the risk to run into naming conflicts when a
larger number of VNFs was started in the emulation platform.
This patch resolves these problems by using short, hash-based
names for the emulated VNFs.
Change-Id: I958dd469e5494223fe7f1f274bc10e0714b3df90
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Wed, 29 Nov 2017 11:02:42 +0000 (12:02 +0100)]
Added Dockerfile-based entry points to REST API.
Allows the user of the emulator to specify entry point
scripts for their VNF containers inside the Dockerfiles.
The emulator automatically runs these scripts when a new
VNF is started using the emulators REST API.
Change-Id: I2cb42f1cc33f7ae4ba6fc4e7a05d7dff0f7046c2
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Wed, 15 Nov 2017 07:23:50 +0000 (08:23 +0100)]
OpenStack API: Replaced Flask with WSGI
Flask server introduced a couple of problems, e.g., pending
sockets when an experiment was shut down.
This patch solves this and improves stability and performance
of the emulated OpenStack APIs.
Increased PIP timeout in Dockerfile to make build more
robust in CI environment.
Change-Id: I54e040c56a10075555d13fe6fb144fc117340026
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Wed, 25 Oct 2017 14:20:51 +0000 (16:20 +0200)]
CI/Jenkins stage 2 integration of vim-emu
Added Jenkinsfile and stage-test.sh to trigger vim-emu's
unittests using Jenkins. The stage-build script is a placeholder
since the installation is done during the container build
process (see Dockerfile). stage-archive is not yet done.
Requires the following change in the devops repository
to allow privileged container execution in stage_2:
https://osm.etsi.org/gerrit/#/c/5624/
Change-Id: Ib140294b68b70b03e66f0f5d2bc11cd19d8777ca
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Fri, 22 Sep 2017 06:47:08 +0000 (08:47 +0200)]
Fix: Use networkx 1.11 due to major API change in recently released networkx 2.0
This is temporary until we migrated to the latest networkx API.
Change-Id: Id735686098c8d8ab03f40f648d10aff31ba87129
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Thu, 21 Sep 2017 14:29:34 +0000 (16:29 +0200)]
Fix/cleanup: Added missing license headers and removed unused files.
Change-Id: Ibaf91b89e3b1dc13a50130bb2bd0a22afc6ec19e
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Thu, 14 Sep 2017 09:13:21 +0000 (11:13 +0200)]
Merge pull request #255 from mpeuster/osm/master
Prepared README.md for migration to OSM repository
peusterm [Thu, 14 Sep 2017 09:06:44 +0000 (11:06 +0200)]
Fixed: Changed installation repos, etc. in README.md to new OSM repo
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Thu, 14 Sep 2017 09:06:01 +0000 (11:06 +0200)]
Changed package names, links, etc. for OSM migration
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Thu, 14 Sep 2017 08:11:57 +0000 (10:11 +0200)]
README cleanup for OSM migration
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Thu, 14 Sep 2017 06:31:02 +0000 (08:31 +0200)]
Merge pull request #254 from mpeuster/osm/master
Osm/master
peusterm [Thu, 14 Sep 2017 06:29:05 +0000 (08:29 +0200)]
Merge branch 'docker-build' into osm/master
peusterm [Thu, 14 Sep 2017 06:26:42 +0000 (08:26 +0200)]
Modified CI integration.
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Thu, 7 Sep 2017 14:49:34 +0000 (16:49 +0200)]
Merge branch 'docker-build' into osm/master
peusterm [Thu, 7 Sep 2017 14:37:15 +0000 (16:37 +0200)]
Fix: Jenkins worker don't have a TTY. Do not run the test container with "-it".
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 14:26:52 +0000 (16:26 +0200)]
Fix: Try to run tests in a Docker-only environment.
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 14:22:16 +0000 (16:22 +0200)]
Migrating CI tests to be executed inside Docker container
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 13:58:59 +0000 (15:58 +0200)]
Fix: Missing ping tool causes unittests inside Docker to fail.
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 12:33:27 +0000 (14:33 +0200)]
Merge branch 'docker-build' into osm/master
peusterm [Thu, 7 Sep 2017 12:32:47 +0000 (14:32 +0200)]
Cleanup: Removed outdated Dockerfile and docu.
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 11:27:18 +0000 (13:27 +0200)]
Cleanup for OSM: Removed outdated CI integration scripts.
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 11:03:12 +0000 (13:03 +0200)]
Added dockerized deployment as third official deployment method. Created a new Dockerfile that uses the Ansible-based installation so we still need to maintain only one installation script. The old Dockerfiles in "utils" is deprecated.
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 11:03:12 +0000 (13:03 +0200)]
Added dockerized deployment as third official deployment method. Created a new Dockerfile that uses the Ansible-based installation so we still need to maintain only one installation script. The old Dockerfiles in "utils" is deprecated.
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 08:56:41 +0000 (10:56 +0200)]
Added a default topology that is automatically called in dockerized deployments if no other topo is specified.
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 06:55:14 +0000 (08:55 +0200)]
Fixed missing license headers
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 06:39:32 +0000 (08:39 +0200)]
Fix: Removed more zeromq dependencies.
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 06:35:33 +0000 (08:35 +0200)]
Removed outdated zerorpc API.
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 06:27:27 +0000 (08:27 +0200)]
Fix: Fixed a lot of small things in the README.md
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 06:19:29 +0000 (08:19 +0200)]
Fix: Let Jenkins script call unitttest. Added link to examles.
Signed-off-by: Manuel Peuster <manuel@peuster.de>
peusterm [Thu, 7 Sep 2017 06:13:05 +0000 (08:13 +0200)]
Merge branch 'master' of github.com:mpeuster/son-emu
peusterm [Wed, 6 Sep 2017 15:26:46 +0000 (17:26 +0200)]
Removed GitHub page folder. We skip this.
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Wed, 6 Sep 2017 14:48:40 +0000 (16:48 +0200)]
Merge pull request #245 from mpeuster/master
Fix: Docker build was broken due to double urllib dependecy.
peusterm [Wed, 6 Sep 2017 13:56:10 +0000 (15:56 +0200)]
Fix: urllib is not available in pip anymore. Lets try without.
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Wed, 6 Sep 2017 13:33:34 +0000 (15:33 +0200)]
Fix: Docker build was broken due to double urllib dependecy.
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Mon, 4 Sep 2017 14:34:09 +0000 (16:34 +0200)]
added son-emu project website
peusterm [Mon, 4 Sep 2017 13:33:16 +0000 (15:33 +0200)]
Merge pull request #243 from mpeuster/master
Updated README to point to latest documentation
peusterm [Mon, 4 Sep 2017 12:11:12 +0000 (14:11 +0200)]
Fix: typo
peusterm [Mon, 4 Sep 2017 12:09:43 +0000 (14:09 +0200)]
Updated README.md to point to latest documentation
peusterm [Wed, 30 Aug 2017 18:46:26 +0000 (20:46 +0200)]
Merge pull request #242 from mpeuster/master
OpenStack-fake API improvements for OSM DevOps integration and containerized deployment
peusterm [Wed, 30 Aug 2017 08:03:51 +0000 (10:03 +0200)]
OS API fixes, but v3.0 auth not fully supported right now. fallback to v2.0
peusterm [Wed, 30 Aug 2017 07:51:32 +0000 (09:51 +0200)]
Fix: OpenStack keystone API was broken for latest OS client
peusterm [Wed, 30 Aug 2017 07:22:37 +0000 (09:22 +0200)]
added helper lib
peusterm [Wed, 30 Aug 2017 07:22:15 +0000 (09:22 +0200)]
let OpenStack APIs work inside a container
peusterm [Tue, 29 Aug 2017 17:41:13 +0000 (19:41 +0200)]
added REST API endpoint to OpenStack example to have son-emu-cli working
peusterm [Tue, 29 Aug 2017 17:36:17 +0000 (19:36 +0200)]
added OpenStack-fake API ports to Dockerfile
peusterm [Mon, 21 Aug 2017 15:08:15 +0000 (17:08 +0200)]
Merge pull request #241 from mpeuster/master
Improved API shutdown
peusterm [Fri, 18 Aug 2017 08:10:27 +0000 (10:10 +0200)]
Cleanup. Test update.
peusterm [Fri, 18 Aug 2017 08:05:32 +0000 (10:05 +0200)]
added stop method to normal REST API
peusterm [Mon, 14 Aug 2017 14:40:40 +0000 (16:40 +0200)]
Merge pull request #239 from FRuffy/master
Fix VLAN range of setChain from 1 to 4094
peusterm [Thu, 20 Jul 2017 13:57:06 +0000 (15:57 +0200)]
Merge pull request #240 from mpeuster/master
Fix: Broken external dependecy.
peusterm [Thu, 20 Jul 2017 12:46:18 +0000 (14:46 +0200)]
Fix: urllib3 installation in Dockerfile
peusterm [Thu, 20 Jul 2017 11:16:11 +0000 (13:16 +0200)]
Fix: Wrong field name in Ansible script
peusterm [Thu, 20 Jul 2017 10:39:11 +0000 (12:39 +0200)]
Fix: Broken external dependecy.
peusterm [Wed, 19 Jul 2017 19:11:55 +0000 (12:11 -0700)]
Also consider tag 4095
peusterm [Wed, 19 Jul 2017 19:05:28 +0000 (12:05 -0700)]
Fix VLAN range of setChain
peusterm [Thu, 13 Jul 2017 11:33:00 +0000 (13:33 +0200)]
Merge pull request #237 from mpeuster/demo-mano-integration
Demo mano integration
peusterm [Thu, 13 Jul 2017 10:17:07 +0000 (12:17 +0200)]
Fix: Failing tests seem to be related to our specific Jenkins VM config.
peusterm [Thu, 13 Jul 2017 09:17:50 +0000 (11:17 +0200)]
Improvement: Dummy GK tests are a bit messy
peusterm [Thu, 13 Jul 2017 08:02:49 +0000 (10:02 +0200)]
Fix: Tests in SONATA jenkins behave strange
peusterm [Thu, 13 Jul 2017 06:37:47 +0000 (08:37 +0200)]
Fix: Removed aoutdated tests which have been replaced by neutron-sfc
peusterm [Wed, 12 Jul 2017 14:44:33 +0000 (16:44 +0200)]
Fix: Removed some very demo related hotfixes.
peusterm [Tue, 11 Jul 2017 14:08:35 +0000 (16:08 +0200)]
Fix: Be more robust if OS ports do not exist in the model
peusterm [Tue, 11 Jul 2017 12:18:12 +0000 (14:18 +0200)]
Merge branch 'demo-mano-integration' of github.com:mpeuster/son-emu into demo-mano-integration
peusterm [Thu, 29 Jun 2017 13:32:20 +0000 (15:32 +0200)]
Fix: Missing interfaces for son-monitor are forced to be created early in the code
peusterm [Thu, 29 Jun 2017 05:38:18 +0000 (07:38 +0200)]
Added flavor and image delete endpoints
peusterm [Thu, 29 Jun 2017 05:10:33 +0000 (07:10 +0200)]
Fix: Naming issue for NetSoft demo
peusterm [Tue, 27 Jun 2017 10:44:13 +0000 (12:44 +0200)]
Fix: Workarround for too long interface names
peusterm [Tue, 27 Jun 2017 08:50:27 +0000 (10:50 +0200)]
Fix: Glance API was not happy with empty body on POST request
peusterm [Mon, 26 Jun 2017 14:15:07 +0000 (16:15 +0200)]
Fix: Disable dummy GK chaining if no forwarding graph section is present in NSD
peusterm [Mon, 26 Jun 2017 12:08:51 +0000 (14:08 +0200)]
Bugfix: Log in exception part causes crash
peusterm [Mon, 26 Jun 2017 11:46:39 +0000 (13:46 +0200)]
cleanup
peusterm [Mon, 26 Jun 2017 07:59:12 +0000 (09:59 +0200)]
Fix: Name shortening. Still an ugly fix but ok for now.
peusterm [Mon, 26 Jun 2017 07:32:06 +0000 (09:32 +0200)]
Fix: Update stack.template on PATCH / PUT call
peusterm [Fri, 23 Jun 2017 13:00:21 +0000 (15:00 +0200)]
Fixed: OpenStack API now supports very long instance names
peusterm [Thu, 29 Jun 2017 13:32:20 +0000 (15:32 +0200)]
Fix: Missing interfaces for son-monitor are forced to be created early in the code
peusterm [Thu, 29 Jun 2017 05:38:18 +0000 (07:38 +0200)]
Added flavor and image delete endpoints
peusterm [Thu, 29 Jun 2017 05:10:33 +0000 (07:10 +0200)]
Fix: Naming issue for NetSoft demo
peusterm [Wed, 28 Jun 2017 17:52:20 +0000 (19:52 +0200)]
Merge pull request #235 from splietker/master
Implemented Neutron Service Function Chaining API (without legacy content)
splietker [Wed, 28 Jun 2017 15:24:01 +0000 (17:24 +0200)]
Implemented Openstack Neutron SFC API
Signed-off-by: Malte Splietker <malte.splietker@gmail.com>
peusterm [Tue, 27 Jun 2017 10:44:13 +0000 (12:44 +0200)]
Fix: Workarround for too long interface names
peusterm [Tue, 27 Jun 2017 08:50:27 +0000 (10:50 +0200)]
Fix: Glance API was not happy with empty body on POST request
peusterm [Mon, 26 Jun 2017 14:15:07 +0000 (16:15 +0200)]
Fix: Disable dummy GK chaining if no forwarding graph section is present in NSD
peusterm [Mon, 26 Jun 2017 12:08:51 +0000 (14:08 +0200)]
Bugfix: Log in exception part causes crash
peusterm [Mon, 26 Jun 2017 11:46:39 +0000 (13:46 +0200)]
cleanup
peusterm [Mon, 26 Jun 2017 07:59:12 +0000 (09:59 +0200)]
Fix: Name shortening. Still an ugly fix but ok for now.
peusterm [Mon, 26 Jun 2017 07:32:06 +0000 (09:32 +0200)]
Fix: Update stack.template on PATCH / PUT call
peusterm [Fri, 23 Jun 2017 13:00:21 +0000 (15:00 +0200)]
Fixed: OpenStack API now supports very long instance names
peusterm [Mon, 19 Jun 2017 13:19:35 +0000 (15:19 +0200)]
Merge pull request #233 from mpeuster/demo-mano-integration
Demo mano integration
peusterm [Mon, 19 Jun 2017 10:56:07 +0000 (12:56 +0200)]
Merge remote-tracking branch 'upstream/master' into demo-mano-integration
peusterm [Mon, 19 Jun 2017 10:01:13 +0000 (12:01 +0200)]
Added resource groups to HEAT parser
peusterm [Mon, 19 Jun 2017 09:22:11 +0000 (11:22 +0200)]
Improved OpenStack API logging
peusterm [Mon, 19 Jun 2017 09:05:04 +0000 (11:05 +0200)]
Added HEAT GET /resources endpoint (returns empty list for now)
peusterm [Mon, 19 Jun 2017 08:27:44 +0000 (10:27 +0200)]
OpenStack HEAT API: Added GET /template endpoint