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

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>
8 years agoGBP tests: fixes for unnecessary mocking, method naming and other 29/38229/4
Konstantin Blagov [Mon, 25 Apr 2016 13:21:45 +0000 (15:21 +0200)]
GBP tests: fixes for unnecessary mocking, method naming and other
improvements

Change-Id: I69c75e13b87c3a22c5cb937395d5e3386dc37f2a
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoMerge "EPG controller and service"
Martin Sunal [Mon, 16 May 2016 12:50:49 +0000 (12:50 +0000)]
Merge "EPG controller and service"

8 years agoinitial contracts work 64/38564/5
Michal Kovacik [Mon, 9 May 2016 09:20:06 +0000 (11:20 +0200)]
initial contracts work

contract services added, controller updated, TMP updated

Signed-off-by: Michal Kovacik <michal.kovacik@pantheon.tech>
8 years agoOFoverlay statistics test improvement 27/38227/4
Konstantin Blagov [Mon, 18 Apr 2016 16:21:51 +0000 (18:21 +0200)]
OFoverlay statistics test improvement

Change-Id: I3fa9cbf38fd2b66b886eda110db3ad6cc67d9727
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoModifying neutronmapper feature 89/38389/4
Tomas Cechvala [Wed, 4 May 2016 22:06:50 +0000 (00:06 +0200)]
Modifying neutronmapper feature

Removing ofoverlay and neutron-ovsdb from
odl-groupbasedpolicy-neutronmapper feature.

Adding odl-groupbasedpolicy-neutron-and-neutronmapper
feature to ease bundles instalation.

Change-Id: I629bc3b9df1069f4c5ed803be15839e2f5318c8e
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoMerge "Tenant crud part 1"
Martin Sunal [Mon, 16 May 2016 06:47:31 +0000 (06:47 +0000)]
Merge "Tenant crud part 1"

8 years agoGBP ofoverlay.sf test improvements 28/38228/3
Konstantin Blagov [Thu, 28 Apr 2016 13:38:45 +0000 (15:38 +0200)]
GBP ofoverlay.sf test improvements

Change-Id: Ieff99ffcc515c57d9b7a603df18928d9cd12a208
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoNeutron-mapper uses only DTOs from neutron.yang 60/38260/16
Tomas Cechvala [Fri, 13 May 2016 10:11:46 +0000 (12:11 +0200)]
Neutron-mapper uses only DTOs from neutron.yang

Change-Id: I16481115ddf18628d624dfc51862b327a1b06317
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoTenant crud part 1 71/38871/1
Daniel Malachovsky [Fri, 13 May 2016 13:12:43 +0000 (15:12 +0200)]
Tenant crud part 1

- popup forms example
- tenant form
- put is working

Change-Id: I1509df72ad4e430190b7239283e86d0af5b4de35
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoMerge "Split resolved-policy to provided and consumed"
Keith Burns [Thu, 12 May 2016 14:26:16 +0000 (14:26 +0000)]
Merge "Split resolved-policy to provided and consumed"

8 years agoEPG controller and service 62/38562/5
Ľubomír Balogh [Mon, 9 May 2016 08:55:42 +0000 (10:55 +0200)]
EPG controller and service

Signed-off-by: Ľubomír Balogh <lubomir.balogh@pantheon.local>
8 years agoAngular material libraries include 30/38430/5
Daniel Malachovsky [Tue, 10 May 2016 11:29:22 +0000 (13:29 +0200)]
Angular material libraries include

- npm and bower install added
- .bowerrc and bower.json and package.json files added
- layout started
- proper (?) routing added
- tenant table added

Change-Id: I1f36f74f2d0b070dcda6c52e9c10d1a9dd4f643d
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoMerge "Tenant, EPG, Contract initial commit"
Martin Sunal [Thu, 12 May 2016 13:03:00 +0000 (13:03 +0000)]
Merge "Tenant, EPG, Contract initial commit"

8 years agoSplit resolved-policy to provided and consumed 61/38761/1
Martin Sunal [Thu, 12 May 2016 12:56:18 +0000 (14:56 +0200)]
Split resolved-policy to provided and consumed

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoNeLocationProvider 07/37607/14
Matej Perina [Thu, 12 May 2016 08:39:50 +0000 (10:39 +0200)]
NeLocationProvider

Change-Id: I903687c182265592e2f3b904e804655128793c1c
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoTenant, EPG, Contract initial commit 24/38424/2
Daniel Malachovsky [Thu, 5 May 2016 13:32:32 +0000 (15:32 +0200)]
Tenant, EPG, Contract initial commit

- added Tenant files with examples how to use
- added empty EPG and Contract files

Change-Id: I4ea6a09e14cea801d2cbf67b137dc57ac166f2d9
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoMerge "adding IntelliJ IDEA project files to .gitignore"
Martin Sunal [Tue, 10 May 2016 07:34:36 +0000 (07:34 +0000)]
Merge "adding IntelliJ IDEA project files to .gitignore"

8 years agoImplementing base endpoint rpc registry 10/38410/8
Michal Cmarada [Mon, 9 May 2016 16:38:05 +0000 (18:38 +0200)]
Implementing base endpoint rpc registry

Change-Id: Ie571b9b06921cbecd1fd39b8b0ecefbfc9a42e45
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
8 years agoIntroduced renderer yang API 31/37431/17
Martin Sunal [Mon, 11 Apr 2016 11:07:14 +0000 (13:07 +0200)]
Introduced renderer yang API

renderer.yang

Change-Id: I5ff655a9e0b5d9b98fcbcbbed34614672b8302d6
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoIntroduced forwarding.yang and l2-l3-forwarding.yang 87/38387/6
Martin Sunal [Wed, 4 May 2016 21:47:21 +0000 (23:47 +0200)]
Introduced forwarding.yang and l2-l3-forwarding.yang

forwarding.yang is generic forwarding model. Its elements are used
  in endpoints from base-endpoint.yang
l2-l3-forwarding.yang contains forwarding model specific for L2 and L3
  networking. It also augments forwarding.yang with further information

Change-Id: I3343bee9ae1ba40963fb3be9592e6b5178b3c3d9
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoadding IntelliJ IDEA project files to .gitignore 09/38409/1
Michal Cmarada [Thu, 5 May 2016 08:31:12 +0000 (10:31 +0200)]
adding IntelliJ IDEA project files to .gitignore

Change-Id: Ia737e0da8a08eb290b15cdf47353bf8b8e9d7912
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
8 years agomake both templates reqiured when registering EP 18/38318/3
Michal Rehak [Mon, 2 May 2016 17:52:12 +0000 (19:52 +0200)]
make both templates reqiured when registering EP

    - fixed unit tests
    - changed template resolution
    - only if both templates are present then EP is registered
    - migrated to base-endpoint model

Change-Id: I1bda438a10ab5f71b1158485def689c3a406b3a0
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoTranslate fix in old UI, loading controller new UI fix 64/38264/2
Daniel Malachovsky [Mon, 2 May 2016 11:19:05 +0000 (13:19 +0200)]
Translate fix in old UI, loading controller new UI fix

Change-Id: I8bf6c48d6baf9a59b99a2da980ce078637de567d
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoMerge "gbp-old ui folders structure changed, new ui components"
Martin Sunal [Tue, 3 May 2016 15:05:36 +0000 (15:05 +0000)]
Merge "gbp-old ui folders structure changed, new ui components"

8 years agoIntroduced base-endpoint.yang 72/38172/7
Martin Sunal [Wed, 27 Apr 2016 21:38:59 +0000 (23:38 +0200)]
Introduced base-endpoint.yang

this model should be used instead of endpoint.yang
endpoint.yang will be deprecated

yang contains:
- address-endpoints
- containment-endpoints
- endpoint-locations

Change-Id: I0ffce0a47801776bf5dec6fd223b4519aa04f755
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agogbp-old ui folders structure changed, new ui components 04/38204/3
Daniel Malachovsky [Thu, 28 Apr 2016 16:33:24 +0000 (18:33 +0200)]
gbp-old ui folders structure changed, new ui components

- rebased

Change-Id: I107f12235e5cfc6c73e28e246c9b05aa0c291a16
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agoMerge "Use AAAShiroFilter as TokenAuthFilter was deprecated in Be"
Keith Burns [Mon, 2 May 2016 12:56:13 +0000 (12:56 +0000)]
Merge "Use AAAShiroFilter as TokenAuthFilter was deprecated in Be"

8 years agoMerge "soften reaction of listeners on empty sxp-master-DB"
Martin Sunal [Mon, 2 May 2016 12:34:48 +0000 (12:34 +0000)]
Merge "soften reaction of listeners on empty sxp-master-DB"

8 years agoMove groupbasedpolicy-ui to groupbased-old-ui 87/38187/2
Daniel Malachovsky [Thu, 28 Apr 2016 09:21:56 +0000 (11:21 +0200)]
Move groupbasedpolicy-ui to groupbased-old-ui

Preparation for new GBP UI. Moving all old ui files do *old* folder

Change-Id: I054280f070d769fd3f4176a2179f2f1a9bdd4af3
Signed-off-by: Daniel Malachovsky <dmalacho@cisco.com>
8 years agosoften reaction of listeners on empty sxp-master-DB 65/38265/1
Michal Rehak [Tue, 26 Apr 2016 14:30:42 +0000 (16:30 +0200)]
soften reaction of listeners on empty sxp-master-DB

    - added simplistic EP registration content (l3address)
    - added SKIP if ep-l3 exists
    - added SKIP if announced ip-sgt binding contains subnet

Change-Id: I61a25fd098d4a740f0987cf0ced4a0c1f1e2f96b
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoUse AAAShiroFilter as TokenAuthFilter was deprecated in Be 31/37931/2
Ryan Goulding [Wed, 20 Apr 2016 17:06:44 +0000 (13:06 -0400)]
Use AAAShiroFilter as TokenAuthFilter was deprecated in Be

Use the correct shiro filter for GBP endpoints.

Change-Id: I50ba3c1e51c13870f4f84f24f0620fd85f31f582
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agowired sxp-mapper features to gbp distro 15/38115/2
Michal Rehak [Wed, 20 Apr 2016 16:42:52 +0000 (18:42 +0200)]
wired sxp-mapper features to gbp distro

Change-Id: I5fc4ab45ff008c68f08b8d3b38362b3dd3e144f7
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoadded default-config.xml 73/37973/3
Michal Rehak [Wed, 20 Apr 2016 16:37:22 +0000 (18:37 +0200)]
added default-config.xml

Change-Id: I430f43831592d6a9fbaaf56dd56d5a46c153a37d
Signed-off-by: Michal Rehak <mirehak@cisco.com>
8 years agoMerge "Leaving deprecated API in Neutron-Mapper"
Martin Sunal [Tue, 26 Apr 2016 14:52:07 +0000 (14:52 +0000)]
Merge "Leaving deprecated API in Neutron-Mapper"

8 years agoadded tests, fixed ipPrefix based lookup 72/37972/4
Michal Rehak [Tue, 19 Apr 2016 17:51:34 +0000 (19:51 +0200)]
added tests, fixed ipPrefix based lookup

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