groupbasedpolicy.git
7 years agoios-xe increased UT coverage 29/41829/3
Vladimir Lavor [Thu, 14 Jul 2016 12:52:49 +0000 (14:52 +0200)]
ios-xe increased UT coverage

- ServiceChainingUtil

Change-Id: I72ee9447073f2b744a6c53eb9e09c82c80485a80
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agochain resolution improved in ios-xe renderer 69/40769/10
Vladimir Lavor [Mon, 11 Jul 2016 15:15:46 +0000 (17:15 +0200)]
chain resolution improved in ios-xe renderer

- no more useless or unreachable class-maps on device
- chain orientation towards the endpoint participation
  (provider, consumer) + direction corrected in both
  symetric and asymmetric chains
- added some javadoc

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

7 years agoios-xe renderer bugfix #2 12/41612/14
Vladimir Lavor [Sat, 9 Jul 2016 16:31:07 +0000 (18:31 +0200)]
ios-xe renderer bugfix #2

- policyWriter is created per interface, not per node
    - removed class-default entry from policy-map
  - service-paths created/removed by gbp will not overwrite
          or remove service-paths from sfc
        - remote sff could be removed
        - no more duplicities when writing/removing policy/sfc

Change-Id: I79a2a86dcf4af86064d33640d5978b0fb5ddf2cb
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoregenerate ned.yang classes in ios-xe renderer 48/41848/3
Vladimir Lavor [Thu, 14 Jul 2016 17:22:41 +0000 (19:22 +0200)]
regenerate ned.yang classes in ios-xe renderer

- removed duplicated dependency

Change-Id: I9b36985ffb2d98fb9cb5073b8af4a2cba05c0ef6
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoUse version of dependency plugin from odlparent 96/41896/1
Thanh Ha [Fri, 15 Jul 2016 13:54:01 +0000 (09:54 -0400)]
Use version of dependency plugin from odlparent

Change-Id: Iefdc24bac0f62449f7ef650c3b76d54071123db9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoUpgrade ietf-{inet,yang}-types to 2013-07-15 87/41787/1
Lorand Jakab [Wed, 13 Jul 2016 18:53:08 +0000 (13:53 -0500)]
Upgrade ietf-{inet,yang}-types to 2013-07-15

Change-Id: I657918e8c78b7651ee07d473bb7a777afecfe5f0
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoUpgrade ietf-{inet,yang}-types to 2013-07-15 29/40829/8
Lorand Jakab [Fri, 8 Jul 2016 19:56:10 +0000 (14:56 -0500)]
Upgrade ietf-{inet,yang}-types to 2013-07-15

Change-Id: Ia91d2039ed9750d09e1b1c9f4ba6531ac2d53630
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMerge "Tests for neutron-ovsdb"
Martin Sunal [Wed, 13 Jul 2016 09:56:30 +0000 (09:56 +0000)]
Merge "Tests for neutron-ovsdb"

7 years agoMerge "Make ui-module a provided dependency"
Martin Sunal [Tue, 12 Jul 2016 17:10:32 +0000 (17:10 +0000)]
Merge "Make ui-module a provided dependency"

7 years agoMake ui-module a provided dependency 20/41720/1
Robert Varga [Tue, 12 Jul 2016 14:39:17 +0000 (16:39 +0200)]
Make ui-module a provided dependency

Since ui-bundle already includes all of ui-module,
we should make it a provided dependency so it does not
get packaged into the distribution.

Change-Id: I901f7bf36adf8467b701277504a48d21d1ea35a2
Signed-off-by: Robert Varga <rovarga@cisco.com>
7 years agogbp-ise-adapter proposal 58/41158/12
Michal Rehak [Thu, 30 Jun 2016 16:59:17 +0000 (18:59 +0200)]
gbp-ise-adapter proposal

    - initial structure
      - config
      - models
      - api+impl partial stubs
    - generating epgs
    - generating ep-policy-templates
    - storing outcome status
    - added unit tests
    - fixed javadoc/copyright issues
    - squashed interfaces from api to impl

Change-Id: I2bd09e56c5afb26616b0febb5bd74c86eb4bd447
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoempty status not reported as unsuccessfull configuration 91/41491/5
Matej Perina [Thu, 7 Jul 2016 14:34:33 +0000 (16:34 +0200)]
empty status not reported as unsuccessfull configuration

Change-Id: I1ba12da6155bd1abb609ca79833e72fe0c47ab67
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
7 years agofixed new endpoint registration in sxp-mapper 02/41402/7
Vladimir Lavor [Wed, 6 Jul 2016 15:16:05 +0000 (17:16 +0200)]
fixed new endpoint registration in sxp-mapper

- new endpoint is now registered in case when the
          same endpoint already exists but has different
          endpoint group

Change-Id: Iba4499863daee1f0a9ecb07be282a4dbe09624fa
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoios-xe renderer bugfix 81/41381/7
Vladimir Lavor [Wed, 6 Jul 2016 07:45:24 +0000 (09:45 +0200)]
ios-xe renderer bugfix

- remote forwarders are created with correct ip address
- local forwarder is never removed and it's presence is not
    checked

Change-Id: I1fa38e94804d9a8cbc36aef2274953c650386c30
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoTests for neutron-ovsdb 41/41641/1
Konstantin Blagov [Thu, 30 Jun 2016 11:44:32 +0000 (13:44 +0200)]
Tests for neutron-ovsdb

Change-Id: I48e875f5247dc94570b14a00cb1726ec32e030c0
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
7 years agoGBP UI - resolved policy missing contracts fix 60/41560/3
Daniel Malachovsky [Fri, 8 Jul 2016 13:32:29 +0000 (15:32 +0200)]
GBP UI - resolved policy missing contracts fix

Change-Id: If246e46f053121cc13473dccb0ca216637361945
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoGBP UI - disable odl-ui build 90/41490/5
Daniel Malachovsky [Thu, 7 Jul 2016 14:26:55 +0000 (16:26 +0200)]
GBP UI - disable odl-ui build

- removed old-ui and ui-backend

Change-Id: Ic94985525c41186b38e8af7691252159c559b845
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoios-xe-renderer: junit coverage for PolicyWriterUtil - continued 46/41146/4
Michal Rehak [Thu, 30 Jun 2016 14:25:11 +0000 (16:25 +0200)]
ios-xe-renderer: junit coverage for PolicyWriterUtil - continued

Change-Id: I4a87fd4b307d8fb2e4b90a9b40e467ff389f60ec
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoMerge "OF-overlay PolicyEnforcer tests, refactoring"
Martin Sunal [Fri, 8 Jul 2016 07:20:11 +0000 (07:20 +0000)]
Merge "OF-overlay PolicyEnforcer tests, refactoring"

7 years agoOF-overlay PolicyEnforcer tests, refactoring 05/41005/8
Konstantin Blagov [Tue, 28 Jun 2016 14:43:49 +0000 (16:43 +0200)]
OF-overlay PolicyEnforcer tests, refactoring

Change-Id: I59d42d2da28b4bfba00bdbced052dfb775fbecc2
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
7 years agoMerge "GBP UI - resolved-policy topology size fix"
Martin Sunal [Thu, 7 Jul 2016 15:21:47 +0000 (15:21 +0000)]
Merge "GBP UI - resolved-policy topology size fix"

7 years agoGBP UI - resolved-policy topology size fix 69/41469/5
Daniel Malachovsky [Thu, 7 Jul 2016 13:26:37 +0000 (15:26 +0200)]
GBP UI - resolved-policy topology size fix

- EP sidepannel's "Network domain" section optically isolated
- small css fixes for the topology
- added Asymmetric/Symmetric info to chain detail

Change-Id: I9ba073b3fe3fd1f04f3612e86137f6f179dcccb7
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoMerge "Tests for NeutronMapper, NeutronNetworkAware"
Martin Sunal [Thu, 7 Jul 2016 14:41:17 +0000 (14:41 +0000)]
Merge "Tests for NeutronMapper, NeutronNetworkAware"

7 years agoFixes for DestinationMapperFlowsTest 73/41473/4
Konstantin Blagov [Thu, 7 Jul 2016 11:45:55 +0000 (13:45 +0200)]
Fixes for DestinationMapperFlowsTest

Change-Id: I533b2817b1718435ed9261a79073f9533300e7da
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
7 years agoMerge "Sidepanel - templates, controllers"
Martin Sunal [Thu, 7 Jul 2016 08:23:41 +0000 (08:23 +0000)]
Merge "Sidepanel - templates, controllers"

7 years agoMerge "open app on resolved policy"
Martin Sunal [Thu, 7 Jul 2016 08:03:46 +0000 (08:03 +0000)]
Merge "open app on resolved policy"

7 years agoTests for NeutronMapper, NeutronNetworkAware 70/40770/5
Konstantin Blagov [Thu, 23 Jun 2016 12:34:41 +0000 (14:34 +0200)]
Tests for NeutronMapper, NeutronNetworkAware

Change-Id: I1ef9e4250a2e6e126515e82181f553ae51d550cd
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
7 years agoMerge "SFC topology"
Martin Sunal [Wed, 6 Jul 2016 16:20:10 +0000 (16:20 +0000)]
Merge "SFC topology"

7 years agoSidepanel - templates, controllers 81/40881/20
Daniel Malachovsky [Fri, 1 Jul 2016 12:27:16 +0000 (14:27 +0200)]
Sidepanel - templates, controllers

- new logic for sidepanel
- added/edited sidepanel controllers and templates
- design changes in lists in sidepanels
- Autocomplete when adding Endpoint Group is now case insensitive in add/edit endpoint dialog

Change-Id: Id75c647f82173c56ddfb85c7ebc8f660bcf6e9f1
Signed-off-by: Lubomir Balogh -X (lubalogh - PANTHEON TECHNOLOGIES at Cisco) <lubalogh@cisco.com>
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoMerge "allow EpPolicyTemplate without conditions"
Martin Sunal [Wed, 6 Jul 2016 15:12:19 +0000 (15:12 +0000)]
Merge "allow EpPolicyTemplate without conditions"

7 years agoallow EpPolicyTemplate without conditions 22/41122/2
Matej Perina [Thu, 30 Jun 2016 08:53:02 +0000 (10:53 +0200)]
allow EpPolicyTemplate without conditions

Change-Id: Id659d39e110cf217bcef0d224ebc4d75708273f4
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
7 years agoopen app on resolved policy 12/40612/18
Daniel Malachovsky [Mon, 27 Jun 2016 12:45:26 +0000 (14:45 +0200)]
open app on resolved policy

-app open on resolved policy now
-tenant selector styling
-SGTs added to sidePannel
-SGTs fixing
-add/edit dialog: Endpoint Group's autocomplete feature fixed
-add/edit dialog styling
-reworked resolved-policy
-toolbar tenant selector styling -> to be white
-auto pre-populate Tenant Id in add/edit EP form if root tenant selected.
"require-match" removed from add/edit EP form for Endpoint Group
-add/edit EP form style for context&address type corrected
-add/edit EP form -> text color changed to black for Endpoint Group and
Condition

Change-Id: I0c6590ee4856a6a3400597bf5d9609b05afd90a7
Signed-off-by: michal.kovacik <mikovaci@cisco.com>
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
Signed-off-by: michal.kovacik <mikovaci@cisco.com>
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoSFC topology 19/40619/6
Daniel Malachovsky [Tue, 21 Jun 2016 13:03:27 +0000 (15:03 +0200)]
SFC topology

- shows detail of SFC in NeXt topo

Change-Id: I971b8cde7e19930ba9a2f407213030d5bdf26e18
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoFixed logging level 03/41003/3
Martin Sunal [Wed, 29 Jun 2016 09:26:01 +0000 (11:26 +0200)]
Fixed logging level

Change-Id: I96b5d6549166aa5db8293098b41e9c9d8a8443d2
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoFixed transaction chain in PortHandler 40/40940/4
Martin Sunal [Tue, 28 Jun 2016 13:17:30 +0000 (15:17 +0200)]
Fixed transaction chain in PortHandler

- only TransactionChain is used for creating of transactions
- synchronized access for write/delete to datastore

Change-Id: Ifd4614516f9229bc7039a975d6b73b2caf87d9e6
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoPreventing failures by syncing transactions 35/40935/7
Tomas Cechvala [Tue, 28 Jun 2016 12:51:42 +0000 (14:51 +0200)]
Preventing failures by syncing transactions

Examination of future results across vpp renderer.

Change-Id: I258393593581e563d2bef2288d43405fc00a2f84
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoFixed compilation issues due to changes in other projects 26/41326/1
Martin Sunal [Tue, 5 Jul 2016 09:51:13 +0000 (11:51 +0200)]
Fixed compilation issues due to changes in other projects

Fixes issues after these commits where merged:
SFC
  commit - 665955a8dfb04d13019cd1287cda8e0cc62db5c1
FaaS
  commit - 60b590ce96978e4066e8f2bf2073192b9c186039

Change-Id: I4327b172b5c9543cab018e8f5823c90923e2eda2
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoGBP UI build fix 21/40921/2
Daniel Malachovsky [Tue, 28 Jun 2016 09:39:02 +0000 (11:39 +0200)]
GBP UI build fix

Change-Id: I9d31da92e1b570e1981812f74c8dc179684b101e
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoMerge "ios-xe-renderer: junit coverage for PolicyWriterUtil"
Martin Sunal [Tue, 28 Jun 2016 07:08:46 +0000 (07:08 +0000)]
Merge "ios-xe-renderer: junit coverage for PolicyWriterUtil"

7 years agoResolved policy sidepanel - tenant interactions 52/40552/5
Ľubomír Balogh [Mon, 20 Jun 2016 14:54:04 +0000 (16:54 +0200)]
Resolved policy sidepanel - tenant interactions

- refreshing sidepanel elements on tenant change
- added edit/delete buttons to endpoints in sidepanel

Change-Id: I7fe4fa8688e570eba75eb3f84ac37db2f2959c36
Signed-off-by: Ľubomír Balogh <lubomir.balogh@pantheon.sk>
7 years agoios-xe-renderer: junit coverage for PolicyWriterUtil 73/40773/4
Michal Rehak [Thu, 23 Jun 2016 14:41:06 +0000 (16:41 +0200)]
ios-xe-renderer: junit coverage for PolicyWriterUtil

Change-Id: I056574ccbe3862ce197bf3ac293c359393038ace
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoMerge "Unit tests for NeutronSubnetAware"
Martin Sunal [Mon, 27 Jun 2016 11:59:28 +0000 (11:59 +0000)]
Merge "Unit tests for NeutronSubnetAware"

7 years agoUnit tests for NeutronSubnetAware 49/40549/4
Konstantin Blagov [Mon, 20 Jun 2016 14:23:31 +0000 (16:23 +0200)]
Unit tests for NeutronSubnetAware

Change-Id: I81a10e4beff90808a90c519ba10c1d4e3b2712f7
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
7 years agopolicy configuration status 57/40457/12
Matej Perina [Fri, 24 Jun 2016 13:54:28 +0000 (15:54 +0200)]
policy configuration status

    - status model changed - is now more similar to configuration
    - renderer.yang cleanup (groupings)
    - fixed classes where broken because of model cleanup
    - status collecting and storing
    - dramatic rebase

Change-Id: Ic2e2d3552b880c7ee0bad26c9388340e53067a94
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoiid type change in network elements 33/40733/9
Matej Perina [Fri, 24 Jun 2016 07:36:19 +0000 (09:36 +0200)]
iid type change in network elements

Change-Id: I95f68d510debb3ae6046122b3d27d61125a55956
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
7 years agoios-xe renderer checks SFC RSP configuration progress 14/40614/8
Vladimir Lavor [Tue, 21 Jun 2016 12:22:50 +0000 (14:22 +0200)]
ios-xe renderer checks SFC RSP configuration progress

        - should not fail when accessing locked device
        - added timeout for sfc part (create service-paths, etc)
        - added checks in dependent entities (e.g. entry in policy-map
          will not be created when appropriate class map does not exist)
- delete case
        - bugfix

Change-Id: I5af812fa22bfc4e1fca2c7f1340b3814681c79bf
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoBUG 5028 - Test GBP and SFC against Li OFP 05/33105/8
Matej Perina [Wed, 13 Apr 2016 13:11:10 +0000 (15:11 +0200)]
BUG 5028 - Test GBP and SFC against Li OFP

migration to openflowplugin Li

Change-Id: Iafc78069780aa04ed06935fa567e2ee86ccd158f
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
7 years agoFixes for VLAN use case in VPP 11/40711/5
Tomas Cechvala [Tue, 21 Jun 2016 13:33:15 +0000 (15:33 +0200)]
Fixes for VLAN use case in VPP

VLAN type specified to 8021q
Fixed VLAN augmentation type

Change-Id: I5c5c3eb5b8548feaee7b9bb1a7c0c6e762c51ed5
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoFixed for VXLAN networks in Neutron-Vpp-Mapper 12/40712/4
Tomas Cechvala [Wed, 22 Jun 2016 13:07:21 +0000 (15:07 +0200)]
Fixed for VXLAN networks in Neutron-Vpp-Mapper

Don't throw exception, just don't write to
vpp-renderer yang.

Change-Id: I2f0a5883a3fa3ab651e4983a5fe41f784806f623
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoFixed parent of subnet in neutron mapping 71/40671/1
Martin Sunal [Wed, 22 Jun 2016 10:20:05 +0000 (12:20 +0200)]
Fixed parent of subnet in neutron mapping

network-domain (neturon subnet) had forwarding-context (neutron subnet) as parent
but it should have forwarding-context (neutron network) as parent.

Change-Id: Ic3975a6a3386381bf25e60295fbb101b5b9ecff8
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoMerge "Added support of network-domain in EP's network-containment for vpp-rednerer"
Keith Burns [Tue, 21 Jun 2016 23:27:43 +0000 (23:27 +0000)]
Merge "Added support of network-domain in EP's network-containment for vpp-rednerer"

7 years agoMerge "Added ignore for controller-config netconf node"
Keith Burns [Tue, 21 Jun 2016 23:27:26 +0000 (23:27 +0000)]
Merge "Added ignore for controller-config netconf node"

7 years agoMerge "Fixed announcing of endpoint location by vpp-renderer"
Keith Burns [Tue, 21 Jun 2016 23:27:13 +0000 (23:27 +0000)]
Merge "Fixed announcing of endpoint location by vpp-renderer"

7 years agoMerge "rewritten ServiceChainingUtil.setSfcPart to lambdas"
Martin Sunal [Tue, 21 Jun 2016 21:44:06 +0000 (21:44 +0000)]
Merge "rewritten ServiceChainingUtil.setSfcPart to lambdas"

7 years agoAdded support of network-domain in EP's network-containment for vpp-rednerer 20/40620/5
Martin Sunal [Tue, 21 Jun 2016 13:07:35 +0000 (15:07 +0200)]
Added support of network-domain in EP's network-containment for vpp-rednerer

VPP renderer can process endpoints which have network-containment with:
1. forwarding-context = L2-flood-domain
2. network-domain where parent = L2-flood-domain

Change-Id: I391f8cd11b8616b08b355efd1252002bfa4a4134
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoMerge "Tenant selector"
Martin Sunal [Tue, 21 Jun 2016 14:12:44 +0000 (14:12 +0000)]
Merge "Tenant selector"

7 years agoMerge "Endpoints"
Martin Sunal [Tue, 21 Jun 2016 14:12:37 +0000 (14:12 +0000)]
Merge "Endpoints"

7 years agoAdded ignore for controller-config netconf node 04/40604/3
Martin Sunal [Tue, 21 Jun 2016 11:05:41 +0000 (13:05 +0200)]
Added ignore for controller-config netconf node

VPP-renderer should ignore controller-config netconf node

Change-Id: I02811fadc61a51660c43ad25fe09b62654814b87
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoFixed announcing of endpoint location by vpp-renderer 55/40555/4
Martin Sunal [Mon, 20 Jun 2016 15:12:02 +0000 (17:12 +0200)]
Fixed announcing of endpoint location by vpp-renderer

Change-Id: I74cd029091dd4eeebc4ff04c9374d435089a9506
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agorewritten ServiceChainingUtil.setSfcPart to lambdas 38/40538/3
Michal Rehak [Thu, 16 Jun 2016 17:11:15 +0000 (19:11 +0200)]
rewritten ServiceChainingUtil.setSfcPart to lambdas

Change-Id: I10e001412736e3ef8de2aaa392be0bb2f2e59abe
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoadded unit tests for ServiceChainingUtil 37/40537/3
Michal Rehak [Fri, 17 Jun 2016 11:59:29 +0000 (13:59 +0200)]
added unit tests for ServiceChainingUtil

Change-Id: Ia471527b7ec137e8d92102bc8a6aeb63e056da10
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoiosxe-renderer: added future results to PolicyManager 17/40317/5
Michal Rehak [Tue, 14 Jun 2016 15:17:42 +0000 (17:17 +0200)]
iosxe-renderer: added future results to PolicyManager

    - added logging and TODOs for status assembling points

Change-Id: I70ff9b4e536d2dcb0719557964983b8381fc49e5
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoios-xe-renderer version reporting 66/40166/8
Matej Perina [Thu, 16 Jun 2016 07:35:48 +0000 (09:35 +0200)]
ios-xe-renderer version reporting

Change-Id: Ie46febd2c870d22dc748436c09ab8a33884ae719
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoMerge "neutron: unbreak of neutron northbound yang model revise"
Martin Sunal [Tue, 21 Jun 2016 10:45:47 +0000 (10:45 +0000)]
Merge "neutron: unbreak of neutron northbound yang model revise"

7 years agoBug 6093 - COMPILATION ERROR sxp-mapper 88/40588/4
Martin Mihálek [Tue, 21 Jun 2016 09:07:19 +0000 (11:07 +0200)]
Bug 6093 - COMPILATION ERROR sxp-mapper

Updated to reflect change in SXP API

Change-Id: I2359e3a15e24bc1e7a879759266b70f08fd1901e
Signed-off-by: Martin Mihálek <mamihale@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoneutron: unbreak of neutron northbound yang model revise 56/40256/7
Ritu Sood [Mon, 13 Jun 2016 02:06:43 +0000 (19:06 -0700)]
neutron: unbreak of neutron northbound yang model revise

This patch provides the corresponding change needed to fix
compilation issues after the Yang model revise of the
neutron-secgroups.yang.
https://git.opendaylight.org/gerrit/#/q/project:neutron+branch:master+topic:yang-model-revise

Change-Id: I6533ccb86a916c5ac9f6e818b197544b23fe1ab8
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "Fixed bug in update forwarding"
Keith Burns [Mon, 20 Jun 2016 13:46:56 +0000 (13:46 +0000)]
Merge "Fixed bug in update forwarding"

7 years agoMerge "Use odlparent-lite for aggregator"
Martin Sunal [Mon, 20 Jun 2016 11:44:48 +0000 (11:44 +0000)]
Merge "Use odlparent-lite for aggregator"

7 years agoMerge "ios-xe-renderer policy-manager update"
Martin Sunal [Mon, 20 Jun 2016 11:44:24 +0000 (11:44 +0000)]
Merge "ios-xe-renderer policy-manager update"

7 years agoTenant selector 25/40425/6
Daniel Malachovsky [Thu, 16 Jun 2016 12:26:21 +0000 (14:26 +0200)]
Tenant selector

-tenant selector added in toolbar

Change-Id: Ibe7f2200d1e81208867046982a2e9bdb7bdd1126
Signed-off-by: michal.kovacik <mikovaci@cisco.com>
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoEndpoints 38/39938/20
Daniel Malachovsky [Tue, 14 Jun 2016 09:26:57 +0000 (11:26 +0200)]
Endpoints

-add/edit dialog style corrected
-show timestamp fixed. Address check while adding EP.
-Adding, Edit, Delete via form works
-contexts as selects
-"absolute location" added to add/edit form. "Network id domain",
"address type" as "md-select"
-tab added to add/edit form
-small corections, no functional changes
-add/edit dialog css corrections. EP SidePannel css correction
-autocomplete added to EPG chips in add/edit form
-sidePannel & add/edit form small corrections

Change-Id: I55e1b095f618b345c6539fe259cf232fd3476729
Signed-off-by: michal.kovacik <michal.kovacik@pantheon.tech>
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoUse odlparent-lite for aggregator 39/38839/3
Alexis de Talhouët [Thu, 12 May 2016 21:28:33 +0000 (17:28 -0400)]
Use odlparent-lite for aggregator

Change-Id: I374355d915ad51e542c741b8321f85bd1fe75f3e
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
7 years agoFixed bug in update forwarding 39/40539/1
Martin Sunal [Mon, 20 Jun 2016 10:17:06 +0000 (12:17 +0200)]
Fixed bug in update forwarding

added condition to update forwarding only in case
when location of endpoint was changed.

Change-Id: Ic26ca526ccba93a398b5651fc3a7c2d17a58bff0
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoFix adding nodes and Bridge domain in one transaction 00/40500/1
Michal Cmarada [Fri, 17 Jun 2016 16:23:47 +0000 (18:23 +0200)]
Fix adding nodes and Bridge domain in one transaction

Change-Id: I22a2159bde5763c63875b13103332bc3b5c2cdfd
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoMerge "Implementing VNI generation for VBD"
Martin Sunal [Fri, 17 Jun 2016 14:33:54 +0000 (14:33 +0000)]
Merge "Implementing VNI generation for VBD"

7 years agoios-xe-renderer policy-manager update 42/39842/15
Vladimir Lavor [Fri, 3 Jun 2016 13:30:38 +0000 (15:30 +0200)]
ios-xe-renderer policy-manager update

- create class-map, policy-map, interface
- added chain action
- added UT for NodeManager, PolicyManagerImpl
- util class split to policy-util and sfc-util
- delete case added

Change-Id: Ie11b15cb7b56011f60f7836c11a63ae2e5935562
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoios-xe now uses sgt augments 27/39927/4
Matej Perina [Tue, 7 Jun 2016 09:14:08 +0000 (11:14 +0200)]
ios-xe now uses sgt augments

Change-Id: I849fd57fea053afc5d35c89dcdd973229239162b
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
7 years agoSxpEndpointAugmentor - resolves SGT now 02/39902/5
Michal Rehak [Mon, 6 Jun 2016 18:22:03 +0000 (20:22 +0200)]
SxpEndpointAugmentor - resolves SGT now

    - sxp-mapper now provides EndpointAugmentor where sgt is resolved
    - based on local ep-policy-template-cache
    - rpc and endpoint augmentations containing sgt were removed
    - tests

Change-Id: I145a81cd44afee4d9b81e514641448234881c2d5
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoImplementing VNI generation for VBD 45/40445/4
Michal Cmarada [Thu, 16 Jun 2016 16:34:40 +0000 (18:34 +0200)]
Implementing VNI generation for VBD

Change-Id: Id79cb9442f58761c957914cc8448883d32ebccf3
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoMerge "Added BridgeMember listener"
Keith Burns [Thu, 16 Jun 2016 22:58:11 +0000 (22:58 +0000)]
Merge "Added BridgeMember listener"

7 years agoAdded BridgeMember listener 38/40438/5
Martin Sunal [Thu, 16 Jun 2016 11:58:25 +0000 (13:58 +0200)]
Added BridgeMember listener

Problem was that BridgeDomainManagerImpl considered bridge domain as created
when it stores VBD request to CONF DS. BUT bridge domain is created
after VBD stores bridge-member to node in OPER DS.
This commit introduces listener which is registered after VBD request is stored
to CONF DS and it waits for VBD response. When a response is received
the listener is unregistered.

Respons has to be received within 10s otherwise renderer considers that VBD did
not create bridge-domain.

Change-Id: I7a02b87d16c474475b588628ec90c740f939c427
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agointroduced SxpEndpointAugmentor 06/39606/9
Matej Perina [Wed, 15 Jun 2016 11:25:13 +0000 (13:25 +0200)]
introduced SxpEndpointAugmentor

    - endpoint-augmentor implementation for sgt
    - added domain-specific-registry to config of sxp-mapper

Change-Id: I153368992b59f476f87503bb2c8951a0b5237682
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoAdding support for VLAN bridge domains 62/40362/5
Tomas Cechvala [Wed, 15 Jun 2016 09:13:09 +0000 (11:13 +0200)]
Adding support for VLAN bridge domains

 - covers one of provider networks use cases
 - VLAN type bridge-domain should be configured
   in vpp-renderer.yang
 - if a bridge domain is not read from renderer's
   config, VXLAN is created by default

Change-Id: I2954bb154718d8cbb73f6a89646fb71df25c1827
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoMapping Neutron network for VPP renderer 51/40051/16
Tomas Cechvala [Wed, 8 Jun 2016 07:52:58 +0000 (09:52 +0200)]
Mapping Neutron network for VPP renderer

Neutron networks are mapped to bridge-domains
Works for vxlan, flat and vlan networks.

Any comments on naming are appreciated

Change-Id: Ia96d661ff7c1bcc596e4b50ff189724233e6563f
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoFixed test because of v3po.yang change 89/40389/1
Martin Sunal [Wed, 15 Jun 2016 17:00:36 +0000 (19:00 +0200)]
Fixed test because of v3po.yang change

Change-Id: Ib821d2d747e04262edcd4744919ffb45396ea7e7
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoMerge "Resolved policy sidepanel"
Martin Sunal [Wed, 15 Jun 2016 15:55:36 +0000 (15:55 +0000)]
Merge "Resolved policy sidepanel"

7 years agoMerge "Resolved policy contracts"
Martin Sunal [Wed, 15 Jun 2016 15:55:26 +0000 (15:55 +0000)]
Merge "Resolved policy contracts"

7 years agoMerge "Endpoint added"
Martin Sunal [Wed, 15 Jun 2016 15:54:37 +0000 (15:54 +0000)]
Merge "Endpoint added"

7 years agoMerge "resolved-policy view - initial commit"
Martin Sunal [Wed, 15 Jun 2016 15:54:31 +0000 (15:54 +0000)]
Merge "resolved-policy view - initial commit"

7 years agoMerge changes Ic557558f,I59d1ba03
Keith Burns [Wed, 15 Jun 2016 14:19:58 +0000 (14:19 +0000)]
Merge changes Ic557558f,I59d1ba03

* changes:
  Integrated VBD to VPP renderer for VXLAN
  Added executor for netconf callback processing

7 years agoMerge "Added check for config change in RendererManager"
Keith Burns [Wed, 15 Jun 2016 14:19:37 +0000 (14:19 +0000)]
Merge "Added check for config change in RendererManager"

7 years agoios-xe renderer reporting capabilities 37/40037/4
Matej Perina [Thu, 9 Jun 2016 07:50:37 +0000 (09:50 +0200)]
ios-xe renderer reporting capabilities

Change-Id: I16ca6bb9ef0a2843624d668136d8dd7ffe015a20
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
7 years agoAdded check for config change in RendererManager 35/40335/1
Martin Sunal [Tue, 14 Jun 2016 23:31:52 +0000 (01:31 +0200)]
Added check for config change in RendererManager

RendererManager compares current state with last configured state.
Only if these two states are differerent a configuration for renderers
is created.
This check is needed because it happens that a producer rewrites data
in datastare with the same data and it trigger DataTreeChangeEvent
so RendererManager thinks that data was changed but it was not.

Change-Id: Idc145f37351899e1fa9eb70f62a00c8c7d54ebaf
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoIntegrated VBD to VPP renderer for VXLAN 22/40222/6
Martin Sunal [Mon, 13 Jun 2016 09:12:17 +0000 (11:12 +0200)]
Integrated VBD to VPP renderer for VXLAN

VBD with VXLAN tunnels is created when endpoint location
contains external-node-mount-point but there is no such VPP node
in VBD topology(L2FD from network-containment)

Change-Id: Ic557558f9ff4236f0d801b9a63b44dcadb077b26
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoAdded executor for netconf callback processing 10/40310/1
Martin Sunal [Tue, 14 Jun 2016 14:41:42 +0000 (16:41 +0200)]
Added executor for netconf callback processing

fixed problem when reply from netconf server comes
in netty thread and callback uses this thread for
communication with netconf server again.

Change-Id: I59d1ba03630472fc412e5e230f7b5c5dc546a98f
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoMerge "Implementing VBD API in Vpp renderer"
Keith Burns [Tue, 14 Jun 2016 14:11:56 +0000 (14:11 +0000)]
Merge "Implementing VBD API in Vpp renderer"

7 years agoResolved policy sidepanel 10/40010/6
Ľubomír Balogh [Wed, 8 Jun 2016 09:28:02 +0000 (11:28 +0200)]
Resolved policy sidepanel

- added sidepanel templates
- showing EPGs, contracts in sidepanel

Change-Id: Iedee7f45e6253d9b434b0b08414652568748c007
Signed-off-by: Ľubomír Balogh <lubomir.balogh@pantheon.sk>
7 years agoImplementing VBD API in Vpp renderer 41/40041/11
Michal Cmarada [Mon, 13 Jun 2016 13:03:21 +0000 (15:03 +0200)]
Implementing VBD API in Vpp renderer

Change-Id: I424f90ea3984cf01eb9e384c1f3e761e7443f428
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoFixed cyclic renderer config update 38/40238/1
Martin Sunal [Mon, 13 Jun 2016 13:38:53 +0000 (15:38 +0200)]
Fixed cyclic renderer config update

After renderer processes configuration and reports status
it trigger RendererManager which take this as change
which generates creating of new configuration for renderer.
So this cyclic behavior is fixed in this commit.

Change-Id: I086e6c63d1e8da34943807a940aafe644ad2ae59
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoImplemented vhostuser port assignation to BD 07/39807/6
Martin Sunal [Thu, 2 Jun 2016 22:27:47 +0000 (00:27 +0200)]
Implemented vhostuser port assignation to BD

Change-Id: I236a37797168a5a861a90917efc0f1f18a571776
Signed-off-by: Martin Sunal <msunal@cisco.com>