groupbasedpolicy.git
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>
8 years agoMerge "Bug 3751 registration of INeutronSecurityRuleAware service"
Keith Burns [Wed, 17 Jun 2015 13:00:52 +0000 (13:00 +0000)]
Merge "Bug 3751 registration of INeutronSecurityRuleAware service"

8 years agoBug 3764: Duplicate L3 EPs. 49/22749/1
Thomas Bachman [Wed, 17 Jun 2015 02:46:50 +0000 (22:46 -0400)]
Bug 3764: Duplicate L3 EPs.

This patch fixes duplicate L3 EPs, which happen
when an EP is reparented to a new L3 context
(e.g. when assigning an EP to a router in
OpenStack).

Change-Id: I4391ef517a35e59402fad427e24c44663855fa46
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
8 years agoMerge "Bug 3751 registration of INeutronSecurityRuleAware service"
Thomas Bachman [Wed, 17 Jun 2015 01:21:12 +0000 (01:21 +0000)]
Merge "Bug 3751 registration of INeutronSecurityRuleAware service"

8 years agoBug 3751 registration of INeutronSecurityRuleAware service 43/22743/1
Martin Sunal [Tue, 16 Jun 2015 13:06:07 +0000 (15:06 +0200)]
Bug 3751 registration of INeutronSecurityRuleAware service

Change-Id: I38489994a47f604f76ebb32aa524bad6764f7251
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoBug 3745: Fix for null tunnel port. 86/22686/2
Thomas Bachman [Tue, 16 Jun 2015 11:18:23 +0000 (07:18 -0400)]
Bug 3745: Fix for null tunnel port.

This fixes a bug where a list in an augmentation
is set to null, causing an IllegalArgumentExcpetion.

Change-Id: Ie183a97555216a2fb0538a5356941d71265bfd58
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
8 years agoBug 3751 registration of INeutronSecurityRuleAware service 91/22691/1
Martin Sunal [Tue, 16 Jun 2015 13:06:07 +0000 (15:06 +0200)]
Bug 3751 registration of INeutronSecurityRuleAware service

Change-Id: I00713198bbb79bebf3b9386f5506e7d31e0301e1
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "Bug 3740: Intra-subnet broken with multinode."
Martin Sunal [Tue, 16 Jun 2015 07:27:17 +0000 (07:27 +0000)]
Merge "Bug 3740: Intra-subnet broken with multinode."

8 years agoBug 3244 - SFC support for symmetric and asymmetric chains. 56/22556/3
Keith Burns (alagalah) [Fri, 12 Jun 2015 22:12:23 +0000 (15:12 -0700)]
Bug 3244 - SFC support for symmetric and asymmetric chains.

Change-Id: I93de828b4a1dd12ce854ce7d9a9f673308a90fc3
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoBug 3740: Intra-subnet broken with multinode. 32/22632/2
Thomas Bachman [Mon, 15 Jun 2015 17:54:00 +0000 (13:54 -0400)]
Bug 3740: Intra-subnet broken with multinode.

This patch fixes multinode forwarding when integrating
with devstack.

Change-Id: I184cef779eb2dbc97871f50035e763559522264a
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
8 years agoBug 3424: Adding support for L2 External Networks. 12/22512/4
Thomas Bachman [Thu, 11 Jun 2015 21:21:35 +0000 (17:21 -0400)]
Bug 3424: Adding support for L2 External Networks.

This patch is preparation for the rest of the fixes
to support L2 External networks. It moves the creation
of the L3 Endpoint for the gateway from when the gateway
port is attached to the router to when the subnet is
created.

Change-Id: Ieadf3b11604cb3378066e05b4ddf1b68205419d3
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
8 years agoBug 3588 getting of MAC based on ARP 29/22629/1
Martin Sunal [Wed, 3 Jun 2015 13:39:53 +0000 (15:39 +0200)]
Bug 3588 getting of MAC based on ARP

- adds possibility to use ARP for getting missing MAC address of external router
- ARP is handling by packet In and Out openflow animal style

Change-Id: Id10aa70525e2b5e5317eb2c4ce789bb82e3da4b0
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "Bug 3691 increased test coverage #6"
Martin Sunal [Mon, 15 Jun 2015 10:49:59 +0000 (10:49 +0000)]
Merge "Bug 3691 increased test coverage #6"

8 years agoBug 3691 increased test coverage #6 62/22362/4
Kinsey Nietzsche [Thu, 11 Jun 2015 06:54:13 +0000 (08:54 +0200)]
Bug 3691 increased test coverage #6

FlowEquivalence
MatchEquivalence

Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agobug3243 - unit tests #5 58/22258/3
Kinsey Nietzsche [Wed, 10 Jun 2015 07:49:26 +0000 (09:49 +0200)]
bug3243 - unit tests #5

FlowCapableNodeConnectionListener
FlowCapableNodeListener
OfOverlayNodeListener

Change-Id: I4a65813ccab3b7653d4ea5f6ac26b67c0840bb2c
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoMerge "Bug 3651: Fix creation of External EPG."
Martin Sunal [Mon, 15 Jun 2015 08:49:46 +0000 (08:49 +0000)]
Merge "Bug 3651: Fix creation of External EPG."

8 years agoMerge "BUG3685, BUG3686"
Keith Burns [Mon, 15 Jun 2015 04:40:51 +0000 (04:40 +0000)]
Merge "BUG3685, BUG3686"

8 years agoSonar bug fixes for SwitchManager.java 25/22425/3
Dileep Ranganathan [Fri, 12 Jun 2015 00:58:38 +0000 (17:58 -0700)]
Sonar bug fixes for SwitchManager.java

Fixed missing curly brace,
Block of commented-out lines of code removed,
Removed empty statement.

Change-Id: I88b5dd52ae1f02d3eb4b0fe11a23d39411bb6d08
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
8 years agoBug 3244 - SFC Improvements for distributed classifier, robustness 06/22406/3
Keith Burns (alagalah) [Thu, 4 Jun 2015 05:18:50 +0000 (22:18 -0700)]
Bug 3244 - SFC Improvements for distributed classifier, robustness

- Added specific ChainActionFlow class for handling of chain specific flows.
- Added simultaneous multiencap support (VXLAN, VXLANGPE)
- Ensure non-symmetric chain, path. Not supported Li
- Added setting of C1/C2 in ExternalTable per destination
- "visited" pairs fixed for assymetry

Change-Id: Icf9118dec65a8d1e57a24d5702c9334b3b33aea3
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoBUG3685, BUG3686 48/22448/1
Daniel Malachovsky [Fri, 12 Jun 2015 08:40:48 +0000 (10:40 +0200)]
BUG3685, BUG3686

- sticky tenant
- action reference wizard fired from contract in expressed policy

Change-Id: I858a2645dd59f044ca85b1461157f046a78480bf
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoMerge "Bug 3268: OVSDB TP listener not processing deletes"
Keith Burns [Thu, 11 Jun 2015 21:09:24 +0000 (21:09 +0000)]
Merge "Bug 3268: OVSDB TP listener not processing deletes"

8 years agoRevert "Bug 3460 removed ip prefix from DHCP/DNS flows" 94/22394/1
Martin Sunal [Thu, 11 Jun 2015 19:10:52 +0000 (19:10 +0000)]
Revert "Bug 3460 removed ip prefix from DHCP/DNS flows"

This reverts commit c3f90110063549169ea1ca982d9b79edbdbdc89e.

Change-Id: Id45311f333a93379e10580fd45b190e534ccac87
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoBug 3268: OVSDB TP listener not processing deletes 97/21197/11
Konstantin Blagov [Wed, 27 May 2015 12:39:30 +0000 (14:39 +0200)]
Bug 3268: OVSDB TP listener not processing deletes

Change-Id: Ic7d5153382c462cc277651c53ecfc43fa637f62c
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoBug 3460 removed ip prefix from DHCP/DNS flows 76/21676/3
Martin Sunal [Tue, 2 Jun 2015 14:27:07 +0000 (16:27 +0200)]
Bug 3460 removed ip prefix from DHCP/DNS flows

Removes ip-prefix of EIC from and DHCP and DNS flows.
Only traffic based on destination port of these service is allowed.
IP prefix of EIC for ICMP is still part of flow match.

Removed comparison of flow priority in FlowEquivalence - duplicit flows are ignored

THIS COMMIT HAS IMPACT ON FLOW COUNT IN TABLE 4

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoBug 3651: Fix creation of External EPG. 31/22231/1
Thomas Bachman [Tue, 9 Jun 2015 19:23:52 +0000 (15:23 -0400)]
Bug 3651: Fix creation of External EPG.

The External EPG isn't created because the tenant
for it doesn't yet exist. This fixes that by adding
the true flag to the put, which causes the parent
node to be created.

Change-Id: I3eae011e0337dc191f070ef40433b24bdbbeff8e
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
8 years agoMerge "Bug 3540: Implementation of FlowIds based on match data"
Thomas Bachman [Mon, 8 Jun 2015 21:01:31 +0000 (21:01 +0000)]
Merge "Bug 3540: Implementation of FlowIds based on match data"

8 years agoMerge "Bug 3607: Removing OpFlex from Sonar coverage."
Keith Burns [Mon, 8 Jun 2015 19:58:01 +0000 (19:58 +0000)]
Merge "Bug 3607: Removing OpFlex from Sonar coverage."

8 years agoMerge "BUG3619 - css mismatch with dlux"
Keith Burns [Mon, 8 Jun 2015 18:42:26 +0000 (18:42 +0000)]
Merge "BUG3619 - css mismatch with dlux"

8 years agoBUG3619 - css mismatch with dlux 96/22096/1
Daniel Malachovsky [Mon, 8 Jun 2015 11:46:25 +0000 (13:46 +0200)]
BUG3619 - css mismatch with dlux

Change-Id: I15fe5a8bf9076a529ba11fe669b51dcc7bb8e007
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoBug 3607: Removing OpFlex from Sonar coverage. 42/22042/2
Thomas Bachman [Sat, 6 Jun 2015 19:38:13 +0000 (15:38 -0400)]
Bug 3607: Removing OpFlex from Sonar coverage.

Change-Id: I2671696383ef89be351b35caa9d148d1071a0be8
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
8 years agoBug 3606: Fix features so UI pulls in backend. 41/22041/1
Thomas Bachman [Sat, 6 Jun 2015 19:50:16 +0000 (15:50 -0400)]
Bug 3606: Fix features so UI pulls in backend.

The UI feature should pull in the backend feature. This
patch changes the UI feature so that it pulls in the
backend feature.

Change-Id: I281349277c09f708ed0db138b7059d2d36a8073e
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
8 years agoBug 3540: Implementation of FlowIds based on match data 58/20658/12
Konstantin Blagov [Mon, 18 May 2015 15:35:06 +0000 (17:35 +0200)]
Bug 3540: Implementation of FlowIds based on match data

Change-Id: Id5766bfbe3c065d5d4816402be73d79cee8f3871
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoBUG3582 - GBP UI - Subject detail in the Delivered policy 97/21997/3
Daniel Malachovsky [Thu, 4 Jun 2015 16:08:15 +0000 (18:08 +0200)]
BUG3582 - GBP UI - Subject detail in the Delivered policy
BUG3583 - GBP UI - Different element design in jointjs
BUG3584 - GBP UI -Positioning of elements
BUG3587 - GBP UI - missing links in expressed policy

Change-Id: Ic7606e6161416df15189f661639e8e22c11922b7
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoMerge "groupbased policy ui-rework"
Keith Burns [Fri, 5 Jun 2015 16:21:56 +0000 (16:21 +0000)]
Merge "groupbased policy ui-rework"

8 years agoBug 3269 - Neutron External Gateway not functioning with floatingIP 14/21714/2
Keith Burns (alagalah) [Mon, 1 Jun 2015 20:27:09 +0000 (13:27 -0700)]
Bug 3269 - Neutron External Gateway not functioning with floatingIP

Adding processing of NAT and External tables in OfOverlay

Change-Id: Ief7bf77fc2e805515488efb533ba1901dff63b59
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoBug 3243 increased test coverage #3 44/21544/3
Kinsey Nietzsche [Mon, 1 Jun 2015 10:57:35 +0000 (12:57 +0200)]
Bug 3243 increased test coverage #3

EndpointManager

Change-Id: Ibd034c26e9f5deaefa0f6cf36f5220021c0f916c
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agogroupbased policy ui-rework 27/21427/4
Daniel Malachovsky [Mon, 1 Jun 2015 21:04:34 +0000 (23:04 +0200)]
groupbased policy ui-rework

reworked ui - pushed provisioning part to background
created governance part
-expressed policy
-delivered policy
-renderer state
-renderer configuration
-jointjs load fixed
- fixed design issues

created placeholders for other parts

Change-Id: I7a61934268e37899064be4c882206a2cbd1b7708
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoBug 3242: Tenant CONF -> OPER validation in PolicyEnforcer pattern not returning... 20/20820/11
Peter Žeby [Wed, 20 May 2015 14:31:32 +0000 (16:31 +0200)]
Bug 3242: Tenant CONF -> OPER validation in PolicyEnforcer pattern not returning correct result

Change-Id: I05413d84ad1a7c6fbe7d0d07b39fe448b7f67186
Signed-off-by: Andrej Kincel <akincel@cisco.com>
Signed-off-by: Peter Žeby <peter.zeby@pantheon.sk>
8 years agoBug3318 removed groupbasedpolicy-openstackendpoint-config 22/21622/2
Kinsey Nietzsche [Tue, 2 Jun 2015 09:26:18 +0000 (11:26 +0200)]
Bug3318 removed groupbasedpolicy-openstackendpoint-config

Change-Id: I28ade2169917ff6cf62766f5607369df8d442761
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoIncrementing versions by 0.1.0 for post-lithium master branch 85/21585/1
Thomas Bachman [Mon, 1 Jun 2015 21:11:45 +0000 (17:11 -0400)]
Incrementing versions by 0.1.0 for post-lithium master branch

Change-Id: Ie3302d76efa113ff30be151e4ed00e9062365f64
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
8 years agoBug3269 - Support for L3PrefixEndpoint and external endpoints in OfOverlay 19/21519/4
Keith Burns (alagalah) [Thu, 28 May 2015 02:51:59 +0000 (19:51 -0700)]
Bug3269 - Support for L3PrefixEndpoint and external endpoints in OfOverlay

Change-Id: I1cc40a963eca9b2a3f2ac2f334f7443c9a90e3cc
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoPortSecurity changes for looping off EP instead of EPG. 06/21506/1
Keith Burns (alagalah) [Sun, 31 May 2015 14:50:10 +0000 (07:50 -0700)]
PortSecurity changes for looping off EP instead of EPG.

Also adds support for external port.

Change-Id: Iafc3a961ef3ba9f60434ef8b2b65ce45b085fd1d
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoFixed issues with Inventory augmentations being over-written (ExternalInterfaces... 89/21489/1
Keith Burns (alagalah) [Sat, 30 May 2015 20:09:01 +0000 (13:09 -0700)]
Fixed issues with Inventory augmentations being over-written (ExternalInterfaces/Tunnel)

Externals
Neutron-ovsdb: InventoryHelper is writing these to CONF
SwitchManager is reading these from OfOverlayNodeConfig which comes from
CONF but it handles these inside a loop that is processing things from
FCNC.OPER.

Tunnels:
Neutron-ovsdb: InventoryHelper is writing these to OPER (which you never
see in POSTMAN… weird but squirrel).
SwitchManager handles these in two places: Looping on FCNC.OPER looking
for “*vxlan*", and processing OfOverlayNodeConfig from CONF.

Change-Id: I12a5738e3832228032368f0b5b45dcb050023a16
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoPossible fix for OfOverlay overwrite (#2). 81/21481/1
Thomas Bachman [Sat, 30 May 2015 11:36:59 +0000 (07:36 -0400)]
Possible fix for OfOverlay overwrite (#2).

This is an attempt to fix an overwrite of data
in the Inventory Node's OfOverlay augmentation.
It changes the writes of the entire augmentation
to just a write of the tunnel elements.

Change-Id: I5a22dd31381558300544dfb3fcc154f18d71e337
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
8 years agoYang models for internal system health and fault aggregration. 75/19275/4
Keith Burns (alagalah) [Wed, 29 Apr 2015 04:07:19 +0000 (21:07 -0700)]
Yang models for internal system health and fault aggregration.

- Instrumentation, leveraging data store instead of log to generate sane log messages.

Change-Id: I5e7eafd8a7f527c77fd5f47b3bc41b65b8cd0ed5
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoRemoval of OpenStackEndpoint YANG 89/21289/2
Keith Burns (alagalah) [Thu, 28 May 2015 06:00:23 +0000 (23:00 -0700)]
Removal of OpenStackEndpoint YANG

Change-Id: I9be44f2bf640fa59026de2d7935bf61a40078ea6
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoMerge "Bug 2814 - logical OR to AND in classifier"
Keith Burns [Thu, 28 May 2015 05:26:47 +0000 (05:26 +0000)]
Merge "Bug 2814 - logical OR to AND in classifier"

8 years agoRemove OpenStackEndpointGBP 88/21288/1
Keith Burns (alagalah) [Thu, 28 May 2015 04:40:19 +0000 (21:40 -0700)]
Remove OpenStackEndpointGBP

- not needed. Openstack GBP API integration uses standard API and was back-ported to OpenStack Juno.

Change-Id: I1007410cdc6eabba5afdc362458aeddc4bb6bee4
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoBug 2814 - logical OR to AND in classifier 40/18240/14
Tomas Cechvala [Tue, 14 Apr 2015 05:23:54 +0000 (22:23 -0700)]
Bug 2814 - logical OR to AND in classifier

Fix of the logical OR behaviour within a rule and update of error messages accross all the
classifiers.

Change-Id: Id1e5157915772e13fcc5ff431321c40d3863ffdc
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoAdded new FlowTables (NATMapper, ExternalMapper) 71/21171/8
Keith Burns (alagalah) [Fri, 22 May 2015 11:40:49 +0000 (04:40 -0700)]
Added new FlowTables (NATMapper, ExternalMapper)
- IpPrefix support in DestMapper
- Implemented tableOffset as adding new tables that need skipping for NAT

Updated neutron-ovsdb to make NeutronGbpMapperListener

Added L3Endpoint for External Gateway Map

Change-Id: I1cdf13750ca3d28ab6bda6718e8983e95af44331
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "GBP UI fixes"
Keith Burns [Wed, 27 May 2015 19:54:46 +0000 (19:54 +0000)]
Merge "GBP UI fixes"

8 years agoChanging of IidFactory 10/21210/1
Martin Sunal [Wed, 27 May 2015 14:09:15 +0000 (16:09 +0200)]
Changing of IidFactory

- solves compilation error

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "Bug 3388 Added DNS and ICMP rules for DHCP EPG"
Thomas Bachman [Wed, 27 May 2015 13:47:42 +0000 (13:47 +0000)]
Merge "Bug 3388 Added DNS and ICMP rules for DHCP EPG"

8 years agoMerge "Bug 3269 Implementation of floating ip in neutron-mapper"
Keith Burns [Wed, 27 May 2015 13:41:27 +0000 (13:41 +0000)]
Merge "Bug 3269 Implementation of floating ip in neutron-mapper"

8 years agoMerge "Bug 3359 - Duplication of methods for IID factory"
Martin Sunal [Wed, 27 May 2015 13:15:06 +0000 (13:15 +0000)]
Merge "Bug 3359 - Duplication of methods for IID factory"

8 years agoBug 3388 Added DNS and ICMP rules for DHCP EPG 59/18859/6
Martin Sunal [Wed, 22 Apr 2015 16:45:23 +0000 (18:45 +0200)]
Bug 3388 Added DNS and ICMP rules for DHCP EPG

Change-Id: I7531ce8e391003ce415f6adb0ab2e52baece000e
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoBug 3243 increased test coverage #2 73/21173/5
Kinsey Nietzsche [Mon, 25 May 2015 11:18:23 +0000 (13:18 +0200)]
Bug 3243 increased test coverage #2

 - increased test coverage in groupbasedpolicy base
 - FIX PolicyScope.removeFromScope(

Change-Id: I5551736c8cdd81a9ebd270e2b4421454a0af0af9
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoMerge "Bug 3051: Fix Unit Tests for IpPrefix."
Martin Sunal [Wed, 27 May 2015 10:14:45 +0000 (10:14 +0000)]
Merge "Bug 3051: Fix Unit Tests for IpPrefix."

8 years agoMerge "Bug 3173 - group flows rendering fix."
Martin Sunal [Wed, 27 May 2015 09:26:17 +0000 (09:26 +0000)]
Merge "Bug 3173 - group flows rendering fix."

8 years agoMerge "Bug 3281 duplicate flow programming"
Martin Sunal [Wed, 27 May 2015 09:23:54 +0000 (09:23 +0000)]
Merge "Bug 3281 duplicate flow programming"

8 years agoMerge "Removal of OpenContrail Renderer and config."
Martin Sunal [Wed, 27 May 2015 09:10:32 +0000 (09:10 +0000)]
Merge "Removal of OpenContrail Renderer and config."

8 years agoBug 3359 - Duplication of methods for IID factory 33/21133/5
Kinsey Nietzsche [Tue, 26 May 2015 13:42:07 +0000 (15:42 +0200)]
Bug 3359 - Duplication of methods for IID factory

Change-Id: Icbf2babc99aec5fda99f85fc392e62256777d372
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
8 years agoMerge "Adding EIC."
Keith Burns [Wed, 27 May 2015 07:21:59 +0000 (07:21 +0000)]
Merge "Adding EIC."

8 years agoBug 3269 Implementation of floating ip in neutron-mapper 61/21161/1
Martin Sunal [Tue, 26 May 2015 22:45:42 +0000 (00:45 +0200)]
Bug 3269 Implementation of floating ip in neutron-mapper

- creates an endpoint representing floating ip port
- creates floating-ip-association-mappings
- creates endpoints-by-floating-ip-ports and floating-ip-ports-by-endpoints mappings
- contains workaround becaue of https://bugs.opendaylight.org/show_bug.cgi?id=3368

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoFix sonar test coverage reporting 45/21145/1
Michal Polkorab [Tue, 26 May 2015 15:19:20 +0000 (17:19 +0200)]
Fix sonar test coverage reporting

 - added sonar-jacoco-listeners dependency - picks up jacoco report and
   transforms it into sonar report
 - modified jacoco-maven-plugin - so that sonar is able to pick up jacoco report

Change-Id: Iebd90d8afe96f9255ec11d427de970791316ff42
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
8 years agoGBP UI fixes 38/20738/8
Daniel Malachovsky [Thu, 21 May 2015 14:38:28 +0000 (16:38 +0200)]
GBP UI fixes

Fixed labels in topology
Selecting topology when selecting items from right sidebar
Reorder buttons under Policy - moved L2L3 to bottom
added back and home buttons in #ff7300 color
network containment field is now selectbox
added required fields into endpoints
tenant added to registering EP
fixed access model wizard
fixed access model wizard design

Change-Id: Ie07073902959bacbb918530a7d1539bdc58b94d9
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoAdding EIC. 22/21022/3
Thomas Bachman [Fri, 22 May 2015 18:31:49 +0000 (14:31 -0400)]
Adding EIC.

This includes Endpoint Constraints in policy
resolution.

Change-Id: I29ed8014f598683f37174289ce66190a319c2775
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
9 years agoBug 3243 increased test coverage #1 37/20737/7
Kinsey Nietzsche [Tue, 19 May 2015 14:21:19 +0000 (16:21 +0200)]
Bug 3243 increased test coverage #1

- increased test coverage in groupbasedpolicy base
- FIX EgKey.compareTo()

Change-Id: I189169fe1be6e60ed781c016d707f04429a1f950
Signed-off-by: Kinsey Nietzsche <knietzsc@cisco.com>
9 years agoBug 3269 Floating IP association in a model 75/21075/3
Martin Sunal [Mon, 25 May 2015 21:02:44 +0000 (23:02 +0200)]
Bug 3269 Floating IP association in a model

Change-Id: Ieaab358da8f2b37712ec31d5064954d60aa6d30d
Signed-off-by: Martin Sunal <msunal@cisco.com>
9 years agoAdd Endpoints for external gateway and subnet. 20/21020/10
Keith Burns (alagalah) [Sat, 23 May 2015 03:58:50 +0000 (20:58 -0700)]
Add Endpoints for external gateway and subnet.

- Endpoint for Router Gateway Interface
- L3PrefixEndpoints for subnet routes
- Subnet map for external gateways
- Check for port updates without tenant.

Change-Id: I8bc8825abb1f3c2972b79c73a434ee0047951948
Also-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
9 years agoAdd underlay external port for inventory to OVSDB listener. 77/20977/12
Keith Burns (alagalah) [Fri, 22 May 2015 11:40:49 +0000 (04:40 -0700)]
Add underlay external port for inventory to OVSDB listener.

- leverages DevStack writing "other-config" for provider network and physical port.
- this it to determine egress from OfOverlay (external)

Change-Id: If346089a16d1cfb7d08e98499ed0555f02bd5b4f
Also-By: Thomas Bachman <tbachman@yahoo.com>
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
9 years agoCentralising DataStore and IidFactory. 27/21027/2
Keith Burns (alagalah) [Sun, 24 May 2015 14:29:20 +0000 (07:29 -0700)]
Centralising DataStore and IidFactory.

- Needed this for L3PrefixEp.
- Can move other sub-project general helpers here
- Potentially can be structured as
-- General (all GBP)
-- Feature specific packages

Change-Id: I627b7ec6dcf82eda8ecb9b251e76f4ea77582ac3
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>