groupbasedpolicy.git
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>
8 years agoMerge "Bug 5208 - flows don't get removed on update"
Martin Sunal [Mon, 8 Feb 2016 09:22:36 +0000 (09:22 +0000)]
Merge "Bug 5208 - flows don't get removed on update"

8 years agoBug 5208 - flows don't get removed on update 32/34232/1
Tomas Cechvala [Wed, 3 Feb 2016 11:17:53 +0000 (12:17 +0100)]
Bug 5208 - flows don't get removed on update

Fixed by ensuring that the current state of flow tables is overriden
only after the DS was updated.

Change-Id: I2d6e482fbd4f5e2ed5210b2f5983dbefd0760d37
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoBug 5213 - Missing segmentation-id for physical networks 31/34231/1
Martin Sunal [Tue, 26 Jan 2016 16:11:49 +0000 (17:11 +0100)]
Bug 5213 - Missing segmentation-id for physical networks

segmentation-id is stored to DS if a neutron network is backed by physical network

Change-Id: Id7334fc0a088a32879396ce7f2e48cdb06d250dc
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoMerge "Bug 5117 - DOS chars in shell script"
Martin Sunal [Mon, 8 Feb 2016 08:45:36 +0000 (08:45 +0000)]
Merge "Bug 5117 - DOS chars in shell script"

8 years agodevstack changes for sfc-tacker OPNFV demo 80/33880/3
Michal Cmarada [Fri, 5 Feb 2016 10:18:19 +0000 (11:18 +0100)]
devstack changes for sfc-tacker OPNFV demo

- using for two projects
-- sfc-vnfm-tacker testing and changes
-- openflow co-existence

Change-Id: Id2aa44fe4869730212f804c273c91eee642373ff
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
8 years agoBug 5212 - Neutron-mapper has dependency on Ofoverlay renderer 41/34141/2
Martin Sunal [Tue, 19 Jan 2016 16:41:17 +0000 (17:41 +0100)]
Bug 5212 - Neutron-mapper has dependency on Ofoverlay renderer

NeutronFloatingAware - adds NAT augmentation to endpoint-l3
NeutronNetworkAware - creates EXTERNAL_group EPG (as External
  Implicit Group (EIG)) if neutron external network is created
EXTERNAL_group EPG - provides contracts with allow IPv4/6 In/Out
L3-prefix-endpoint 0.0.0.0/0 belongs to EXTERNAL_group EPG
neutron ports where deviceOwner is router_gateway and router_interface
  are not mapped to endpoints
removed unused mappings
removed dependency on ofoverlay
neutron-ovsdb - added portByEndpoint listener which adds port-name to Ep, EpL3
ofoverlay - added listeners for ofoverlay endpoint context - add location(node,
  node-connector-id) based on port name
OvsdbNodeListener - creates of-overlay augmentation with external ports
(cherry picked from commit f9b3d2ffd80c2d623d199d789bff7192b678de40)

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

8 years agoChanges based on fix of Bug 5137 - Neutron routes 39/34139/1
Martin Sunal [Wed, 3 Feb 2016 15:26:35 +0000 (16:26 +0100)]
Changes based on fix of Bug 5137 - Neutron routes

This is needed fix after [1] was merged.
[1] https://git.opendaylight.org/gerrit/#/c/33846/
(cherry picked from commit c2f141f0ff466ae316bcf714d2c5eb6d02ac62d9)

Change-Id: I51fa7c3fd9ab86c330967df5cb0877f4fa2aad76
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoUT: ofoverlay-arp 24/32424/9
Matej Perina [Fri, 29 Jan 2016 15:06:53 +0000 (16:06 +0100)]
UT: ofoverlay-arp

Change-Id: I7982604cb94ffa25218fb8db20e1eb123c08b5d0
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoUT: Added FaaS unit tests 73/32973/7
Khaldoon Al-zoubi [Mon, 18 Jan 2016 22:38:24 +0000 (17:38 -0500)]
UT: Added FaaS unit tests

Change-Id: I522e1d9aa3b04f201dcd7dd08386c6c6b21adf35
Signed-off-by: Khaldoon Al-zoubi <khalAlzoubi@gmail.com>
8 years agoBug 5117 - DOS chars in shell script 49/33649/1
Tomas Cechvala [Wed, 27 Jan 2016 17:06:51 +0000 (18:06 +0100)]
Bug 5117 - DOS chars in shell script

Removing nested DOS line endings

Change-Id: I4297ccc946f6c20b8fb9a1171f99632e8ef73159
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoBug5105: gitignore adds OSX system files 71/33571/1
Keith Burns (alagalah) [Tue, 26 Jan 2016 18:39:11 +0000 (10:39 -0800)]
Bug5105: gitignore adds OSX system files

Change-Id: I8bb3361f82f43c9b44b70c350b00432f48113313
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoBug 5102 - NoSuchMethodError in EndpointManager 50/33550/2
Tomas Cechvala [Tue, 26 Jan 2016 12:33:46 +0000 (13:33 +0100)]
Bug 5102 - NoSuchMethodError in EndpointManager

- keySet method in ConcurrentHashMap changed in Java 8.
- error occurend when the code was built with Java 8 and
  ran on Java 7.
- fixed by compatible interface ConcurrentMap

Change-Id: I672f7102db8b9b3874d1f18419dd01bff3064704
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoBug3738: Coexistence demo environment 20/33020/4
Vladimir Lavor [Fri, 22 Jan 2016 10:19:48 +0000 (11:19 +0100)]
Bug3738: Coexistence demo environment

Document: https://docs.google.com/document/d/1-O6GoKeV9WLCiDU5xGv7rArAw_w2VJX-Ju6WOhRJ8s0/edit#

Change-Id: Id016afd8b52b094c9e7b1f97d985db6db0e34c13
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
8 years agoBUG 4993 ArpTasker failing when Nodes are not initialized in DS 45/32945/1
Matej Perina [Mon, 18 Jan 2016 15:38:08 +0000 (16:38 +0100)]
BUG 4993 ArpTasker failing when Nodes are not initialized in DS

condition fixed

Change-Id: I84e808fedfd28536b320ea1a81fd0a3193b75481
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoMerge "BUG 4973 - Wrong time type in statistics and statistics-store"
Martin Sunal [Mon, 18 Jan 2016 14:16:52 +0000 (14:16 +0000)]
Merge "BUG 4973 - Wrong time type in statistics and statistics-store"

8 years agoBug 4987 - ExternalMapper flows not populated 16/32916/2
Tomas Cechvala [Mon, 18 Jan 2016 10:26:53 +0000 (11:26 +0100)]
Bug 4987 - ExternalMapper flows not populated

 - fixed by removing redundant condition

Change-Id: I3d0e43c6abebab776b21a9c12c91a5a570d0e55c
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoBUG 4973 - Wrong time type in statistics and statistics-store 54/32754/2
Matej Perina [Fri, 15 Jan 2016 09:31:45 +0000 (10:31 +0100)]
BUG 4973 - Wrong time type in statistics and statistics-store

Timestamp type changed to uint64

Change-Id: I448c7cf3d1f0066c6e434e4a86da41c5b3e8630c
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBump versions by 0.1.0 for next dev cycle 50/32750/1
Thanh Ha [Fri, 15 Jan 2016 08:31:10 +0000 (03:31 -0500)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I9de10228d37af63807918ac1f8ee115561ae0abb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge "Iovisor renderer REST client"
Martin Sunal [Thu, 14 Jan 2016 19:01:24 +0000 (19:01 +0000)]
Merge "Iovisor renderer REST client"

8 years agoMerge "VLAN support for external networks"
Keith Burns [Thu, 14 Jan 2016 18:26:39 +0000 (18:26 +0000)]
Merge "VLAN support for external networks"

8 years agoMerge "GBP coexistence - OF renderer can remove only its own flows from node"
Keith Burns [Thu, 14 Jan 2016 18:26:32 +0000 (18:26 +0000)]
Merge "GBP coexistence - OF renderer can remove only its own flows from node"

8 years agoMerge "added timestamp for statistics storage"
Keith Burns [Thu, 14 Jan 2016 18:26:23 +0000 (18:26 +0000)]
Merge "added timestamp for statistics storage"

8 years agoIovisor renderer REST client 54/31954/18
Keith Burns (alagalah) [Wed, 30 Dec 2015 12:49:47 +0000 (04:49 -0800)]
Iovisor renderer REST client

Change-Id: I24e658760b767672c1ceee4cbef506f701e40a47
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoVLAN support for external networks 94/32094/10
Tomas Cechvala [Mon, 21 Dec 2015 15:42:09 +0000 (16:42 +0100)]
VLAN support for external networks

 - tagging is applied on external ports of switches
 - link connected to external port is considered as trunk port
 - native VLAN not supported yet
 - mapping VLANs from Openstack not in scope here

Change-Id: Iaeeaa4d7966d49f2c7179ba22a9cc5972fd33b0a
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoadded timestamp for statistics storage 77/32577/5
Matej Perina [Thu, 14 Jan 2016 16:25:03 +0000 (17:25 +0100)]
added timestamp for statistics storage

Change-Id: I4bf3e2e7ce4e1670f75dcecae7d7fd7a9dfebaa4
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoMerge "Scripts and Vagrantfile to run sFlow on gbp1"
Keith Burns [Thu, 14 Jan 2016 16:27:04 +0000 (16:27 +0000)]
Merge "Scripts and Vagrantfile to run sFlow on gbp1"

8 years agoGBP coexistence - OF renderer can remove only its own flows from node 03/32403/4
Vladimir Lavor.com [Tue, 22 Dec 2015 09:48:53 +0000 (10:48 +0100)]
GBP coexistence - OF renderer can remove only its own flows from node

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

8 years agoMerge "Using Box file to remove external dependencies such as github."
Martin Sunal [Thu, 14 Jan 2016 16:13:37 +0000 (16:13 +0000)]
Merge "Using Box file to remove external dependencies such as github."

8 years agoScripts and Vagrantfile to run sFlow on gbp1 56/31156/5
Konstantin Blagov [Thu, 10 Dec 2015 17:01:53 +0000 (18:01 +0100)]
Scripts and Vagrantfile to run sFlow on gbp1

Change-Id: I74ccf8e90719280d80dcde9273c5224d290843bb
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoUsing Box file to remove external dependencies such as github. 97/31097/3
Keith Burns (alagalah) [Wed, 9 Dec 2015 20:45:03 +0000 (12:45 -0800)]
Using Box file to remove external dependencies such as github.

- Quicker more stable.
- Box file can be semantically versioned for the release of ODL GBP

Change-Id: I24eb68a22f3ec26edc3e7b52402acf5d64e5b56c
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoFixed NAT in OFOverlay based on EIG 93/31593/8
Martin Sunal [Thu, 17 Dec 2015 18:14:05 +0000 (19:14 +0100)]
Fixed NAT in OFOverlay based on EIG

- NAT is triggered when traffic goes between internal and external endpoint
- external/internal location was removed from ofoverlay EP augmentation
  because it is replaced with internal/external based on terminology below

Terminology:
- EIG: External Implicit Group - endpointgroup representing outside of policy domain
- internal endpoint: none of endpointgroups from endoint is EIG
- external endpoint: an endpointgroup from endpoint is EIG

Change-Id: Ib7b802948cc6dd109efde4ec7113c4b9038a7525
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoAdded NAT address for an endpoint-l3 15/31515/4
Martin Sunal [Thu, 17 Dec 2015 15:24:27 +0000 (16:24 +0100)]
Added NAT address for an endpoint-l3

Change-Id: Ica2661040c6f96f62fc823c785488c9c6a0ac865
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoEndpoint processing more scalable 54/31254/5
U-CISCO\tcechval [Fri, 11 Dec 2015 12:35:03 +0000 (13:35 +0100)]
Endpoint processing more scalable

 - no processing was triggered after removing location
   augmentation from an endpoint
 - processing of events made more scalable
 - added test cases for removing/adding location
   augmentation from/to an endpoint

Change-Id: I5a9295a3e8b16d60921359887e9361302e926f55
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agostatistics support 81/31281/12
Matej Perina [Mon, 11 Jan 2016 10:40:29 +0000 (11:40 +0100)]
statistics support

Change-Id: If61e5812a06f66432558830a3193308a32630e75
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoIntegrating FAAS renderer with the faas fabric mapping services. Also, 19/29419/45
Khaldoon Al-zoubi [Sun, 8 Nov 2015 22:53:28 +0000 (17:53 -0500)]
Integrating FAAS renderer with the faas fabric mapping services. Also,
put tenants external explicit groups in resolved policies to be accessible
by renderers.

Change-Id: I41447bb41c71ca1e6cfb4fa001c4dd736b02a37e
Signed-off-by: Khaldoon Al-zoubi <khalAlzoubi@gmail.com>
8 years agoIOvisor policy processing 14/31914/24
Keith Burns (alagalah) [Mon, 28 Dec 2015 17:06:02 +0000 (09:06 -0800)]
IOvisor policy processing

Change-Id: I0a37067028e69c048b8d3dcfdb744a2d3f15ba00
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
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