groupbasedpolicy.git
8 years agoFixed Subtree typo 49/31949/3
Keith Burns (alagalah) [Wed, 30 Dec 2015 11:30:29 +0000 (03:30 -0800)]
Fixed Subtree typo

Change-Id: I5d4be5257deb9441ff8a64d4a3f25c220fad8559
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoAdded SFs, EP handling, Resolved Policy for IOVisorRenderer 45/31745/14
Keith Burns (alagalah) [Mon, 21 Dec 2015 23:26:03 +0000 (15:26 -0800)]
Added SFs, EP handling, Resolved Policy for IOVisorRenderer

- Cleaned up some core utils and IidFactory
- adding addition of IOVisor Module entry when Endpoint Aug is present

Change-Id: If8c952cc9b6f891eca7b88ccd63d6378bb2be6c9
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoMerge "Directions and flow creation for symmetric chain corrected"
Keith Burns [Mon, 28 Dec 2015 00:07:40 +0000 (00:07 +0000)]
Merge "Directions and flow creation for symmetric chain corrected"

8 years agoFix for PolicyResolver multi-writer problem 12/31712/2
Martin Sunal [Mon, 21 Dec 2015 16:13:23 +0000 (17:13 +0100)]
Fix for PolicyResolver multi-writer problem

Problem:
There was a listener per Tenant. Listeners tried to store resolved-policies
to datastore concurrently.

Fix:
Only one listener is registered for wildcard tenant. The listener handles all changes
in tenants.

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoFix for Neutron NB change 31324 60/31860/1
Keith Burns (alagalah) [Thu, 24 Dec 2015 04:33:37 +0000 (20:33 -0800)]
Fix for Neutron NB change 31324

Change-Id: I5600f4f853f4edc215bea24ef4aee936515d6f43
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoDirections and flow creation for symmetric chain corrected 84/30984/3
Vladimir Lavor.com [Tue, 8 Dec 2015 07:39:07 +0000 (08:39 +0100)]
Directions and flow creation for symmetric chain corrected

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

8 years agoMerge "registration of action validators for to gbp-base"
Keith Burns [Wed, 16 Dec 2015 23:57:10 +0000 (23:57 +0000)]
Merge "registration of action validators for to gbp-base"

8 years agoMerge "Bug 3424 use MAC from external node connector"
Keith Burns [Wed, 16 Dec 2015 23:51:41 +0000 (23:51 +0000)]
Merge "Bug 3424 use MAC from external node connector"

8 years agoMerge "Add missing license headers"
Keith Burns [Wed, 16 Dec 2015 23:39:54 +0000 (23:39 +0000)]
Merge "Add missing license headers"

8 years agoMerge "Clean up permissions on demo"
Martin Sunal [Wed, 16 Dec 2015 22:51:49 +0000 (22:51 +0000)]
Merge "Clean up permissions on demo"

8 years agoregistration of action validators for to gbp-base 00/31200/3
Michal Cmarada [Fri, 11 Dec 2015 15:15:43 +0000 (16:15 +0100)]
registration of action validators for to gbp-base

Change-Id: I062305d5c22493eb1d0040244f09134129723947
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
8 years agoBug 3424 use MAC from external node connector 41/22941/4
Martin Sunal [Thu, 18 Jun 2015 22:18:21 +0000 (00:18 +0200)]
Bug 3424 use MAC from external node connector

Change-Id: I909cca7631eff92fa60d0c1375fde738956b8f0b
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "Tenant name changed to be consistent with CSIT."
Keith Burns [Wed, 16 Dec 2015 22:41:24 +0000 (22:41 +0000)]
Merge "Tenant name changed to be consistent with CSIT."

8 years agoAdd missing license headers 84/31384/1
Thanh Ha [Tue, 15 Dec 2015 23:46:08 +0000 (18:46 -0500)]
Add missing license headers

Change-Id: I6ebb47e4c9335682f16bff606108031770a61968
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoRegistered simple classifier-instance validators 33/30733/8
Martin Sunal [Fri, 4 Dec 2015 18:49:26 +0000 (19:49 +0100)]
Registered simple classifier-instance validators

- classifier-instance validators based on renderer's capabilities
- this simple classifier-instance validators are registerd automaticly
if PolicyValidatorRegistry is available

Change-Id: Ie418fb7cebbd38fc25fdb7daed4f6745ac0fbe98
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agomaking service for PolicyResolver and EndpointRpcRegistry 13/30913/8
Michal Cmarada [Tue, 8 Dec 2015 14:18:31 +0000 (15:18 +0100)]
making service for PolicyResolver and EndpointRpcRegistry

Change-Id: Ieb489292492a87be72800dde7841330eb1b3db9b
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.sk>
Signed-off-by: Vladimir Lavor <vladimir.lavor@pantheon.sk>
8 years agoClean up permissions on demo 93/31093/1
Keith Burns (alagalah) [Wed, 9 Dec 2015 19:31:50 +0000 (11:31 -0800)]
Clean up permissions on demo

Change-Id: I5a05811790026028da02a0cc04a8af5e49c5f973
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoFix .gitignore 69/31069/1
Robert Varga [Wed, 9 Dec 2015 13:04:06 +0000 (14:04 +0100)]
Fix .gitignore

renderers/ofoverlay/src/test/java/org/opendaylight/groupbasedpolicy/resolver/ should
not be ignored.

Change-Id: Ia7d0e24c948bb160fda0549fcb9686df81e0ae9a
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoBug 4724 added containers to tenant 01/30901/8
Martin Sunal [Mon, 7 Dec 2015 10:24:11 +0000 (11:24 +0100)]
Bug 4724 added containers to tenant

Change-Id: Ibec940580f8ef9f741cdc4b4adf3f01bbf477e51
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoTenant name changed to be consistent with CSIT. 28/30928/5
Dileep [Mon, 7 Dec 2015 11:29:50 +0000 (03:29 -0800)]
Tenant name changed to be consistent with CSIT.

Change-Id: I582919e11a262f743512115a8a71cc90ec9c3cc3
Signed-off-by: Dileep <dileep.ranganathan@intel.com>
8 years agoadded .gitignore for demos 29/30929/2
Martin Sunal [Mon, 7 Dec 2015 19:50:23 +0000 (20:50 +0100)]
added .gitignore for demos

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoadded demos to the repo 19/30919/1
Martin Sunal [Mon, 7 Dec 2015 17:10:46 +0000 (18:10 +0100)]
added demos to the repo

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMoving of classes between packages in groupbasedpolicy 66/30666/4
Martin Sunal [Thu, 3 Dec 2015 22:27:27 +0000 (23:27 +0100)]
Moving of classes between packages in groupbasedpolicy

- classes are in packages based on type
- introduced EpRendererAugmentationRegistrar, PolicyValidatorRegistrar

Change-Id: Ia603624eeebd52821802f30f0adb2f18c5a59627
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoRemoved PolicyListener and PolicyResolver methods 12/30512/10
Martin Sunal [Wed, 2 Dec 2015 21:58:58 +0000 (22:58 +0100)]
Removed PolicyListener and PolicyResolver methods

- renderer should listen on resolved-policy from resolved-policy.yang
- removed public methods from PolicyResolver

Change-Id: Ife1e165b7264910a5be2f859b72f2b454dd04027
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoAdded interests to renderer.yang 88/30488/4
Martin Sunal [Wed, 2 Dec 2015 14:23:56 +0000 (15:23 +0100)]
Added interests to renderer.yang

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoAdd a REST APIs support for IOVIsor module 09/30409/4
adetalhouet [Mon, 30 Nov 2015 23:25:25 +0000 (18:25 -0500)]
Add a REST APIs support for IOVIsor module

- provide aaa authentication
- path is: /controller/sb/iovisor/{SERVICE}

For now we have one service being: /policies
Through this one we will POST a list of policies for the
IOVisor module to GET.

To play with thee REST interface, you can use this
postman collection: https://www.getpostman.com/collections/3b1fe6ef1ec0ead72ee7

Another patch will implement the POST correctly

Change-Id: I5186df6b5d0501dca8b244bfd04e22dd54649b40
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoRemoved mocks from unit tests 34/30434/3
Martin Sunal [Tue, 1 Dec 2015 13:26:08 +0000 (14:26 +0100)]
Removed mocks from unit tests

removed mocks breaking API contracts

Change-Id: Ie18f75c213d78c053102722f29450ed209ddb492
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoAdd IovisorModule manager and listener 55/30355/3
adetalhouet [Sun, 29 Nov 2015 22:32:07 +0000 (17:32 -0500)]
Add IovisorModule manager and listener

Change-Id: Icf4cef2e03ef42c085aabca8a0bd0a984bb3e687
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoMerge "Simplifying validators"
Keith Burns [Mon, 30 Nov 2015 19:59:17 +0000 (19:59 +0000)]
Merge "Simplifying validators"

8 years agoSimplifying validators 25/30225/7
Tomas Cechvala [Thu, 19 Nov 2015 11:53:33 +0000 (12:53 +0100)]
Simplifying validators

Complicated validation code made simpler.
Added methods for registering classif instance validator.

Change-Id: I428f5d13b07bd1d0d40dff02c29334e329e7fb04
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoUse odlparent-lite as artifacts parent 38/30338/1
Thanh Ha [Sun, 29 Nov 2015 22:01:14 +0000 (17:01 -0500)]
Use odlparent-lite as artifacts parent

We created odlparent-lite to provide a minimal pom which allows projects
to publish to the correct server. Without this ${project}-artifacts may
fail to deploy to Nexus.

Change-Id: I23b0fbf52425b638f4c86fd089062e5d1150c799
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge "Rework IOVisor model and validate IovisorModuleInstance on Endpoint created...
Keith Burns [Fri, 27 Nov 2015 21:07:50 +0000 (21:07 +0000)]
Merge "Rework IOVisor model and validate IovisorModuleInstance on Endpoint created events"

8 years agoMerge "Update IidFactoryTest to use non-deprecated function"
Keith Burns [Fri, 27 Nov 2015 21:07:28 +0000 (21:07 +0000)]
Merge "Update IidFactoryTest to use non-deprecated function"

8 years agoMerge "Add endpointIid(EndpointKey enpointKey) in IidFactory"
Keith Burns [Fri, 27 Nov 2015 21:05:07 +0000 (21:05 +0000)]
Merge "Add endpointIid(EndpointKey enpointKey) in IidFactory"

8 years agoRework IOVisor model and validate IovisorModuleInstance on Endpoint created events 63/30263/6
adetalhouet [Thu, 26 Nov 2015 16:08:04 +0000 (11:08 -0500)]
Rework IOVisor model and validate IovisorModuleInstance on Endpoint created events

Change-Id: Id80f1b58e3b837ce6d17f0ffbf29b999ce1e7b58
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoUpdate IidFactoryTest to use non-deprecated function 68/30268/1
adetalhouet [Thu, 26 Nov 2015 19:56:20 +0000 (14:56 -0500)]
Update IidFactoryTest to use non-deprecated function

firstKeyOf(Class, Class) was deprecated in favor of firstKeyOf(Class)

Change-Id: I6543565db3bf4963a691703aad72faab203ef60b
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoAdd endpointIid(EndpointKey enpointKey) in IidFactory 62/30262/4
adetalhouet [Thu, 26 Nov 2015 16:07:17 +0000 (11:07 -0500)]
Add endpointIid(EndpointKey enpointKey) in IidFactory

Get the Endpoint InstanceIdentifier using the EndpointKey

Change-Id: I5e9442c01848260e8ccdbd9d1d751b714ba93937
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoFix for incorrect RspName from SfpName 12/29412/4
Keith Burns (alagalah) [Sat, 7 Nov 2015 19:50:19 +0000 (11:50 -0800)]
Fix for incorrect RspName from SfpName

- added Tenant ID for unique RSP

Change-Id: I882c43e5d6856eaa51f8e408a7353ee8878fe826
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoFixed issues with registration point for renderers 31/30231/4
Martin Sunal [Thu, 26 Nov 2015 08:53:53 +0000 (09:53 +0100)]
Fixed issues with registration point for renderers

- missing keys in instance-identifiers
- wrong params in supported classifier defs
- added action definition and action capabilities

Change-Id: I2878d92ec6f17777fe6438825fac60e14e204fc4
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoUUIDs be gone. 19/30219/2
Keith Burns (alagalah) [Thu, 26 Nov 2015 02:03:04 +0000 (18:03 -0800)]
UUIDs be gone.

Change-Id: I6b846a6778d1b963e9a3b369e49f57801ea6431d
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoremoved need for getInterfaces call 49/29749/5
Matej Perina [Tue, 24 Nov 2015 13:07:30 +0000 (14:07 +0100)]
removed need for getInterfaces call

Change-Id: I9b7f3b32f0fb4265981dfaee9e47cf6f13bae26a
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoEndpointRpc provider in groupbasedpolicy 47/29747/6
Matej Perina [Tue, 24 Nov 2015 10:22:05 +0000 (11:22 +0100)]
EndpointRpc provider in groupbasedpolicy

EndpointRpcService is changed to be created by groupbasedpolicy modul
and renderers only register their EpRendererAugmentation implementation

Change-Id: I223346b6d89b82e05fe83935b0e90bfe1b9cb0e8
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoRegistration point for renderer capabilities 42/29642/14
Martin Sunal [Fri, 13 Nov 2015 11:49:49 +0000 (12:49 +0100)]
Registration point for renderer capabilities

Change-Id: Ifa5db51b89c499926c088deafec454e81e7b3fbc
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoMove definitions of classifiers and actions to 63/28963/12
Konstantin Blagov [Thu, 29 Oct 2015 17:47:49 +0000 (18:47 +0100)]
Move definitions of classifiers and actions to
groupbasedpolicy module

Change-Id: Ifa612dee83f9c6b7d8bf20d0707dbd58a3e8ead4
Signed-off-by: Peter Palmar <peter.palmar@pantheon.sk>
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge changes from topic 'iovisor-renderer'
Keith Burns [Fri, 20 Nov 2015 01:43:40 +0000 (01:43 +0000)]
Merge changes from topic 'iovisor-renderer'

* changes:
  Instantiate IovisorRenderer in the IovisorProviderModule
  Add Endpoint Manager and Listener

8 years agoMerge "Add IOVisor module location augmentation"
Keith Burns [Fri, 20 Nov 2015 01:43:27 +0000 (01:43 +0000)]
Merge "Add IOVisor module location augmentation"

8 years agoInstantiate IovisorRenderer in the IovisorProviderModule 95/29895/3
adetalhouet [Wed, 18 Nov 2015 21:32:46 +0000 (16:32 -0500)]
Instantiate IovisorRenderer in the IovisorProviderModule

Change-Id: I74b30556026a5b83427df9a806802528a5289468
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoAdd Endpoint Manager and Listener 94/29894/3
adetalhouet [Wed, 18 Nov 2015 21:30:23 +0000 (16:30 -0500)]
Add Endpoint Manager and Listener

Change-Id: Ia24206237751b2035cbf2206a6d67ff6e5543b78
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoAdd IOVisor module location augmentation 93/29893/1
adetalhouet [Wed, 18 Nov 2015 21:29:31 +0000 (16:29 -0500)]
Add IOVisor module location augmentation

Change-Id: Ib9240de94cd95c38cb299d607c791736c7186030
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoMerge "Added new tests for EndPointRpcRegistry"
Keith Burns [Wed, 18 Nov 2015 19:44:07 +0000 (19:44 +0000)]
Merge "Added new tests for EndPointRpcRegistry"

8 years agoAdded new tests for EndPointRpcRegistry 81/25281/3
Igor Bartak [Fri, 14 Aug 2015 09:03:07 +0000 (11:03 +0200)]
Added new tests for EndPointRpcRegistry

Signed-off-by: Igor Bartak <ibartak@cisco.com>
Change-Id: I7304196e2ca83d71a5c0cc5eaf84129817021d99

8 years agoFix wrong package name 75/29875/1
adetalhouet [Wed, 18 Nov 2015 17:55:38 +0000 (12:55 -0500)]
Fix wrong package name

Change-Id: I45a31449a7a0ff5d9885d121b088acb1493ddb44
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoRemove duplicate dependency declaration 17/29517/2
Robert Varga [Mon, 9 Nov 2015 08:11:58 +0000 (09:11 +0100)]
Remove duplicate dependency declaration

Maven complains about it, remove it.

Change-Id: I8c77c38ffddbdc4e9af75ac425f1bf011112462f
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoAdding mgmt traffic to Network Services 11/29411/5
Keith Burns (alagalah) [Sat, 7 Nov 2015 14:11:01 +0000 (06:11 -0800)]
Adding mgmt traffic to Network Services

Change-Id: Ie32822871499a12556094d2abb40007e22171b29
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoMerge "New features"
Martin Sunal [Fri, 6 Nov 2015 19:44:58 +0000 (19:44 +0000)]
Merge "New features"

8 years agoNew features 35/29235/5
Keith Burns (alagalah) [Wed, 4 Nov 2015 02:27:28 +0000 (18:27 -0800)]
New features

- IOVisor renderer
- OVSSFC renderer
- Netconf renderer

Change-Id: Ie061a9dd99bd4fa6c1c77399e9616c9f9bb3eff3
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoBug 4106 - tunnel output in group mods 76/28376/3
Tomas Cechvala [Wed, 2 Sep 2015 12:48:17 +0000 (14:48 +0200)]
Bug 4106 - tunnel output in group mods

Added tunnel output on local node to remote nodes on which endpoints
  - are in the same flood domain as local endpoint
  - have resolved policy with a local endpoint
E.g. endpoint wants to communicate with DHCP server which is in
diferent EPG and on different node (vSwitch), but in the same flood domain.

Change-Id: Idd322f1b4b143cd2149caa82823d44a5e31d77b6
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoClean up pom file - part 2 06/29206/8
adetalhouet [Tue, 3 Nov 2015 17:09:32 +0000 (12:09 -0500)]
Clean up pom file - part 2

- remove jaccoco plugin definition to use the one from odlparent

Change-Id: Iadfa794589aa96411b416799b7ba0983c2ea24fe
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
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>