groupbasedpolicy.git
6 years agoRelease Nitrogen release/nitrogen
jenkins-releng [Tue, 19 Sep 2017 15:10:04 +0000 (15:10 +0000)]
Release Nitrogen

6 years agoFix imports after Lisp model update in honeycomb 17/61717/1
Michal Cmarada [Mon, 14 Aug 2017 14:37:48 +0000 (16:37 +0200)]
Fix imports after Lisp model update in honeycomb

fix import revision number for lisp model update in HC

Change-Id: I8ebe986506d312a65e0695aea3a7cf6110673adc
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoUpdate .gitreview to stable/nitrogen 41/61641/1
Thanh Ha [Mon, 14 Aug 2017 16:23:58 +0000 (12:23 -0400)]
Update .gitreview to stable/nitrogen

Change-Id: I6201ebb4956e457592cce31cf16aad61650b34c6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoMerge "Remove config-parent derivation"
Vladimir Lavor [Mon, 14 Aug 2017 14:52:09 +0000 (14:52 +0000)]
Merge "Remove config-parent derivation"

6 years agoMerge "fix imports after model update in honeycomb/VBD"
Vladimir Lavor [Fri, 11 Aug 2017 12:01:59 +0000 (12:01 +0000)]
Merge "fix imports after model update in honeycomb/VBD"

6 years agofix imports after model update in honeycomb/VBD 02/61502/2
Michal Cmarada [Fri, 11 Aug 2017 07:37:56 +0000 (09:37 +0200)]
fix imports after model update in honeycomb/VBD

Change-Id: Ic0548820ce4f17d74ddaa840fd717738a4a48e59
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agofix VppNode connection problem 92/61492/1
Michal Cmarada [Thu, 10 Aug 2017 11:55:58 +0000 (13:55 +0200)]
fix VppNode connection problem

because of wrong condition the mountpoint
for node was not resolved and the connection was aborted.
This patch fixes the issue.

Change-Id: I4b59b5a7c2687baf8f93b929942719e0cff02e47
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoMerge "Bump odlparent 2.0.2 to 2.0.4"
Michal Cmarada [Thu, 10 Aug 2017 12:04:07 +0000 (12:04 +0000)]
Merge "Bump odlparent 2.0.2 to 2.0.4"

6 years agoBump odlparent 2.0.2 to 2.0.4 62/61362/2
Stephen Kitt [Tue, 8 Aug 2017 16:14:17 +0000 (18:14 +0200)]
Bump odlparent 2.0.2 to 2.0.4

Change-Id: Ida839ab18cc3ebf3619919d481da6dd7330e681d
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoRemove config-parent derivation 28/61428/3
Tom Pantelis [Wed, 9 Aug 2017 14:30:04 +0000 (10:30 -0400)]
Remove config-parent derivation

This is a follow-up to https://git.opendaylight.org/gerrit/#/c/60595/
to remove the remaining CSS remnants.

Change-Id: I8a454e0ffc1a796f9b946d4ec8542ece8913d81d
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
6 years agoupdate deprecated transform and addCallback methods 86/60686/4
Michal Cmarada [Tue, 8 Aug 2017 15:16:42 +0000 (17:16 +0200)]
update deprecated transform and addCallback methods

- transform and addCallback methods are deprecated,
replacement methods use Executor as param. To preserve
the same functionality we will use MoreExecutors#directExecutor.

Change-Id: Ia7f0b76c762e92124e62d7695924b4813269e873
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agocleanup of Deprecated classes for config subsystem 95/60595/8
Michal Cmarada [Tue, 8 Aug 2017 14:58:50 +0000 (16:58 +0200)]
cleanup of Deprecated classes for config subsystem

Patch cleans up config subsystem deprecated classes.
This will complete the migration to blueprint.

Change-Id: I44fa39ab53fafa9dc75b0e74d8b03e40805b4df6
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoBug 8900 - fixing ACL updates 12/60812/5
Tomas Cechvala [Thu, 27 Jul 2017 13:32:09 +0000 (15:32 +0200)]
Bug 8900 - fixing ACL updates

some entries were not getting written to ACL
because of bad interface name resolving

Change-Id: I70132c5d204ff4c408cb4bcc771b27fe702dbbcc
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoBug 8701 - Location provider in VPP cleared + UT 37/60637/7
Tomas Cechvala [Thu, 8 Jun 2017 13:10:43 +0000 (15:10 +0200)]
Bug 8701 - Location provider in VPP cleared + UT

Existing UTs replaced and made more comprehensive.
VppEndpointLocationResolver refactored.

Other micro cleaning enclosed here too.

Change-Id: I63266a20f3a6ce1e1bb20ed992cd1d58e7a0775f
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoPolicy exclusions & parallel netconf transactions 41/58341/8
Tomas Cechvala [Wed, 24 May 2017 11:57:12 +0000 (13:57 +0200)]
Policy exclusions & parallel netconf transactions

Implementing parallel netconf transactions

- introducing per mount point lock which allows
  creation of netconf transactions to all nodes in parallel
- one transaction per mount point

port security is not applied for endpoints with
disabled port-security
neutron port-create ... --port-security-enabled=false

Plus

Catching CandidateAlreadyRegisteredException - needs to be done
in this patch
It's ok when candidate is already registered. It happens because we
want to run GBP bundles within one node in cluster.

Change-Id: I9fe8659cbdea58d6cb051bf6ffbe9bdb3df2cde0
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Signed-off-by: Matej Perina <mperina@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoMerge "Add implementation for GPE native forwarding"
Tomas Cechvala [Thu, 27 Jul 2017 20:07:22 +0000 (20:07 +0000)]
Merge "Add implementation for GPE native forwarding"

6 years agoMerge "Fix ODL itr rloc for supporting LISP CP over admin"
Tomas Cechvala [Thu, 27 Jul 2017 20:05:43 +0000 (20:05 +0000)]
Merge "Fix ODL itr rloc for supporting LISP CP over admin"

6 years agoMerge "Fix physical information management on node removal"
Tomas Cechvala [Thu, 27 Jul 2017 20:04:11 +0000 (20:04 +0000)]
Merge "Fix physical information management on node removal"

6 years agoBug 8608 - quick fix for async transaction creation 42/60642/2
Tomas Cechvala [Tue, 6 Jun 2017 10:23:43 +0000 (12:23 +0200)]
Bug 8608 - quick fix for async transaction creation

Transactions created from BindingTransactionChain have
not been synced properly. A lock is added to force other
threads to wait until created transactions are submitted.
More comprehensive fix will be submitted later due to
shortage of time.

Change-Id: Ie27cd95b6136699edb75118f4c2f81ee305996c0
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoMerge "Simplify overlay information mappers and managers"
Tomas Cechvala [Thu, 27 Jul 2017 07:41:57 +0000 (07:41 +0000)]
Merge "Simplify overlay information mappers and managers"

6 years agoAdd implementation for GPE native forwarding 05/58905/12
Michal Cmarada [Tue, 4 Jul 2017 14:56:14 +0000 (16:56 +0200)]
Add implementation for GPE native forwarding

Change-Id: I61838e7d82011d8d2eaeb4e03d225861f1f316ce
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoFix ODL itr rloc for supporting LISP CP over admin 36/60536/3
Shakib Ahmed [Tue, 18 Jul 2017 04:10:24 +0000 (21:10 -0700)]
Fix ODL itr rloc for supporting LISP CP over admin

Change-Id: I71ebfae6137100968c9ab4aebc624cfc564aa6f5
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
6 years agoFix physical information management on node removal 65/60665/2
Shakib Ahmed [Sun, 23 Jul 2017 08:19:56 +0000 (01:19 -0700)]
Fix physical information management on node removal

Change-Id: Ib9b99062723374c9ba086a31299ca3e18a0639db
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
6 years agoSimplify overlay information mappers and managers 10/60410/9
Shakib Ahmed [Fri, 14 Jul 2017 18:52:57 +0000 (11:52 -0700)]
Simplify overlay information mappers and managers

Change-Id: I4be03130fbacee642efb4281fa5e6ed681c1af70
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
6 years agoremove unused yangs from GBP core 89/60589/1
Michal Cmarada [Thu, 20 Jul 2017 08:41:50 +0000 (10:41 +0200)]
remove unused yangs from GBP core

Change-Id: Ifa4b37d3600ee6e68070125829a8d3a0d66160fc
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoCleanup of unused netconf renderer 46/46246/3
Michal Cmarada [Thu, 20 Jul 2017 08:28:17 +0000 (10:28 +0200)]
Cleanup of unused netconf renderer

Change-Id: I232a3e4cd4ce604591b75810df7a2747ccdc25ed
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoCleanup of unused ovssfc renderer 47/46247/2
Michal Cmarada [Thu, 20 Jul 2017 08:08:12 +0000 (10:08 +0200)]
Cleanup of unused ovssfc renderer

Change-Id: Ia15f3a66e59c80a561e9c9c529ef1975ad89b472
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoMerge "Add public interface awareness for reading RLOCs"
Michal Cmarada [Wed, 19 Jul 2017 14:37:15 +0000 (14:37 +0000)]
Merge "Add public interface awareness for reading RLOCs"

6 years agoMerge "Bump to odl-parent version 2.0.2"
Tomas Cechvala [Wed, 19 Jul 2017 13:36:12 +0000 (13:36 +0000)]
Merge "Bump to odl-parent version 2.0.2"

6 years agoBump to odl-parent version 2.0.2 79/60479/1
Michal Cmarada [Mon, 17 Jul 2017 11:48:47 +0000 (13:48 +0200)]
Bump to odl-parent version 2.0.2

Change-Id: I2383a63298ff1af0b1378d176695623f0c2f930e
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoAdd public interface awareness for reading RLOCs 02/60402/2
Shakib Ahmed [Fri, 14 Jul 2017 19:26:45 +0000 (12:26 -0700)]
Add public interface awareness for reading RLOCs

Change-Id: Icd92763b42513c42731d823ed1a779ca892f2648
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
6 years agoFix metadata for route, arp and overlay 74/60174/7
Michal Cmarada [Thu, 13 Jul 2017 13:55:15 +0000 (15:55 +0200)]
Fix metadata for route, arp and overlay

Change-Id: Ibe038ebf494bdc744ce34d98dea5e26360de6676
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoBug 8599 - updating metadata endpoints 29/60029/3
Tomas Cechvala [Mon, 5 Jun 2017 13:15:09 +0000 (15:15 +0200)]
Bug 8599 - updating metadata endpoints

When router interface attaches to a subnet, metadata
endpoints have not been updated.

Change-Id: I34064a0ab5e77204c4c7568ef5e3efaa69970faa
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
(cherry picked from commit 11a10da6106ef91d123f7ebb11b8d208bafc1979)

6 years agoTemporarily disable Faas-Renderer 38/60238/1
Michal Cmarada [Wed, 12 Jul 2017 09:57:52 +0000 (11:57 +0200)]
Temporarily disable Faas-Renderer

Change-Id: I55c703c2f013684a3ecbb47d05ecdab845d215f0
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoSupport for metadata in HA 19/57419/14
Tomas Cechvala [Thu, 11 May 2017 15:30:45 +0000 (17:30 +0200)]
Support for metadata in HA

Metadata service in Openstack is reachable through every DHCP
port that is created in HA scenarios. This requires severe
changes in current forwarding design. First, Metadata is
registered as an endpoint, and since in HA it is reachable
through multiple local ports, it is assigned relative location
that is available in current models.

TODO extend forwarding APIs for this use case

Plus

Bug 8701 - Location provider in VPP cleared + UT

Existing UTs replaced and made more comprehensive.
VppEndpointLocationResolver refactored.

Change-Id: I097f66eb04da8419a5d6dd551ad4c28f6185efb4
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoDHCP relay update to DVR 96/59396/4
Michal Cmarada [Tue, 4 Jul 2017 11:25:37 +0000 (13:25 +0200)]
DHCP relay update to DVR

Change-Id: I068a3278a606819dcad9ba70eb1beffef997b11a
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoImplementing DHCP proxy command for VPP 29/56729/9
Michal Cmarada [Fri, 30 Jun 2017 09:34:56 +0000 (11:34 +0200)]
Implementing DHCP proxy command for VPP

- adding implementation for DHCP proxy in VPP renderer
- minor adjustments in vpp configure commands

Change-Id: Ic663f4093c1fdea458c5ddc968dc01b1c3075464
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoFix np-exception when reading IpPrefix in ConfigManagerHelper 30/57630/5
Michal Cmarada [Thu, 29 Jun 2017 14:09:30 +0000 (16:09 +0200)]
Fix np-exception when reading IpPrefix in ConfigManagerHelper

when Ip prefix was optained from L2 endpoint it returned null.
Now we look on parent endpoint for that L2 EP and return IpPrefix
from that one if it is present.

Change-Id: I767891bfe45355c0cfe0facb68989990cabee2d1
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoMigrate to odlparent 2.0.0 94/59394/3
Michal Cmarada [Wed, 28 Jun 2017 08:47:10 +0000 (10:47 +0200)]
Migrate to odlparent 2.0.0

- migrating to odl parent 2.0.0
- fixing issues after guava migration
- disabling FaaS renderer temporarily

Change-Id: I5aaa7b9c79ce21f3c3f22d984219bf35608379d5
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoFix imports after HC model updates 24/59024/4
Michal Cmarada [Tue, 20 Jun 2017 14:03:43 +0000 (16:03 +0200)]
Fix imports after HC model updates

HC model were updated in VBD project,
this fixes imports after revison changes.

Change-Id: Idb680660a00c37ca4920d9125af10c455fbf7efd
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoAdd implementation for addding GPE entry 39/58139/7
Shakib Ahmed [Thu, 1 Jun 2017 19:02:09 +0000 (12:02 -0700)]
Add implementation for addding GPE entry

Change-Id: Ifac7c4c652f1f1891b17cc737e2de493789a2e7e
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
6 years agoAdd implementation for setting unnumbered interface 19/58119/5
Shakib Ahmed [Thu, 1 Jun 2017 14:22:46 +0000 (07:22 -0700)]
Add implementation for setting unnumbered interface

Change-Id: Ibe36257ae6099ef0e2c9c845e1922489c26e47fd
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
6 years agoAdd implementation for flat L3 overlay 96/56496/15
Shakib Ahmed [Fri, 12 May 2017 06:05:57 +0000 (23:05 -0700)]
Add implementation for flat L3 overlay

For flat L3 overlay, we need to put extra configs on top of regular
LISP configs. We need to enable proxy arp for interfaces, put proxy
arp ranges, put static routing, static arp. On top, we have to create
loopback interface, set unnumbered interfaces and add GPE action for
a route.

This patch implements:
 - Enable proxy arp for every port interface
 - Add proxy arp per subnet for a host
 - Add static routing for every port interface
 - Add static arp for every port interface
 - Add loopback interface per subnet for a host for unnumbered

Change-Id: I3779efe03855ac6602f397caaf5492c3c42d27f6
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
6 years agoMigrate to odlparent 1.9.0 60/58860/2
Thanh Ha [Sun, 11 Jun 2017 20:19:06 +0000 (16:19 -0400)]
Migrate to odlparent 1.9.0

Change-Id: I3603535e5b3db344a768efb692346d81751180ec
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoMigrate to odlparent 1.8.0-Carbon 87/58687/2
Thanh Ha [Sun, 11 Jun 2017 20:19:06 +0000 (16:19 -0400)]
Migrate to odlparent 1.8.0-Carbon

Per request of odlparent project we are downgrading all Nitrogen
projects to use the released odlparent 1.8.0-Carbon to allow for the
odlparent project to start performing semver style releases.

Change-Id: Ie0b4ad404f191a6c225aa0877c87f3a83698abf3
Jira: RELENG-159
RT: 41406
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agocatch and log cluster singleton service registration exceptions 07/58807/2
Vladimir Lavor [Tue, 13 Jun 2017 11:24:04 +0000 (13:24 +0200)]
catch and log cluster singleton service registration exceptions

Change-Id: I0e711439faa8ec726dffa649b992fa05e71c41df
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
6 years agoMerge "Update ODL Tenant IP to ODL IP"
Michal Cmarada [Mon, 5 Jun 2017 11:45:43 +0000 (11:45 +0000)]
Merge "Update ODL Tenant IP to ODL IP"

6 years agoBug 8584 - missing implementation in NM for floating IPs 73/58173/2
Tomas Cechvala [Wed, 31 May 2017 13:21:04 +0000 (15:21 +0200)]
Bug 8584 - missing implementation in NM for floating IPs

Updates already implemented.
Added processing logic for create and delete events.

Change-Id: I1340cef130b01a1797cb18e203e775dcbaec61e5
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoUpdate ODL Tenant IP to ODL IP 53/57753/1
Shakib Ahmed [Wed, 24 May 2017 09:50:10 +0000 (02:50 -0700)]
Update ODL Tenant IP to ODL IP

Change-Id: Ifeae3b37576a60cd20b1ee156fda20c7f5c85f6c
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
6 years agoFixing imports after VBD model updates 41/56941/3
Michal Cmarada [Fri, 12 May 2017 11:23:01 +0000 (13:23 +0200)]
Fixing imports after VBD model updates

Change-Id: I51bceb33279ec5582495355f5a41144d3b38b553
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoAdd implementation for L3 overlay renderer 93/53693/18
Shakib Ahmed [Thu, 27 Apr 2017 11:47:08 +0000 (04:47 -0700)]
Add implementation for L3 overlay renderer

Add implementation for rendering L3 LISP overlay. For provisioning
proper L3 overlay network with LISP, we need to enable LISP in VPP
and put configs for map server and map resolver along with other
related configurations.

This patch implement all these functionalities.

Change-Id: Iefecd813af9eab243259436531c126a6ded364da
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
6 years agoMerge "BVI fix for L3 scenario with LISP"
Tomas Cechvala [Thu, 11 May 2017 12:23:12 +0000 (12:23 +0000)]
Merge "BVI fix for L3 scenario with LISP"

6 years agoBug 8228 - metadata service fix made cleaner 35/54835/25
Michal Cmarada [Wed, 5 Apr 2017 11:22:11 +0000 (13:22 +0200)]
Bug 8228 - metadata service fix made cleaner

This patch sticks more to the architecture.

In OPNFV scenarios, Openstack metadata service may be reached
via DHCP port which acts as a GW to metadata server. VMs have
a route configured to metadata server via DHCP port.

Metadata IP and port are specified in blueprint cfg file and
processed by neutron-mapper bundle. An ip-prefix  endpoint is
registered by neutron-mapper, it points to the same mac- address
endpoint as DHCP ip-prefix endpoint, i.e. DHCP ip-prefix EP &
Metadata ip-prefix EP point to the same mac address endpoint.

This configuration is supported by VPP renderer's implementation
of location resolver. In this case both DHCP and Metadata have
the same absolute location.

When ACL manager recongnizes this fact, it will build ACL for
both endpoints behind the same interface.

Remote IP prefix is revisioned here too. Remote IP prefix is
mapped to GBP as external ip-prefix endpoint. Location resolver
then looks for external interfaces and on nodes and create a
relative location for this endpoint.

Change-Id: Id72d5646fbd7af1a8094749e58ba714bb3d84959
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoBVI fix for L3 scenario with LISP 28/56728/2
Michal Cmarada [Tue, 9 May 2017 10:23:26 +0000 (12:23 +0200)]
BVI fix for L3 scenario with LISP

in case when LISP L3 scenario is used we need to
leave the creation of BVI loopback interface on LISP
in VPP renderer.

Change-Id: I9b6d9a798baaf5c38f5e12e6f7d78bd29a91551d
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoBUG-7657: Karaf 4 migration: provide Karaf 4 groupbasedpolicy features 05/54105/18
Michal Cmarada [Tue, 9 May 2017 13:07:17 +0000 (15:07 +0200)]
BUG-7657:  Karaf 4 migration: provide Karaf 4 groupbasedpolicy features

Karaf 4 groupbasedpolicy features

Change-Id: If0db8495644f8969c39f386f236d6015574fb95b
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoBug 8338: Fix for GBP DLUX UI issue 25/56625/1
Michal Cmarada [Tue, 2 May 2017 08:16:12 +0000 (10:16 +0200)]
Bug 8338: Fix for GBP DLUX UI issue

this fixes imports in DLUX UI for GBP

Change-Id: I6ba32cbd214ae175a2b2d957b05f9e62fb687ac3
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
(cherry picked from commit 9ceca2fdce53b185e3b9492efb5ed1787524df3e)

6 years agoMerge "Adding option to disable BDs for L3 only case"
Tomas Cechvala [Fri, 5 May 2017 11:43:03 +0000 (11:43 +0000)]
Merge "Adding option to disable BDs for L3 only case"

6 years agoAdding option to disable BDs for L3 only case 12/56512/4
Michal Cmarada [Fri, 5 May 2017 09:22:13 +0000 (11:22 +0200)]
Adding option to disable BDs for L3 only case

this adds the support to disable Bridge domain cretation if
L3 only functions are desired.

To enable L3 only functions configure the property vpp.l3.flat.enabled in
<karaf_root_dir>/etc/org.opendaylight.groupbasedpolicy.renderer.vpp.startup.cfg

Change-Id: I87615875bbe280c028932368b8baab4c77ca9956
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoAdd subnet aware for vpp-mapper and vpp-renderer 48/56048/3
Shakib Ahmed [Wed, 26 Apr 2017 09:47:09 +0000 (02:47 -0700)]
Add subnet aware for vpp-mapper and vpp-renderer

Change-Id: I6451ba5262396436d26a6e568bb6349244de362c
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
6 years agoAdd L3 flat overlay config in startup.cfg 91/56191/1
Shakib Ahmed [Thu, 27 Apr 2017 17:20:58 +0000 (10:20 -0700)]
Add L3 flat overlay config in startup.cfg

A new config is being added to decide whether to use vxlan tunnel to
for L2 or should we just create a flat L3 and eliminate the L2
boardcast domain and communication should be done by L3.

Change-Id: I1d78df38dab9f84dfdb8e5a7c3d709a2b2ee7fd3
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoAdd lisp commands for L3 overlay 51/55951/3
Shakib Ahmed [Tue, 25 Apr 2017 00:01:16 +0000 (17:01 -0700)]
Add lisp commands for L3 overlay

Change-Id: Ib4d3df96c5b857bde09fe51d5fbd62891db4227a
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoMerge "interface command separated from config command"
Michal Cmarada [Wed, 26 Apr 2017 07:15:01 +0000 (07:15 +0000)]
Merge "interface command separated from config command"

7 years agoMerge "Add config service for loading cfg file"
Tomas Cechvala [Tue, 25 Apr 2017 22:10:34 +0000 (22:10 +0000)]
Merge "Add config service for loading cfg file"

7 years agointerface command separated from config command 54/54754/8
Michal Cmarada [Tue, 25 Apr 2017 13:43:25 +0000 (15:43 +0200)]
interface command separated from config command

    * AbstractConfigCommand - implements ConfigCommand, used for entities
      without interface requirements, like routing
    * AbstractInterfaceCommand - implements ConfigCommand and Interface command,
      used when interface is mandatory (loopback, tap, etc)

Change-Id: Ibb2f2648cb3b52c15b2848a12f1ed67c5a8a51fb
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoBug 8009 - public intf can be learned from HC 30/55730/5
Tomas Cechvala [Thu, 20 Apr 2017 13:11:50 +0000 (15:11 +0200)]
Bug 8009 - public intf can be learned from HC

Public interface can be specified not only in bundle configuration,
but directly from HC too by writing 'public-interface' to config DS
ietf-interfaces:interfaces/interface/description

Interface is marked as external if it is specified in blueprint
config of the bundle OR if it is learned from HC.

Change-Id: I330b25258cd4f32458734f80a90bbaf18a113ba3
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoAdd config service for loading cfg file 23/55123/6
Shakib Ahmed [Mon, 17 Apr 2017 17:56:33 +0000 (10:56 -0700)]
Add config service for loading cfg file

The existing way of using configs in vpp-renderer is to use blueprint
and pass the config as bean constructor parameter. The problem with
that is, when there are a lot of configs in the cfg file, we can
possibly pass all of them as bean constructor parameter. Hence, this
patch implements a Config Service which dynamically reads the config
and incase there is any update of config on runtime, the update is
propagated to the service too.

Change-Id: I015f61040a23d472db2a6e9eb23de94625fccb3c
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoMerge "Bug 8220 - fixing ACE entry in VPP renderer"
Michal Cmarada [Tue, 18 Apr 2017 12:35:58 +0000 (12:35 +0000)]
Merge "Bug 8220 - fixing ACE entry in VPP renderer"

7 years agoMerge "Bug 8174:Update v3po yangs in vpp renderer"
Michal Cmarada [Tue, 18 Apr 2017 12:35:24 +0000 (12:35 +0000)]
Merge "Bug 8174:Update v3po yangs in vpp renderer"

7 years agoBug 8220 - fixing ACE entry in VPP renderer 68/54768/3
Tomas Cechvala [Tue, 11 Apr 2017 12:22:31 +0000 (14:22 +0200)]
Bug 8220 - fixing ACE entry in VPP renderer

Only tenant/provider domain subnets should be
blocked in the end of entries for tenant networking.

Change-Id: Ia7b829c384ccd90d12428befb6a50548885a3ce1
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoBug 8174:Update v3po yangs in vpp renderer 37/53837/8
Shakib Ahmed [Fri, 24 Mar 2017 23:55:19 +0000 (16:55 -0700)]
Bug 8174:Update v3po yangs in vpp renderer

Depends-On: Ib6403785a384fb51101af7114d4700324b9e138a
Change-Id: I03f6a8e72298b5f6b5caf087572180e3c0272527
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoBug-8168: Fix for configuration file name mismatch in blueprint 32/54832/1
Michal Cmarada [Wed, 12 Apr 2017 06:07:21 +0000 (08:07 +0200)]
Bug-8168: Fix for configuration file name mismatch in blueprint

Change-Id: I5aa0fd67fd096d8892b669a3291dbb2190dc1adb
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoBump versions by x.(y+1).z for next dev cycle 97/54697/1
Anil Belur [Tue, 11 Apr 2017 01:45:36 +0000 (11:45 +1000)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: I57e39c1cbc8d19088f54e6871d3138b8259aadb5
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoBug-8168: Fix for VPP renderer startup configuration file 64/54364/3
Michal Cmarada [Mon, 10 Apr 2017 13:00:25 +0000 (15:00 +0200)]
Bug-8168: Fix for VPP renderer startup configuration file

when vpp renderer feature is installed a default config
file should be created. This fixes configuration file not beeing created

Change-Id: I9479b27f595ee9fa1757c3bafe419d19264f2084
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoBug-8168: Neutron VPP mapper initial configuration file fix 22/54422/2
Michal Cmarada [Mon, 10 Apr 2017 12:50:19 +0000 (14:50 +0200)]
Bug-8168: Neutron VPP mapper initial configuration file fix

When neutron vpp mapper feature is installed a default config file
was not created. This fixes the issue

Change-Id: Ic8c53b35742234be32e108aef91d198580eb28e9
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoBug 8194: fixed vpp-renderer remote procedure calls in cluster 18/51618/9
Vladimir Lavor [Thu, 9 Feb 2017 13:07:41 +0000 (14:07 +0100)]
Bug 8194: fixed vpp-renderer remote procedure calls in cluster

* vpp RPC implementation is now registered and available
          on every cluster node

Change-Id: I5b00fb57d9aa145a8a5b4710bd62357a02d1ec35
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoBug 6743: added futures to InterfaceManager and VppNodeManager 48/51348/5
Vladimir Lavor [Thu, 2 Feb 2017 16:10:57 +0000 (17:10 +0100)]
Bug 6743: added futures to InterfaceManager and VppNodeManager

Change-Id: I8af3f14d644310a298ab37a9b4b10ccb147f1fe4
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoBug 8192: dynamic nat is processed in case there is no static nat entry 62/54362/4
Vladimir Lavor [Wed, 5 Apr 2017 13:51:40 +0000 (15:51 +0200)]
Bug 8192: dynamic nat is processed in case there is no static nat entry

Change-Id: Ib02ca4047658b829676dfdabf01e2138a1fa8b34
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoBUG-8192: Setting Nat outbound when node with ext. interface is connected 82/53782/3
Michal Cmarada [Mon, 10 Apr 2017 06:57:31 +0000 (08:57 +0200)]
BUG-8192: Setting Nat outbound when node with ext. interface is connected

Nat outbound is set when node with external interface is connected.

Change-Id: I1bc3919852351bf3333e10fc70133fecdf40e4c0
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoincreased UT coverage in vpp renderer - VppEndpointLocationProvider 01/51301/5
Vladimir Lavor [Wed, 1 Feb 2017 13:10:29 +0000 (14:10 +0100)]
increased UT coverage in vpp renderer - VppEndpointLocationProvider

Change-Id: I1f89fae6eb98fd28d94cc4455595d6e1d4aec009
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoMerge "Implemented unregister l3-prefix endpoint"
Martin Sunal [Mon, 27 Mar 2017 10:43:35 +0000 (10:43 +0000)]
Merge "Implemented unregister l3-prefix endpoint"

7 years agoFixes addressing test reports 20/53520/12
Michal Cmarada [Fri, 24 Mar 2017 09:05:02 +0000 (10:05 +0100)]
Fixes addressing test reports

 - bug 8069 caching security groups and group
   rules in case notifications are disordered
 - mapping ipv6 allocation pools in subnets
 - tiny fix in processing SNAT matching table

Change-Id: I9cf4617d493e50f448be29455186cb6067a730e4
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoBug 8068 explicit specification of public interface 87/53487/7
Michal Cmarada [Wed, 22 Mar 2017 14:38:50 +0000 (15:38 +0100)]
Bug 8068 explicit specification of public interface

IP address of public interface has to be specified in control
plane for external networking to work. However, not all
integration tests do this. This patch introduces a mechanism
for specifying public interface in blueprint configuration
so that it's known during the entire runtime of ODL.

Change-Id: Ice3f0d86e93cbfab802d2da308d629f523d218f5
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoImplemented unregister l3-prefix endpoint 89/53689/1
Martin Sunal [Wed, 22 Feb 2017 12:44:38 +0000 (13:44 +0100)]
Implemented unregister l3-prefix endpoint

L3-prefix endpoints were not removed from OPER DS
due to missing implementation.

Change-Id: Iae8cd0d8beacc177b48073f33e796bc3ff0a87b4
Signed-off-by: Martin Sunal <msunal@frinx.io>
7 years agoimplementing routing for VPP 84/48984/27
Michal Cmarada [Wed, 22 Mar 2017 11:05:29 +0000 (12:05 +0100)]
implementing routing for VPP

- adding the implementation for ipv4 routing for VPP in VPP renderer
- making enhancements to NAT in VPP renderer as a supplement to routing

Change-Id: Ie9040ca6bc118402d8c7552a77d49aca9639e1f3
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoFDS-242 - Clearing intf ref prior to removing ACL itself 70/53670/2
Tomas Cechvala [Wed, 22 Mar 2017 10:48:08 +0000 (11:48 +0100)]
FDS-242 - Clearing intf ref prior to removing ACL itself

Ordering of actions matters in HC. ACL has been removed together with
cached index (ID), so clearing reference from interface failed b/c index
to referenced ACL had already been removed.

Change-Id: Ide25ba84692d6f814d41e37af7d819a92101e769
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoLooking for host-id of router port 54/52654/15
Michal Cmarada [Tue, 21 Mar 2017 10:42:02 +0000 (11:42 +0100)]
Looking for host-id of router port

Reading host-id for router bvi interface from DHCP port
host ID. It is assumed that they are located on one node.
This is a workaround for unbound interfaces for L3 scenario.

Change-Id: I62e56ec33ba8dc234db2bbd42d77113645d7920e
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoExcluding VPP router interface from policy 46/53246/2
Tomas Cechvala [Mon, 13 Mar 2017 20:20:38 +0000 (21:20 +0100)]
Excluding VPP router interface from policy

So that policy is applied only on access ports.

Change-Id: I9022e05de01493ff48d6a1d26ad61b3078b46af8
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoNetconf transactions synchronization GBP part 64/52964/4
Michal Cmarada [Mon, 13 Mar 2017 13:32:54 +0000 (14:32 +0100)]
Netconf transactions synchronization GBP part

adding mechanism to sync transactions between GBP and VBD
this is used as a workaround for bug https://bugs.opendaylight.org/show_bug.cgi?id=7918
In order for this workaround to work GBP uses Reentrant lock from VBD to synchronize transactions.
It is needed to use netconfSyncedWrite and netconfSyncedDelete from GbpNetconfTransaction
for all write and delete operations to netconf device.

Change-Id: I4f74c376a06adb5aec058710ccbb8ed069103483
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoFixing regex pattern in OVSDB and NM module 43/53243/2
Tomas Cechvala [Mon, 13 Mar 2017 20:00:28 +0000 (21:00 +0100)]
Fixing regex pattern in OVSDB and NM module

Due to changes in yangotools, regex patters
are automatically supplied with starting ^ and
ending $ control chars.

E.g. ^tcp$|^udp$ in model
     results to
     ^\^tcp\$|\^udp\$$
     in code

Removing unused module from neutron-mapper

Change-Id: Icb8b62f308526b78b4dd3cfd7250b821f95fa165
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoTiny fix for excluding Qrouter from Policy 62/52662/3
Tomas Cechvala [Thu, 2 Mar 2017 14:47:02 +0000 (15:47 +0100)]
Tiny fix for excluding Qrouter from Policy

Change-Id: I8306a78c74424fafbd5ec30dc4249c84d174d34e
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoInitial implementation for dynamic SNAT 93/52493/7
Tomas Cechvala [Tue, 28 Feb 2017 09:25:53 +0000 (10:25 +0100)]
Initial implementation for dynamic SNAT

allocation pools is needed in an external network
 -> VPP renderer will use external subnet as a pool
    for dynamic SNAT.
     - isTenant = false
     - allocationPool is specified
 -> traffic passing through an interface set to
    'outside NAT' will be automatically translated

Change-Id: I18077d0fa31ae1ae3b2fde13aa12c2d41c3fdecb
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoInitial NAT implementation 91/48691/21
Michal Cmarada [Thu, 2 Mar 2017 11:57:22 +0000 (12:57 +0100)]
Initial NAT implementation

Needs to be tested with the full stack and reviewed
once again.

Change-Id: I8305de67f18d33499884545f4dea7a8f934d6e3c
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoSecurity group in VPP renderer 06/47006/37
Tomas Cechvala [Thu, 12 Jan 2017 16:01:41 +0000 (17:01 +0100)]
Security group in VPP renderer

Introducing traffic filtering by using
access-lists based on security-groups.

Implementation for transforming resolved
policy to INGRESS/EGRESS access lists in HC.

Change-Id: Ie7bf491b3aa3e1d6724ce37cce1835ccb2b06f79
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoFixing read-write transaction in InterfaceManager 65/52365/1
Tomas Cechvala [Tue, 28 Feb 2017 12:56:37 +0000 (13:56 +0100)]
Fixing read-write transaction in InterfaceManager

Transaction was not closed which caused problems in NETCONF
for creating next write or read-write transactions. Changed
to read-only transaction as long as write is not needed.

Change-Id: I3cdefc6330e7264e670749c02ed379903bab61e3
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoWIP choosing L3 node by ODL for VPP 50/51250/5
Tomas Cechvala [Tue, 31 Jan 2017 14:52:52 +0000 (15:52 +0100)]
WIP choosing L3 node by ODL for VPP

Openstack has not this feature available yet,
workaroud is done in ODL.

APIs are not modified, configuration for this may be
passed by config in file located in karaf's /etc folder.

Change-Id: I1b8f8cb8da79843601695a689dadc854946ba694
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoMerge "Remove bad manifestLocation from maven-bundle-plugin"
Vladimir Lavor [Mon, 6 Feb 2017 08:37:44 +0000 (08:37 +0000)]
Merge "Remove bad manifestLocation from maven-bundle-plugin"

7 years agoMerge "remove redundant parent data with last child"
Vladimir Lavor [Thu, 2 Feb 2017 14:00:50 +0000 (14:00 +0000)]
Merge "remove redundant parent data with last child"

7 years agoMove ip-sgt-distribution-service into sxp-integration 29/51129/2
Michal Rehak [Fri, 27 Jan 2017 14:56:38 +0000 (15:56 +0100)]
Move ip-sgt-distribution-service into sxp-integration

    - this project is part of sxp integration effort

Change-Id: I513ad85046c7e1f8c135c83f1b80ffdf3fbcbdf8
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoMerge "netconf connection in cluster - workaround for bug7699"
Tomas Cechvala [Wed, 1 Feb 2017 09:56:04 +0000 (09:56 +0000)]
Merge "netconf connection in cluster - workaround for bug7699"

7 years agoMerge "better odl <-> device communication via netconf - gbp side"
Tomas Cechvala [Wed, 1 Feb 2017 09:55:53 +0000 (09:55 +0000)]
Merge "better odl <-> device communication via netconf - gbp side"