groupbasedpolicy.git
7 years agoFixing read-write transaction in InterfaceManager 65/52365/1
Tomas Cechvala [Tue, 28 Feb 2017 12:56:37 +0000 (13:56 +0100)]
Fixing read-write transaction in InterfaceManager

Transaction was not closed which caused problems in NETCONF
for creating next write or read-write transactions. Changed
to read-only transaction as long as write is not needed.

Change-Id: I3cdefc6330e7264e670749c02ed379903bab61e3
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoWIP choosing L3 node by ODL for VPP 50/51250/5
Tomas Cechvala [Tue, 31 Jan 2017 14:52:52 +0000 (15:52 +0100)]
WIP choosing L3 node by ODL for VPP

Openstack has not this feature available yet,
workaroud is done in ODL.

APIs are not modified, configuration for this may be
passed by config in file located in karaf's /etc folder.

Change-Id: I1b8f8cb8da79843601695a689dadc854946ba694
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoMerge "Remove bad manifestLocation from maven-bundle-plugin"
Vladimir Lavor [Mon, 6 Feb 2017 08:37:44 +0000 (08:37 +0000)]
Merge "Remove bad manifestLocation from maven-bundle-plugin"

7 years agoMerge "remove redundant parent data with last child"
Vladimir Lavor [Thu, 2 Feb 2017 14:00:50 +0000 (14:00 +0000)]
Merge "remove redundant parent data with last child"

7 years agoMove ip-sgt-distribution-service into sxp-integration 29/51129/2
Michal Rehak [Fri, 27 Jan 2017 14:56:38 +0000 (15:56 +0100)]
Move ip-sgt-distribution-service into sxp-integration

    - this project is part of sxp integration effort

Change-Id: I513ad85046c7e1f8c135c83f1b80ffdf3fbcbdf8
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoMerge "netconf connection in cluster - workaround for bug7699"
Tomas Cechvala [Wed, 1 Feb 2017 09:56:04 +0000 (09:56 +0000)]
Merge "netconf connection in cluster - workaround for bug7699"

7 years agoMerge "better odl <-> device communication via netconf - gbp side"
Tomas Cechvala [Wed, 1 Feb 2017 09:55:53 +0000 (09:55 +0000)]
Merge "better odl <-> device communication via netconf - gbp side"

7 years agonetconf connection in cluster - workaround for bug7699 72/51172/2
Vladimir Lavor [Mon, 30 Jan 2017 09:49:52 +0000 (10:49 +0100)]
netconf connection in cluster - workaround for bug7699

Change-Id: I34417160ca4f1fd1c4707699988b51e76121ccb1
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoRemove bad manifestLocation from maven-bundle-plugin 35/51235/1
Michael Vorburger [Tue, 31 Jan 2017 13:12:57 +0000 (14:12 +0100)]
Remove bad manifestLocation from maven-bundle-plugin

Change-Id: Ia27b7bf906aec9893d5c4ad23c343f7571cb24e5
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agobetter odl <-> device communication via netconf - gbp side 67/51067/5
Vladimir Lavor [Thu, 26 Jan 2017 13:13:59 +0000 (14:13 +0100)]
better odl <-> device communication via netconf - gbp side

* transaction is restarted after every exception (caused by
  collision, netconf failure, HC failure etc.)
* data to remove are verified whether they are present to
  prevent netconf transaction exceptions

Change-Id: I7243b174cb1545f78d2df897e8755fc173e3757a
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoRemove delegator feature - odl-groupbasedpolicy-sxp-mapper 07/51007/2
Michal Rehak [Wed, 25 Jan 2017 13:17:20 +0000 (14:17 +0100)]
Remove delegator feature - odl-groupbasedpolicy-sxp-mapper

    - this feature was renamed to odl-groupbasedpolicy-sxp-ep-provider
    - feature-test is fixed: https://git.opendaylight.org/gerrit/#/c/50995/

Change-Id: I1cec8b04065b2dc3a4af1ac5d3aef02fabed0d9f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoMerge "Replace mockito-all by mockito-core (see Bug 7662)"
Vladimir Lavor [Thu, 26 Jan 2017 18:30:02 +0000 (18:30 +0000)]
Merge "Replace mockito-all by mockito-core (see Bug 7662)"

7 years agoMerge "Fixing compareTo for RendererResolvedPolicy"
Vladimir Lavor [Thu, 26 Jan 2017 11:07:29 +0000 (11:07 +0000)]
Merge "Fixing compareTo for RendererResolvedPolicy"

7 years agoFixing compareTo for RendererResolvedPolicy 04/51004/6
Tomas Cechvala [Wed, 25 Jan 2017 11:42:09 +0000 (12:42 +0100)]
Fixing compareTo for RendererResolvedPolicy

It's important not to lose any resolved rule
when caching policy.

Parameters included:
    EndpointPolicyParticipation
    ResolvedRuleGroup

Change-Id: Idf5f4dbde902d7f21ca0a83d68a71dbeeefc7a52
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoExporting API for VPP adapter 76/50376/3
Tomas Cechvala [Thu, 12 Jan 2017 16:10:37 +0000 (17:10 +0100)]
Exporting API for VPP adapter

Generated classes need to be available in runtime.
Consuming instance need import them.

Change-Id: I30f69fc9ab046f333cf0721ff86cc5635b02a401
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoGUI - Add default redirect on app start 79/50179/2
Daniel Malachovsky [Tue, 10 Jan 2017 12:59:16 +0000 (13:59 +0100)]
GUI - Add default redirect on app start

Due Dlux split we removed Topology app from odl-dlux-core feature.
There were also default redirect to that app, so it was landing page, when
DLUX was started.
This patch adds default route to GUI in this project.

More info:
https://wiki.opendaylight.org/view/Weather#Rename_some_odl-dlux-.2A_features_to_odl-dluxapps-.2A

Change-Id: Ic46fa497dcef604b5eba15cc93a2c29a93630f43
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoMerge "Handling for occassional npe in neutron-mapper/vpp-renderer"
Tomas Cechvala [Tue, 24 Jan 2017 14:11:51 +0000 (14:11 +0000)]
Merge "Handling for occassional npe in neutron-mapper/vpp-renderer"

7 years agoReplace mockito-all by mockito-core (see Bug 7662) 64/50864/2
Michael Vorburger [Mon, 23 Jan 2017 18:58:42 +0000 (19:58 +0100)]
Replace mockito-all by mockito-core (see Bug 7662)

Change-Id: I5fcdc0124404d29ffef4acc54b1a87ccdb48c990
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "Fixing socket for vpp endpoint"
Tomas Cechvala [Tue, 24 Jan 2017 12:39:35 +0000 (12:39 +0000)]
Merge "Fixing socket for vpp endpoint"

7 years agoMerge "router delete implementation in neutron mapper"
Tomas Cechvala [Tue, 24 Jan 2017 11:30:21 +0000 (11:30 +0000)]
Merge "router delete implementation in neutron mapper"

7 years agoFixing socket for vpp endpoint 25/48825/7
Michal Cmarada [Fri, 2 Dec 2016 07:38:56 +0000 (08:38 +0100)]
Fixing socket for vpp endpoint

if hostconfig is used for VPP renderer, the socket generated
for VPP endpoint is bad. this patch fixes this issue

Change-Id: I136f1b0b331f7fef82c74f217f802960687a79bf
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agorouter delete implementation in neutron mapper 29/50429/8
Michal Cmarada [Mon, 23 Jan 2017 12:13:39 +0000 (13:13 +0100)]
router delete implementation in neutron mapper

Change-Id: I5c5575cceaf878316b4e1de73f736c98748b3fb9
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoHandling for occassional npe in neutron-mapper/vpp-renderer 55/50555/7
Vladimir Lavor [Tue, 17 Jan 2017 14:56:42 +0000 (15:56 +0100)]
Handling for occassional npe in neutron-mapper/vpp-renderer

Change-Id: I1ec230adca38c1eda083a008d1cc2c579ac79eb8
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoReplace rpc registration via blueprint with rpc-broker 79/50679/4
Michal Rehak [Fri, 7 Oct 2016 12:34:58 +0000 (14:34 +0200)]
Replace rpc registration via blueprint with rpc-broker

    - blueprint registers rpc equally per node where
      all instances are active at the same time and routing
      over cluster is not needed (local instance is always involved)
    - now rpc-broker is used to expose rpc and rpc lifecycle is managed
      by cluster-singleton-service
    - adapted also neutron-mapper and neutron-ovsdb (feature test blocker)

Change-Id: I55e75f6a9ade6a948487f5da2465e81c962f7c9b
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoFix DS based test in ip-sgt-distribution-service 27/50927/1
Michal Rehak [Tue, 24 Jan 2017 09:24:01 +0000 (10:24 +0100)]
Fix DS based test in ip-sgt-distribution-service

    - sxp model changed - at least 1 sxp domain is required
    - removed slf4j-log4j test dependency (conflicting with slf4j-simple in tests)

Change-Id: Ie82a51655418c03286b9c986a7b7e461f5fc4e0f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoAdd jolokia feature repo to local karaf 78/50678/1
Michal Rehak [Tue, 11 Oct 2016 14:33:59 +0000 (16:33 +0200)]
Add jolokia feature repo to local karaf

Change-Id: I57d949a5cc4e89029924612bfb5400ff0223cf32
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoMerge "Neutron port removal fixed"
Tomas Cechvala [Thu, 19 Jan 2017 08:25:50 +0000 (08:25 +0000)]
Merge "Neutron port removal fixed"

7 years agoMerge "Changes features for odl-groupbasedpolicy-vpp"
Vladimir Lavor [Wed, 18 Jan 2017 16:13:53 +0000 (16:13 +0000)]
Merge "Changes features for odl-groupbasedpolicy-vpp"

7 years agoMerge "Adding logs to RPC calls in VPP adapter"
Vladimir Lavor [Wed, 18 Jan 2017 16:13:13 +0000 (16:13 +0000)]
Merge "Adding logs to RPC calls in VPP adapter"

7 years agoNeutron port removal fixed 37/50437/8
Vladimir Lavor [Fri, 13 Jan 2017 13:58:56 +0000 (14:58 +0100)]
Neutron port removal fixed

* L3 context update is applied only for persistent ports
  within subnet to avoid recreation of previously removed
  ones
* Router interface port is now already removed in onDelete
* vif-type is considered if port update

Change-Id: I4d1331845e19313f50a563206f6c4efe67e1fca6
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoAddress endpoint with no location is not counted into configuration 44/49244/12
Vladimir Lavor [Mon, 12 Dec 2016 13:29:15 +0000 (14:29 +0100)]
Address endpoint with no location is not counted into configuration

Change-Id: Ide6f38453dcc738eabc4f1c3511be124cde82371
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoremove redundant parent data with last child 36/49536/5
Matej Perina [Tue, 17 Jan 2017 15:33:24 +0000 (15:33 +0000)]
remove redundant parent data with last child

Change-Id: If833e1a6c9bce23834f15983ed1a620c39fed9c8
Signed-off-by: Matej Perina <mperina@cisco.com>
7 years agoChanges features for odl-groupbasedpolicy-vpp 30/49230/2
Tomas Cechvala [Mon, 12 Dec 2016 09:21:24 +0000 (10:21 +0100)]
Changes features for odl-groupbasedpolicy-vpp

Feature odl-vbd has to be installed for fully operational
VPP renderer.

Change-Id: I598f3cd3653e1e019149f0a277f01cc0ca1a7828
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoAdding logs to RPC calls in VPP adapter 23/50523/1
Tomas Cechvala [Mon, 16 Jan 2017 18:39:52 +0000 (19:39 +0100)]
Adding logs to RPC calls in VPP adapter

for easier troubleshooting.

Change-Id: Ibff4060022ae1ca3d3017b1b3429d4abecec9fa4
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoCleanup CRLF consistency 99/50199/1
Robert Varga [Tue, 10 Jan 2017 14:46:45 +0000 (15:46 +0100)]
Cleanup CRLF consistency

This file has inconsistent CR/LF combination, clean that up.

Change-Id: I202b9253422e8555e091631d875e8cdbdcd5ce21
Signed-off-by: Robert Varga <rovarga@cisco.com>
7 years agoDeleting L2 when removing interface from BD 79/49179/4
Tomas Cechvala [Fri, 9 Dec 2016 13:04:56 +0000 (14:04 +0100)]
Deleting L2 when removing interface from BD

Errors when removing bridge-domain from bridge-based since
bridge-domain is marked as mandatory. I tried to set
interconnection to null, but this led to strange behaviour
on HC, so currently it's necessary to remove the entire
L2 node.

Change-Id: I8c5738003fed464e89b346953c156c17d60e8d05
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoVPP adapter changes 41/49041/10
Tomas Cechvala [Tue, 6 Dec 2016 15:33:02 +0000 (16:33 +0100)]
VPP adapter changes

updating model to make it more transparent
tiny implementation changes

Change-Id: Ib39174c30c689fd174409c0791aed533a7f9dd42
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoReplacing InstanceIdentifier in VPP renderer model 90/49190/5
Tomas Cechvala [Fri, 9 Dec 2016 16:45:55 +0000 (17:45 +0100)]
Replacing InstanceIdentifier in VPP renderer model

 - replaced with NodeId
 - it would be easier to write JSONs for RPC
 - mount points are located in topology-netconf anyways
   no need for specifying other topology for now

Change-Id: I5645868e495a602b369f123afbb416f07b927066
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoVppNodeManager improvements 27/48827/5
Vladimir Lavor [Wed, 30 Nov 2016 13:04:55 +0000 (14:04 +0100)]
VppNodeManager improvements

* Unused available netconf node cache removed
* VppNodeWriter removed, status is written from manager
* If node is connected but mountpoint is not available,
  such a node will not be considered ready

Change-Id: If8381d9079e61742e7a580e0d0a41fc68bcf3002
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoUT coverage increased in vpp-renderer 79/48579/7
Vladimir Lavor [Tue, 22 Nov 2016 14:46:13 +0000 (15:46 +0100)]
UT coverage increased in vpp-renderer

* GbpVppNetconfConnectionProbeTest.class
* GbpNetconfTransaction

Change-Id: I7615d2eaeb6f3a64ab42aaf534807ddcffe74ded
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoMore reliable netconf transaction handling 83/48983/11
Vladimir Lavor [Mon, 5 Dec 2016 13:54:41 +0000 (14:54 +0100)]
More reliable netconf transaction handling

* Every interface creation/deletion is now treated
* Applies as a workaround for netconf bug 7295

Change-Id: I9d8e2ac2412065d4bf4ff9c9525a4265c207c0c4
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoIncorporating vagrant box for gbpsfc demo 16/46616/6
Tomas Cechvala [Thu, 6 Oct 2016 12:54:18 +0000 (14:54 +0200)]
Incorporating vagrant box for gbpsfc demo

Speeding up building process by using a
customized box with preinstalled software.

Change-Id: Id581a87ece170e158a7536954ff071eae43bdd29
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoWire ip-sgt-distribution-service - renderer part 83/49083/6
Michal Rehak [Wed, 7 Dec 2016 10:39:42 +0000 (11:39 +0100)]
Wire ip-sgt-distribution-service - renderer part

    added:
    - dependency + feature
    - ip-sgt-distribution-service resolution
    - compute input values
    - collect src+dest part and invoke the service

Change-Id: Ie03ca9d7fd9a88ef3b9843b2ee5d47bd9cf9826f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoWire ip-sgt-distribution-service - service part 82/49082/6
Michal Rehak [Wed, 7 Dec 2016 08:08:49 +0000 (09:08 +0100)]
Wire ip-sgt-distribution-service - service part

    - changed rpc service registration
    - added missing sxp values to binding container
    - fixed missing propagation of version leaf (mandatory)

Change-Id: I6fa23bd7c1af35c09e0d0a354070d9c63b28da34
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoInactive data provider will not cause SingleFeatureTest to stuck 95/49295/11
Vladimir Lavor [Tue, 13 Dec 2016 12:37:04 +0000 (13:37 +0100)]
Inactive data provider will not cause SingleFeatureTest to stuck

Change-Id: Iadcc8ef8da7536703168c898f6850c75221fb187
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoMerge "Fix collision between VBD UI and GBP UI"
Vladimir Lavor [Sun, 11 Dec 2016 22:57:28 +0000 (22:57 +0000)]
Merge "Fix collision between VBD UI and GBP UI"

7 years agoMerge "ip-sgt-distribution-service"
Vladimir Lavor [Sat, 10 Dec 2016 11:35:30 +0000 (11:35 +0000)]
Merge "ip-sgt-distribution-service"

7 years agoFix collision between VBD UI and GBP UI 77/49177/1
Daniel Malachovsky [Fri, 9 Dec 2016 12:24:18 +0000 (13:24 +0100)]
Fix collision between VBD UI and GBP UI

Change-Id: Icb9fdae85e8f45e0a85e354ae441cf5bcf43016b
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoQR-Tap port update fix 34/49034/2
Michal Cmarada [Thu, 8 Dec 2016 13:07:40 +0000 (14:07 +0100)]
QR-Tap port update fix

Change-Id: Ia44d12b2da8dda5811b3b108cd1acb6feee52ad7
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoip-sgt-distribution-service 33/42033/15
Matej Perina [Wed, 21 Sep 2016 12:23:15 +0000 (14:23 +0200)]
ip-sgt-distribution-service

    - rebased
    - version bump to next master (carbon)
    - added support for clustering

Change-Id: I82fb13997031240e8b223d518349ab0e5124bace
Signed-off-by: Matej Perina <mperina@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agovpp demo update 35/49035/3
Michal Cmarada [Thu, 8 Dec 2016 09:14:34 +0000 (10:14 +0100)]
vpp demo update

updating some config files for hc and vpp
reducing size of RAM for VMs
reducing hugepages for VPP

Change-Id: I89d34dc7bf4ac1fec08629d029db85097931dd97
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoIntroducing RPCs for remote calls to VPP 62/48962/5
Tomas Cechvala [Mon, 5 Dec 2016 14:37:15 +0000 (15:37 +0100)]
Introducing RPCs for remote calls to VPP

Allowing other plugins to interact with VPP by
using VPP renderer.
RPCs allow creating bridge domains, interfaces
and assigning bridge domains to interfaces.

Change-Id: Iddcf4b127ebe5757405d6041746a9559365156ee
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoImprove gbp-sxp logging 89/48789/3
Michal Rehak [Tue, 29 Nov 2016 14:43:26 +0000 (15:43 +0100)]
Improve gbp-sxp logging

    - prevent unneccessary NPE from dumping to log
    - provide more useful logging for operation results
    - bit of code formatting

Change-Id: I564f1b9cd9135bc4767c22b2e3028f65c5301eef
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoFix for Neutron Port update for VPP 65/48665/6
Michal Cmarada [Tue, 29 Nov 2016 12:59:24 +0000 (13:59 +0100)]
Fix for Neutron Port update for VPP

Change-Id: I1baf4e77b797d5f9d3e79dd619b6ee6e0ff4a1ed
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoBug 7241:Fix logging for VPP node 97/48697/2
Michal Cmarada [Fri, 25 Nov 2016 12:18:33 +0000 (13:18 +0100)]
Bug 7241:Fix logging for VPP node

if the required VPP node does not contain required capability the logs
shouldn`t say that this node is capable and ready.

Change-Id: Id515d89a9aae8c5c84ac555ececa751f40aa8052
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agointroducing loopback port for VPP 07/48307/6
Michal Cmarada [Wed, 23 Nov 2016 15:34:33 +0000 (16:34 +0100)]
introducing loopback port for VPP

adding support for loopback interface in vpp-renderer
adding support for loopback VPP router interface in neutron-vpp-mapper

Change-Id: Ibd91f8b109468abc16018f3a09d6bb76cd7ce018
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoBug 6743: GBP HA improved 98/48198/6
Vladimir Lavor [Tue, 15 Nov 2016 16:20:49 +0000 (17:20 +0100)]
Bug 6743: GBP HA improved

    - Improved update processing for vpp endpoint and policy
    - Added netconf connection probe to watch and handle connected devices
    - Better logging

Change-Id: If186972d8d6177c5e1361f8b857307f517c5a7fd
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoRemoving the last reference to sfcofl2 04/48404/1
Brady Johnson [Wed, 16 Nov 2016 13:19:31 +0000 (14:19 +0100)]
Removing the last reference to sfcofl2

- The feature was renamed to odl-sfc-openflow-renderer

Change-Id: I7a58a016035761147627bb325c3d701f1a8dd039
Signed-off-by: Brady Johnson <brady.allen.johnson@ericsson.com>
7 years agoThe SFCOFL2 karaf feature is deprecated 49/43249/3
Brady Johnson [Fri, 5 Aug 2016 16:06:12 +0000 (18:06 +0200)]
The SFCOFL2 karaf feature is deprecated

- The odl-sfc-openflow-renderer should be used in its place

Change-Id: Idda220b9acd338f6c6d8bf6861ac1816879e73e2
Signed-off-by: Brady Johnson <brady.allen.johnson@ericsson.com>
7 years agoHostconfig for Openstack in VPP renderer 17/48217/4
Tomas Cechvala [Thu, 10 Nov 2016 14:38:54 +0000 (15:38 +0100)]
Hostconfig for Openstack in VPP renderer

Different underlay technologies may be used in multinode
environment (ovs, vpp, etc.)

Configuration for hosts on a particular node may be passed to
Openstack by using hostconfigs feature.

If GBP discoveres a VPP capable node, neutron-vpp-mapper
(if installed) will react to this by exposing a config
specific for the node into
/restconf/operational/neutron:neutron/hostconfigs

On the Openstack side, pseudo-agent-binding port binding
controller (networking-odl) will periodically scan the
datatree mentioned above and if it finds data, it will update
agent database (neutron) with them.

Later on, if someone is going to boot nova instance, nova will
bind the port in such a way as the configuration in agent DB for
the given node tells it.

E.g. if vif_type is 'ovs', a port will be created and bound to
OVS. If it's 'vhostuser' nova will bind the port to a vhostuser
socket (which path is also specified in the config)

How to enable hostconfig feature in Devstack/Openstack:
modify ml2.conf by adding the following lines:
port_binding_controller=pseudo-agentdb-binding
ODL_HOSTCONF_URI=restconf/operational/neutron:neutron/hostconfigs
URL=<your_url, e.g http://127.0.0.1:8080/>

Change-Id: I43dd10a4dc0d7bb62ab3c9f0c6b100718b528cad
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
7 years agoBug 7174: stop propagating mandatory/min-elements in configuration nodes 15/48315/2
Vladimir Lavor [Mon, 14 Nov 2016 11:56:09 +0000 (12:56 +0100)]
Bug 7174: stop propagating mandatory/min-elements in configuration nodes

Change-Id: Ie17af5e2e2d7998e7a270b3d844d846fd7d3ec17
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoStop manadatory flag propagation in range-value/* 06/48306/1
Michal Rehak [Mon, 14 Nov 2016 09:05:40 +0000 (10:05 +0100)]
Stop manadatory flag propagation in range-value/*

    - caused by /tenants/tenant/policy/subject-feature-instance/
      range-value/{min;max}
    - added presence statement to range-value container

Resolves: BUG-7167

Change-Id: I2f0706f671696cc885f545400124c8aa2cfc3bc7
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoThe OpendaylightSfc class was removed from SFC. 76/48276/2
Brady Johnson [Fri, 11 Nov 2016 18:46:31 +0000 (19:46 +0100)]
The OpendaylightSfc class was removed from SFC.

Change-Id: I09b8752c44aba80908b5fa5df68585016c93af64
Signed-off-by: Brady Johnson <brady.allen.johnson@ericsson.com>
7 years agoBump SFC dependency version 96/47896/2
Vratko Polak [Thu, 3 Nov 2016 14:55:00 +0000 (15:55 +0100)]
Bump SFC dependency version

SFC has bumped their versions in:
https://git.opendaylight.org/gerrit/47001

Change-Id: If593af03c314e2b2a284bae5c1c43cdff5253cc0
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
7 years agoBUG-6743: HA features supports - switch netconf-topology 20/47620/1
Michal Rehak [Wed, 12 Oct 2016 08:24:16 +0000 (10:24 +0200)]
BUG-6743: HA features supports - switch netconf-topology

    - switch to odl-netconf-clustered-topology in favor
      of odl-netconf-topology

Change-Id: Ia7ffe4db5c5da8e0049ee3ab75f1a806688b8f06
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoadditional fix for netconf change 39/47439/5
Matej Perina [Mon, 24 Oct 2016 22:23:35 +0000 (00:23 +0200)]
additional fix for netconf change

 - covers missing leaf in required capabilities
 - fix missing dependency on ClusteredSingletonService

Change-Id: I7de71b4775194dc55e1d38d929779103acef8034
Signed-off-by: Matej Perina <mperina@cisco.com>
7 years agofix for controller dependency change 22/47522/3
Matej Perina [Tue, 25 Oct 2016 13:59:07 +0000 (15:59 +0200)]
fix for controller dependency change

 - resolves build break after https://git.opendaylight.org/gerrit/#/c/46691/
 - could be reverted after https://git.opendaylight.org/gerrit/#/c/47467/
   is merged
 - or could stay as prevention from disruptions after random parent changes

Change-Id: I9bec702789a94d813e4bc6dedf9576d8a1eef0bc
Signed-off-by: Matej Perina <mperina@cisco.com>
7 years agofix for netconf model change 27/47327/3
Matej Perina [Fri, 21 Oct 2016 13:45:29 +0000 (15:45 +0200)]
fix for netconf model change

 - fixes changes made in https://git.opendaylight.org/gerrit/#/c/43972/

Change-Id: I7c7521eb0c831842f8ea6119734f1bf71a840f16
Signed-off-by: Matej Perina <mperina@cisco.com>
7 years agoRouterEp registration and L3 Endpoints update 25/47025/2
Michal Cmarada [Wed, 28 Sep 2016 14:41:23 +0000 (16:41 +0200)]
RouterEp registration and L3 Endpoints update

Change-Id: I3129dcb31b4ff0b990c00315d61b6ff5bc3840cc
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoMerge "BUG-6953: fix renderer-node overwriting"
Vladimir Lavor [Tue, 18 Oct 2016 13:00:54 +0000 (13:00 +0000)]
Merge "BUG-6953: fix renderer-node overwriting"

7 years agoBUG-6953: fix renderer-node overwriting 22/47022/3
Michal Rehak [Thu, 6 Oct 2016 10:31:25 +0000 (12:31 +0200)]
BUG-6953: fix renderer-node overwriting

    - when reporting connected nodes under renderer tree (renderer-nodes)
      then write items to exact path by id order not to replace existing
      list content
    - code cleanup
    - test fix

Change-Id: I4754630c0f5dd7b86a7313bbd8c7673033fbea53
Signed-off-by: Michal Rehak <mirehak@cisco.com>
7 years agoL4 classifier for VPP renderer 75/46875/3
Michal Cmarada [Thu, 13 Oct 2016 09:46:56 +0000 (11:46 +0200)]
L4 classifier for VPP renderer

Change-Id: I40154444098a7fdd5d52bdf91ebba684f7f2babf
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoVPP renderer: fixed imports after changes in vpp yang models 53/46953/4
Michal Cmarada [Mon, 17 Oct 2016 10:02:14 +0000 (12:02 +0200)]
VPP renderer: fixed imports after changes in vpp yang models

Change-Id: Iaee62b269dbc879b832efa887044875cdfa5cdfe
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoImproved GBP-VBD communication process 81/46281/10
Vladimir Lavor [Thu, 29 Sep 2016 07:13:36 +0000 (09:13 +0200)]
Improved GBP-VBD communication process

    - GBP now registers listener if some request for VBD is created
    - VBD now has bigger time window to complete tasks
    - VBD bridge domain creation status is used (patch here:
      https://git.opendaylight.org/gerrit/#/c/46283/)
    - BridgeDomain class defined in vpp-renderer.yang renamed to
      GbpBridgeDomain to avoid usage of fully qualified names
    - UT fixed

Change-Id: I1dae38a20a528c70b6de8df45d841a99405f34d8
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agointroducing vpp-demo 74/44674/15
Michal Cmarada [Wed, 28 Sep 2016 08:58:02 +0000 (10:58 +0200)]
introducing vpp-demo

- basic setup environment

Change-Id: I1ad5ca007dc4cef8ad63b9272ada723ff06b93f5
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
7 years agoIncreasing coverage on faas-renderer 91/46491/3
Konstantin Blagov [Tue, 4 Oct 2016 16:32:43 +0000 (18:32 +0200)]
Increasing coverage on faas-renderer

Change-Id: I631bd5e1317cbf4a037845c4b8941f2da184756e
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
7 years agoBUG-6858: adapt to ise api, fix sgt-generator 15/46615/1
Michal Rehak [Thu, 6 Oct 2016 10:30:00 +0000 (12:30 +0200)]
BUG-6858: adapt to ise api, fix sgt-generator

    - if no templates available then use range lower end point

Change-Id: I54b3f1f4edd96b800b9b4d22d5bb48ebc918faf0
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit dfe97dfd48667a052b36a8a6a81379f172440496)

7 years agoBUG-6858: adapt to ise api, fix NPE in listener when missing masterDB 14/46614/1
Michal Rehak [Tue, 4 Oct 2016 14:48:30 +0000 (16:48 +0200)]
BUG-6858: adapt to ise api, fix NPE in listener when missing masterDB

    - added Optional structure for case where topology
      from notification contains null list of nodes

Change-Id: I24af46a0b69410dc472772e51f2bbccde4163688
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit ebba85849d74d3438500bebc5be84ad6cb8665ad)

7 years agoBUG-6858: adapt to ise api, wire harvestAll to template-provider 13/46613/1
Michal Rehak [Mon, 3 Oct 2016 13:15:13 +0000 (15:15 +0200)]
BUG-6858: adapt to ise api, wire harvestAll to template-provider

    - template-provider reaches out for ise-harverster
      when template not available
    - involve template-provider in ios-xe renderer (async blacking call)

Change-Id: I4f6077bbeccbaabe2e9dd7025972ef906e79dbe8
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit 27a291d46621e5763e9e38986cc2ac858e4e1fb1)

7 years agoBUG-6858: adapt to ise api, change lookup from ise 12/46612/1
Michal Rehak [Fri, 30 Sep 2016 07:43:22 +0000 (09:43 +0200)]
BUG-6858: adapt to ise api, change lookup from ise

 - lookup from ise now updates sgt
 - enhance sgtInfo by uuid
 - use uuid to detect new sgts

Change-Id: I2542b50a3c3735378dd170864ff227f4c471c363
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit 4adb237ca9080a70c76f996fcefcbba2c3677124)

7 years agoBUG-6858: adapt to ise api, simultaneous queries 11/46611/1
Michal Rehak [Wed, 28 Sep 2016 15:55:47 +0000 (17:55 +0200)]
BUG-6858: adapt to ise api, simultaneous queries

    - use pool to query all sgt details

Change-Id: I3c19477f09a0720c9c8054db3abb4ad2232730d2
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit 91afd65cfa15ac78b3243d7e9e9dda85a3ac1850)

7 years agoBUG-6650: ep-ip/sgt, remove sxp-mapper 86/46386/2
Michal Rehak [Fri, 30 Sep 2016 12:22:27 +0000 (14:22 +0200)]
BUG-6650: ep-ip/sgt, remove sxp-mapper

Change-Id: I81bff669c18b559f4be640bac13f7a80a23d1bce
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit ce403cb4a1eecdcc65c15f6cdd6973e828dc5e72)

7 years agoBUG-6650: ep-ip/sgt, update/rename models and yangs for sxp-ise-adapter 85/46385/2
Michal Rehak [Thu, 25 Aug 2016 09:40:03 +0000 (11:40 +0200)]
BUG-6650: ep-ip/sgt, update/rename models and yangs for sxp-ise-adapter

Change-Id: I5aada429bf02b56d729b2745c4370f59047c59e5
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit 36336d2b176dc6ed23170f5771b72f4f43d6a861)

7 years agoBUG-6650: ep-ip/sgt, propose sxp-generator 84/46384/2
Michal Rehak [Mon, 22 Aug 2016 09:26:15 +0000 (11:26 +0200)]
BUG-6650: ep-ip/sgt, propose sxp-generator

    - ep-to-sgt mapper implementation
    - sxp-ep-mapper wiring
    - added blueprint migration impact
       - moved sgt-generator-config model to top-level

Change-Id: Id3765448f1e0e7da37701131e307c6f544dd20d2
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit ed1db1fa56f6dfc88d1c390ffb8c63b2cdc2f5a8)

7 years agoBUG-6650: ep-ip/sgt, implement and wire template provider 83/46383/2
Michal Rehak [Thu, 18 Aug 2016 16:04:50 +0000 (18:04 +0200)]
BUG-6650: ep-ip/sgt, implement and wire template provider

    - provider needs ise adapter which registers upon feature started
    - unit tests
    - added epPolicyTemplateDaoFacade

Change-Id: I24d469321fd0ba1ed9683c9fc51b6fad8d743740
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit 7f9c8ab38339cfb126e49982d29d8d6366416f20)

7 years agoBUG-6650: ep-ip/sgt, prepare removal of deprecated sxp-mapper 82/46382/2
Michal Rehak [Thu, 18 Aug 2016 12:23:53 +0000 (14:23 +0200)]
BUG-6650: ep-ip/sgt, prepare removal of deprecated sxp-mapper

Change-Id: I71b2bdc663653c5ccfc10cd9fbc092760ff4c4ee
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit 0a5a0040ac71d4ef087c7a3d174f7edc19f7b1d8)

7 years agoBUG-6650: ep-ip/sgt, propose initial template provider api 81/46381/2
Michal Rehak [Tue, 30 Aug 2016 19:11:46 +0000 (21:11 +0200)]
BUG-6650: ep-ip/sgt, propose initial template provider api

    - fixed features and css

Change-Id: I42298ad6f7b7ad9edc5cea86142666ddf7e2d51e
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit 82d3007c73f367e36b0833a9e650f0df17c8bbfd)

7 years agoBUG-6650: ep-ip/sgt, rename groupbasedpolicy-ise-adapter to sxp-ise-adapter 80/46380/2
Michal Rehak [Wed, 17 Aug 2016 15:12:00 +0000 (17:12 +0200)]
BUG-6650: ep-ip/sgt, rename groupbasedpolicy-ise-adapter to sxp-ise-adapter

Change-Id: I30845d92798bb37f485ea87bfd3cd516d657c295
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit 152d62feaad519d59d544d7e53282bf6a5a9a4d3)

7 years agoBUG-6650: ep-ip/sgt, move groupbasedpolicy-ise-adapter into sxp-integration 79/46379/2
Michal Rehak [Wed, 17 Aug 2016 14:48:11 +0000 (16:48 +0200)]
BUG-6650: ep-ip/sgt, move groupbasedpolicy-ise-adapter into sxp-integration

Change-Id: I22a996dda40f5fa6d843e72b9fa045d6ea1cb29f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit 68133ec166f262b2642472dd3f69a5ef58d9159b)

7 years agoBUG-6650: ep-sgt/ip, propose initial sxp-ep-provider 51/42251/2
Michal Rehak [Thu, 21 Jul 2016 16:38:01 +0000 (18:38 +0200)]
BUG-6650: ep-sgt/ip, propose initial sxp-ep-provider

Change-Id: I639435ab23048cf318f4b760a5c1b92ae2249a97
Signed-off-by: Michal Rehak <mirehak@cisco.com>
(cherry picked from commit e97dcf9add5c5738035b28d970a7bb937be5f8c1)

7 years agoReverting change 46032 56/46056/1
Konstantin Blagov [Thu, 22 Sep 2016 13:41:25 +0000 (15:41 +0200)]
Reverting change 46032

Change-Id: I31ce754e0294420e027a6bb4613b9c2ea5219b40
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
7 years agoExplicit setup for JaCoCo to measure utest coverage correctly 32/46032/1
Konstantin Blagov [Thu, 22 Sep 2016 08:30:00 +0000 (10:30 +0200)]
Explicit setup for JaCoCo to measure utest coverage correctly

Change-Id: I289410c971cbd0e2de292424b9b6f260dd03b8f7
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
7 years agoMerge "BUG:6743 switch to clustered data listener"
Vladimir Lavor [Wed, 21 Sep 2016 09:31:11 +0000 (09:31 +0000)]
Merge "BUG:6743 switch to clustered data listener"

7 years agoBUG:6743 switch to clustered data listener 13/45813/2
Matej Perina [Wed, 21 Sep 2016 07:41:29 +0000 (09:41 +0200)]
BUG:6743 switch to clustered data listener

Change-Id: Ia3794316559565e6f65d63b07872853e78be20f3
Signed-off-by: Matej Perina <mperina@cisco.com>
7 years ago[ios-xe-renderer] Increases coverage for PolicyWriterUtil 14/45814/4
Konstantin Blagov [Mon, 19 Sep 2016 13:18:22 +0000 (15:18 +0200)]
[ios-xe-renderer] Increases coverage for PolicyWriterUtil

+ adds private constructors for utility classes where necessary

Change-Id: I21839c8e313bd133b250ce7e0b07b517aa3684cf
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
7 years agoBug 6743: Service group identifier set for neutron-vpp-mapper and vpp-renderer 75/45475/2
Vladimir Lavor [Mon, 12 Sep 2016 09:37:11 +0000 (11:37 +0200)]
Bug 6743: Service group identifier set for neutron-vpp-mapper and vpp-renderer

Change-Id: I778842a580d2744c743507428a0d48e1bdbdd4c6
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
7 years agoGUI - Update JS libraries versions 18/45318/2
Daniel Malachovsky [Wed, 7 Sep 2016 15:43:03 +0000 (17:43 +0200)]
GUI - Update JS libraries versions

Change-Id: Idca9b5e5cf2be2e9135fea71a3f03099c3f7df03
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
7 years agoMerge "Bug 6396: Integrate faas renderer with clustering singleton service"
Vladimir Lavor [Tue, 6 Sep 2016 07:51:40 +0000 (07:51 +0000)]
Merge "Bug 6396: Integrate faas renderer with clustering singleton service"

7 years agoMerge "Bug 6396: Integrate neutron-ovsdb with clustering singleton service"
Vladimir Lavor [Mon, 5 Sep 2016 14:58:36 +0000 (14:58 +0000)]
Merge "Bug 6396: Integrate neutron-ovsdb with clustering singleton service"

7 years agoMerge "Bug 6396: Integrate neutron mapper with clustering singleton service"
Vladimir Lavor [Mon, 5 Sep 2016 13:33:05 +0000 (13:33 +0000)]
Merge "Bug 6396: Integrate neutron mapper with clustering singleton service"