schillinge [Mon, 3 Dec 2018 10:34:01 +0000 (11:34 +0100)]
Return actually reachable IP as part of the Floating IP API
The Floating-IP list API is only ever queried for getting the IP assigned
to a specific port (if vim-emu is added with the manual floating-ip
assignment turned off). Thus, the previous solution lead to fixed IPs being
returned (which are not reachable).
This solution tracks the assigned container for each port in order to be
able to return the public IP assigned by docker.
This is not perfect in the sense that multiple ports do not receive
different floating ips, but at least the containers are actually reachable
now.
Change-Id: I233e5de35b3b7e7350faaef017711f7c1e919fff
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
peusterm [Thu, 29 Nov 2018 14:35:07 +0000 (15:35 +0100)]
Fix: Made ping pong example working with upcoming R5.
Change-Id: I415dd3c6ac8163d4ba2a3a3fe85600acc06430b7
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
schneiders [Wed, 14 Nov 2018 13:09:32 +0000 (14:09 +0100)]
added contributor to readme
Change-Id: I65e2e7f7af8f33689d42705ebcceaa0171dc9303
Signed-off-by: schneiders <stefan.schneider@uni-paderborn.de>
schillinge [Fri, 9 Nov 2018 08:55:59 +0000 (09:55 +0100)]
Ignore virtual environments when building docker images
.mailmap trickery is done with the hope of satisfying author ship
mapping scripts.
Change-Id: I47ab56335ed981b3f6d507f16823461d793896f9
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
peusterm [Wed, 31 Oct 2018 18:50:16 +0000 (19:50 +0100)]
Fix: Fixes broken installation because of third party library update.
Change-Id: If94adb111ae5bf89f977ad857807f89ee61f71d8
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Thu, 18 Oct 2018 13:03:55 +0000 (15:03 +0200)]
Improved IP/E-Line management of 5GTANGO LLCM.
Change-Id: I8e0c9d00e7470ef73b83d7e7d5bfde898116f632
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Wed, 3 Oct 2018 11:39:28 +0000 (13:39 +0200)]
Minor improvements in 5GTANGO LLCM module.
Change-Id: Ia1236038f1d25118d7b97574a50e306c9d19fed8
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
marchettim [Mon, 1 Oct 2018 15:02:47 +0000 (17:02 +0200)]
Merge "Modified LICENSE file to be the same in all repos"
peusterm [Mon, 1 Oct 2018 14:25:44 +0000 (16:25 +0200)]
Fixes bug 553: Missing license headers
Change-Id: I8fd3d74a242fa52d93b82840b5deea393f8f17a9
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
garciadeblas [Thu, 27 Sep 2018 08:33:49 +0000 (10:33 +0200)]
Modified LICENSE file to be the same in all repos
Change-Id: I18b4c3a9e42ece62a4c4e386720754d6abc585c7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
marchettim [Fri, 10 Aug 2018 13:02:02 +0000 (15:02 +0200)]
Merge "Added 5GTANGO lightweight lifecycle manager (LLCM)."
peusterm [Mon, 6 Aug 2018 14:09:23 +0000 (16:09 +0200)]
Added 5GTANGO lightweight lifecycle manager (LLCM).
This (optional) module allows to directly deploy
5GTANGO service packages on the emulator. This
allows for very quick prototyping of small 5GTANGO
services. It is a copy of the old SONATA DummyGatekeeper
component.
Change-Id: I61d8e5b5a4e0f682a52316de7330d95cf794a4a1
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Mon, 6 Aug 2018 12:28:24 +0000 (14:28 +0200)]
Fix: Made Glance-fake API more robust in
environments with many registered Docker images.
Change-Id: I27880b3530da088ab83a5bb5eb8d2946639d7ee0
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Thu, 2 Aug 2018 14:04:04 +0000 (16:04 +0200)]
Fix: Made OS Glance fake API compatible to latest pyhton-glanceclient.
This fixes a major bug that broke the integration between OSM and vim-emu.
Change-Id: I5a92417ccbf919d5e160ac5b2c66a88f3c7d6fe5
Signed-off-by: peusterm <manuel.peuster@upb.de>
peusterm [Wed, 16 May 2018 14:37:02 +0000 (16:37 +0200)]
Moved examples folder to project root.
Change-Id: I1ba8b7e753f0e1454555ecff18914bb977d224dd
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Wed, 16 May 2018 14:35:17 +0000 (16:35 +0200)]
Improved test triggers for unit tests.
Change-Id: Ib3a886da8a6f181fc04f4b6b4a42230deac79d4d
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Wed, 16 May 2018 11:10:30 +0000 (13:10 +0200)]
Fix: Made port deleteion more robust. Do not rely on IPs of ports only on names.
Bug was discovered during R4 int testing and does only appear in some border cases.
Change-Id: I6e9d4ca0e131486bee3592ceb71101f5a593a357
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Tue, 15 May 2018 15:10:27 +0000 (17:10 +0200)]
Refactoring: Made complete codebase PEP8 compatible.
Only PEP8 rule E501 (line too long) is not yet reflected
by this change.
The patch also adds automated code style checks to the
CI test stage using flake8.
It will let the tests fail if there is a code style
violation.
Change-Id: I90956dd424a46691546ef720351757d3c43451a7
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
peusterm [Mon, 14 May 2018 16:52:00 +0000 (18:52 +0200)]
Fix: Crashbug that was caused by an import of an
outdated module that was removed from Gevent 1.3 that
was released two days ago.
Change-Id: I44dff2b468456ed2c24fa8e326ebc535bb04344b
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
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