groupbasedpolicy.git
8 years agoBUG 5370 - changes required by java8 35/34835/2
Matej Perina [Wed, 17 Feb 2016 13:19:31 +0000 (14:19 +0100)]
BUG 5370 - changes required by java8

Change-Id: I81f43b6d49a45308d85a9f29c22c3fb95b739d0e
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBumping versions by 0.0.1 for next dev cycle 27/35027/1
Thanh Ha [Fri, 19 Feb 2016 05:18:44 +0000 (00:18 -0500)]
Bumping versions by 0.0.1 for next dev cycle

Change-Id: Ieb9e748dbf6ff832a3a79788711a604f8f032423
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoRelease Beryllium 26/35026/1 release/beryllium
Thanh Ha [Fri, 19 Feb 2016 05:18:43 +0000 (00:18 -0500)]
Release Beryllium

Change-Id: I72e9356b380ea81d60b675e912a563e96f755d9c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBug 5342: Fix for SF appearing as Endpoint 74/34574/2
Keith Burns (alagalah) [Fri, 12 Feb 2016 17:31:12 +0000 (18:31 +0100)]
Bug 5342: Fix for SF appearing as Endpoint

Still not sure what is Root Cause but don't want to hold up release. This will unblock

Change-Id: Ia18b94144b1f55495086991d9e7fe7c58f69ee18
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoMerge "Bug 3738: GBP coexistence fixes" into stable/beryllium
Martin Sunal [Thu, 11 Feb 2016 23:18:13 +0000 (23:18 +0000)]
Merge "Bug 3738: GBP coexistence fixes" into stable/beryllium

8 years agoBug 3738: GBP coexistence fixes 17/34517/1
Keith Burns (alagalah) [Thu, 11 Feb 2016 21:59:23 +0000 (22:59 +0100)]
Bug 3738: GBP coexistence fixes

- chmod scripts, small script issues

Change-Id: Ice6c53dbcf134fb35f68985c7a3902e263cddcff
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoBug 5326 - endpoint can reach nodes outside internal domain 73/34273/9
Tomas Cechvala [Thu, 11 Feb 2016 13:12:23 +0000 (14:12 +0100)]
Bug 5326 - endpoint can reach nodes outside internal domain

Traffic of endpoints connected to OVS switch can be forwarded
to external domain.

Change-Id: Icdf23726a411ae7d22ed792f2f9cfa08cb95b1de
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoBug 5214 - ARP fix for external VLAN traffic 81/33781/7
Tomas Cechvala [Thu, 21 Jan 2016 10:27:45 +0000 (11:27 +0100)]
Bug 5214 - ARP fix for external VLAN traffic

External endpoints can receive tagged ARP response.

Change-Id: I0cd1b5d9a47aee8ded8d9a0c3f93598a159bf814
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoBug 4988: OF statistics & REST client 46/33646/33
Konstantin Blagov [Sun, 20 Dec 2015 20:53:17 +0000 (21:53 +0100)]
Bug 4988: OF statistics & REST client

Change-Id: I48c8302196f997abf6c6180e36beae5886d7be48
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoBug 3738: GBP coexistence with SFC 95/33895/18
Vladimir Lavor [Wed, 27 Jan 2016 10:42:29 +0000 (11:42 +0100)]
Bug 3738: GBP coexistence with SFC

Change-Id: If5ed0e87485b88e02f525dab1072b75462d16a1f
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "Bug 5117 - More bad file formats and chmod breaks" into stable/beryllium
Martin Sunal [Thu, 11 Feb 2016 20:45:07 +0000 (20:45 +0000)]
Merge "Bug 5117 - More bad file formats and chmod breaks" into stable/beryllium

8 years agoBug 5325 Missing sfc action in rules 69/34469/5
Martin Sunal [Thu, 11 Feb 2016 15:35:54 +0000 (16:35 +0100)]
Bug 5325 Missing sfc action in rules

Change-Id: I1b90da5deb3fa7615249fef95f87983404f429e7
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoBUG 5248: reading statistics not working 57/34157/2
Matej Perina [Fri, 5 Feb 2016 13:58:02 +0000 (14:58 +0100)]
BUG 5248: reading statistics not working

Change-Id: I5798209e03149702abb94417af038997b4ede2cd
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBug 5208 - flows don't get removed on update 63/33963/5
Tomas Cechvala [Wed, 3 Feb 2016 11:17:53 +0000 (12:17 +0100)]
Bug 5208 - flows don't get removed on update

Fixed by ensuring that the current state of flow tables is overriden
only after the DS was updated.

Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoBug 5213 - Missing segmentation-id for physical networks 76/33976/6
Martin Sunal [Tue, 26 Jan 2016 16:11:49 +0000 (17:11 +0100)]
Bug 5213 - Missing segmentation-id for physical networks

segmentation-id is stored to DS if a neutron network is backed by physical network

Change-Id: Id7334fc0a088a32879396ce7f2e48cdb06d250dc
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agodevstack changes for sfc-tacker OPNFV demo 84/33884/3
Michal Cmarada [Fri, 5 Feb 2016 10:18:19 +0000 (11:18 +0100)]
devstack changes for sfc-tacker OPNFV demo

- using for two projects
-- sfc-vnfm-tacker testing and changes
-- openflow co-existence

Change-Id: Id2aa44fe4869730212f804c273c91eee642373ff
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
8 years agoBug 5212 - Neutron-mapper has dependency on Ofoverlay renderer 19/33019/18
Martin Sunal [Tue, 19 Jan 2016 16:41:17 +0000 (17:41 +0100)]
Bug 5212 - Neutron-mapper has dependency on Ofoverlay renderer

NeutronFloatingAware - adds NAT augmentation to endpoint-l3
NeutronNetworkAware - creates EXTERNAL_group EPG (as External
  Implicit Group (EIG)) if neutron external network is created
EXTERNAL_group EPG - provides contracts with allow IPv4/6 In/Out
L3-prefix-endpoint 0.0.0.0/0 belongs to EXTERNAL_group EPG
neutron ports where deviceOwner is router_gateway and router_interface
  are not mapped to endpoints
removed unused mappings
removed dependency on ofoverlay
neutron-ovsdb - added portByEndpoint listener which adds port-name to Ep, EpL3
ofoverlay - added listeners for ofoverlay endpoint context - add location(node,
  node-connector-id) based on port name
OvsdbNodeListener - creates of-overlay augmentation with external ports

Change-Id: If2a582d00f8771c433994154a02febf7c2a702cd
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoChanges based on fix of Bug 5137 - Neutron routes 97/33997/1
Martin Sunal [Wed, 3 Feb 2016 15:26:35 +0000 (16:26 +0100)]
Changes based on fix of Bug 5137 - Neutron routes

This is needed fix after [1] was merged.
[1] https://git.opendaylight.org/gerrit/#/c/33846/

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoUT: ofoverlay-arp 47/32947/3
Matej Perina [Fri, 29 Jan 2016 15:16:10 +0000 (16:16 +0100)]
UT: ofoverlay-arp

Change-Id: Iab41626c8102e65880dbd28330f4b9d6ab264259
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoBug 5117 - More bad file formats and chmod breaks 25/33725/1
Keith Burns (alagalah) [Thu, 28 Jan 2016 19:52:20 +0000 (11:52 -0800)]
Bug 5117 - More bad file formats and chmod breaks

Change-Id: If9d42b4db8d0089a948aef26bb929ddc3bcece71
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoMerge "UT: Added FaaS unit tests" into stable/beryllium
Keith Burns [Wed, 27 Jan 2016 22:22:06 +0000 (22:22 +0000)]
Merge "UT: Added FaaS unit tests" into stable/beryllium

8 years agoMerge "Bug 5117 - DOS chars in shell script" into stable/beryllium
Keith Burns [Wed, 27 Jan 2016 17:21:29 +0000 (17:21 +0000)]
Merge "Bug 5117 - DOS chars in shell script" into stable/beryllium

8 years agoBug 5117 - DOS chars in shell script 48/33648/1
Tomas Cechvala [Wed, 27 Jan 2016 16:55:53 +0000 (17:55 +0100)]
Bug 5117 - DOS chars in shell script

Removing nested DOS line endings

Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoUT: Added FaaS unit tests 88/33588/1
Khaldoon Al-zoubi [Mon, 18 Jan 2016 22:38:24 +0000 (17:38 -0500)]
UT: Added FaaS unit tests

Change-Id: I522e1d9aa3b04f201dcd7dd08386c6c6b21adf35
Signed-off-by: Khaldoon Al-zoubi <khalAlzoubi@gmail.com>
8 years agoBug5105: gitignore adds OSX system files 70/33570/1
Keith Burns (alagalah) [Tue, 26 Jan 2016 18:39:11 +0000 (10:39 -0800)]
Bug5105: gitignore adds OSX system files

Change-Id: I8bb3361f82f43c9b44b70c350b00432f48113313
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoBug 5102 - NoSuchMethodError in EndpointManager 49/33549/3
Tomas Cechvala [Tue, 26 Jan 2016 12:33:46 +0000 (13:33 +0100)]
Bug 5102 - NoSuchMethodError in EndpointManager

- keySet method in ConcurrentHashMap changed in Java 8.
- error occurend when the code was built with Java 8 and
  ran on Java 7.
- fixed by compatible interface ConcurrentMap

Change-Id: I672f7102db8b9b3874d1f18419dd01bff3064704
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoBug3738: Coexistence demo environment 00/33300/7
Vladimir Lavor [Fri, 22 Jan 2016 10:19:48 +0000 (11:19 +0100)]
Bug3738: Coexistence demo environment

This is a low risk change as it is only the demo environment.
Self-merging this under duress as I made original cherry pick,
and there are no other committers on deck. Need to keep master
and stable/be in sync.

Change-Id: Id016afd8b52b094c9e7b1f97d985db6db0e34c13
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoBUG 4993 ArpTasker failing when Nodes are not initialized in DS 46/32946/1
Matej Perina [Mon, 18 Jan 2016 15:38:08 +0000 (16:38 +0100)]
BUG 4993 ArpTasker failing when Nodes are not initialized in DS

condition fixed

Change-Id: I84e808fedfd28536b320ea1a81fd0a3193b75481
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoMerge "BUG 4973 - Wrong time type in statistics and statistics-store" into stable...
Martin Sunal [Mon, 18 Jan 2016 14:16:47 +0000 (14:16 +0000)]
Merge "BUG 4973 - Wrong time type in statistics and statistics-store" into stable/beryllium

8 years agoBug 4987 - ExternalMapper flows not populated 25/32925/1
Tomas Cechvala [Mon, 18 Jan 2016 10:26:53 +0000 (11:26 +0100)]
Bug 4987 - ExternalMapper flows not populated

 - fixed by removing redundant condition

Change-Id: I3d0e43c6abebab776b21a9c12c91a5a570d0e55c
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoBUG 4973 - Wrong time type in statistics and statistics-store 19/32919/1
Matej Perina [Fri, 15 Jan 2016 09:31:45 +0000 (10:31 +0100)]
BUG 4973 - Wrong time type in statistics and statistics-store

Timestamp type changed to uint64

Change-Id: I448c7cf3d1f0066c6e434e4a86da41c5b3e8630c
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoUpdate .gitreview for stable/beryllium 37/32637/1
Thanh Ha [Thu, 14 Jan 2016 21:35:38 +0000 (16:35 -0500)]
Update .gitreview for stable/beryllium

Change-Id: I5adc924c4d411d40254f046f663ef1e5d6e493fe
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge "Iovisor renderer REST client"
Martin Sunal [Thu, 14 Jan 2016 19:01:24 +0000 (19:01 +0000)]
Merge "Iovisor renderer REST client"

8 years agoMerge "VLAN support for external networks"
Keith Burns [Thu, 14 Jan 2016 18:26:39 +0000 (18:26 +0000)]
Merge "VLAN support for external networks"

8 years agoMerge "GBP coexistence - OF renderer can remove only its own flows from node"
Keith Burns [Thu, 14 Jan 2016 18:26:32 +0000 (18:26 +0000)]
Merge "GBP coexistence - OF renderer can remove only its own flows from node"

8 years agoMerge "added timestamp for statistics storage"
Keith Burns [Thu, 14 Jan 2016 18:26:23 +0000 (18:26 +0000)]
Merge "added timestamp for statistics storage"

8 years agoIovisor renderer REST client 54/31954/18
Keith Burns (alagalah) [Wed, 30 Dec 2015 12:49:47 +0000 (04:49 -0800)]
Iovisor renderer REST client

Change-Id: I24e658760b767672c1ceee4cbef506f701e40a47
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoVLAN support for external networks 94/32094/10
Tomas Cechvala [Mon, 21 Dec 2015 15:42:09 +0000 (16:42 +0100)]
VLAN support for external networks

 - tagging is applied on external ports of switches
 - link connected to external port is considered as trunk port
 - native VLAN not supported yet
 - mapping VLANs from Openstack not in scope here

Change-Id: Iaeeaa4d7966d49f2c7179ba22a9cc5972fd33b0a
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoadded timestamp for statistics storage 77/32577/5
Matej Perina [Thu, 14 Jan 2016 16:25:03 +0000 (17:25 +0100)]
added timestamp for statistics storage

Change-Id: I4bf3e2e7ce4e1670f75dcecae7d7fd7a9dfebaa4
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoMerge "Scripts and Vagrantfile to run sFlow on gbp1"
Keith Burns [Thu, 14 Jan 2016 16:27:04 +0000 (16:27 +0000)]
Merge "Scripts and Vagrantfile to run sFlow on gbp1"

8 years agoGBP coexistence - OF renderer can remove only its own flows from node 03/32403/4
Vladimir Lavor.com [Tue, 22 Dec 2015 09:48:53 +0000 (10:48 +0100)]
GBP coexistence - OF renderer can remove only its own flows from node

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

8 years agoMerge "Using Box file to remove external dependencies such as github."
Martin Sunal [Thu, 14 Jan 2016 16:13:37 +0000 (16:13 +0000)]
Merge "Using Box file to remove external dependencies such as github."

8 years agoScripts and Vagrantfile to run sFlow on gbp1 56/31156/5
Konstantin Blagov [Thu, 10 Dec 2015 17:01:53 +0000 (18:01 +0100)]
Scripts and Vagrantfile to run sFlow on gbp1

Change-Id: I74ccf8e90719280d80dcde9273c5224d290843bb
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoUsing Box file to remove external dependencies such as github. 97/31097/3
Keith Burns (alagalah) [Wed, 9 Dec 2015 20:45:03 +0000 (12:45 -0800)]
Using Box file to remove external dependencies such as github.

- Quicker more stable.
- Box file can be semantically versioned for the release of ODL GBP

Change-Id: I24eb68a22f3ec26edc3e7b52402acf5d64e5b56c
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoFixed NAT in OFOverlay based on EIG 93/31593/8
Martin Sunal [Thu, 17 Dec 2015 18:14:05 +0000 (19:14 +0100)]
Fixed NAT in OFOverlay based on EIG

- NAT is triggered when traffic goes between internal and external endpoint
- external/internal location was removed from ofoverlay EP augmentation
  because it is replaced with internal/external based on terminology below

Terminology:
- EIG: External Implicit Group - endpointgroup representing outside of policy domain
- internal endpoint: none of endpointgroups from endoint is EIG
- external endpoint: an endpointgroup from endpoint is EIG

Change-Id: Ib7b802948cc6dd109efde4ec7113c4b9038a7525
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoAdded NAT address for an endpoint-l3 15/31515/4
Martin Sunal [Thu, 17 Dec 2015 15:24:27 +0000 (16:24 +0100)]
Added NAT address for an endpoint-l3

Change-Id: Ica2661040c6f96f62fc823c785488c9c6a0ac865
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoEndpoint processing more scalable 54/31254/5
U-CISCO\tcechval [Fri, 11 Dec 2015 12:35:03 +0000 (13:35 +0100)]
Endpoint processing more scalable

 - no processing was triggered after removing location
   augmentation from an endpoint
 - processing of events made more scalable
 - added test cases for removing/adding location
   augmentation from/to an endpoint

Change-Id: I5a9295a3e8b16d60921359887e9361302e926f55
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agostatistics support 81/31281/12
Matej Perina [Mon, 11 Jan 2016 10:40:29 +0000 (11:40 +0100)]
statistics support

Change-Id: If61e5812a06f66432558830a3193308a32630e75
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoIntegrating FAAS renderer with the faas fabric mapping services. Also, 19/29419/45
Khaldoon Al-zoubi [Sun, 8 Nov 2015 22:53:28 +0000 (17:53 -0500)]
Integrating FAAS renderer with the faas fabric mapping services. Also,
put tenants external explicit groups in resolved policies to be accessible
by renderers.

Change-Id: I41447bb41c71ca1e6cfb4fa001c4dd736b02a37e
Signed-off-by: Khaldoon Al-zoubi <khalAlzoubi@gmail.com>
8 years agoIOvisor policy processing 14/31914/24
Keith Burns (alagalah) [Mon, 28 Dec 2015 17:06:02 +0000 (09:06 -0800)]
IOvisor policy processing

Change-Id: I0a37067028e69c048b8d3dcfdb744a2d3f15ba00
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoFixed Subtree typo 49/31949/3
Keith Burns (alagalah) [Wed, 30 Dec 2015 11:30:29 +0000 (03:30 -0800)]
Fixed Subtree typo

Change-Id: I5d4be5257deb9441ff8a64d4a3f25c220fad8559
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoAdded SFs, EP handling, Resolved Policy for IOVisorRenderer 45/31745/14
Keith Burns (alagalah) [Mon, 21 Dec 2015 23:26:03 +0000 (15:26 -0800)]
Added SFs, EP handling, Resolved Policy for IOVisorRenderer

- Cleaned up some core utils and IidFactory
- adding addition of IOVisor Module entry when Endpoint Aug is present

Change-Id: If8c952cc9b6f891eca7b88ccd63d6378bb2be6c9
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoMerge "Directions and flow creation for symmetric chain corrected"
Keith Burns [Mon, 28 Dec 2015 00:07:40 +0000 (00:07 +0000)]
Merge "Directions and flow creation for symmetric chain corrected"

8 years agoFix for PolicyResolver multi-writer problem 12/31712/2
Martin Sunal [Mon, 21 Dec 2015 16:13:23 +0000 (17:13 +0100)]
Fix for PolicyResolver multi-writer problem

Problem:
There was a listener per Tenant. Listeners tried to store resolved-policies
to datastore concurrently.

Fix:
Only one listener is registered for wildcard tenant. The listener handles all changes
in tenants.

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoFix for Neutron NB change 31324 60/31860/1
Keith Burns (alagalah) [Thu, 24 Dec 2015 04:33:37 +0000 (20:33 -0800)]
Fix for Neutron NB change 31324

Change-Id: I5600f4f853f4edc215bea24ef4aee936515d6f43
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoDirections and flow creation for symmetric chain corrected 84/30984/3
Vladimir Lavor.com [Tue, 8 Dec 2015 07:39:07 +0000 (08:39 +0100)]
Directions and flow creation for symmetric chain corrected

Signed-off-by: Vladimir Lavor.com <vladimir.lavor@pantheon.sk>
Change-Id: I9a2efbb3355936c3e974becd4062bfc92f2c5cb2

8 years agoMerge "registration of action validators for to gbp-base"
Keith Burns [Wed, 16 Dec 2015 23:57:10 +0000 (23:57 +0000)]
Merge "registration of action validators for to gbp-base"

8 years agoMerge "Bug 3424 use MAC from external node connector"
Keith Burns [Wed, 16 Dec 2015 23:51:41 +0000 (23:51 +0000)]
Merge "Bug 3424 use MAC from external node connector"

8 years agoMerge "Add missing license headers"
Keith Burns [Wed, 16 Dec 2015 23:39:54 +0000 (23:39 +0000)]
Merge "Add missing license headers"

8 years agoMerge "Clean up permissions on demo"
Martin Sunal [Wed, 16 Dec 2015 22:51:49 +0000 (22:51 +0000)]
Merge "Clean up permissions on demo"

8 years agoregistration of action validators for to gbp-base 00/31200/3
Michal Cmarada [Fri, 11 Dec 2015 15:15:43 +0000 (16:15 +0100)]
registration of action validators for to gbp-base

Change-Id: I062305d5c22493eb1d0040244f09134129723947
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
8 years agoBug 3424 use MAC from external node connector 41/22941/4
Martin Sunal [Thu, 18 Jun 2015 22:18:21 +0000 (00:18 +0200)]
Bug 3424 use MAC from external node connector

Change-Id: I909cca7631eff92fa60d0c1375fde738956b8f0b
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge "Tenant name changed to be consistent with CSIT."
Keith Burns [Wed, 16 Dec 2015 22:41:24 +0000 (22:41 +0000)]
Merge "Tenant name changed to be consistent with CSIT."

8 years agoAdd missing license headers 84/31384/1
Thanh Ha [Tue, 15 Dec 2015 23:46:08 +0000 (18:46 -0500)]
Add missing license headers

Change-Id: I6ebb47e4c9335682f16bff606108031770a61968
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoRegistered simple classifier-instance validators 33/30733/8
Martin Sunal [Fri, 4 Dec 2015 18:49:26 +0000 (19:49 +0100)]
Registered simple classifier-instance validators

- classifier-instance validators based on renderer's capabilities
- this simple classifier-instance validators are registerd automaticly
if PolicyValidatorRegistry is available

Change-Id: Ie418fb7cebbd38fc25fdb7daed4f6745ac0fbe98
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agomaking service for PolicyResolver and EndpointRpcRegistry 13/30913/8
Michal Cmarada [Tue, 8 Dec 2015 14:18:31 +0000 (15:18 +0100)]
making service for PolicyResolver and EndpointRpcRegistry

Change-Id: Ieb489292492a87be72800dde7841330eb1b3db9b
Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.sk>
Signed-off-by: Vladimir Lavor <vladimir.lavor@pantheon.sk>
8 years agoClean up permissions on demo 93/31093/1
Keith Burns (alagalah) [Wed, 9 Dec 2015 19:31:50 +0000 (11:31 -0800)]
Clean up permissions on demo

Change-Id: I5a05811790026028da02a0cc04a8af5e49c5f973
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoFix .gitignore 69/31069/1
Robert Varga [Wed, 9 Dec 2015 13:04:06 +0000 (14:04 +0100)]
Fix .gitignore

renderers/ofoverlay/src/test/java/org/opendaylight/groupbasedpolicy/resolver/ should
not be ignored.

Change-Id: Ia7d0e24c948bb160fda0549fcb9686df81e0ae9a
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoBug 4724 added containers to tenant 01/30901/8
Martin Sunal [Mon, 7 Dec 2015 10:24:11 +0000 (11:24 +0100)]
Bug 4724 added containers to tenant

Change-Id: Ibec940580f8ef9f741cdc4b4adf3f01bbf477e51
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoTenant name changed to be consistent with CSIT. 28/30928/5
Dileep [Mon, 7 Dec 2015 11:29:50 +0000 (03:29 -0800)]
Tenant name changed to be consistent with CSIT.

Change-Id: I582919e11a262f743512115a8a71cc90ec9c3cc3
Signed-off-by: Dileep <dileep.ranganathan@intel.com>
8 years agoadded .gitignore for demos 29/30929/2
Martin Sunal [Mon, 7 Dec 2015 19:50:23 +0000 (20:50 +0100)]
added .gitignore for demos

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoadded demos to the repo 19/30919/1
Martin Sunal [Mon, 7 Dec 2015 17:10:46 +0000 (18:10 +0100)]
added demos to the repo

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMoving of classes between packages in groupbasedpolicy 66/30666/4
Martin Sunal [Thu, 3 Dec 2015 22:27:27 +0000 (23:27 +0100)]
Moving of classes between packages in groupbasedpolicy

- classes are in packages based on type
- introduced EpRendererAugmentationRegistrar, PolicyValidatorRegistrar

Change-Id: Ia603624eeebd52821802f30f0adb2f18c5a59627
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoRemoved PolicyListener and PolicyResolver methods 12/30512/10
Martin Sunal [Wed, 2 Dec 2015 21:58:58 +0000 (22:58 +0100)]
Removed PolicyListener and PolicyResolver methods

- renderer should listen on resolved-policy from resolved-policy.yang
- removed public methods from PolicyResolver

Change-Id: Ife1e165b7264910a5be2f859b72f2b454dd04027
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoAdded interests to renderer.yang 88/30488/4
Martin Sunal [Wed, 2 Dec 2015 14:23:56 +0000 (15:23 +0100)]
Added interests to renderer.yang

Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoAdd a REST APIs support for IOVIsor module 09/30409/4
adetalhouet [Mon, 30 Nov 2015 23:25:25 +0000 (18:25 -0500)]
Add a REST APIs support for IOVIsor module

- provide aaa authentication
- path is: /controller/sb/iovisor/{SERVICE}

For now we have one service being: /policies
Through this one we will POST a list of policies for the
IOVisor module to GET.

To play with thee REST interface, you can use this
postman collection: https://www.getpostman.com/collections/3b1fe6ef1ec0ead72ee7

Another patch will implement the POST correctly

Change-Id: I5186df6b5d0501dca8b244bfd04e22dd54649b40
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoRemoved mocks from unit tests 34/30434/3
Martin Sunal [Tue, 1 Dec 2015 13:26:08 +0000 (14:26 +0100)]
Removed mocks from unit tests

removed mocks breaking API contracts

Change-Id: Ie18f75c213d78c053102722f29450ed209ddb492
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoAdd IovisorModule manager and listener 55/30355/3
adetalhouet [Sun, 29 Nov 2015 22:32:07 +0000 (17:32 -0500)]
Add IovisorModule manager and listener

Change-Id: Icf4cef2e03ef42c085aabca8a0bd0a984bb3e687
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoMerge "Simplifying validators"
Keith Burns [Mon, 30 Nov 2015 19:59:17 +0000 (19:59 +0000)]
Merge "Simplifying validators"

8 years agoSimplifying validators 25/30225/7
Tomas Cechvala [Thu, 19 Nov 2015 11:53:33 +0000 (12:53 +0100)]
Simplifying validators

Complicated validation code made simpler.
Added methods for registering classif instance validator.

Change-Id: I428f5d13b07bd1d0d40dff02c29334e329e7fb04
Signed-off-by: Tomas Cechvala <tcechval@cisco.com>
8 years agoUse odlparent-lite as artifacts parent 38/30338/1
Thanh Ha [Sun, 29 Nov 2015 22:01:14 +0000 (17:01 -0500)]
Use odlparent-lite as artifacts parent

We created odlparent-lite to provide a minimal pom which allows projects
to publish to the correct server. Without this ${project}-artifacts may
fail to deploy to Nexus.

Change-Id: I23b0fbf52425b638f4c86fd089062e5d1150c799
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge "Rework IOVisor model and validate IovisorModuleInstance on Endpoint created...
Keith Burns [Fri, 27 Nov 2015 21:07:50 +0000 (21:07 +0000)]
Merge "Rework IOVisor model and validate IovisorModuleInstance on Endpoint created events"

8 years agoMerge "Update IidFactoryTest to use non-deprecated function"
Keith Burns [Fri, 27 Nov 2015 21:07:28 +0000 (21:07 +0000)]
Merge "Update IidFactoryTest to use non-deprecated function"

8 years agoMerge "Add endpointIid(EndpointKey enpointKey) in IidFactory"
Keith Burns [Fri, 27 Nov 2015 21:05:07 +0000 (21:05 +0000)]
Merge "Add endpointIid(EndpointKey enpointKey) in IidFactory"

8 years agoRework IOVisor model and validate IovisorModuleInstance on Endpoint created events 63/30263/6
adetalhouet [Thu, 26 Nov 2015 16:08:04 +0000 (11:08 -0500)]
Rework IOVisor model and validate IovisorModuleInstance on Endpoint created events

Change-Id: Id80f1b58e3b837ce6d17f0ffbf29b999ce1e7b58
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoUpdate IidFactoryTest to use non-deprecated function 68/30268/1
adetalhouet [Thu, 26 Nov 2015 19:56:20 +0000 (14:56 -0500)]
Update IidFactoryTest to use non-deprecated function

firstKeyOf(Class, Class) was deprecated in favor of firstKeyOf(Class)

Change-Id: I6543565db3bf4963a691703aad72faab203ef60b
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoAdd endpointIid(EndpointKey enpointKey) in IidFactory 62/30262/4
adetalhouet [Thu, 26 Nov 2015 16:07:17 +0000 (11:07 -0500)]
Add endpointIid(EndpointKey enpointKey) in IidFactory

Get the Endpoint InstanceIdentifier using the EndpointKey

Change-Id: I5e9442c01848260e8ccdbd9d1d751b714ba93937
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoFix for incorrect RspName from SfpName 12/29412/4
Keith Burns (alagalah) [Sat, 7 Nov 2015 19:50:19 +0000 (11:50 -0800)]
Fix for incorrect RspName from SfpName

- added Tenant ID for unique RSP

Change-Id: I882c43e5d6856eaa51f8e408a7353ee8878fe826
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoFixed issues with registration point for renderers 31/30231/4
Martin Sunal [Thu, 26 Nov 2015 08:53:53 +0000 (09:53 +0100)]
Fixed issues with registration point for renderers

- missing keys in instance-identifiers
- wrong params in supported classifier defs
- added action definition and action capabilities

Change-Id: I2878d92ec6f17777fe6438825fac60e14e204fc4
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoUUIDs be gone. 19/30219/2
Keith Burns (alagalah) [Thu, 26 Nov 2015 02:03:04 +0000 (18:03 -0800)]
UUIDs be gone.

Change-Id: I6b846a6778d1b963e9a3b369e49f57801ea6431d
Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
8 years agoremoved need for getInterfaces call 49/29749/5
Matej Perina [Tue, 24 Nov 2015 13:07:30 +0000 (14:07 +0100)]
removed need for getInterfaces call

Change-Id: I9b7f3b32f0fb4265981dfaee9e47cf6f13bae26a
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoEndpointRpc provider in groupbasedpolicy 47/29747/6
Matej Perina [Tue, 24 Nov 2015 10:22:05 +0000 (11:22 +0100)]
EndpointRpc provider in groupbasedpolicy

EndpointRpcService is changed to be created by groupbasedpolicy modul
and renderers only register their EpRendererAugmentation implementation

Change-Id: I223346b6d89b82e05fe83935b0e90bfe1b9cb0e8
Signed-off-by: Matej Perina <matej.perina@pantheon.sk>
8 years agoRegistration point for renderer capabilities 42/29642/14
Martin Sunal [Fri, 13 Nov 2015 11:49:49 +0000 (12:49 +0100)]
Registration point for renderer capabilities

Change-Id: Ifa5db51b89c499926c088deafec454e81e7b3fbc
Signed-off-by: Martin Sunal <msunal@cisco.com>
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
8 years agoMove definitions of classifiers and actions to 63/28963/12
Konstantin Blagov [Thu, 29 Oct 2015 17:47:49 +0000 (18:47 +0100)]
Move definitions of classifiers and actions to
groupbasedpolicy module

Change-Id: Ifa612dee83f9c6b7d8bf20d0707dbd58a3e8ead4
Signed-off-by: Peter Palmar <peter.palmar@pantheon.sk>
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>
Signed-off-by: Martin Sunal <msunal@cisco.com>
8 years agoMerge changes from topic 'iovisor-renderer'
Keith Burns [Fri, 20 Nov 2015 01:43:40 +0000 (01:43 +0000)]
Merge changes from topic 'iovisor-renderer'

* changes:
  Instantiate IovisorRenderer in the IovisorProviderModule
  Add Endpoint Manager and Listener

8 years agoMerge "Add IOVisor module location augmentation"
Keith Burns [Fri, 20 Nov 2015 01:43:27 +0000 (01:43 +0000)]
Merge "Add IOVisor module location augmentation"

8 years agoInstantiate IovisorRenderer in the IovisorProviderModule 95/29895/3
adetalhouet [Wed, 18 Nov 2015 21:32:46 +0000 (16:32 -0500)]
Instantiate IovisorRenderer in the IovisorProviderModule

Change-Id: I74b30556026a5b83427df9a806802528a5289468
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoAdd Endpoint Manager and Listener 94/29894/3
adetalhouet [Wed, 18 Nov 2015 21:30:23 +0000 (16:30 -0500)]
Add Endpoint Manager and Listener

Change-Id: Ia24206237751b2035cbf2206a6d67ff6e5543b78
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoAdd IOVisor module location augmentation 93/29893/1
adetalhouet [Wed, 18 Nov 2015 21:29:31 +0000 (16:29 -0500)]
Add IOVisor module location augmentation

Change-Id: Ib9240de94cd95c38cb299d607c791736c7186030
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
8 years agoMerge "Added new tests for EndPointRpcRegistry"
Keith Burns [Wed, 18 Nov 2015 19:44:07 +0000 (19:44 +0000)]
Merge "Added new tests for EndPointRpcRegistry"