groupbasedpolicy.git
6 years agoRelease Oxygen release/oxygen
jenkins-releng [Tue, 20 Mar 2018 18:30:56 +0000 (18:30 +0000)]
Release Oxygen

6 years agoUpdate .gitreview to stable/oxygen 98/68698/1
Anil Belur [Mon, 26 Feb 2018 06:59:42 +0000 (16:59 +1000)]
Update .gitreview to stable/oxygen

Change-Id: Iae68885b7aba9a2a8a76adc884616cc5b423d699
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
6 years agofix ofoverlay renderer 04/68404/2
Michal Cmarada [Mon, 19 Feb 2018 08:14:49 +0000 (09:14 +0100)]
fix ofoverlay renderer

changes in ofoverlay https://git.opendaylight.org/gerrit/#/c/67794/
caused build to fail. This fixes issues after refactorings in ofoverlay.

Change-Id: I48644158b3f97e8114eccb6f0aa0f765d7d4300d
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
6 years agoEliminate the use of mdsalmodel.version 56/68056/1
Robert Varga [Thu, 8 Feb 2018 10:14:30 +0000 (11:14 +0100)]
Eliminate the use of mdsalmodel.version

All artifacts are declared in dependencyManagement, no need to
specify a version, certainly not through a property.

Change-Id: I2e2a3efaf77e468af5b2d00a7a22e239f1b91e28
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump to yangtools-2.0.0 and odlparent-3.0.2 41/66541/4
Tom Pantelis [Sat, 16 Dec 2017 19:08:16 +0000 (14:08 -0500)]
Bump to yangtools-2.0.0 and odlparent-3.0.2

Change-Id: I71761b977cfdc80f1a37cd83318396f2c4ac5710
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
6 years agoFix odlparent 3 Checkstyle issues 40/66540/3
Michal Cmarada [Mon, 5 Feb 2018 15:31:39 +0000 (16:31 +0100)]
Fix odlparent 3 Checkstyle issues

Change-Id: I2a653b371ddfe54080bdb5ad5d4c3e9590c83a5a
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
6 years agoRemove dependency on features-aaa-shiro 09/66009/1
Ryan Goulding [Tue, 28 Nov 2017 16:24:51 +0000 (11:24 -0500)]
Remove dependency on features-aaa-shiro

Instead, rely on sole AAA repository features-aaa.  This is to
consolidate all features in one repository.

Change-Id: Idb0001ded1d7a2361dd66e9e852028823ede0164
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
6 years agoapply checkstyle check during build for neutron-ovsdb 89/65489/1
Michal Cmarada [Mon, 13 Nov 2017 13:53:24 +0000 (14:53 +0100)]
apply checkstyle check during build for neutron-ovsdb

enabling checkstyle checks on build which should prevent
checkstyle violations in future.

Change-Id: I090928f68c18615672681f67ba368ac73271447c
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
6 years agoapply checkstyle check during build for neutron-mapper 15/64715/3
Michal Cmarada [Wed, 25 Oct 2017 13:13:41 +0000 (15:13 +0200)]
apply checkstyle check during build for neutron-mapper

enabling checkstyle checks on build which should prevent
checkstyle violations in future.

Change-Id: Ibe476cc7aed6f6b9b65dd998245b6f0108eef31b
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoapply checkstyle check during build for location-providers 14/64714/2
Michal Cmarada [Wed, 25 Oct 2017 13:35:03 +0000 (15:35 +0200)]
apply checkstyle check during build for location-providers

enabling checkstyle checks on build which should prevent
checkstyle violations in future.

Change-Id: I6aba04ad46b317179a158fa7ce13b67882cfd942
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoapply checkstyle check during build for domain-extensions 13/64713/1
Michal Cmarada [Tue, 3 Oct 2017 10:43:39 +0000 (12:43 +0200)]
apply checkstyle check during build for domain-extensions

enabling checkstyle checks on build which should prevent
checkstyle violations in future.

Change-Id: I3468f3cf0e94cf0905b466bd6c372a7332c1f307
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoFix Long literal for checkstyle groupbasedpolicy-base 12/64712/1
Michal Cmarada [Wed, 25 Oct 2017 09:25:17 +0000 (11:25 +0200)]
Fix Long literal for checkstyle groupbasedpolicy-base

this fixes wrong usage of lowercase 'l' literal for long constants.

Change-Id: I6f7f56d4a0f8f5eff90de15e827e695a93bf8676
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoFix fileEncoding violations for checkstyle 92/64692/1
Michal Cmarada [Mon, 2 Oct 2017 17:08:43 +0000 (19:08 +0200)]
Fix fileEncoding violations for checkstyle

Change-Id: I231402a076acdc315ff13166573f5b1200b1c099
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoCleanup of Lisp in VPP renderer 45/64645/1
Michal Cmarada [Tue, 24 Oct 2017 11:39:46 +0000 (13:39 +0200)]
Cleanup of Lisp in VPP renderer

- cleaning unused methods and variables
- organizing imports
- removing state classes

Change-Id: I9c9459d28b85d5fd5abfc4fb55dfe49638e69234
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoLisp processing additional fixes 21/64521/1
Michal Cmarada [Thu, 19 Oct 2017 12:06:23 +0000 (14:06 +0200)]
Lisp processing additional fixes

- fix logging issues
- fix loopback processing
- fix npe for LispStateManager

Change-Id: I63867d447876e44283d968bb57ad8d98a8fd6420
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoFix Metadata Eid processing for LISP 14/64514/1
Michal Cmarada [Thu, 19 Oct 2017 08:52:40 +0000 (10:52 +0200)]
Fix Metadata Eid processing for LISP

metadata Eid should not be created, metadata ports are local only,
this patch fixes this issue.

Change-Id: I0e9e9b70f970aa5d53c81352768914cf04912c4f
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoLisp Model update 11/64511/1
Michal Cmarada [Thu, 19 Oct 2017 08:00:23 +0000 (10:00 +0200)]
Lisp Model update

Change-Id: Ie15c11e4af54f2049ac74c4bf30d3dd591f1f5cf
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoFixes for DVR 65/64265/4
Michal Cmarada [Mon, 16 Oct 2017 16:30:31 +0000 (18:30 +0200)]
Fixes for DVR

Data caching is simpler for smoother debugging.
Code is totally not clean for because of of time.
Fixes related to removing configuration were made

Change-Id: Ibd436e6a7926b1ddb27b40444eeaaa8a3b7390c8
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoTemporary workaround for Delete Fail in lisp-feature-data 53/64053/2
Michal Cmarada [Mon, 9 Oct 2017 09:35:20 +0000 (11:35 +0200)]
Temporary workaround for Delete Fail in lisp-feature-data

this fix is temporary until there is a propper fix in HC and/or VPP

Change-Id: I1d4c73f50936f35b3fd33adb4aa2afcb01ca5db1
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoMerge "Neutron floatingIp dissasociate fix"
Michal Cmarada [Wed, 11 Oct 2017 13:06:38 +0000 (13:06 +0000)]
Merge "Neutron floatingIp dissasociate fix"

6 years agoFix lisp route for public interfaces 67/63267/5
Michal Cmarada [Wed, 11 Oct 2017 08:57:37 +0000 (10:57 +0200)]
Fix lisp route for public interfaces

Change-Id: Ifaa641b0e7bb3e71f804f373e96f8582172ab3ad
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoNeutron floatingIp dissasociate fix 19/64119/1
Tomas Cechvala [Tue, 10 Oct 2017 15:21:31 +0000 (17:21 +0200)]
Neutron floatingIp dissasociate fix

AddressEndpointKey was read from base-endpoint-by-port mapping
This is unsufficient, because those ports are of type L2BridgeDomain,
not L3Context. Keys are now resolved from Floating-Ips directly.

Change-Id: Icd463f0a7b2e049c23046f4bebbdb44325720f2e
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoUpgrading ACL implementation 70/62770/16
Tomas Cechvala [Wed, 6 Sep 2017 14:13:16 +0000 (16:13 +0200)]
Upgrading ACL implementation

Only DHCP peers from a local network are configured in ACLs.
Deltas are computed to update specific rules to avoid rewriting
entire ACLs.

Change-Id: I9245c9ab961a1090d1d0d04ead937b78f789f3bf
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoFix default route configuration for DVR case in VPP renderer 27/63227/5
Michal Cmarada [Tue, 26 Sep 2017 08:41:47 +0000 (10:41 +0200)]
Fix default route configuration for DVR case in VPP renderer

Change-Id: I80cfcb9e615ecfdf5bba56391a8e0e580cc3055e
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoFix imports after change of HC models 77/63777/2
Michal Cmarada [Thu, 28 Sep 2017 14:05:21 +0000 (16:05 +0200)]
Fix imports after change of HC models

Change-Id: I1d08d4412de7ee17a4820a56474cc0962124ec14
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoSNAT implementation for DVR 55/57155/43
Michal Cmarada [Thu, 28 Sep 2017 07:59:44 +0000 (09:59 +0200)]
SNAT implementation for DVR

The feature is implemented in VPP renderer.
There are two implementation of SNAT:
 - centralized
 - DVR

In centralized scenario, NAT is configured on one dedicated node.
The node is the one where BVI interface is configured. All static
entries and dynamic entries are on the same node.

In DVR scenario, NAT is configured on every node where endpoints
resode. Static entries on a node are significant only to local
endpoints. There is no support for dynamic NAT yet.

Change-Id: If3c0e80b0fb1c98b85a8c8d7cbd7c25000d33238
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoMerge "Bump odlparent 2.0.4 to 2.0.5"
Tomas Cechvala [Tue, 3 Oct 2017 07:22:16 +0000 (07:22 +0000)]
Merge "Bump odlparent 2.0.4 to 2.0.5"

6 years agoBug 9048: Vpp node reconnect bug in oxygen 19/63619/2
Michal Cmarada [Wed, 27 Sep 2017 13:23:53 +0000 (15:23 +0200)]
Bug 9048: Vpp node reconnect bug in oxygen

due to cache mechanism which was only adding Databroker to
cache and not removing it on delete, we hit issues when reconnecting
the same node, because of wrong Databroker.

Change-Id: I5792256ff6d8e5d419360c7498551dc5e6e473a6
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoBump odlparent 2.0.4 to 2.0.5 59/63659/1
Stephen Kitt [Wed, 27 Sep 2017 13:36:27 +0000 (15:36 +0200)]
Bump odlparent 2.0.4 to 2.0.5

Change-Id: I914b7feb3e3b259ca497d51d8b8e16dde1de229c
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoNPE fix for secRules,secGroups without tenantId on delete 13/63613/2
Michal Cmarada [Wed, 27 Sep 2017 12:28:43 +0000 (14:28 +0200)]
NPE fix for secRules,secGroups without tenantId on delete

Some rules/groups that neutron configures don't use
TenantId, We didn't create those rules at first place, we
can skip the delete operation as well.

Change-Id: Ie13d7cb27f7d0c8ddc2e6ebf11b0c53858e72472
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoNPE fix for secRules and secGroups with no tenantId 22/63522/2
Michal Cmarada [Wed, 27 Sep 2017 09:49:10 +0000 (11:49 +0200)]
NPE fix for secRules and secGroups with no tenantId

Some rules/groups that neutron configures don't use
TenantId, for now we are not using these rules so we can
skip them. Later we need to rework this behavior.

Change-Id: I61f0e1dddc2143da771b5ff13a046ac10e33aac1
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoFix for SfcProviderRpc and IpSgtDistribution failures 80/63480/3
Michal Cmarada [Mon, 25 Sep 2017 15:39:05 +0000 (17:39 +0200)]
Fix for SfcProviderRpc and IpSgtDistribution failures

SFC removed static implementation of SfcProviderRpc. This patch creates an
an instance of SfcProviderRpc in SfcManager to be used instead of static
implementation.
IpSgtDistribution tests were failing because of errors in pom files. Once
BindingNormalizedNodeCodec was refactored in MDSal tests failed because
of class not found exception. Pom files were fixed to address this issue.

Change-Id: If323f84f98995751b755b0aab3be04e88fc4f24e
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoFix imports after lisp model update 21/63221/1
Michal Cmarada [Mon, 18 Sep 2017 10:17:26 +0000 (12:17 +0200)]
Fix imports after lisp model update

Change-Id: I730ac527d3aedf5ae40e332c0e3c32765be94325
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoUse faas UlnDatastoreUtil instead of UlnDatastoreApi 16/63116/3
Tom Pantelis [Wed, 13 Sep 2017 21:06:37 +0000 (17:06 -0400)]
Use faas UlnDatastoreUtil instead of UlnDatastoreApi

The UlnDatastoreApi class in the faas project has been deprecated
in favor of UlnDatastoreUtil which eliminates the static wiring
of the DataBroker. The classes using UlnDatastoreApi now create
a UlnDatastoreUtil instance.

Change-Id: Ia63dc8eafc31c5433467b1ba2df18cc668b08b1a
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
6 years agoFix revision in ned.yang 27/63127/1
Tom Pantelis [Thu, 14 Sep 2017 09:39:36 +0000 (05:39 -0400)]
Fix revision in ned.yang

yangtools is no longer being lenient with invalid revisions.
The revision 2016-03-8 should be 2016-03-08.

Change-Id: I2ffd5dedc086788bc349a8d3cb06f6b2c7f3b37d
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
6 years agoOptimize DHCP relay processing for VPP 84/62984/2
Michal Cmarada [Tue, 12 Sep 2017 08:09:16 +0000 (10:09 +0200)]
Optimize DHCP relay processing for VPP

Change-Id: Ibec2b8fec3aea330885d7cc915e7536e256512a8
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agofix registerEndpoint in port delete for base Eps 13/62913/2
Michal Cmarada [Mon, 11 Sep 2017 06:45:55 +0000 (08:45 +0200)]
fix registerEndpoint in port delete for base Eps

when neutron router interface is deleted, contextId
should be changed back to NetworkId. this patch fixes
NetworkId for parents in L2 endpoint.

Change-Id: I799fd4fb6c9a79b68514e7c139cc09b6c2e279fa
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoCode improvements for FDS scenarios 68/60068/24
Michal Cmarada [Tue, 15 Aug 2017 10:56:28 +0000 (12:56 +0200)]
Code improvements for FDS scenarios

Context ID changes for metadata endpoint when router
interface is attached/detached.

Location is resolved from IpPrefix type endpoints ONLY to make
resolving simpler and other processes tied to one type of endpoint.

Change-Id: I5c18bd3cfe4c401d9a66f8ab6da8b7a4034adccb
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoFix AddressEndpointWithLocation issues 45/62845/5
Michal Cmarada [Thu, 7 Sep 2017 15:50:22 +0000 (17:50 +0200)]
Fix AddressEndpointWithLocation issues

- Loopback not beeing set as BVI, because wrong key
  being selected from AddressEndpointWithLocation
- SNAT not beeing set because of wrong IP address format
  was acquired from AddressEndpointWithLocation

Change-Id: I7de084b531e19cceba64a2659b5383bafc7473b3
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoFix for yangtools mandatory node check update 50/62250/6
Michal Cmarada [Thu, 7 Sep 2017 13:26:18 +0000 (15:26 +0200)]
Fix for yangtools mandatory node check update

when yangtools will force mandatory node check on Operational DS,
some mandatory fields needs to be added in code otherwise this leads
to build failures. Renderer yang model needs to be adjusted too
to preserve functionality as before.
link to yangtool dev mailing list:
https://lists.opendaylight.org/pipermail/yangtools-dev/2017-August/001959.html

Change-Id: I286d446c63685f1dc5a8fb401344ee828a985e54
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
6 years agoFix of Lisp commands for DVR 34/62834/1
Michal Cmarada [Thu, 7 Sep 2017 11:03:59 +0000 (13:03 +0200)]
Fix of Lisp commands for DVR

- Lisp commands didn`t implement toString methods, which was
causing empty Logs.
- fix for unnumbered interface command that was not used

Change-Id: Ie691bde8bd96f953f3519d48d67e236f38c557e3
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoLog enhancements and fixes for VPP renderer 28/62828/2
Michal Cmarada [Thu, 7 Sep 2017 11:56:04 +0000 (13:56 +0200)]
Log enhancements and fixes for VPP renderer

Change-Id: Idcfa502603cd0cfd9975cb79ba71070bc63d84e6
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoFix skip processing DHCP relay for external subnet 71/62671/2
Michal Cmarada [Tue, 5 Sep 2017 08:50:35 +0000 (10:50 +0200)]
Fix skip processing DHCP relay for external subnet

By default every subnet was processed for dhcp relay in FDS DVR scenario.
This is not needed for external networks. This patch fixes processing of
DHCP relay for external networks.

Change-Id: I54a143d67eb40e259adcfff6b90fcd5e8115c46b
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoMerge "Fix missing GPE native forwarding configuration"
Michal Cmarada [Thu, 7 Sep 2017 11:16:03 +0000 (11:16 +0000)]
Merge "Fix missing GPE native forwarding configuration"

6 years agoRemove wrong <type>bundle from neutron-mapper's l2-l3-domain-extension dependency 16/62716/1
Michael Vorburger [Tue, 5 Sep 2017 15:36:30 +0000 (17:36 +0200)]
Remove wrong <type>bundle from neutron-mapper's l2-l3-domain-extension dependency

see discussion on thread (following-up with new post today to)
https://lists.opendaylight.org/pipermail/integration-dev/2017-September/010263.html

Change-Id: I21e005418c990466b18744da93c5aa0ee1509c0d
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoFix missing GPE native forwarding configuration 83/61883/3
Shakib Ahmed [Wed, 16 Aug 2017 21:47:53 +0000 (03:47 +0600)]
Fix missing GPE native forwarding configuration

Change-Id: Ic1c24f9c0cb833791a90f2e26ba4944cb3d5f3a4
Signed-off-by: Shakib Ahmed <008.shakib@gmail.com>
6 years agoConvert DataChangeListeners to DataTreeChangeListeners 22/62522/2
Tom Pantelis [Thu, 31 Aug 2017 23:19:39 +0000 (19:19 -0400)]
Convert DataChangeListeners to DataTreeChangeListeners

The DataChangeListener API has been deprecated for a couple releases
with possible removal in Oxygen.

Change-Id: I28c804d85d21229f235e1451a51211493299c778
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
6 years agoFix imports after NAT model update 62/62062/3
Michal Cmarada [Mon, 21 Aug 2017 11:40:36 +0000 (13:40 +0200)]
Fix imports after NAT model update

Change-Id: Ia8b6ab95218a8fe893882b3b29799c591dc476f2
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
6 years agoBump versions by x.(y+1).z for next dev cycle 84/61684/2
Thanh Ha [Mon, 14 Aug 2017 17:25:04 +0000 (13:25 -0400)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: I16e3d6fb90235176d5d95e59e0011352a30f432d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoFix imports after Lisp model update in honeycomb 19/61619/2
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 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>