groupbasedpolicy.git
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>
8 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>
8 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"

8 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>
8 years agoMerge "Fixed EIG creation"
Martin Sunal [Tue, 31 May 2016 07:56:28 +0000 (07:56 +0000)]
Merge "Fixed EIG creation"

8 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>
8 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>
8 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>
8 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"

8 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"

8 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>
8 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"

8 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>
8 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>
8 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"

8 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>
8 years agoBaseline for neutron-vpp mapping 72/38372/25
Tomas Cechvala [Wed, 25 May 2016 16:16:04 +0000 (18:16 +0200)]
Baseline for neutron-vpp mapping

Initial implementation of neutron-vpp mapper
Initial yang for vpp renderer

Change-Id: Ief0fbc85e68f9c094c9c0ca6687c132cbd8ca6ea
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoFixed IDs of contracts for EIG 26/39526/1
Martin Sunal [Fri, 27 May 2016 12:59:51 +0000 (14:59 +0200)]
Fixed IDs of contracts for EIG

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoios-xe renderer - increase unit test converage 18/39418/5
Michal Rehak [Wed, 25 May 2016 14:21:15 +0000 (16:21 +0200)]
ios-xe renderer - increase unit test converage

Change-Id: I3e0500813ea761500abf1b859116e92fea2bb338
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoios-xe renderer - features 04/39304/12
Michal Rehak [Tue, 24 May 2016 07:26:29 +0000 (09:26 +0200)]
ios-xe renderer - features

    - features
    - artifacts
    - config

Change-Id: I1c42cabc69dd0b02268fc5b82fd15a10e12f9ce0
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoios-xe renderer - config compression 79/39279/8
Michal Rehak [Mon, 23 May 2016 18:24:17 +0000 (20:24 +0200)]
ios-xe renderer - config compression

    - added PolicyManger's delegate for state compressing
    - unit test

Change-Id: I21435048ef710feeb4631ee15e69daa7992235bc
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoios-xe renderer - policy manager + mapper 84/39184/13
Vladimir Lavor [Mon, 23 May 2016 14:26:49 +0000 (16:26 +0200)]
ios-xe renderer - policy manager + mapper

- policy manager create case
- class-map mapping
- first hop sff
- added PolicyManager interface
- node listener

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

8 years agoIntroducing new API in neutron-mapper 88/39388/4
Tomas Cechvala [Mon, 23 May 2016 18:42:29 +0000 (20:42 +0200)]
Introducing new API in neutron-mapper

New forwarding and endpoint model incorporated in
Neutron-Mapper component.

Former forwarding and endpoint API still supported.

Change-Id: Iaa851ec8ab0e7cbf1d04a45d2796b0b87f8e2b3e
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoios-xe renderer - listeners+cache 20/39120/5
Michal Rehak [Wed, 18 May 2016 17:30:30 +0000 (19:30 +0200)]
ios-xe renderer - listeners+cache

    - added listeners for template and renderer-policy
    - wired listeners
    - added cache for templates
    - tests

Signed-off-by: Michal Rehak <mirehak@cisco.com>
Change-Id: I307091a0d4791b731ea418b926475954dffa09e7

8 years agoios-xe renderer - initial push 68/38968/7
Michal Rehak [Tue, 17 May 2016 13:01:15 +0000 (15:01 +0200)]
ios-xe renderer - initial push

    - config subsystem binding
    - bootstrap provider
    - ned.yang
    - artifacts involved

Change-Id: Ib8d0afe1d4922404f91081ed80bb20124d76b996
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
8 years agoMerge "Introduced DomainSpecificRegistry service"
Keith Burns [Tue, 24 May 2016 14:54:34 +0000 (14:54 +0000)]
Merge "Introduced DomainSpecificRegistry service"

8 years agoMerge "Introduced ForwardingResolver"
Keith Burns [Tue, 24 May 2016 14:54:22 +0000 (14:54 +0000)]
Merge "Introduced ForwardingResolver"

8 years agoIntroduced DomainSpecificRegistry service 15/39215/7
Martin Sunal [Sun, 22 May 2016 00:06:02 +0000 (02:06 +0200)]
Introduced DomainSpecificRegistry service

- the service allows to register augmentors(entity which translates data
  from one augmentation to the other) for domain specific data
- this service starts:
  - BaseEndpointService implementation
  - RendererManger

Domain specific data can be augmented into:
  - address-endpoint-reg, containment-endpoint-reg from RPC register-endpoint (base-endpoint.yang)
    EndpointAugmentor has to be provided in order to propagate augmentations
    to all places
  - forwarding/forwarding-by-tenant/network-domain (forwarding.yang)
    NetworkDomainAugmentor has to be provided in order to propagate augmentations
    to all places

Change-Id: Iaa9a0684651bb53279007de9472341d0e7fe4a4b
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoRename common.yang 81/39281/1
Michal Rehak [Mon, 23 May 2016 18:27:51 +0000 (20:27 +0200)]
Rename common.yang

    - file common.yang contains module gbp-common which
      makes yang processing tools (e.g. pyang) complain
      about missing files
    - according to best practices yang file should have
      the same name as module + '.yang' suffix

Change-Id: I6fc458a9544987bb33e992e98e6dd6cc556717b5
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoIntroduced ForwardingResolver 83/39183/3
Martin Sunal [Fri, 20 May 2016 13:49:27 +0000 (15:49 +0200)]
Introduced ForwardingResolver

- ForwardingResolver listens on forwarding in CONF and stores it to OPER DS
- PolicyResolver changed: listens on tenant without waiting for input from
  renderers

Change-Id: I3119d195452c9a69990c9ab3b574a5204e14b2ef
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "Adding name param for forwarding enties:"
Keith Burns [Fri, 20 May 2016 12:31:58 +0000 (12:31 +0000)]
Merge "Adding name param for forwarding enties:"

8 years agoTest coverage increasing for iovisor.restclient 62/39162/2
Konstantin Blagov [Thu, 19 May 2016 16:32:20 +0000 (18:32 +0200)]
Test coverage increasing for iovisor.restclient

Change-Id: I931a58b7386680bf79bdec6860f1550bb5f03bb9
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoMerge "Tests coverage increasing for iovisor.endpoint"
Martin Sunal [Fri, 20 May 2016 09:50:05 +0000 (09:50 +0000)]
Merge "Tests coverage increasing for iovisor.endpoint"

8 years agoMerge "Tests for Iovisor root package"
Martin Sunal [Fri, 20 May 2016 09:49:27 +0000 (09:49 +0000)]
Merge "Tests for Iovisor root package"

8 years agoMerge "Tests for iovisor.sf"
Martin Sunal [Fri, 20 May 2016 09:44:52 +0000 (09:44 +0000)]
Merge "Tests for iovisor.sf"

8 years agoTests coverage increasing for iovisor.endpoint 61/39161/1
Konstantin Blagov [Thu, 19 May 2016 11:35:27 +0000 (13:35 +0200)]
Tests coverage increasing for iovisor.endpoint

Change-Id: Ibf87f90000a5e26f2ae5dbe61634b6c0cfac9c0a
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoTests for iovisor.sf 60/39160/1
Konstantin Blagov [Thu, 19 May 2016 08:58:06 +0000 (10:58 +0200)]
Tests for iovisor.sf

Change-Id: I0ed495c712dca33070deda229a318fa1f6722339
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoTests for Iovisor root package 59/39159/1
Konstantin Blagov [Mon, 16 May 2016 13:39:46 +0000 (15:39 +0200)]
Tests for Iovisor root package

Change-Id: Ied5c4af08189bfff2e089c760d9a6a90ba003c1a
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoIntroducing VPP renderer 16/39116/3
Michal Cmarada [Thu, 19 May 2016 12:57:33 +0000 (14:57 +0200)]
Introducing VPP renderer

Initial yang for vpp renderer

Change-Id: I60ab30fa6cc471134271b02282987e05aa1b46c6
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
8 years agoAdding name param for forwarding enties: 38/39038/3
Tomas Cechvala [Wed, 18 May 2016 12:31:05 +0000 (14:31 +0200)]
Adding name param for forwarding enties:

 - forwarding-context
 - network-domain

Change-Id: I9a079b307449cbce94c7b27d7841fab623ad6718
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoMerge "Tenant dialogs"
Martin Sunal [Thu, 19 May 2016 10:04:00 +0000 (10:04 +0000)]
Merge "Tenant dialogs"

8 years agoMerge "EPG CRUD"
Martin Sunal [Thu, 19 May 2016 10:03:47 +0000 (10:03 +0000)]
Merge "EPG CRUD"

8 years agoMerge "Add, Edit, Del contracts"
Martin Sunal [Thu, 19 May 2016 10:02:53 +0000 (10:02 +0000)]
Merge "Add, Edit, Del contracts"

8 years agoMerge "contracts, index, rootGBPcontroller"
Martin Sunal [Thu, 19 May 2016 10:02:46 +0000 (10:02 +0000)]
Merge "contracts, index, rootGBPcontroller"

8 years agoIntroduced Renderer Manager 88/38288/18
Martin Sunal [Mon, 2 May 2016 17:05:20 +0000 (19:05 +0200)]
Introduced Renderer Manager

Renderer manager dispatches policy configuration among endoints
to renderers.
Renderer manager gets data notifications about:
- Endoints (base-endpoint.yang)
- EndpointLocations (base-endpoint.yang)
- ResolvedPolicies (resolved-policy.yang)
- Forwarding (forwarding.yang)

Based on data from notifications it creates a configuration for renderers.
Configuration is stored to CONF DS as Renderers (renderer.yang)

Configuration is sign with version which is incremented by every change.
All rendrers are suposed to be on the same version. Renderer manager waits
for all renderers to respond with version update in OPER DS. After a version
of every renderer in OPER DS is same as version in CONF DS, renderer manager
moves to the next configuration with incremented version.

Change-Id: I475b357d5d60444dc359bc400c567d9d0e36238f
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agointroduced LocationResolver 57/38957/4
Matej Perina [Wed, 18 May 2016 17:23:46 +0000 (19:23 +0200)]
introduced LocationResolver

LocationResolver collects data from all location providers
and union them to EndpointLocations

Change-Id: I60308ba59ab0f17085f3a85ec7d99e2ee2b4307b
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoUpdate of BaseEndpointRpcRegistry 39/38939/9
Michal Cmarada [Wed, 18 May 2016 13:22:30 +0000 (15:22 +0200)]
Update of BaseEndpointRpcRegistry

- adding Verification of RPC Input
- adding update of Endpoints in op DS
- Unit tests

Change-Id: Ic709f7a47f3aeed7e46201d17ed54d297c8031bc
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
8 years agoAdd, Edit, Del contracts 47/39047/2
michal.kovacik [Wed, 18 May 2016 13:41:27 +0000 (15:41 +0200)]
Add, Edit, Del contracts

It's possible to Add, Edit, Delete Contract via UI now
amend: comments removed

Change-Id: I16265d54a9523ce93e75bc447c17f6e5a29064f4
Signed-off-by: michal.kovacik <michal.kovacik@pantheon.tech>
8 years agoAdded missing order to policy-rule-group 82/38982/2
Martin Sunal [Tue, 17 May 2016 15:40:51 +0000 (17:40 +0200)]
Added missing order to policy-rule-group

- policy-rule-group should contain order
- fixed fields of containment-endpoint-with-location in renderer.yang

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoContainment endpoint can only have relative location 47/38947/4
Martin Sunal [Mon, 16 May 2016 20:44:33 +0000 (22:44 +0200)]
Containment endpoint can only have relative location

Containment endpoint must not contain real location because
containment endpoint represents part of forwarding context
which is out of policy domain(It also means that containment endpoint
can be located only in EIG EPG)

Change-Id: I7b7147c2c23f7bf1bcca116c99970dbb52e9707d
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "Editing network containment of endpoints"
Martin Sunal [Wed, 18 May 2016 11:53:14 +0000 (11:53 +0000)]
Merge "Editing network containment of endpoints"

8 years agoEPG CRUD 34/39034/1
Ľubomír Balogh [Wed, 18 May 2016 10:14:41 +0000 (12:14 +0200)]
EPG CRUD

Signed-off-by: Ľubomír Balogh <lubomir.balogh@pantheon.sk>
8 years agoMerge "initial contracts work"
Martin Sunal [Wed, 18 May 2016 08:43:05 +0000 (08:43 +0000)]
Merge "initial contracts work"

8 years agoMerge "New tests for listeners"
Martin Sunal [Wed, 18 May 2016 08:36:53 +0000 (08:36 +0000)]
Merge "New tests for listeners"

8 years agoEditing network containment of endpoints 76/38976/2
Tomas Cechvala [Tue, 17 May 2016 14:05:51 +0000 (16:05 +0200)]
Editing network containment of endpoints

Network containment can refer to
 - forwarding-context, e.g. l2-flood-domain
 - network-domain, e.g. subnet

Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoTenant dialogs 83/38983/1
Martin Péter Lakatoš [Tue, 17 May 2016 15:46:52 +0000 (17:46 +0200)]
Tenant dialogs

- edit dialog
- delete dialog

Signed-off-by: Martin Péter Lakatoš <martin.lakatos@pantheon.tech>
8 years agocontracts, index, rootGBPcontroller 81/38981/1
michal.kovacik [Tue, 17 May 2016 15:01:50 +0000 (17:01 +0200)]
contracts, index, rootGBPcontroller

Change-Id: I4fb9494b967bc64d22fb2f39a4c4e2779f7ced09
Signed-off-by: michal.kovacik <michal.kovacik@pantheon.tech>
8 years agoSimplified renderer API 46/38946/1
Martin Sunal [Mon, 16 May 2016 20:03:40 +0000 (22:03 +0200)]
Simplified renderer API

Pros
- renderer API is more clear
- easy to process config by renderer
- fixes cases which were not possible to have eg.:
  EP1--EPG_BLUE---SUBJECT_1---(P)EPG_PURPLE--EP2
  EP3--EPG_RED----SUBJECT_1---(P)EPG_GREY--EP4
Cons
- repeated data for endpoints with same policy

This commit also depricates domain specific endpoint contstraints
in policy.yang

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoNew tests for listeners 33/38933/1
Konstantin Blagov [Fri, 13 May 2016 13:09:43 +0000 (15:09 +0200)]
New tests for listeners

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