groupbasedpolicy.git
8 years agoChanges for SFC project features 21/29221/1
Keith Burns (alagalah) [Tue, 3 Nov 2015 21:46:50 +0000 (13:46 -0800)]
Changes for SFC project features

Relies on https://git.opendaylight.org/gerrit/#/c/29169/

Change-Id: I61d19c9cd63262785ef7997ea5a6848e32cb2fb2
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoClean up pom files 43/29143/6
adetalhouet [Tue, 3 Nov 2015 14:27:14 +0000 (09:27 -0500)]
Clean up pom files

Change-Id: I31eb3d576d92639b8fca269e76fb5759366074fd
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoMove config file under src/main/config 35/29135/8
adetalhouet [Mon, 2 Nov 2015 13:58:26 +0000 (08:58 -0500)]
Move config file under src/main/config

Instead have having a seperate bundle for the config file, let's use the src/main/config
source package and the config-parent parent from controller project

This patch also fixes:

- header violation
- proper .gitignore entry for maven-metadata-local.xml

Change-Id: I738e592f8d7e559d9609b8c8f1d4cf9102311367
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoFix copyright header 34/29134/8
adetalhouet [Mon, 2 Nov 2015 13:56:35 +0000 (08:56 -0500)]
Fix copyright header

Change-Id: I6bb5f24c3ffd70be7c4e36eea7c5e1384fa33a05
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoAdd yang generated packages in .gitignore 33/29133/4
adetalhouet [Mon, 2 Nov 2015 14:05:15 +0000 (09:05 -0500)]
Add yang generated packages in .gitignore

Change-Id: I1bd4365d9379ea8ba1de6981eef511be5f56774a
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoGetting FAAS renderer started 06/28706/9
Khaldoon Al-zoubi [Wed, 21 Oct 2015 22:05:13 +0000 (18:05 -0400)]
Getting FAAS renderer started

This prepares the code structure for the FAAS renderer so that it can
be integrated with the Fabric As A Service (FAAS) project.
For more info about FAAS, Please see
https://wiki.opendaylight.org/view/FaaS:Main

Change-Id: Ie05739b4a9b68dad9c94d6639b3254a2bf0735a9
Signed-off-by: Khaldoon Al-zoubi <khalAlzoubi@gmail.com>
8 years agoTypedef changes in SFC project 79/28579/5
Keith Burns (alagalah) [Tue, 20 Oct 2015 05:16:08 +0000 (22:16 -0700)]
Typedef changes in SFC project

Change-Id: I54d60ee5d0d55150e371ef2e804dd792e921c7be
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoAdded revisions into imports in yang 23/28623/1
Martin Sunal [Tue, 20 Oct 2015 19:47:09 +0000 (21:47 +0200)]
Added revisions into imports in yang

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoBug 4487 fixing of NPE and moved creation of infrastructure 94/28494/4
Martin Sunal [Fri, 16 Oct 2015 10:38:13 +0000 (12:38 +0200)]
Bug 4487 fixing of NPE and moved creation of infrastructure

- Network Service EPG and Client Epg are created on neutronNetworkCreated

Change-Id: I85b805f327e73f41f81ce3c42846c55fa32cd641
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoRemoved tests based on changes in neutron 93/28493/1
Martin Sunal [Fri, 16 Oct 2015 10:22:40 +0000 (12:22 +0200)]
Removed tests based on changes in neutron

- commit [1] introduced UUID format check so we got errors in negative tests

[1] https://git.opendaylight.org/gerrit/#/c/28365/1

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "Gbp coverage increased in ./neutron/mapper/infrastructure"
Keith Burns [Wed, 14 Oct 2015 09:18:24 +0000 (09:18 +0000)]
Merge "Gbp coverage increased in ./neutron/mapper/infrastructure"

8 years agoMerge "Gbp coverage increased in ./neutron/mapper/util"
Keith Burns [Wed, 14 Oct 2015 09:17:59 +0000 (09:17 +0000)]
Merge "Gbp coverage increased in ./neutron/mapper/util"

8 years agoGbp coverage increased in ./neutron/mapper/mapping/rule 71/28371/1
Vladimir Lavor [Mon, 5 Oct 2015 10:10:53 +0000 (12:10 +0200)]
Gbp coverage increased in ./neutron/mapper/mapping/rule

- NeutronSecurityRuleAware.java (+35%, 87% overall)

Signed-off-by: Vladimir Lavor <vladimir.lavor@pantheon.sk>
Change-Id: Iecdf2dc507d76d9e58b253d7ee9ada50b3aed70c

8 years agoGbp coverage increased in ./neutron/mapper/util 70/28370/1
Vladimir Lavor [Mon, 5 Oct 2015 10:04:29 +0000 (12:04 +0200)]
Gbp coverage increased in ./neutron/mapper/util

- MappingUtils.java (94%)
- NeutronMapperIidFactory (100%)

Signed-off-by: Vladimir Lavor <vladimir.lavor@pantheon.sk>
Change-Id: I18918e1df68b87f768ad57284ed0573d379d89f6

8 years agoGbp coverage increased in ./neutron/mapper/infrastructure 69/28369/1
Vladimir Lavor [Mon, 5 Oct 2015 09:54:10 +0000 (11:54 +0200)]
Gbp coverage increased in ./neutron/mapper/infrastructure

- NetworkClient.java (100%)
- NetworkService.java (100%)
- Router (100%)
- Utils.java updated

Signed-off-by: Vladimir Lavor <vladimir.lavor@pantheon.sk>
Change-Id: Idaf4215f384d95ea6cd136913ea9825cffa9cf92

8 years agoMerge "Bug 4195 - UT - GBP - NeutronMapper - groupbasedpolicy.neutron.gbp.util ...
Keith Burns [Wed, 14 Oct 2015 08:47:20 +0000 (08:47 +0000)]
Merge "Bug 4195 - UT - GBP - NeutronMapper - groupbasedpolicy.neutron.gbp.util     NeutronGbpIidFactoryTest.java(98.3%)"

8 years agoBug 4195 - UT - GBP - NeutronMapper - groupbasedpolicy.neutron.gbp.util 61/26061/2
Dileep Ranganathan [Wed, 26 Aug 2015 21:57:50 +0000 (14:57 -0700)]
Bug 4195 - UT - GBP - NeutronMapper - groupbasedpolicy.neutron.gbp.util
    NeutronGbpIidFactoryTest.java(98.3%)

Change-Id: I26a87c83adb0387726a02792e8514b6ea9471404
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
8 years agoTest cases added to neutron-mapper and implementation improved: 08/28208/2
Peter Palmar [Thu, 1 Oct 2015 14:43:21 +0000 (16:43 +0200)]
Test cases added to neutron-mapper and implementation improved:

Test cases relate to packages:
- org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.group
- org.opendaylight.groupbasedpolicy.neutron.mapper.mapping.rule

Implementation improvement:
- <intra-group-policy>require-contract</intra-group-policy> is added for each endpoint group being added.
- Deleting a provider named selector from an endpoint group is added to a transaction only if it exists.

Change-Id: I91de3f130b78c6e456428702f053400999099fc3
Signed-off-by: Peter Palmar <peter.palmar@pantheon.sk>
8 years agoWrite resolved-policy.yang into Datastore, allowing renderers to listen to it. 25/27925/9
Khaldoon Al-zoubi [Mon, 5 Oct 2015 18:02:00 +0000 (14:02 -0400)]
Write resolved-policy.yang into Datastore, allowing renderers to listen to it.

Change-Id: I5316a680641293bd6394b1620a73c5c8e835049e
Signed-off-by: Khaldoon Al-zoubi <khalAlzoubi@gmail.com>
8 years agoMerge "Version tag removal"
Keith Burns [Wed, 7 Oct 2015 10:55:32 +0000 (10:55 +0000)]
Merge "Version tag removal"

8 years agoMerge "OpFlex removed from master"
Keith Burns [Wed, 7 Oct 2015 01:47:48 +0000 (01:47 +0000)]
Merge "OpFlex removed from master"

8 years agoMerge "Bug 3655: Endpoint location is now updated when OVS is disconnected/removed"
Keith Burns [Wed, 7 Oct 2015 00:18:27 +0000 (00:18 +0000)]
Merge "Bug 3655: Endpoint location is now updated when OVS is disconnected/removed"

8 years agoVersion tag removal 61/27961/1
Daniel Malachovsky [Tue, 6 Oct 2015 12:35:10 +0000 (14:35 +0200)]
Version tag removal

Fix for: "'version' contains an expression but should be a constant"

Change-Id: I2c62963ecae899d024be6cb14cea444371ba070f
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoOpFlex removed from master 50/27950/1
Vladimir Lavor [Tue, 6 Oct 2015 08:43:05 +0000 (10:43 +0200)]
OpFlex removed from master

Will not be released in Beryllium 2.It is out of date
with the LibOpFlex project and it is impacting UT targets
for no benefit.

Signed-off-by: Vladimir Lavor <vladimir.lavor@pantheon.sk>
8 years agoFeature uses features-parent as parent 46/27746/4
Martin Sunal [Thu, 1 Oct 2015 14:12:42 +0000 (16:12 +0200)]
Feature uses features-parent as parent

- features-parent is used from odlparent as parent for features-groupbasedpolicy
- groupbasedpolicy-artifacs dependency management pom is created in artifacts
  folder
- removed dependency on features-sfc-netconf

Change-Id: I7bd5f9542a44c7f01e8ea38c922760d5754f44d3
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoBug 3655: Endpoint location is now updated when OVS is disconnected/removed 33/27533/5
Vladimir Lavor [Tue, 8 Sep 2015 09:52:50 +0000 (11:52 +0200)]
Bug 3655: Endpoint location is now updated when OVS is disconnected/removed

Signed-off-by: Vladimir Lavor <vladimir.lavor@pantheon.sk>
Change-Id: I8efe7428cc2c8ffbf63ca4a8180cf7ae4292037f

8 years agoMerge "Improved naming and usage of groupings"
Keith Burns [Thu, 1 Oct 2015 18:14:14 +0000 (18:14 +0000)]
Merge "Improved naming and usage of groupings"

8 years agoMerge "Storing resolved PolicyInfo in Datastore"
Keith Burns [Thu, 1 Oct 2015 18:11:55 +0000 (18:11 +0000)]
Merge "Storing resolved PolicyInfo in Datastore"

8 years agoImproved naming and usage of groupings 50/27750/2
Martin Sunal [Thu, 1 Oct 2015 15:20:29 +0000 (17:20 +0200)]
Improved naming and usage of groupings

- naming of yang elements was changed
- created more groupings for better reusability
- improved descriptions
- renaming of yang module

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoStoring resolved PolicyInfo in Datastore 83/26783/14
Khaldoon Al-zoubi [Thu, 10 Sep 2015 18:13:01 +0000 (14:13 -0400)]
Storing resolved PolicyInfo in Datastore

Change-Id: Id8b14fe25595275f3342e558b7a65549af593a3a
Signed-off-by: Khaldoon Al-zoubi <khalAlzoubi@gmail.com>
8 years agoFix for bug 4287 and bug 4302 52/27652/2
Peter Palmar [Thu, 10 Sep 2015 10:55:36 +0000 (12:55 +0200)]
Fix for bug 4287 and bug 4302

Change-Id: I1d4d82ab4b39b92f3116db5c3bc50a188ff0b3b4
Signed-off-by: Peter Palmar <peter.palmar@pantheon.sk>
8 years agoFix for compilation error introduced in merged bugfix 63/27663/1
Martin Sunal [Wed, 30 Sep 2015 14:57:43 +0000 (16:57 +0200)]
Fix for compilation error introduced in merged bugfix

compilation error in
https://git.opendaylight.org/gerrit/#/c/27285/1

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "Use odlparent configuration for jacoco"
Keith Burns [Wed, 30 Sep 2015 13:33:37 +0000 (13:33 +0000)]
Merge "Use odlparent configuration for jacoco"

8 years agoMerge "Bug 3693 - UT GBP - 4 - Ofoverlay-renderer - renderer/ofoverlay"
Keith Burns [Wed, 30 Sep 2015 13:33:02 +0000 (13:33 +0000)]
Merge "Bug 3693 - UT GBP - 4 - Ofoverlay-renderer - renderer/ofoverlay"

8 years agoBug 4341: Lifecycle Management of Endpoint Registry state 35/27435/3
Vladimir Lavor [Thu, 17 Sep 2015 14:40:11 +0000 (16:40 +0200)]
Bug 4341: Lifecycle Management of Endpoint Registry state

- add endpoint rpc registration to OfOverlayL3NatAug class
- classes OfOverlayAug and OfOverlayL3NatAug are autocloseable now

Signed-off-by: Vladimir Lavor <vladimir.lavor@pantheon.sk>
Change-Id: I32aa6a9eed4fbed0f6d3d4eb318a89ea89db4aa4

8 years agoRemove unused adsal dependencies 93/27493/1
Ed Warnicke [Sat, 26 Sep 2015 18:57:44 +0000 (11:57 -0700)]
Remove unused adsal dependencies

Change-Id: I9bf62049e99b176bd88dd09b655cd12983c202a1
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
8 years agoBug 4098 - ofoverlay-renderer failure in jdk8 32/27232/4
Dileep Ranganathan [Wed, 16 Sep 2015 23:29:05 +0000 (16:29 -0700)]
Bug 4098 - ofoverlay-renderer failure in jdk8

Modified Javadoc comments for jdk 8 compatibility
Formatted whitespaces/tabs
  - VxlanTunnelType.java
  - VxlanGpeTunnelType.java
  - AbstractTunnelType.java

Change-Id: I34f0722f8982424eae77aa7be97722e0dfc226d2
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
8 years agoBug 3693 - UT GBP - 4 - Ofoverlay-renderer - renderer/ofoverlay 85/27285/1
Peter Palmar [Wed, 12 Aug 2015 12:10:12 +0000 (14:10 +0200)]
Bug 3693 - UT GBP - 4 - Ofoverlay-renderer - renderer/ofoverlay

- SfcManager(42.9%)
- PolicyManager(73.3%)

Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
Signed-off-by: Peter Palmar <peter.palmar@pantheon.sk>
Change-Id: If1e0f0f98c80319108e0d8202f01141183b56e0d

8 years agoBug 3302: fix for GroupTable 61/27261/1
Konstantin Blagov [Thu, 27 Aug 2015 10:37:58 +0000 (12:37 +0200)]
Bug 3302: fix for GroupTable

Change-Id: I38065618e28e0ff88fc50cd3c950549049cf04eb
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoCorrection of uncomplet cherry-pick 25/27225/1
Martin Sunal [Mon, 21 Sep 2015 16:15:35 +0000 (18:15 +0200)]
Correction of uncomplet cherry-pick

Diff in IngressNatMapperTest.java
https://git.opendaylight.org/gerrit/#/c/24151/4
https://git.opendaylight.org/gerrit/#/c/24204/4

Diff in all files
https://git.opendaylight.org/gerrit/#/c/22454/8
https://git.opendaylight.org/gerrit/#/c/22812/2

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoBug 3240 3613: Asymetric policy in neutron 47/27147/1
Martin Sunal [Wed, 17 Jun 2015 14:00:00 +0000 (16:00 +0200)]
Bug 3240 3613: Asymetric policy in neutron

bug 3613
naming is more user-friendly because is composed from classifiers and actions

bug 3240
Assymetrical policy can occur when using neutron remote-security-group in rule.
Analysis showed that problem is caused by ANY endpoint-group
Fix of this bug is removing of ANY endpoint-group.

Basicly neutron Security Group Rule (SecRule) is translated to one Contract containing
one Subject with one Rule.

Change-Id: I8724c9eaa0244182ab26e2870399630c74b842df
Signed-off-by: Martin Sunal <msunal@cisco.com>
(cherry picked from commit 3bdadfae6e60e8ac58dd8572786da340f21b14ab)

8 years agoUse odlparent configuration for jacoco 95/26295/2
Thanh Ha [Wed, 2 Sep 2015 02:15:34 +0000 (22:15 -0400)]
Use odlparent configuration for jacoco

Change-Id: I4e46f59270716d5cea218d0e65e94f785583229c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge "Bug 4284 - PolicyEnforcer could not find CI"
Martin Sunal [Wed, 16 Sep 2015 09:23:03 +0000 (09:23 +0000)]
Merge "Bug 4284 - PolicyEnforcer could not find CI"

8 years agoMerge "Migration to use MD-SAL Project"
Martin Sunal [Thu, 10 Sep 2015 17:02:07 +0000 (17:02 +0000)]
Merge "Migration to use MD-SAL Project"

8 years agoBug 4284 - PolicyEnforcer could not find CI 77/26777/1
Tomas Cechvala [Wed, 9 Sep 2015 12:21:59 +0000 (14:21 +0200)]
Bug 4284 - PolicyEnforcer could not find CI

PolicyEnforcer could not find classifier-instance
name because it has been refering to a name of classifier-ref.

Change-Id: Iff08420d51059a79297b15f7938689123e1fb699
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoMigration to use MD-SAL Project 50/26350/5
Tony Tkacik [Wed, 2 Sep 2015 14:13:29 +0000 (16:13 +0200)]
Migration to use MD-SAL Project

Change-Id: I609a37a0fb3ea741e5b4f0f1ff3f1b87eb47fe44
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
8 years agoUpdate ovsdb.southbound.version 30/26730/1
Vratko Polak [Wed, 9 Sep 2015 14:09:32 +0000 (16:09 +0200)]
Update ovsdb.southbound.version

OVSDB bumped that version to 1.2.1-SNAPSHOT in this change:
https://git.opendaylight.org/gerrit/#/c/25574/

Change-Id: Id44d7824e134973df0c8e9c056353cde34a7c392
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoBug 4128 - Addition of chain in neutron mapping OS environment causes tunnel NPE 66/26666/2
Keith Burns (alagalah) [Tue, 18 Aug 2015 14:47:12 +0000 (07:47 -0700)]
Bug 4128 - Addition of chain in neutron mapping OS environment causes tunnel NPE

Change-Id: I3587c717e0c8ea23f72bceb93a7424ce9e93554f
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoMerge "Migrate restconf dependencies"
Keith Burns [Tue, 8 Sep 2015 22:02:13 +0000 (22:02 +0000)]
Merge "Migrate restconf dependencies"

8 years agoMigrate restconf dependencies 09/26509/2
Martin Sunal [Tue, 8 Sep 2015 20:39:47 +0000 (22:39 +0200)]
Migrate restconf dependencies

Migrate project's restconf dependencies and features
to new groupId/version

Change-Id: I6d52b97b2e1bcd70eb888050557066e5f2570f4d
Signed-off-by: JMorvay <jmorvay@cisco.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoBug 3353 - added table offset to of-overlay-config 57/24157/14
Tomas Cechvala [Wed, 15 Jul 2015 12:37:07 +0000 (14:37 +0200)]
Bug 3353 - added table offset to of-overlay-config

Table offset added to ofoverlay model and might be changed in runtime.
 - offset leaf moved from overlay-provider-impl.yang to ofoverlay.yang
 - offset value changed from uint16 to uint8 according to spec,
 - offset value validation.
 - OfOverlayRendererTest adapted

Change-Id: I1479f36b0ef34be8fce97b562e59b723489a7482
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoExplicitly set git-review branch to master 17/24417/3
Thanh Ha [Wed, 22 Jul 2015 19:14:26 +0000 (15:14 -0400)]
Explicitly set git-review branch to master

Change-Id: I8c3715b5f30f3e10cc475b2539b1750e167977ea
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBug 4047 - Missing getters in SfcNshHeader.java 90/24490/3
Dileep Ranganathan [Thu, 23 Jul 2015 19:53:09 +0000 (12:53 -0700)]
Bug 4047 - Missing getters in SfcNshHeader.java

- SfcNshHeader.java
- SfcNshHeaderTest.java
- Remove C3 and C4 fields which are not used

Change-Id: I9b33120fd0996d036b8f402229a29aafaa6e29ac
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
8 years agoSonar bug fix for L4Classifier.java 64/23564/10
Dileep Ranganathan [Tue, 30 Jun 2015 00:47:17 +0000 (17:47 -0700)]
Sonar bug fix for L4Classifier.java

Reduce Cyclomatic complexity of method "checkPresenceOfRequiredParams"
Reduce Cyclomatic complexity of method "update"
Removed redundant conditional checks
See - https://goo.gl/jgXZws

Change-Id: Ia69e4d447c361515a89e01e00023fb106aaa9427
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
8 years agoBug 4053 - No selector for DHCP in multi-tenant 01/25201/2
Tomas Cechvala [Tue, 11 Aug 2015 10:56:39 +0000 (12:56 +0200)]
Bug 4053 - No selector for DHCP in multi-tenant

Assigned tenantId for consumer, provider epg and contract into mapping.
IDs of endpoint-groups and constants may not be unique accross multi
tenat topology especialy if ID is a constant for specific group (DHCP,
Any) or contract.

Change-Id: I39971221aabbb6450a3553fbcaa9abb1dfd4c2a3
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoBug 3696 - UT GBP - 7 - neutron/ovsdb 87/24787/4
Kinsey Nietzsche [Fri, 31 Jul 2015 12:04:35 +0000 (14:04 +0200)]
Bug 3696 - UT GBP - 7 - neutron/ovsdb

- TerminationPointDataChangeListener(75%)
- NodeDataChangeListener(92.7%)
- NeutronOvsdb(90.3%)

Change-Id: I432830cefad5eae3e116e07fe2b7c7094efdce96
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoBug 3254 - filling out names for EPGs 24/25224/2
Tomas Cechvala [Thu, 13 Aug 2015 09:18:37 +0000 (11:18 +0200)]
Bug 3254 - filling out names for EPGs

Router and Any group haven't had name parameter filled out.

Change-Id: I09f056ef64b6cd6529f742ecc01e2eb5d575dc53
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoBug 3700 - UT GBP - 11 - neutron/ovsdb 10/25110/2
Peter Palmar [Fri, 7 Aug 2015 11:47:01 +0000 (13:47 +0200)]
Bug 3700 - UT GBP - 11 - neutron/ovsdb

OvsdbHelper.java (98.8%)
NeutronOvsdbIidFactory.java (96.2%)

Change-Id: Id3e26aa8d031a8cad183c57c20e49da5f5d16744
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
Signed-off-by: Peter Palmar <peter.palmar@pantheon.sk>
8 years agoMerge "Bug 3703 - UT GBP - 14 - groupbasedpolicy-base"
Martin Sunal [Wed, 19 Aug 2015 11:29:10 +0000 (11:29 +0000)]
Merge "Bug 3703 - UT GBP - 14 - groupbasedpolicy-base"

8 years agoMerge "Bug 3702 - UT GBP - 13 - groupbasedpolicy-base"
Martin Sunal [Wed, 19 Aug 2015 11:28:25 +0000 (11:28 +0000)]
Merge "Bug 3702 - UT GBP - 13 - groupbasedpolicy-base"

8 years agoBug 3703 - UT GBP - 14 - groupbasedpolicy-base 10/24910/2
Kinsey Nietzsche [Wed, 5 Aug 2015 12:41:18 +0000 (14:41 +0200)]
Bug 3703 - UT GBP - 14 - groupbasedpolicy-base

ActionInstanceValidator (100%)
SubjectFeatureInstancesValidator (100%)
TenantValidator (100%)

Change-Id: Ibbc626553785b67334f771f3322d5a20cb0b968a
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoBug 3702 - UT GBP - 13 - groupbasedpolicy-base 22/24922/2
Kinsey Nietzsche [Fri, 7 Aug 2015 09:42:57 +0000 (11:42 +0200)]
Bug 3702 - UT GBP - 13 - groupbasedpolicy-base

PolicyResolverUtils.java (73.1%)
PolicyResolutionException.java (100%)
PolicyResolver.java (58.1%)
EndpointConstraint.java (88%)
PolicyValidator.java (95.1%)
SimpleResult.java (100%)
ValidationResult (85.1%)

Change-Id: I63eb56c4b5e94366896c7f0b40a1c028dc181556
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoBug 3701 - UT GBP - 12 - groupbasedpolicy-base 11/24911/2
Kinsey Nietzsche [Tue, 4 Aug 2015 14:25:46 +0000 (16:25 +0200)]
Bug 3701 - UT GBP - 12 - groupbasedpolicy-base

SetUtils.java (81.5%)
IidFactory.java (98.3%)
DataStoreHelper.java (94.2%)

Change-Id: I7b2d03e80e7216da5d7edc5a9f1ea0a4ac95293c
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoMerge "Bug 3699 - UT GBP - 10 - ofoverlay-renderer"
Martin Sunal [Wed, 19 Aug 2015 10:12:19 +0000 (10:12 +0000)]
Merge "Bug 3699 - UT GBP - 10 - ofoverlay-renderer"

8 years agoMerge "Bug 3698 - UT GBP - 9 - ofoverlay-renderer 1/2"
Martin Sunal [Wed, 19 Aug 2015 10:11:59 +0000 (10:11 +0000)]
Merge "Bug 3698 - UT GBP - 9 - ofoverlay-renderer 1/2"

8 years agoMerge "Bug 3697 - UT GBP - 8 - ofoverlay-renderer"
Martin Sunal [Wed, 19 Aug 2015 10:11:35 +0000 (10:11 +0000)]
Merge "Bug 3697 - UT GBP - 8 - ofoverlay-renderer"

8 years agoBug 3699 - UT GBP - 10 - ofoverlay-renderer 72/23972/6
Kinsey Nietzsche [Fri, 10 Jul 2015 09:16:17 +0000 (11:16 +0200)]
Bug 3699 - UT GBP - 10 - ofoverlay-renderer

- SfcIidFactory.java (85.7%)
- SfcNshHeader.java (95%)

Change-Id: Ifeb518de1510b3e9ea6e1da1df4fa02a7e078387
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoBug 3698 - UT GBP - 9 - ofoverlay-renderer 1/2 26/23626/6
Kinsey Nietzsche [Wed, 1 Jul 2015 06:43:38 +0000 (08:43 +0200)]
Bug 3698 - UT GBP - 9 - ofoverlay-renderer 1/2

- ExternalMapperTest (100%)
- SourceMapperTest (99.8%)
- PolicyEnforcerTest (79.5%)
- GroupTableTest (100%)

Change-Id: I7304196e2ca83d71a5c0cc5eaf84129817021c88
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoBug 3697 - UT GBP - 8 - ofoverlay-renderer 47/23947/8
Kinsey Nietzsche [Thu, 9 Jul 2015 10:52:20 +0000 (12:52 +0200)]
Bug 3697 - UT GBP - 8 - ofoverlay-renderer

- OfOverlayRenderer.java (85.3%)
- EndpointManager.java (79.8%)

Change-Id: Ia92933a9ad51275ed94cff738e7ada2b71da8358
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoBug 3694 - UT GBP - 5 - Ofoverlay-renderer 51/24151/4
Kinsey Nietzsche [Wed, 15 Jul 2015 10:40:48 +0000 (12:40 +0200)]
Bug 3694 - UT GBP - 5 - Ofoverlay-renderer

- ActionComparator (100%)
- FlowUtils (98.9%)
- IngressNatMapper (99.4%)
- EgressNatMapper (98.7%)

Change-Id: I379b86ff800fbafe13f12e944d59cf15f3e46d20
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoBUG3903: Fix for incorrect egress as well as incorrect VNID. 79/25079/3
Keith Burns (alagalah) [Mon, 10 Aug 2015 00:00:53 +0000 (17:00 -0700)]
BUG3903: Fix for incorrect egress as well as incorrect VNID.

Change-Id: I0c8b3a7d73f638d584f0e93e438fc20f9b040660
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoBug 3695 - UT GBP - 6 - neutron/ovsdb 89/24789/2
Kinsey Nietzsche [Mon, 27 Jul 2015 09:30:17 +0000 (11:30 +0200)]
Bug 3695 - UT GBP - 6 - neutron/ovsdb

NeutronHelper (93.2%)
EndpointHelper (97.0%)
InventoryHelper (90.0%)

Change-Id: Ibc373d7c250db3855a92181627220ce328b7f320
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoBug-3836: Don't catch Throwable (use Exception). 14/24714/1
Thomas Bachman [Sat, 1 Aug 2015 20:21:17 +0000 (16:21 -0400)]
Bug-3836: Don't catch Throwable (use Exception).

Throwables shouldn't be caught, and the code should
instead catch Exceptions. This patch fixes bugs of
this kind that were found by sonar.

Change-Id: If9eda19712141107efea6b4432cdb6b4d5c8bf29
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
8 years agoBug 3988 - Jenkins Build failing due to Changes is NeutronCRUDInterfaces 77/24077/3
Dileep Ranganathan [Mon, 13 Jul 2015 22:49:39 +0000 (15:49 -0700)]
Bug 3988 - Jenkins Build failing due to Changes is NeutronCRUDInterfaces

- NeutronRouterAware.java
- NeutronFloatingIpAware.java

See https://git.opendaylight.org/gerrit/#/c/23961/

Change-Id: I5329faa4fafe60494dfb37e688fa94ef747223bb
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
8 years agoMerge "Bug 3836 - sonar: Throwable and Error classes should not be caught - part1"
Martin Sunal [Tue, 14 Jul 2015 10:58:46 +0000 (10:58 +0000)]
Merge "Bug 3836 - sonar: Throwable and Error classes should not be caught - part1"

8 years agoMerge "Bug 3854 - GBP sonar: System.out and System.err should not be used as loggers"
Martin Sunal [Tue, 14 Jul 2015 10:43:09 +0000 (10:43 +0000)]
Merge "Bug 3854 - GBP sonar: System.out and System.err should not be used as loggers"

8 years agoBug 3836 - sonar: Throwable and Error classes should not be caught - part1 60/23160/2
Ruijing Guo [Tue, 23 Jun 2015 08:20:02 +0000 (08:20 +0000)]
Bug 3836 - sonar: Throwable and Error classes should not be caught - part1

Change-Id: Ia994ac86100aca4f31dbe00d9f0a61db786a929a
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
8 years agoBug 3914 - GBP sonar: Constants should be declared "final static" 22/23622/4
Ruijing Guo [Wed, 1 Jul 2015 02:24:43 +0000 (02:24 +0000)]
Bug 3914 - GBP sonar: Constants should be declared "final static"

Change-Id: Idbee2311dfa6ae94b4623f5167d1ec91993d873d
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
8 years agoBug 3692 Ofoverlay-renderer - renderer/ofoverlay/sf 06/23506/1
Kinsey Nietzsche [Fri, 19 Jun 2015 09:16:03 +0000 (11:16 +0200)]
Bug 3692 Ofoverlay-renderer - renderer/ofoverlay/sf

- ChainAction
- ClassificationResult

Change-Id: Iaa706247d8477d5cdd2606f898a546925cb4a400
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoBug 3854 - GBP sonar: System.out and System.err should not be used as loggers 14/23214/1
Ruijing Guo [Wed, 24 Jun 2015 08:49:08 +0000 (08:49 +0000)]
Bug 3854 - GBP sonar: System.out and System.err should not be used as loggers

Change-Id: Ib3e998bba62aba9a5a4bd683cd43a891cfffaa36
Signed-off-by: Ruijing Guo <ruijing.guo@intel.com>
8 years agoRevert "Bug 3773: L2 EP is missing L3 Context + IP." 40/22940/1
Keith Burns [Thu, 18 Jun 2015 23:48:31 +0000 (23:48 +0000)]
Revert "Bug 3773: L2 EP is missing L3 Context + IP."

This reverts commit b39be843c7c41c13c3e5e053aa8f90ca9f572ae5.

Change-Id: I6b5a748c3838e982d8be0d23e1c09f05009f6c4b
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
(cherry picked from commit 2a7626f09ca3953b21a3412c7c6b212afa6e309f)

8 years agoMerge "Removal of POC."
Martin Sunal [Thu, 18 Jun 2015 22:23:08 +0000 (22:23 +0000)]
Merge "Removal of POC."

8 years agoMerge "Bug 3618: Tenant.OPER not removed when Tenant.CONF removed"
Keith Burns [Thu, 18 Jun 2015 22:09:45 +0000 (22:09 +0000)]
Merge "Bug 3618: Tenant.OPER not removed when Tenant.CONF removed"

8 years agoRemoval of POC. 20/22920/1
Keith Burns (alagalah) [Thu, 18 Jun 2015 19:03:32 +0000 (12:03 -0700)]
Removal of POC.

This will be handled via Vagrant etc.

Change-Id: I55156fd78de74dd8ab92dffbad13853c5044ab29
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoMerge "Bug 3746 added check if node is also in oper DS"
Keith Burns [Thu, 18 Jun 2015 19:02:35 +0000 (19:02 +0000)]
Merge "Bug 3746 added check if node is also in oper DS"

8 years agoMerge "Sonar bug fixes for SwitchManager.java"
Keith Burns [Thu, 18 Jun 2015 17:20:41 +0000 (17:20 +0000)]
Merge "Sonar bug fixes for SwitchManager.java"

8 years agoBug 3746 added check if node is also in oper DS 03/22903/1
Martin Sunal [Thu, 18 Jun 2015 16:18:40 +0000 (18:18 +0200)]
Bug 3746 added check if node is also in oper DS

Based on info from OF plugin team:
if a node exists in OPER DS then routed RPC implementation is already registered

Change-Id: I6a7a9f6b5cde60d7b47dcbb3761c921163d35415
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "BUG3517 - switched sigma topology to jointjs"
Keith Burns [Thu, 18 Jun 2015 16:20:35 +0000 (16:20 +0000)]
Merge "BUG3517 - switched sigma topology to jointjs"

8 years agoMerge "Bug 3446 - clear Inventory CONF augmentations"
Keith Burns [Thu, 18 Jun 2015 16:19:46 +0000 (16:19 +0000)]
Merge "Bug 3446 - clear Inventory CONF augmentations"

8 years agoBUG3517 - switched sigma topology to jointjs 86/22886/2
Juraj Sebin [Thu, 18 Jun 2015 13:50:36 +0000 (15:50 +0200)]
BUG3517 - switched sigma topology to jointjs

Change-Id: Ic1652cc50a9bdd17ec4c9e3abb77a04759f1c760
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
8 years agoBug 3446 - clear Inventory CONF augmentations 95/22895/1
Tomas Cechvala [Thu, 18 Jun 2015 12:20:11 +0000 (14:20 +0200)]
Bug 3446 - clear Inventory CONF augmentations

Inventory in CONF DS is cleared of tunnel and external interface
information when a switch manager connection disconnects.

Change-Id: If996c37947d71a57227ded49546120f1130272c7
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoBUG 3686 - Fixed refreshing selectboxes in contract detail 90/22890/1
Juraj Sebin [Thu, 18 Jun 2015 14:16:29 +0000 (16:16 +0200)]
BUG 3686 - Fixed refreshing selectboxes in contract detail

Change-Id: Ifc3d0c40a4cc81f6e219e41cab0678df02500bab
Signed-off-by: Zdenko Krnac <zkrnac@cisco.com>
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
8 years agoBug 3618: Tenant.OPER not removed when Tenant.CONF removed 12/22812/2
Konstantin Blagov [Fri, 12 Jun 2015 11:25:55 +0000 (13:25 +0200)]
Bug 3618: Tenant.OPER not removed when Tenant.CONF removed

Change-Id: I010489727f36c390ff4fe59f259e79c9a06968ae
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoBug 3690 - unit tests #4 40/21940/6
Kinsey Nietzsche [Fri, 5 Jun 2015 06:09:53 +0000 (08:09 +0200)]
Bug 3690 - unit tests #4

SwitchManager

Change-Id: Id83aac3065fa276a76c582fff354882b9166c7a1
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoBug 3608 - Floating IP notifications fixed. 40/22840/1
Keith Burns (alagalah) [Wed, 17 Jun 2015 23:25:27 +0000 (16:25 -0700)]
Bug 3608 - Floating IP notifications fixed.

- Also fixed nasty Map NPE for unregister/register EP.
- Overuse of Maps are the devil's hand-maiden.

Change-Id: I144a528c54df036217fedffc0a3c6deccc31867b
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoMerge "Bug 3791: Add gateway MAC to Prefix flowmod match."
Keith Burns [Wed, 17 Jun 2015 20:04:39 +0000 (20:04 +0000)]
Merge "Bug 3791: Add gateway MAC to Prefix flowmod match."

8 years agoMerge "Bug 3773: L2 EP is missing L3 Context + IP."
Keith Burns [Wed, 17 Jun 2015 20:01:54 +0000 (20:01 +0000)]
Merge "Bug 3773: L2 EP is missing L3 Context + IP."

8 years agoBug 3791: Add gateway MAC to Prefix flowmod match. 24/22824/1
Thomas Bachman [Wed, 17 Jun 2015 15:55:19 +0000 (11:55 -0400)]
Bug 3791: Add gateway MAC to Prefix flowmod match.

The current implementation of flow-mods for
Layer 3 IP prefixes doesn't provide a gateway
MAC address for the matcher. This patch creates
separate flow-mods for each subnet with a gateway
on the node for this prefix.

Change-Id: I11b652d5cfe714e2d7a112632e94826482a931d5
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
8 years agoBug 3608 - Distributed External Gateway - flows only needed on local node for VM 19/22819/1
Keith Burns (alagalah) [Wed, 17 Jun 2015 19:31:35 +0000 (12:31 -0700)]
Bug 3608 - Distributed External Gateway - flows only needed on local node for VM

Change-Id: Iacce577bd12cb6d08abeff2eea6d927b13caaaca
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoBug 3773: L2 EP is missing L3 Context + IP. 92/22792/1
Thomas Bachman [Wed, 17 Jun 2015 13:23:09 +0000 (09:23 -0400)]
Bug 3773: L2 EP is missing L3 Context + IP.

When an L2 EP is created after resolving the ARP
request for an external gateway, an external L2 EP
is created for it. That EP is missing the L3 information
(L3 Context + IP). This patch fixes that.

Change-Id: I55175773b697635e17c285be2cbc0af6fef1b2ec
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>