groupbasedpolicy.git
8 years agoUpdate of BaseEndpointRpcRegistry 39/38939/9
Michal Cmarada [Wed, 18 May 2016 13:22:30 +0000 (15:22 +0200)]
Update of BaseEndpointRpcRegistry

- adding Verification of RPC Input
- adding update of Endpoints in op DS
- Unit tests

Change-Id: Ic709f7a47f3aeed7e46201d17ed54d297c8031bc
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
8 years agoAdded missing order to policy-rule-group 82/38982/2
Martin Sunal [Tue, 17 May 2016 15:40:51 +0000 (17:40 +0200)]
Added missing order to policy-rule-group

- policy-rule-group should contain order
- fixed fields of containment-endpoint-with-location in renderer.yang

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoContainment endpoint can only have relative location 47/38947/4
Martin Sunal [Mon, 16 May 2016 20:44:33 +0000 (22:44 +0200)]
Containment endpoint can only have relative location

Containment endpoint must not contain real location because
containment endpoint represents part of forwarding context
which is out of policy domain(It also means that containment endpoint
can be located only in EIG EPG)

Change-Id: I7b7147c2c23f7bf1bcca116c99970dbb52e9707d
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "Editing network containment of endpoints"
Martin Sunal [Wed, 18 May 2016 11:53:14 +0000 (11:53 +0000)]
Merge "Editing network containment of endpoints"

8 years agoMerge "initial contracts work"
Martin Sunal [Wed, 18 May 2016 08:43:05 +0000 (08:43 +0000)]
Merge "initial contracts work"

8 years agoMerge "New tests for listeners"
Martin Sunal [Wed, 18 May 2016 08:36:53 +0000 (08:36 +0000)]
Merge "New tests for listeners"

8 years agoEditing network containment of endpoints 76/38976/2
Tomas Cechvala [Tue, 17 May 2016 14:05:51 +0000 (16:05 +0200)]
Editing network containment of endpoints

Network containment can refer to
 - forwarding-context, e.g. l2-flood-domain
 - network-domain, e.g. subnet

Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoSimplified renderer API 46/38946/1
Martin Sunal [Mon, 16 May 2016 20:03:40 +0000 (22:03 +0200)]
Simplified renderer API

Pros
- renderer API is more clear
- easy to process config by renderer
- fixes cases which were not possible to have eg.:
  EP1--EPG_BLUE---SUBJECT_1---(P)EPG_PURPLE--EP2
  EP3--EPG_RED----SUBJECT_1---(P)EPG_GREY--EP4
Cons
- repeated data for endpoints with same policy

This commit also depricates domain specific endpoint contstraints
in policy.yang

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoNew tests for listeners 33/38933/1
Konstantin Blagov [Fri, 13 May 2016 13:09:43 +0000 (15:09 +0200)]
New tests for listeners

Change-Id: I1fccb761c5e1cfae742d03b18a98c093a3af6aa4
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoGBP tests: fixes for unnecessary mocking, method naming and other 29/38229/4
Konstantin Blagov [Mon, 25 Apr 2016 13:21:45 +0000 (15:21 +0200)]
GBP tests: fixes for unnecessary mocking, method naming and other
improvements

Change-Id: I69c75e13b87c3a22c5cb937395d5e3386dc37f2a
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoMerge "EPG controller and service"
Martin Sunal [Mon, 16 May 2016 12:50:49 +0000 (12:50 +0000)]
Merge "EPG controller and service"

8 years agoinitial contracts work 64/38564/5
Michal Kovacik [Mon, 9 May 2016 09:20:06 +0000 (11:20 +0200)]
initial contracts work

contract services added, controller updated, TMP updated

Signed-off-by: Michal Kovacik <michal.kovacik@pantheon.tech>
8 years agoOFoverlay statistics test improvement 27/38227/4
Konstantin Blagov [Mon, 18 Apr 2016 16:21:51 +0000 (18:21 +0200)]
OFoverlay statistics test improvement

Change-Id: I3fa9cbf38fd2b66b886eda110db3ad6cc67d9727
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoModifying neutronmapper feature 89/38389/4
Tomas Cechvala [Wed, 4 May 2016 22:06:50 +0000 (00:06 +0200)]
Modifying neutronmapper feature

Removing ofoverlay and neutron-ovsdb from
odl-groupbasedpolicy-neutronmapper feature.

Adding odl-groupbasedpolicy-neutron-and-neutronmapper
feature to ease bundles instalation.

Change-Id: I629bc3b9df1069f4c5ed803be15839e2f5318c8e
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoMerge "Tenant crud part 1"
Martin Sunal [Mon, 16 May 2016 06:47:31 +0000 (06:47 +0000)]
Merge "Tenant crud part 1"

8 years agoGBP ofoverlay.sf test improvements 28/38228/3
Konstantin Blagov [Thu, 28 Apr 2016 13:38:45 +0000 (15:38 +0200)]
GBP ofoverlay.sf test improvements

Change-Id: Ieff99ffcc515c57d9b7a603df18928d9cd12a208
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoNeutron-mapper uses only DTOs from neutron.yang 60/38260/16
Tomas Cechvala [Fri, 13 May 2016 10:11:46 +0000 (12:11 +0200)]
Neutron-mapper uses only DTOs from neutron.yang

Change-Id: I16481115ddf18628d624dfc51862b327a1b06317
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoTenant crud part 1 71/38871/1
Daniel Malachovsky [Fri, 13 May 2016 13:12:43 +0000 (15:12 +0200)]
Tenant crud part 1

- popup forms example
- tenant form
- put is working

Change-Id: I1509df72ad4e430190b7239283e86d0af5b4de35
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoMerge "Split resolved-policy to provided and consumed"
Keith Burns [Thu, 12 May 2016 14:26:16 +0000 (14:26 +0000)]
Merge "Split resolved-policy to provided and consumed"

8 years agoEPG controller and service 62/38562/5
Ľubomír Balogh [Mon, 9 May 2016 08:55:42 +0000 (10:55 +0200)]
EPG controller and service

Signed-off-by: Ľubomír Balogh <lubomir.balogh@pantheon.local>
8 years agoAngular material libraries include 30/38430/5
Daniel Malachovsky [Tue, 10 May 2016 11:29:22 +0000 (13:29 +0200)]
Angular material libraries include

- npm and bower install added
- .bowerrc and bower.json and package.json files added
- layout started
- proper (?) routing added
- tenant table added

Change-Id: I1f36f74f2d0b070dcda6c52e9c10d1a9dd4f643d
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoMerge "Tenant, EPG, Contract initial commit"
Martin Sunal [Thu, 12 May 2016 13:03:00 +0000 (13:03 +0000)]
Merge "Tenant, EPG, Contract initial commit"

8 years agoSplit resolved-policy to provided and consumed 61/38761/1
Martin Sunal [Thu, 12 May 2016 12:56:18 +0000 (14:56 +0200)]
Split resolved-policy to provided and consumed

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoNeLocationProvider 07/37607/14
Matej Perina [Thu, 12 May 2016 08:39:50 +0000 (10:39 +0200)]
NeLocationProvider

Change-Id: I903687c182265592e2f3b904e804655128793c1c
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoTenant, EPG, Contract initial commit 24/38424/2
Daniel Malachovsky [Thu, 5 May 2016 13:32:32 +0000 (15:32 +0200)]
Tenant, EPG, Contract initial commit

- added Tenant files with examples how to use
- added empty EPG and Contract files

Change-Id: I4ea6a09e14cea801d2cbf67b137dc57ac166f2d9
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoMerge "adding IntelliJ IDEA project files to .gitignore"
Martin Sunal [Tue, 10 May 2016 07:34:36 +0000 (07:34 +0000)]
Merge "adding IntelliJ IDEA project files to .gitignore"

8 years agoImplementing base endpoint rpc registry 10/38410/8
Michal Cmarada [Mon, 9 May 2016 16:38:05 +0000 (18:38 +0200)]
Implementing base endpoint rpc registry

Change-Id: Ie571b9b06921cbecd1fd39b8b0ecefbfc9a42e45
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
8 years agoIntroduced renderer yang API 31/37431/17
Martin Sunal [Mon, 11 Apr 2016 11:07:14 +0000 (13:07 +0200)]
Introduced renderer yang API

renderer.yang

Change-Id: I5ff655a9e0b5d9b98fcbcbbed34614672b8302d6
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoIntroduced forwarding.yang and l2-l3-forwarding.yang 87/38387/6
Martin Sunal [Wed, 4 May 2016 21:47:21 +0000 (23:47 +0200)]
Introduced forwarding.yang and l2-l3-forwarding.yang

forwarding.yang is generic forwarding model. Its elements are used
  in endpoints from base-endpoint.yang
l2-l3-forwarding.yang contains forwarding model specific for L2 and L3
  networking. It also augments forwarding.yang with further information

Change-Id: I3343bee9ae1ba40963fb3be9592e6b5178b3c3d9
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoadding IntelliJ IDEA project files to .gitignore 09/38409/1
Michal Cmarada [Thu, 5 May 2016 08:31:12 +0000 (10:31 +0200)]
adding IntelliJ IDEA project files to .gitignore

Change-Id: Ia737e0da8a08eb290b15cdf47353bf8b8e9d7912
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
8 years agomake both templates reqiured when registering EP 18/38318/3
Michal Rehak [Mon, 2 May 2016 17:52:12 +0000 (19:52 +0200)]
make both templates reqiured when registering EP

    - fixed unit tests
    - changed template resolution
    - only if both templates are present then EP is registered
    - migrated to base-endpoint model

Change-Id: I1bda438a10ab5f71b1158485def689c3a406b3a0
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoTranslate fix in old UI, loading controller new UI fix 64/38264/2
Daniel Malachovsky [Mon, 2 May 2016 11:19:05 +0000 (13:19 +0200)]
Translate fix in old UI, loading controller new UI fix

Change-Id: I8bf6c48d6baf9a59b99a2da980ce078637de567d
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoMerge "gbp-old ui folders structure changed, new ui components"
Martin Sunal [Tue, 3 May 2016 15:05:36 +0000 (15:05 +0000)]
Merge "gbp-old ui folders structure changed, new ui components"

8 years agoIntroduced base-endpoint.yang 72/38172/7
Martin Sunal [Wed, 27 Apr 2016 21:38:59 +0000 (23:38 +0200)]
Introduced base-endpoint.yang

this model should be used instead of endpoint.yang
endpoint.yang will be deprecated

yang contains:
- address-endpoints
- containment-endpoints
- endpoint-locations

Change-Id: I0ffce0a47801776bf5dec6fd223b4519aa04f755
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agogbp-old ui folders structure changed, new ui components 04/38204/3
Daniel Malachovsky [Thu, 28 Apr 2016 16:33:24 +0000 (18:33 +0200)]
gbp-old ui folders structure changed, new ui components

- rebased

Change-Id: I107f12235e5cfc6c73e28e246c9b05aa0c291a16
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoMerge "Use AAAShiroFilter as TokenAuthFilter was deprecated in Be"
Keith Burns [Mon, 2 May 2016 12:56:13 +0000 (12:56 +0000)]
Merge "Use AAAShiroFilter as TokenAuthFilter was deprecated in Be"

8 years agoMerge "soften reaction of listeners on empty sxp-master-DB"
Martin Sunal [Mon, 2 May 2016 12:34:48 +0000 (12:34 +0000)]
Merge "soften reaction of listeners on empty sxp-master-DB"

8 years agoMove groupbasedpolicy-ui to groupbased-old-ui 87/38187/2
Daniel Malachovsky [Thu, 28 Apr 2016 09:21:56 +0000 (11:21 +0200)]
Move groupbasedpolicy-ui to groupbased-old-ui

Preparation for new GBP UI. Moving all old ui files do *old* folder

Change-Id: I054280f070d769fd3f4176a2179f2f1a9bdd4af3
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agosoften reaction of listeners on empty sxp-master-DB 65/38265/1
Michal Rehak [Tue, 26 Apr 2016 14:30:42 +0000 (16:30 +0200)]
soften reaction of listeners on empty sxp-master-DB

    - added simplistic EP registration content (l3address)
    - added SKIP if ep-l3 exists
    - added SKIP if announced ip-sgt binding contains subnet

Change-Id: I61a25fd098d4a740f0987cf0ced4a0c1f1e2f96b
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoUse AAAShiroFilter as TokenAuthFilter was deprecated in Be 31/37931/2
Ryan Goulding [Wed, 20 Apr 2016 17:06:44 +0000 (13:06 -0400)]
Use AAAShiroFilter as TokenAuthFilter was deprecated in Be

Use the correct shiro filter for GBP endpoints.

Change-Id: I50ba3c1e51c13870f4f84f24f0620fd85f31f582
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agowired sxp-mapper features to gbp distro 15/38115/2
Michal Rehak [Wed, 20 Apr 2016 16:42:52 +0000 (18:42 +0200)]
wired sxp-mapper features to gbp distro

Change-Id: I5fc4ab45ff008c68f08b8d3b38362b3dd3e144f7
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoadded default-config.xml 73/37973/3
Michal Rehak [Wed, 20 Apr 2016 16:37:22 +0000 (18:37 +0200)]
added default-config.xml

Change-Id: I430f43831592d6a9fbaaf56dd56d5a46c153a37d
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoMerge "Leaving deprecated API in Neutron-Mapper"
Martin Sunal [Tue, 26 Apr 2016 14:52:07 +0000 (14:52 +0000)]
Merge "Leaving deprecated API in Neutron-Mapper"

8 years agoadded tests, fixed ipPrefix based lookup 72/37972/4
Michal Rehak [Tue, 19 Apr 2016 17:51:34 +0000 (19:51 +0200)]
added tests, fixed ipPrefix based lookup

Change-Id: I52f607f3e58d9fe198f587c3cd80452fc02e0bf4
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoadded initial reading of MasterDb and ep-templates 71/37971/3
Michal Rehak [Thu, 14 Apr 2016 15:52:42 +0000 (17:52 +0200)]
added initial reading of MasterDb and ep-templates

    - added 2 phase lookup for forwarding template cached dao (plain/subnet)

Change-Id: I47fd0fe8cdc262f33fde27533177cc7e93a0f4c6
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agointroduced Daos and Listeners 70/37970/3
Michal Rehak [Wed, 13 Apr 2016 15:43:15 +0000 (17:43 +0200)]
introduced Daos and Listeners

Change-Id: Idde19d276fa092d03c004d4c3c2aba75cb91a88d
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agointroduces basic sxp infrastructure 69/37969/3
Michal Rehak [Thu, 10 Mar 2016 13:27:07 +0000 (14:27 +0100)]
introduces basic sxp infrastructure

    - listeners
    - sxp-mapper reactor
    - L3EPDao
    - copyright headers

Change-Id: Ifd1ff1e70669bc3107c9697e3815591ca4d0281f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoLeaving deprecated API in Neutron-Mapper 33/37733/9
Tomas Cechvala [Mon, 18 Apr 2016 15:41:47 +0000 (17:41 +0200)]
Leaving deprecated API in Neutron-Mapper

Implementation of DS listener. All the changes
should be learned from DS since upstream Neutron
project is deprecating it's OSGI services API.

Change-Id: I0648fd0ee46cfa80684598706541696849b79384
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoMerge "fixed models"
Martin Sunal [Mon, 25 Apr 2016 11:23:03 +0000 (11:23 +0000)]
Merge "fixed models"

8 years agoMerge "added module and artifact for sxp-mapper"
Martin Sunal [Mon, 25 Apr 2016 11:21:34 +0000 (11:21 +0000)]
Merge "added module and artifact for sxp-mapper"

8 years agofixed models 68/37968/3
Michal Rehak [Tue, 8 Mar 2016 10:27:01 +0000 (11:27 +0100)]
fixed models

    + updated template (network-containment)
    + added copyright header

Change-Id: I3988599c0f3d3f1e0a8bc9d28b7bb03738867b02
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoMerge "added endpoint-locations yang"
Martin Sunal [Mon, 25 Apr 2016 08:08:09 +0000 (08:08 +0000)]
Merge "added endpoint-locations yang"

8 years agoadded module and artifact for sxp-mapper 67/37967/3
Michal Rehak [Wed, 2 Mar 2016 15:01:14 +0000 (16:01 +0100)]
added module and artifact for sxp-mapper

    - added copyrigth headers for generated module+factory

Change-Id: Ia916f474bc9dc9d8f80ab5af6e5cfc0f496fd0bc
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoMerge "sxp-mapper fixed dependencies"
Martin Sunal [Mon, 25 Apr 2016 07:46:47 +0000 (07:46 +0000)]
Merge "sxp-mapper fixed dependencies"

8 years agoadded endpoint-locations yang 71/37871/6
Matej Perina [Thu, 21 Apr 2016 13:22:22 +0000 (15:22 +0200)]
added endpoint-locations yang

Change-Id: Icd59ca4a7297bddc17df5592e015bad323693eb4
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agosxp-mapper fixed dependencies 31/38031/1
Michal Rehak [Wed, 2 Mar 2016 14:59:17 +0000 (15:59 +0100)]
sxp-mapper fixed dependencies

    - bumped all to master

Change-Id: Icb0ce73baaf07ab062692bbcacdf5cc5bc80c18f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoFixes for tests failing on Jenkins autorelease job 30/38030/1
Konstantin Blagov [Fri, 22 Apr 2016 15:34:10 +0000 (17:34 +0200)]
Fixes for tests failing on Jenkins autorelease job

Change-Id: Id700f9a2bab380e54b1b779f807bf481f838e2b0
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoBug 5510 - Modifying DataTreeChangeHandler 10/37410/9
Tomas Cechvala [Wed, 20 Apr 2016 10:54:19 +0000 (12:54 +0200)]
Bug 5510 - Modifying DataTreeChangeHandler

Listener registration moved out from constructor
to overcome cases when data already exist in DS
and change event might be received before class
initialization is finished.

Change-Id: I7898eb4fa9472e91b8cff2d127d9beb51b55c3de
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoMerge "added dependencies for models"
Martin Sunal [Thu, 21 Apr 2016 19:08:56 +0000 (19:08 +0000)]
Merge "added dependencies for models"

8 years agoMerge "initial commit - sxp-mapper project created"
Martin Sunal [Thu, 21 Apr 2016 18:33:52 +0000 (18:33 +0000)]
Merge "initial commit - sxp-mapper project created"

8 years agoGBP core tests improvements 84/37984/2
Konstantin Blagov [Wed, 16 Mar 2016 16:41:37 +0000 (17:41 +0100)]
GBP core tests improvements

Change-Id: Ic932f856bb92059bf9ab033086bbc3baec8f59e5
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoadded dependencies for models 66/37966/1
Michal Rehak [Wed, 2 Mar 2016 17:53:17 +0000 (18:53 +0100)]
added dependencies for models

Change-Id: I92726834adf5c7dc06b114d4eba8f17848e38a26
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoinitial commit - sxp-mapper project created 65/37965/1
Michal Rehak [Wed, 2 Mar 2016 14:59:17 +0000 (15:59 +0100)]
initial commit - sxp-mapper project created

Change-Id: Ifd9a153e8e1308aaff3a0f45248635cb41f8376e
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoBug 5749 - cannot resolve L2 ep for ext GW 97/37797/2
Tomas Cechvala [Tue, 19 Apr 2016 11:07:37 +0000 (13:07 +0200)]
Bug 5749 - cannot resolve L2 ep for ext GW

Subnet GW may also be an external endpoint.
It has not been considered before.

Change-Id: I260c151608c2e28e769708f1a4d7e57f4bf7619c
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoAdd dependency on javax.validation validation-api 54/37554/1
Ryan Goulding [Wed, 13 Apr 2016 15:21:37 +0000 (11:21 -0400)]
Add dependency on javax.validation validation-api

In order to upgrade to org.eclipse.persistence to 2.6.0+ in odlparent,
downstream consumers must include the dependency on javax.validation
validation-api version 1.1.0.Final as described here:

http://stackoverflow.com/questions/28568154/
how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3

The work to upgrade odlparent's moxy version is included in this patch:
https://git.opendaylight.org/gerrit/#/c/37541/

Change-Id: I950cf10e58f96d16abe6a99ace9273d70cd8eda5
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoMerge "Do not deploy the karaf artifact"
Martin Sunal [Tue, 12 Apr 2016 19:50:23 +0000 (19:50 +0000)]
Merge "Do not deploy the karaf artifact"

8 years agoBug 5617: policy enforcer symmetric action chain fix 92/37492/1
Matej Perina [Tue, 12 Apr 2016 11:45:48 +0000 (13:45 +0200)]
Bug 5617: policy enforcer symmetric action chain fix

Change-Id: I4a2e71891b01a5344fe5af8a6267cebbfcd3d116
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoDo not deploy the karaf artifact 67/36367/2
Thanh Ha [Wed, 16 Mar 2016 23:15:14 +0000 (19:15 -0400)]
Do not deploy the karaf artifact

The karaf artifact is only used for testing. It does not need to be
released to the world.

Change-Id: I0894ac9f45dbc80b26162d5557abed7fd008e3b6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBug 5617: Added UT for GroupTable and ChainActionFlows 07/37207/1
Vladimir Lavor [Wed, 30 Mar 2016 14:13:22 +0000 (16:13 +0200)]
Bug 5617: Added UT for GroupTable and ChainActionFlows

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Change-Id: I2a45247bbc7a3b611baa6a1cf55b26da06ef9232
(cherry picked from commit 619e7bf903b9f096af6617432350b9e8b5ff072a)

8 years agoBug 5617: OfOverlay Refactoring - Destination mapper 83/37183/1
Vladimir Lavor [Mon, 21 Mar 2016 14:04:52 +0000 (15:04 +0100)]
Bug 5617: OfOverlay Refactoring - Destination mapper

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Change-Id: I7e1ac58b066f8eda1a5c989d1980459ee22a1960

8 years agoBug 5617: OfOverlay refactoring - Source Mapper 42/37142/1
Vladimir Lavor [Mon, 21 Mar 2016 10:55:42 +0000 (11:55 +0100)]
Bug 5617: OfOverlay refactoring - Source Mapper

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Change-Id: I2fa6b9a38d9a4b221308045c55ac6af425b7ce70

8 years agoBug 5617: ExternalMapper refactoring 53/37053/1
Matej Perina [Fri, 1 Apr 2016 13:53:09 +0000 (15:53 +0200)]
Bug 5617: ExternalMapper refactoring

Change-Id: I11869b14877599b6314c7bc5f93d8223a10d248d
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBug 5617: policy enforcer refactor 99/36999/1
Matej Perina [Fri, 1 Apr 2016 08:40:24 +0000 (10:40 +0200)]
Bug 5617: policy enforcer refactor

Change-Id: Ic2df05411fce29f3538464f06650f835cc284874
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBug 5409 - setting orders in single rule contract 12/35912/2
Tomas Cechvala [Mon, 22 Feb 2016 09:39:21 +0000 (10:39 +0100)]
Bug 5409 - setting orders in single rule contract

Rules and subjects are prioritized by order parameter.
More specific rules have lower order.

Change-Id: Ieb9948b2e9281e378341775509dd09a144dda3f8
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoMerge "Use pre-compiled Pattern for replacement"
Martin Sunal [Wed, 30 Mar 2016 08:09:45 +0000 (08:09 +0000)]
Merge "Use pre-compiled Pattern for replacement"

8 years agoUse pre-compiled Pattern for replacement 94/35494/3
Robert Varga [Fri, 26 Feb 2016 21:55:27 +0000 (22:55 +0100)]
Use pre-compiled Pattern for replacement

String.replaceAll() compiles the pattern each time, precompile it for
speed. Also replace "".equals(res) with res.isEmpty(), which is faster,
since res is known to be non-null in this context.

Change-Id: Id7d28ba355d62607a75dbbe6504b50f6da8085d1
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoBug 5483 - added support for num values in rules 40/36040/2
Tomas Cechvala [Wed, 9 Mar 2016 15:33:41 +0000 (16:33 +0100)]
Bug 5483 - added support for num values in rules

Added mapping for numerical values of neutron
security-group-rules.

Change-Id: Id4166300a2a922a30fb553ea5593385fed408652
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoMerge "Bug 5510 - making sure that br-int is created"
Martin Sunal [Tue, 29 Mar 2016 16:20:06 +0000 (16:20 +0000)]
Merge "Bug 5510 - making sure that br-int is created"

8 years agoBug 5617: OfOverlayRefactoring - IngressNatMapper + EgressNatMappe 19/36819/1
Vladimir Lavor [Tue, 29 Mar 2016 15:24:42 +0000 (17:24 +0200)]
Bug 5617: OfOverlayRefactoring - IngressNatMapper + EgressNatMappe

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
8 years agoBug 5617: OfOverlay refactoring initial + PortSecurity 18/36818/2
Vladimir Lavor [Tue, 1 Mar 2016 12:06:24 +0000 (13:06 +0100)]
Bug 5617: OfOverlay refactoring initial + PortSecurity

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Change-Id: I12cf020828826c32e3eee0887a1f1144579bce0b
(cherry picked from commit 3e2119a5e3fc75918511dc273b6830cf33e65fd3)

8 years agoBug 5510 - making sure that br-int is created 86/36486/2
Tomas Cechvala [Sat, 12 Mar 2016 12:44:24 +0000 (13:44 +0100)]
Bug 5510 - making sure that br-int is created

When a node with OvsdbNodeAugmentation does not have
reference to br-int node with OvsdbBridge augmentation,
the missing bridge node is created by writing it
into DS.

Change-Id: Ie0054d311916ece0030ad63647ebe3ca3f06d797
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoBug 5428: Ovsdb Termination Point is null issue 65/35565/1
Michal Cmarada [Mon, 29 Feb 2016 07:29:05 +0000 (08:29 +0100)]
Bug 5428: Ovsdb Termination Point is null issue

- adding condition to check if TP is null,then log and skip processing.

Change-Id: Idd4c7fbbe5398d15dc153927338421ffc3fef67c
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
8 years agoBUG 5402 - PolicyEnforcer creates wrong directed flows 03/35203/2
Matej Perina [Mon, 22 Feb 2016 14:03:18 +0000 (15:03 +0100)]
BUG 5402 - PolicyEnforcer creates wrong directed flows

Change-Id: I55479bfc1d188a9b946912e82cf127c115777cf1
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBug5427: Added JavaDoc for OfOverlay rendeder (flow description) 91/35391/2
Vladimir Lavor [Wed, 17 Feb 2016 13:18:38 +0000 (14:18 +0100)]
Bug5427: Added JavaDoc for OfOverlay rendeder (flow description)

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Change-Id: Ifd26bcf2abc3be211adeaf7369c7f93f8e59de7e

8 years agoMerge "Bug 5342: Fix for SF appearing as Endpoint"
Martin Sunal [Thu, 25 Feb 2016 09:02:57 +0000 (09:02 +0000)]
Merge "Bug 5342: Fix for SF appearing as Endpoint"

8 years agoMerge "Bug 3738: GBP coexistence fixes"
Martin Sunal [Thu, 25 Feb 2016 09:01:48 +0000 (09:01 +0000)]
Merge "Bug 3738: GBP coexistence fixes"

8 years agoMerge "Bug 5326 - endpoint can reach nodes outside internal domain"
Martin Sunal [Wed, 24 Feb 2016 17:23:27 +0000 (17:23 +0000)]
Merge "Bug 5326 - endpoint can reach nodes outside internal domain"

8 years agoBug 5342: Fix for SF appearing as Endpoint 28/34828/3
Matej Perina [Wed, 17 Feb 2016 13:06:52 +0000 (14:06 +0100)]
Bug 5342: Fix for SF appearing as Endpoint

Still not sure what is Root Cause but don't want to hold up release. This will unblock

Change-Id: Ia18b94144b1f55495086991d9e7fe7c58f69ee18
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBug 3738: GBP coexistence fixes 27/34827/3
Matej Perina [Wed, 17 Feb 2016 13:02:08 +0000 (14:02 +0100)]
Bug 3738: GBP coexistence fixes

- chmod scripts, small script issues

Change-Id: Ice6c53dbcf134fb35f68985c7a3902e263cddcff
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoMerge "Bug 5214 - ARP fix for external VLAN traffic"
Martin Sunal [Wed, 24 Feb 2016 17:21:35 +0000 (17:21 +0000)]
Merge "Bug 5214 - ARP fix for external VLAN traffic"

8 years agoMerge "Bug 4988: OF statistics & REST client"
Martin Sunal [Wed, 24 Feb 2016 15:56:39 +0000 (15:56 +0000)]
Merge "Bug 4988: OF statistics & REST client"

8 years agoMerge "Bug 5117 - More bad file formats and chmod breaks"
Martin Sunal [Wed, 24 Feb 2016 15:06:18 +0000 (15:06 +0000)]
Merge "Bug 5117 - More bad file formats and chmod breaks"

8 years agoBug 5326 - endpoint can reach nodes outside internal domain 90/34490/5
Matej Perina [Wed, 17 Feb 2016 12:56:47 +0000 (13:56 +0100)]
Bug 5326 - endpoint can reach nodes outside internal domain

Traffic of endpoints connected to OVS switch can be forwarded
to external domain.

Change-Id: Icdf23726a411ae7d22ed792f2f9cfa08cb95b1de
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBug 5214 - ARP fix for external VLAN traffic 33/34233/5
Matej Perina [Wed, 17 Feb 2016 12:52:11 +0000 (13:52 +0100)]
Bug 5214 - ARP fix for external VLAN traffic

External endpoints can receive tagged ARP response.

Change-Id: I0cd1b5d9a47aee8ded8d9a0c3f93598a159bf814
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBug 4988: OF statistics & REST client 81/31681/34
Matej Perina [Wed, 24 Feb 2016 09:32:37 +0000 (10:32 +0100)]
Bug 4988: OF statistics & REST client

Change-Id: I48c8302196f997abf6c6180e36beae5886d7be48
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBug 5117 - More bad file formats and chmod breaks 26/33726/4
Keith Burns (alagalah) [Thu, 28 Jan 2016 19:52:20 +0000 (11:52 -0800)]
Bug 5117 - More bad file formats and chmod breaks

Change-Id: If9d42b4db8d0089a948aef26bb929ddc3bcece71
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
(cherry picked from commit 69d6de639550c7aa04bbca09f2e62fdd4730081c)

8 years agoBug 3738: GBP coexistence with SFC 08/33708/12
Matej Perina [Wed, 17 Feb 2016 12:47:27 +0000 (13:47 +0100)]
Bug 3738: GBP coexistence with SFC

Change-Id: If5ed0e87485b88e02f525dab1072b75462d16a1f
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBug 5325 Missing sfc action in rules 08/34808/4
Matej Perina [Wed, 17 Feb 2016 12:16:19 +0000 (13:16 +0100)]
Bug 5325 Missing sfc action in rules

Change-Id: I1b90da5deb3fa7615249fef95f87983404f429e7
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBUG 5370 - changes required by java8 22/34822/3
Matej Perina [Wed, 17 Feb 2016 13:19:31 +0000 (14:19 +0100)]
BUG 5370 - changes required by java8

- powermockito versions are removed
  so this commit depends on Change 35210

Change-Id: I81f43b6d49a45308d85a9f29c22c3fb95b739d0e
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBUG 5248: reading statistics not working 61/34161/2
Matej Perina [Fri, 5 Feb 2016 13:58:02 +0000 (14:58 +0100)]
BUG 5248: reading statistics not working

Change-Id: I5798209e03149702abb94417af038997b4ede2cd
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>