osm/vim-emu.git
4 years agoFix: Correctly handle cap_add in 5GTANGO LLCM 16/8316/1 v7.0 v7.0.0 v7.0.0rc1 v7.0.1 v7.0.1rc1 v7.0.1rc2 v7.0.1rc3 v7.1.0 v7.1.0rc2 v7.1.0rc3 v7.1.0rc4 v7.1.0rc5 v7.1.0rc6 v7.1.2 v7.1.3 v7.1.4 v7.1.5
peusterm [Wed, 4 Dec 2019 13:02:02 +0000 (14:02 +0100)]
Fix: Correctly handle cap_add in 5GTANGO LLCM

Change-Id: I98666f105117194cad27dd6b3686cbec72574f3c
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFeature: Support for ipc_mode and devices keywords in 5GTANGO LLCM. 79/8179/1
peusterm [Sat, 16 Nov 2019 07:30:42 +0000 (08:30 +0100)]
Feature: Support for ipc_mode and devices keywords in 5GTANGO LLCM.

Change-Id: Iff85f5c9b71e298b9000567eef7c61a8295f5fa5
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFeature: Allow custom addressing in E-LANs deployed by the 5GTANGO LLCM. 76/8176/1
peusterm [Fri, 15 Nov 2019 12:25:53 +0000 (13:25 +0100)]
Feature: Allow custom addressing in E-LANs deployed by the 5GTANGO LLCM.

Change-Id: I69adb632106a9ea58b97dbf0ac5bf904d0bc6128
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFix: Remove monkey patching to progress with migration to Python3 72/8172/2
peusterm [Thu, 14 Nov 2019 12:22:19 +0000 (13:22 +0100)]
Fix: Remove monkey patching to progress with migration to Python3

Change-Id: I89a35320df094b476fdfe90c95749bd7cb536934
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFix: Fixed version of tinyrpc to not break the Ryu installation. 60/8160/3
peusterm [Wed, 13 Nov 2019 11:49:15 +0000 (12:49 +0100)]
Fix: Fixed version of tinyrpc to not break the Ryu installation.

Change-Id: I901da179c43bdce4337575691fab82baae7987f4
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFixed README 06/8106/1
peusterm [Thu, 31 Oct 2019 15:39:12 +0000 (16:39 +0100)]
Fixed README

Change-Id: I4340e78e1de61d5006f6978bd6fd45b18c39db2a
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoCI: Final check if new CI works 08/8008/1
peusterm [Tue, 1 Oct 2019 14:52:13 +0000 (16:52 +0200)]
CI: Final check if new CI works

Change-Id: I4cac43812087b15be9ac4ad792f0a8515cb5f524
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoCI: Test run that should fail during the unit tests 07/8007/3
peusterm [Tue, 1 Oct 2019 14:20:50 +0000 (16:20 +0200)]
CI: Test run that should fail during the unit tests

Change-Id: Iaf9deee312de6d7be221ae460bf90f0fc0285fe5
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoCI: Fix in Jenkins file 06/8006/2
peusterm [Tue, 1 Oct 2019 14:13:42 +0000 (16:13 +0200)]
CI: Fix in Jenkins file

Change-Id: Iac3103cca2259f29631795be6bced3e1f7fefff8
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoCI: Fix of Jenkins file 05/8005/2
peusterm [Tue, 1 Oct 2019 14:03:08 +0000 (16:03 +0200)]
CI: Fix of Jenkins file

Change-Id: Ide6a3f4c67b737c19264dd9ed894ede4865e0284
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoChange in Jenkins file 04/8004/2
peusterm [Tue, 1 Oct 2019 13:39:08 +0000 (15:39 +0200)]
Change in Jenkins file

Change-Id: Ibcac44c7034c9b97431887e9ff43e747d4637002
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoCI: test run 03/8003/2
peusterm [Tue, 1 Oct 2019 12:55:07 +0000 (14:55 +0200)]
CI: test run

Change-Id: I734954924c0c30d846f6a62a3900abcf9d6af69c
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoCI: Activating pre-test script 02/8002/2
peusterm [Tue, 1 Oct 2019 12:01:15 +0000 (14:01 +0200)]
CI: Activating pre-test script

Change-Id: If28948b65e37dcb6637ce45e9adb32dd5893c173
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoCI: Work on pre-test stage 01/8001/1
peusterm [Tue, 1 Oct 2019 11:42:48 +0000 (13:42 +0200)]
CI: Work on pre-test stage

Change-Id: I626fd3b1a477aacd87ec23abe53ff8631b494872
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoCI: Pre-test stage 00/8000/1
peusterm [Tue, 1 Oct 2019 11:33:42 +0000 (13:33 +0200)]
CI: Pre-test stage

Change-Id: Ib75ec0d031fc31df9616219611351a4a8d5723f0
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoCI: Remove the root rights from OSM stage2 tests 81/7981/3
peusterm [Thu, 26 Sep 2019 19:25:09 +0000 (21:25 +0200)]
CI: Remove the root rights from OSM stage2 tests

Change-Id: Ie34780d463e75a8fa9755432363d387edeeedb93
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoPlaying around with the CI; trying to solve the permission problem. 77/7977/9
peusterm [Thu, 26 Sep 2019 05:57:23 +0000 (07:57 +0200)]
Playing around with the CI; trying to solve the permission problem.

Change-Id: Ic37ab76a475014d5909a759ddebdc4e4e6eac5df
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoCI: Lets try if we can build our Job without the -u 0:0 flag. 76/7976/1
peusterm [Thu, 26 Sep 2019 05:40:25 +0000 (07:40 +0200)]
CI: Lets try if we can build our Job without the -u 0:0 flag.

Change-Id: Id9e8dbdac564f30e35fe757e8ee71554983408b7
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years ago5GTANGO LLCM: Allow to publish multiple ports and UDP ports. 75/7975/1
peusterm [Wed, 25 Sep 2019 17:31:55 +0000 (19:31 +0200)]
5GTANGO LLCM: Allow to publish multiple ports and UDP ports.

Change-Id: I97ce2afd01f373e0fb4b155d588317bba84975f0
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoTest if we can re-run CI jobs again. 53/7853/1
peusterm [Thu, 22 Aug 2019 11:30:25 +0000 (13:30 +0200)]
Test if we can re-run CI jobs again.

Change-Id: I0817a4a906e77eb6bfd7e9fa127e7c86162e925c
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFix: Broken links to external dashboard resources. 46/7846/2
peusterm [Wed, 14 Aug 2019 17:40:23 +0000 (19:40 +0200)]
Fix: Broken links to external dashboard resources.
Fix: Version number

Change-Id: Ibd88b5ae61e16be0907b7ef53d80ab69947b6115
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoAdded bibtex to readme 55/7755/1
peusterm [Fri, 5 Jul 2019 14:32:01 +0000 (16:32 +0200)]
Added bibtex to readme

Change-Id: I9afacc84680c6e588821e27e12ababf3cc1d8a38
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFix: Make vim-emu ready for the upcoming Containernet release 36/7736/1
peusterm [Tue, 2 Jul 2019 11:01:36 +0000 (13:01 +0200)]
Fix: Make vim-emu ready for the upcoming Containernet release

Change-Id: Ia501fbf723d8ea508be05c0adeaf6d2b0dbc8c9e
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFix: pytest 5.0.0 issue that breaks installs 31/7731/2
peusterm [Mon, 1 Jul 2019 09:09:14 +0000 (11:09 +0200)]
Fix: pytest 5.0.0 issue that breaks installs

Change-Id: Ice3cddc4083b23e5c9d148c3ddea98c7a982f46f
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFix: Allow CORS to fetch emulator state 81/7681/1
peusterm [Wed, 19 Jun 2019 08:21:25 +0000 (10:21 +0200)]
Fix: Allow CORS to fetch emulator state

Change-Id: I26e0cc5a570bdc35ec27b9eeb2c4ec528bdf8bf3
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFix: Improved performance of REST getStatus endpoint. 78/7678/1
peusterm [Tue, 18 Jun 2019 14:55:26 +0000 (16:55 +0200)]
Fix: Improved performance of REST getStatus endpoint.

Change-Id: Ia91a896b0d0fc35901b5987b2981d91122052578
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFixes of the REST interface dashboard. 76/7676/2
peusterm [Tue, 18 Jun 2019 14:08:47 +0000 (16:08 +0200)]
Fixes of the REST interface dashboard.

Change-Id: I4aad748e68a2f56017d2327831cf0bba098c0f29
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFix: Use "emu0" as shrot name for the default 48/7648/1 v6.0 v6.0.0 v6.0.1 v6.0.2 v6.0.2rc1 v6.0.3 v6.0.4 v6.0.4rc1
peusterm [Wed, 12 Jun 2019 08:25:38 +0000 (10:25 +0200)]
Fix: Use "emu0" as shrot name for the default
network interface of a container if no network is
specified manually.

Change-Id: I8f206c8def1cd19084860e7d8a3fa4b0b37c2a5d
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years ago5GTANGO LLCM: Instance-specific env. configs. 43/7643/1
peusterm [Tue, 11 Jun 2019 14:31:56 +0000 (16:31 +0200)]
5GTANGO LLCM: Instance-specific env. configs.

Change-Id: Id50bd7b6329e3e9d8b4a4a5d39730861b940371f
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years ago5GTANGO LLCM: New placement algo. integration. 41/7641/1
peusterm [Tue, 11 Jun 2019 12:55:44 +0000 (14:55 +0200)]
5GTANGO LLCM: New placement algo. integration.
Added StaticConfig placement.

Change-Id: Ib3734a8999644c93cc1154b6b62c459f556f27a9
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years ago5GTANGO LLCM: Made APIs compatible with tng-cli 27/7627/1
peusterm [Thu, 6 Jun 2019 15:43:34 +0000 (17:43 +0200)]
5GTANGO LLCM: Made APIs compatible with tng-cli

Change-Id: I4f9b42e8c0db5323ee62495855618c449056edb0
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years ago5GTANGO LLCM: Added support to deploy multiple instances 09/7409/1
peusterm [Sat, 13 Apr 2019 10:49:41 +0000 (12:49 +0200)]
5GTANGO LLCM: Added support to deploy multiple instances
of the same service. Closes #294

Change-Id: Ib4168e3e909a24f48aecd2c4e3bcbb0d097b0f45
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoDisabled monkey patching to unblock LLCM and REST APIs again. 07/7407/1
peusterm [Fri, 12 Apr 2019 13:10:19 +0000 (15:10 +0200)]
Disabled monkey patching to unblock LLCM and REST APIs again.

Change-Id: I2bac649900ce45e754b9cfbe6ecec8af019cadb3
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoImproved stability. 65/7365/1
peusterm [Mon, 25 Mar 2019 15:15:26 +0000 (16:15 +0100)]
Improved stability.

Change-Id: Ic949c35bcb6c4c1e26e7bead243d41b50044812e
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoAdded performance test for the startup of the OSM components 48/7348/2
schillinge [Tue, 19 Mar 2019 21:08:02 +0000 (22:08 +0100)]
Added performance test for the startup of the OSM components

Change-Id: I563d368cfb6289f6fa451223b90fd308338c28fb
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoAdded script for measuring impact of delay on OSM 47/7347/3
schillinge [Tue, 19 Mar 2019 22:55:53 +0000 (23:55 +0100)]
Added script for measuring impact of delay on OSM

Change-Id: I0117489e0c19358044099ed43c81a18f491c9d92
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoAdded performance testing for the limit of a machine 60/7360/1
schillinge [Thu, 21 Mar 2019 10:33:52 +0000 (11:33 +0100)]
Added performance testing for the limit of a machine

Change-Id: Ie8abc4b0514e0e153f497125bbe156341ae8e9a5
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoFix: Finally fixing the gevent issues for the tng-sdk-benchmark intergration 37/7337/1
peusterm [Wed, 20 Mar 2019 12:39:00 +0000 (13:39 +0100)]
Fix: Finally fixing the gevent issues for the tng-sdk-benchmark intergration

Change-Id: I0b7b6b7f6efa8218ed4c9133a024f116599235eb
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoMerge "Fixed setting kafka's advertised IP"
peusterm [Wed, 20 Mar 2019 07:00:53 +0000 (08:00 +0100)]
Merge "Fixed setting kafka's advertised IP"

5 years agoMerge "Actually iterate over all n's for parallel deploy test"
peusterm [Wed, 20 Mar 2019 07:00:42 +0000 (08:00 +0100)]
Merge "Actually iterate over all n's for parallel deploy test"

5 years agoMerge "Added example for performing a performance analysis of VNFFGs"
peusterm [Wed, 20 Mar 2019 07:00:34 +0000 (08:00 +0100)]
Merge "Added example for performing a performance analysis of VNFFGs"

5 years agoFixed setting kafka's advertised IP 34/7334/2
schillinge [Tue, 19 Mar 2019 20:24:27 +0000 (21:24 +0100)]
Fixed setting kafka's advertised IP

Shortly before pushing the latest API I did some refactoring. During
that I unfortunately broke this.
The advertised IP has to be without subnet mask. So we remove it here if
one was existing.

Change-Id: I37f9df376d0c899b4911b23302dacb9922122f0f
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoActually iterate over all n's for parallel deploy test 35/7335/1
schillinge [Tue, 19 Mar 2019 20:42:55 +0000 (21:42 +0100)]
Actually iterate over all n's for parallel deploy test

Change-Id: I893df032821d7c543ab6ab38be7434f4706d3802
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoAdded example for performing a performance analysis of VNFFGs 29/7329/5
schillinge [Thu, 14 Mar 2019 21:44:03 +0000 (22:44 +0100)]
Added example for performing a performance analysis of VNFFGs

The example uses jinja2 for templating the VNFFG NSD in order to test
increasingly long forwarding chains.

Change-Id: If3ccad70a67b8b03a2ab43356f17a442a8abc770
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoAdded a script example for a performance evaluation of charm deployment 27/7327/4
schillinge [Thu, 14 Mar 2019 21:41:52 +0000 (22:41 +0100)]
Added a script example for a performance evaluation of charm deployment

Change-Id: Ia70a7b7774a35d3b5d0363af4ae103be09580113
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoFix: Changed LLCM to use gevent 32/7332/1
peusterm [Tue, 19 Mar 2019 16:05:57 +0000 (17:05 +0100)]
Fix: Changed LLCM to use gevent

Change-Id: I232e529cd0b35614c697e9c41d12b9b62955a87a
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFix: Do monkey.patch_all() only once. 31/7331/1
peusterm [Tue, 19 Mar 2019 13:05:18 +0000 (14:05 +0100)]
Fix: Do monkey.patch_all() only once.

Change-Id: I6d32a318e73adc0679303cdada5da79acfb7b744
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFix: Added gevent monkey patch to fix issue that blocks 30/7330/1
peusterm [Tue, 19 Mar 2019 10:10:38 +0000 (11:10 +0100)]
Fix: Added gevent monkey patch to fix issue that blocks
the servers of the LLCM and REST APIs.

Change-Id: I4d16ce4ae5e3d51892fe202ec7cf454e54096aca
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoMerge "Ensure timely termination of all flask servers"
peusterm [Tue, 19 Mar 2019 06:25:30 +0000 (07:25 +0100)]
Merge "Ensure timely termination of all flask servers"

5 years agoEnsure timely termination of all flask servers 90/7290/6
schillinge [Mon, 11 Mar 2019 16:57:41 +0000 (17:57 +0100)]
Ensure timely termination of all flask servers

1. The chain_api was never terminated. This was fixed by turning the
server into an pyWSGI instance.

2. no monkey patching was applied. The monkey patching of gevent is
required in order to be able to handle other events during a
time.sleep() call. Since multiple patching is detected, it was added to
all files which create WSGI servers.

All in all this change fixes a large leak of threads, open files and
performance.

This change updates Containernet in order to fix race conditions which
otherwise happen due to gevent's monkey patching.

Change-Id: Ia45ad07db1f85046bfcac85eaca20c930b931141
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoAdded example for parallel NS deployment performance testing 28/7328/1
schillinge [Thu, 14 Mar 2019 21:42:27 +0000 (22:42 +0100)]
Added example for parallel NS deployment performance testing

Change-Id: I6722c8cad0984695651a2f52dcda257380992155
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoMerge "Provide API for allowing full stack emulation"
peusterm [Mon, 18 Mar 2019 13:47:19 +0000 (14:47 +0100)]
Merge "Provide API for allowing full stack emulation"

5 years agoAlso support the usual CMD field in images 23/7323/4
schillinge [Thu, 14 Mar 2019 21:46:14 +0000 (22:46 +0100)]
Also support the usual CMD field in images

For backwards-compatibility the SON_EMU_CMD/VIM_EMU_CMD commands still
surpress this, but otherwise the usual ENTRYPOINT + CMD logic should be
working with this + commit 83b52502743eb29e5e0b8e33e6aa119a5005c676 in
containernet.

Since the caching of the build server prevents a automatic Containernet
update to latest master, an explicit commit hash is given. This will
allow explicit updates when required while still supporting caching.

Comment wording above checkout is from Manuel Peuster.

Change-Id: Ic01f87acb5f9e79d09baae499f3d353c2c0aca9e
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoProvide API for allowing full stack emulation 24/7324/2
schillinge [Sun, 3 Mar 2019 18:17:23 +0000 (19:17 +0100)]
Provide API for allowing full stack emulation

This commit adds an API in order to emulate the full OSM stack. Different
levels of API are added in order to allow flexible scenarios.

The lowest level API only wraps the required components in containers.
The next higher level also abstracts the composition of these low-level
into a working OSM instance.
The third level also abstracts the emulation and configuration of the VIM
layer.

Examples are added for each abstraction level.

Implements Feature 7291.

Change-Id: I156f6625d4ff4010d688c41419c4ece03a339937
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years ago5GTANGO LLCM: Allow port publishing for containers from CNFDs. 74/7274/1
peusterm [Wed, 27 Feb 2019 21:03:29 +0000 (22:03 +0100)]
5GTANGO LLCM: Allow port publishing for containers from CNFDs.
Issue: https://github.com/sonata-nfv/son-emu/issues/295
Closes #295

Change-Id: Iff2daf07b8a2070676c6f7240869dee6be103bbf
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoMerge "Support (simple) classifiers"
peusterm [Wed, 20 Feb 2019 14:11:40 +0000 (15:11 +0100)]
Merge "Support (simple) classifiers"

5 years agoMerge "Log ryu commands at debug level"
peusterm [Wed, 20 Feb 2019 14:11:36 +0000 (15:11 +0100)]
Merge "Log ryu commands at debug level"

5 years agoSupport (simple) classifiers 42/7242/1
schillinge [Wed, 20 Feb 2019 13:47:01 +0000 (14:47 +0100)]
Support (simple) classifiers

In order to support classifiers, each flow entry needs to specify the
classifier's parameters within its match rule. This means that the
created rules do not only depend on the ingress and egress port, but
also on the classifier (this required to move the creation code into the
flow classifier loop).

Change-Id: I96817255580462e0ffb570b025b6f912f2d00b13
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoLog ryu commands at debug level 40/7240/2
schillinge [Wed, 20 Feb 2019 12:09:20 +0000 (13:09 +0100)]
Log ryu commands at debug level

Change-Id: I0922f941367a123aae156ed6014a544b490b776f
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoPrint the flake8 version during build 41/7241/1
schillinge [Wed, 20 Feb 2019 12:51:48 +0000 (13:51 +0100)]
Print the flake8 version during build

Change-Id: Ieb1b202936c3cfea7d29a7b8ad4bd67a84b9e06f
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoFixed logging of ryu errors 39/7239/1
schillinge [Wed, 20 Feb 2019 10:14:22 +0000 (11:14 +0100)]
Fixed logging of ryu errors

Change-Id: I61dd313a947a9fa857f0dca849bfd8294aeedae0
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoUpdate MAC address to match the next hop 38/7238/1
schillinge [Wed, 20 Feb 2019 10:04:08 +0000 (11:04 +0100)]
Update MAC address to match the next hop

If the mac address is not updated the receiving host will reject the
packet since it sees a MAC address which does not belong to him.

Change-Id: I95edc11572b2ada8841b504ed8eee743613cce09
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoDo not tag outputs with VLANs for SFC 37/7237/1
schillinge [Wed, 20 Feb 2019 09:08:47 +0000 (10:08 +0100)]
Do not tag outputs with VLANs for SFC

this otherwise leads to packets being wrapped within 802.1Q packets,
which do not get popped before forwarding to a service. Thus, services
do not respond to ARP, PING and alike.

Change-Id: I7f29b5094f9bd33661e8f2862c8656c0f9a08a6b
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years ago5GTANGO LLCM: Preliminary fix of the E-LINE configruation. 34/7234/1
peusterm [Mon, 18 Feb 2019 20:37:51 +0000 (21:37 +0100)]
5GTANGO LLCM: Preliminary fix of the E-LINE configruation.

Change-Id: I9092a09837fc941eb8e47da7b6a12140d2a952a3
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoCreate flow table entries for classifiers 28/7228/2
schillinge [Thu, 14 Feb 2019 12:55:56 +0000 (13:55 +0100)]
Create flow table entries for classifiers

Only the source port is considered for now, leading to all outgoing
traffic being routed along the path.

Change-Id: I1752494f5face135fe159bd69f9080a8d614f7e7
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoFixed port chain direction and linking 27/7227/1
schillinge [Thu, 14 Feb 2019 10:13:21 +0000 (11:13 +0100)]
Fixed port chain direction and linking

Given a port chain of two port pair groups ppg1 and ppg2, which each
consist of a single port pair (ppg1=[pp1], ppg2=[pp2]), where
pp1=(ingress: p1, egress: p2), p2=(ingress: p3, egress: p4) the
following forwarding chain was generated:

    /----\ /----\
    | s1 | | s2 |
    \i--e/ \i--e/
     v  ^   v  ^
     |  |   |  |
     \--/   \--/

This, for once, mixed ingress and egress, but also did not actually link
the servers.

This patch corrects the linking to:

    /----\ /----\
    | s1 | | s2 |
    \i--e/ \i--e/
     ^  v   ^  v
     |  |   |  |
    -/  \---/  \->

Change-Id: Iabc48a6950f864562a93f8d17f41890598d65ac6
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoDo not spam the logs with server names at INFO level 25/7225/1
schillinge [Wed, 13 Feb 2019 07:07:52 +0000 (08:07 +0100)]
Do not spam the logs with server names at INFO level

This logged two lines at INFO. I guess DEBUG and a single line suffices
in this case.

Change-Id: I88a04299571779066c6ca7a0bd8389ae3f40fe31
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoUnified command execution in Docker containers. 24/7224/1
peusterm [Tue, 12 Feb 2019 18:58:24 +0000 (19:58 +0100)]
Unified command execution in Docker containers.

Also adds a hotfix for a broken test execution based on
an issue with a used library: https://github.com/pytest-dev/pytest/issues/4770

Change-Id: I54aade1eda31cb2584641b95226fbf39d9d298f4
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoThrow error if SFC ports are not found on servers 55/7155/6
schillinge [Thu, 31 Jan 2019 07:53:39 +0000 (08:53 +0100)]
Throw error if SFC ports are not found on servers

This breaks the port chain creation and most likely reveals some kind of
implementation error elsewhere.

Change-Id: I907eb5e828f80ae5ab12de851a98f3c19c9c2d5b
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoSupport identical ingress and egress ports in port pairs 57/7157/5
schillinge [Thu, 31 Jan 2019 07:56:46 +0000 (08:56 +0100)]
Support identical ingress and egress ports in port pairs

Change-Id: Id58c428594b115a5e343a7b2c701f2ddddb89f81
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoAlso compare ids against a server's ports 56/7156/5
schillinge [Thu, 31 Jan 2019 07:55:33 +0000 (08:55 +0100)]
Also compare ids against a server's ports

The server's port list may contain ids, thus those also need to be
compared.

Change-Id: I2e53c111a22009b6c791abc9e52f28afa96d5b0a
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoReturn empty `service_function_parameters` field for port pairs 53/7153/3
schillinge [Wed, 30 Jan 2019 20:45:10 +0000 (21:45 +0100)]
Return empty `service_function_parameters` field for port pairs

OSM tries to delete this and fails if the field does not exist

Change-Id: I5a65d796f0025c06c7f9367c6d4f806bab893740
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoAllow filtering ports by device_id 52/7152/6
schillinge [Wed, 30 Jan 2019 19:17:54 +0000 (20:17 +0100)]
Allow filtering ports by device_id

This otherwise leads to errors in RO, which checks whether the ports of a
specific instance are created.

Change-Id: I563dc84db299e6148b7970e8c9716460653c6b48
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoAllow multiple ports to exist with the same name 51/7151/4
schillinge [Wed, 30 Jan 2019 16:48:27 +0000 (17:48 +0100)]
Allow multiple ports to exist with the same name

Ports in OpenStack may very well have identical names. In fact this is
almost guaranteed when deploying network services with multiple identical
VNFs.

Change-Id: Iba196e64be329c376eca9f34c7b2cbcdfd569a3e
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoMerge "Allow filtering of the port chain list by id"
peusterm [Tue, 5 Feb 2019 13:28:50 +0000 (14:28 +0100)]
Merge "Allow filtering of the port chain list by id"

5 years agoSimplified and stabilized ryu launch 58/7158/3
schillinge [Thu, 31 Jan 2019 09:00:02 +0000 (10:00 +0100)]
Simplified and stabilized ryu launch

The rest app only considered a single fixed filename rather than simply
relying on the existing loading mechanism.
For better clarity some variable names were renamed and logging now
outputs the full ryu-manager command.

Change-Id: I35ac86159880acc71d460df7db95e1b244c82eb3
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoAllow filtering of the port chain list by id 54/7154/2
schillinge [Wed, 30 Jan 2019 20:45:37 +0000 (21:45 +0100)]
Allow filtering of the port chain list by id

Change-Id: I2d81c3836fe0b0d1ad9429922b59d42b4eab68f3
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
5 years agoFix: Flake8 seems to have changed. This fixes a code style issue in an old file preve... 79/7179/1
peusterm [Sun, 3 Feb 2019 19:37:07 +0000 (20:37 +0100)]
Fix: Flake8 seems to have changed. This fixes a code style issue in an old file preventing the CI to succeed.

Change-Id: I0e48166df7a24b53fa3215241d9b515fdd6343b5
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFix: 5GTANGO LLCM now correctly applies resource limits. 35/7135/3
peusterm [Tue, 29 Jan 2019 17:31:28 +0000 (18:31 +0100)]
Fix: 5GTANGO LLCM now correctly applies resource limits.

Change-Id: I5c40898b58c5fc00c60a9ad16483feb4748914a7
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFix: 5GTANGO LLCM now correctly terminates servies. 93/7093/1
peusterm [Thu, 10 Jan 2019 14:21:26 +0000 (15:21 +0100)]
Fix: 5GTANGO LLCM now correctly terminates servies.

Also adding an example topology for 5GTANGO experiments.

Change-Id: Ibb5565814e448569d3d7e7a8a28a3ed5bd45af7f
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years ago5GTANGO LLCM: Allow service instanceiation by service_name. 72/7072/1
peusterm [Wed, 19 Dec 2018 12:58:12 +0000 (13:58 +0100)]
5GTANGO LLCM: Allow service instanceiation by service_name.

Change-Id: I924a1aa3a0e8f852e19a44471630348de176ea5a
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years ago5GTANGO LLCM: Refactoring, cleanup 71/7071/1
peusterm [Wed, 19 Dec 2018 08:58:17 +0000 (09:58 +0100)]
5GTANGO LLCM: Refactoring, cleanup

Change-Id: I725c34723ca431c1544f64edd6e01cb70cacad85
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoExtended networking parts of 5GTANGO LLCM to fully support 70/7070/1
peusterm [Tue, 18 Dec 2018 15:22:46 +0000 (16:22 +0100)]
Extended networking parts of 5GTANGO LLCM to fully support
E-Tree and E-LAN networks in multi-V/CDU deployments.

Change-Id: I108858358267c3e72db2d3f0a787b6d92965aa93
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoFeature #290: Multi-VDU support for 5GTANGO LLCM. VUD deployment works. 60/7060/1
peusterm [Fri, 14 Dec 2018 18:20:19 +0000 (19:20 +0100)]
Feature #290: Multi-VDU support for 5GTANGO LLCM. VUD deployment works.
Update of networking parts are still missing.

Change-Id: Icd987f6aa0d195cb5e7483c777662675e0600c51
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years ago5GTANGO LLCM: Added VNFD-based start/stop command injection. 55/7055/1
peusterm [Wed, 12 Dec 2018 12:37:39 +0000 (13:37 +0100)]
5GTANGO LLCM: Added VNFD-based start/stop command injection.

Change-Id: Ie9189fff90e7b972554d20d48b019ea0b33b4116
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years ago5GTANGO LLCM: Refactoring and basic support for CNFs. #291 51/7051/1
peusterm [Tue, 11 Dec 2018 15:07:59 +0000 (16:07 +0100)]
5GTANGO LLCM: Refactoring and basic support for CNFs. #291

Change-Id: Iebd17b2bbf310faa41354ad053140bf1d2d42633
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
5 years agoReturn actually reachable IP as part of the Floating IP API 22/7022/1 v5.0 v5.0.0 v5.0.1 v5.0.2 v5.0.3 v5.0.4 v5.0.5
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>
5 years agoFix: Made ping pong example working with upcoming R5. 99/6999/1
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>
6 years agoadded contributor to readme 87/6887/1
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>
6 years agoIgnore virtual environments when building docker images 62/6862/3
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>
6 years agoFix: Fixes broken installation because of third party library update. 21/6821/3
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>
6 years agoImproved IP/E-Line management of 5GTANGO LLCM.
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>
6 years agoMinor improvements in 5GTANGO LLCM module.
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>
6 years agoMerge "Modified LICENSE file to be the same in all repos"
marchettim [Mon, 1 Oct 2018 15:02:47 +0000 (17:02 +0200)]
Merge "Modified LICENSE file to be the same in all repos"

6 years agoFixes bug 553: Missing license headers
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>
6 years agoModified LICENSE file to be the same in all repos
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>
6 years agoMerge "Added 5GTANGO lightweight lifecycle manager (LLCM)." BUILD_v4.0.1_2
marchettim [Fri, 10 Aug 2018 13:02:02 +0000 (15:02 +0200)]
Merge "Added 5GTANGO lightweight lifecycle manager (LLCM)."

6 years agoAdded 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>
6 years agoFix: Made Glance-fake API more robust in
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>
6 years agoFix: Made OS Glance fake API compatible to latest pyhton-glanceclient. BUILD_v4.0.1_1
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>