groupbasedpolicy.git
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 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>
7 years agoTests for NeutronRouterAware 47/40047/3
Konstantin Blagov [Wed, 8 Jun 2016 15:17:58 +0000 (17:17 +0200)]
Tests for NeutronRouterAware

ATTENTION: depends on https://git.opendaylight.org/gerrit/39947

Change-Id: I00d83b39bf385c0cf2f960a171fbcd38dcb0d0da
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
7 years agoUnit tests for neutron mapper (parent commit) 47/39947/2
Konstantin Blagov [Tue, 7 Jun 2016 13:08:26 +0000 (15:08 +0200)]
Unit tests for neutron mapper (parent commit)

- base setup for DataStore testing
- tests for SecurityGroupAware, PortAware

Change-Id: I99ba280c96d60cd1b3e3d1e4923823a8344b5721
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
7 years agoMerge "Adding Neutron Physical Provider network model. Allows relating Neutron provid...
Martin Sunal [Wed, 8 Jun 2016 18:29:24 +0000 (18:29 +0000)]
Merge "Adding Neutron Physical Provider network model. Allows relating Neutron providers to device physical interfaces"

7 years agoResolved policy contracts 90/39890/2
Daniel Malachovsky [Mon, 6 Jun 2016 15:49:42 +0000 (17:49 +0200)]
Resolved policy contracts

resolved-policy data grouped by source and destination epg and contract

Change-Id: I040cfd8e10afbc7b491c063d812d794f69761d33
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoAdding Neutron Physical Provider network model. 94/39894/3
Wojciech Dec [Mon, 6 Jun 2016 16:34:45 +0000 (18:34 +0200)]
Adding Neutron Physical Provider network model.
Allows relating Neutron providers to device physical interfaces

Change-Id: I2016e0545d1956e2808cc563e04abfe50a1c50c9
Signed-off-by: Wojciech Dec <wdec@cisco.com>
7 years agoMerge "Change Location Resolver DS to Configuration"
Martin Sunal [Mon, 6 Jun 2016 17:21:16 +0000 (17:21 +0000)]
Merge "Change Location Resolver DS to Configuration"

7 years agoMerge "updated gitignore for log files"
Martin Sunal [Mon, 6 Jun 2016 17:21:01 +0000 (17:21 +0000)]
Merge "updated gitignore for log files"

7 years agoChange Location Resolver DS to Configuration 82/39882/2
Michal Cmarada [Mon, 6 Jun 2016 11:57:04 +0000 (13:57 +0200)]
Change Location Resolver DS to Configuration

Change-Id: I06c48db6f50ccb77246296d341905de0f42e39b5
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoEndpoint added 57/39757/7
michal.kovacik [Mon, 6 Jun 2016 07:38:15 +0000 (09:38 +0200)]
Endpoint added

-work on add endpoint dialog - adding works -is  without value checking
-work on add endpoint dialog

-ctrl, services, tpl added
-sidePannel with EP details works

Change-Id: If63c80cfc185b94a1e478cf004ff26cd74e9116a
Signed-off-by: michal.kovacik <michal.kovacik@pantheon.tech>
Endpoints - ordering fixed
+small code corrections

Change-Id: Ice0cc083053a4a49b03cb5870214c6f81a8333f9
Signed-off-by: michal.kovacik <michal.kovacik@pantheon.tech>
Endpoint's side pannel CSS corrected

Change-Id: Iaf235f94e100c36edd14b9e9452640ecc450ebc8
Signed-off-by: michal.kovacik <michal.kovacik@pantheon.tech>
7 years agoresolved-policy view - initial commit 27/39827/5
Ľubomír Balogh [Tue, 31 May 2016 13:03:11 +0000 (15:03 +0200)]
resolved-policy view - initial commit

- added sidepanel
- opening resolved-policy detail in sidepanel

Change-Id: Ib2ed0da6b0ad5b9a8731e9b099a68639244da57e
Signed-off-by: Ľubomír Balogh <lubomir.balogh@pantheon.sk>
7 years agoMerge "Next Topology component"
Martin Sunal [Mon, 6 Jun 2016 12:35:45 +0000 (12:35 +0000)]
Merge "Next Topology component"

7 years agoupdated gitignore for log files 59/39859/1
Keith Burns (alagalah) [Sun, 5 Jun 2016 16:11:19 +0000 (09:11 -0700)]
updated gitignore for log files

Change-Id: Iadb863d180f5784b14c0350528e30fed76963e2a
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
7 years agoIntroduced InterfaceManager in VPP renderer 77/39677/10
Michal Cmarada [Thu, 2 Jun 2016 16:41:54 +0000 (18:41 +0200)]
Introduced InterfaceManager in VPP renderer

- creates vhostuser interfaces on VPP (vhostuser interface
  is not assigned to any bridge domain)
- trigger is creating of vpp-endpoint from on vpp-renderer.yang
- does not handle case when a netconf device is connected
  after vpp-endpoint was created

Change-Id: I11ea9e0446d9297129b9a928a8417b95944739e1
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoImplementing VPP Renderer registration 52/39652/6
Michal Cmarada [Wed, 1 Jun 2016 15:42:42 +0000 (17:42 +0200)]
Implementing VPP Renderer registration

Change-Id: I516aa14fd96f0931dfd3a1e60a40c0cdec6b041a
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoMerge "Update of mapping neutron port to vpp endpoint"
Martin Sunal [Thu, 2 Jun 2016 19:22:25 +0000 (19:22 +0000)]
Merge "Update of mapping neutron port to vpp endpoint"

7 years agoMerge "ios-xe-renderer node manager update"
Martin Sunal [Thu, 2 Jun 2016 16:46:25 +0000 (16:46 +0000)]
Merge "ios-xe-renderer node manager update"

7 years agoUpdate of mapping neutron port to vpp endpoint 26/39726/6
Tomas Cechvala [Wed, 1 Jun 2016 12:30:32 +0000 (14:30 +0200)]
Update of mapping neutron port to vpp endpoint

Ports are mapped to vpp endpoints only if:
  - device owner is a compute or dhcp node
  - vif_type is vhostuser

Socket ID of vpp endpoints consists of:
  - vhostSocketPath + vhostSocketPrefix + portUUID

Incorporated the vpp-node property in vpp endpoints
which provides basic info about location of an endpoint.
Addition of dependency on network topology was needed.

Removing original vpp endpoints as a first step on neutron
port update events in case that updated ports are not
validated as vpp endpoints anymore.

Change-Id: I02ebf69c261a9103a2f62c06520e4bc0ca66f57b
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoUnit tests for ofoverlay 60/39760/1
Konstantin Blagov [Thu, 2 Jun 2016 07:48:01 +0000 (09:48 +0200)]
Unit tests for ofoverlay

Change-Id: I1b3773ac70a0ce2d00ed4bf0e97d3eb0462eaa0b
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
7 years agoios-xe-renderer node manager update 32/39532/6
Vladimir Lavor [Fri, 27 May 2016 13:29:24 +0000 (15:29 +0200)]
ios-xe-renderer node manager update

    - capability check
    - ability to update/remove node
    - unit test

Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Change-Id: Ieae273163e2cdf8e8ae79ef079e9fd53003011d9

7 years agoAdded vpp-node-path to vpp-renderer.yang 01/39701/1
Martin Sunal [Wed, 1 Jun 2016 11:41:46 +0000 (13:41 +0200)]
Added vpp-node-path to vpp-renderer.yang

- vpp-node-path represents path to the vpp mont-point

Change-Id: If2028b4bd99e27a6223a12aa6ea55cd41c1b2eb5
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoadded translation of augments to AddrEpWithLocation 35/39635/2
Matej Perina [Tue, 31 May 2016 09:50:59 +0000 (11:50 +0200)]
added translation of augments to AddrEpWithLocation

Change-Id: I8db75b2fa7b0f68160dc9d32d0844a91bd91f3c5
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
7 years agoMerge "Add Vhost User implementation for VPP"
Martin Sunal [Tue, 31 May 2016 09:49:20 +0000 (09:49 +0000)]
Merge "Add Vhost User implementation for VPP"

7 years agoAdding necessary VPP mapper attributes and config parameters. 80/39480/6
Wojciech Dec [Thu, 26 May 2016 11:56:56 +0000 (13:56 +0200)]
Adding necessary VPP mapper attributes and config parameters.
Renaming the VPP Provider to GbpVppProvider to accommodate other VPP Provider.

Change-Id: I10dca53f2ac8321442c9aca6b04f087af9c2c8b3
Signed-off-by: Wojciech Dec <wdec@cisco.com>
7 years agoMerge "Fixed EIG creation"
Martin Sunal [Tue, 31 May 2016 07:56:28 +0000 (07:56 +0000)]
Merge "Fixed EIG creation"

7 years agoadditional tests for NeLocationProvider 43/39243/5
Matej Perina [Mon, 30 May 2016 07:03:58 +0000 (09:03 +0200)]
additional tests for NeLocationProvider

Change-Id: I3e85f8363253894eb18d7c215997b4d43582bb3e
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
7 years agoNext Topology component 27/39527/2
Daniel Malachovsky [Fri, 27 May 2016 13:22:48 +0000 (15:22 +0200)]
Next Topology component

Change-Id: I1670cca3f162b5dadfd24f84814a7a38ae4cddc7
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoAdd Vhost User implementation for VPP 91/39391/11
Michal Cmarada [Mon, 30 May 2016 06:41:06 +0000 (08:41 +0200)]
Add Vhost User implementation for VPP

Change-Id: I3e2245e5152e8129f607fdcd632d84aabfe83c05
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoMerge "fixes for several logical bugs"
Keith Burns [Mon, 30 May 2016 12:25:03 +0000 (12:25 +0000)]
Merge "fixes for several logical bugs"

7 years agoMerge "Moved l2-l3 forwarding to domain-extensions"
Keith Burns [Mon, 30 May 2016 12:24:48 +0000 (12:24 +0000)]
Merge "Moved l2-l3 forwarding to domain-extensions"

7 years agoFixed EIG creation 83/39583/1
Tomas Cechvala [Mon, 30 May 2016 08:43:25 +0000 (10:43 +0200)]
Fixed EIG creation

EIG is created only if the isExternal property
in a neutron network says true.

Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoMerge "Code coverage increasing for faas-renderer"
Martin Sunal [Sat, 28 May 2016 11:49:37 +0000 (11:49 +0000)]
Merge "Code coverage increasing for faas-renderer"

7 years agofixes for several logical bugs 78/39478/6
Matej Perina [Fri, 27 May 2016 11:26:54 +0000 (13:26 +0200)]
fixes for several logical bugs

Fixes concurent transactions in NeLocationProvider, NullPointerException
in RendererUtils, registration of ForwardingResolver
and logical bugs in RendererManager

Change-Id: I9a09caafcf18fb309a682cd33de9a9fd09b95390
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
7 years agoMoved l2-l3 forwarding to domain-extensions 13/39413/8
Martin Sunal [Wed, 25 May 2016 13:45:44 +0000 (15:45 +0200)]
Moved l2-l3 forwarding to domain-extensions

domain-extensions is location for all domain specific
extensions of forwarding and endpoints.
Purpose of puting a domain specific extension
to domain-extensions is that multiple renderers
can depends on it.

The first domain specific extension is l2-l3 (layer 2 and layer 3).
The l2-l3 extension extends forwarding with
L2 and L3 specific contexts and network domains.
It is expected to have L2, L3 augmentations of an endpoint here.

Change-Id: I85e8bc1040acc7ce95a3b5bb9f65ad0e183e12fb
Signed-off-by: Martin Sunal <msunal@cisco.com>
7 years agoMerge "Fixed IDs of contracts for EIG"
Keith Burns [Fri, 27 May 2016 16:11:08 +0000 (16:11 +0000)]
Merge "Fixed IDs of contracts for EIG"

7 years agoCode coverage increasing for faas-renderer 37/39537/1
Konstantin Blagov [Fri, 27 May 2016 14:07:38 +0000 (16:07 +0200)]
Code coverage increasing for faas-renderer

Change-Id: I7e57e76617976770255287af101ae9054614d5fd
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>