groupbasedpolicy.git
9 years agoModify build after breakage caused by JaCoCo. Unfortunately requires 00/9800/2
Rob Adams [Thu, 7 Aug 2014 21:39:32 +0000 (14:39 -0700)]
Modify build after breakage caused by JaCoCo.  Unfortunately requires
switching to JaCoCo.

Change-Id: Ie47aaf10d079e39a1c0a97788f07212aba91952f
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoFix error in OpFlex test 74/9674/1
Rob Adams [Mon, 4 Aug 2014 21:45:56 +0000 (14:45 -0700)]
Fix error in OpFlex test

Change-Id: Ia25c2bedfdcf9d57f5d033d74e5cc8f7e99daf1b
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoRemoved OpFlex domain scoping. 16/9516/3
Thomas Bachman [Wed, 30 Jul 2014 20:19:05 +0000 (20:19 +0000)]
Removed OpFlex domain scoping.

There will only be a single OpFlex domain, so the domain
is brought out to a top-level configuration item (and is
no longer a list of domains) and brings the Discovery Definitions
back to the top level.

Change-Id: I688335d5b6b6c6980fcec40480d5e9ba4809faf1
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
9 years agoImplement generation of policy enforcement table 16/9416/3
Rob Adams [Mon, 28 Jul 2014 22:18:55 +0000 (15:18 -0700)]
Implement generation of policy enforcement table

 * Refactor policy resolver semantics to provide the right APIs
 * Keep track of condition groups
 * Create rudimentary framework for generating rules from classifiers.

Change-Id: I044a3268bcd15aa0bc2ea072a73e7d74c72da5ad
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoAdded sending of Identity Request when clients connect. 81/9381/1
Thomas Bachman [Thu, 24 Jul 2014 19:33:22 +0000 (19:33 +0000)]
Added sending of Identity Request when clients connect.

The request messages also lacked initialization of their method
inside the constructor.

Change-Id: I8cd9b5d41ff37a998713a70d81f9a616fa485eea
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
9 years ago* Port to use the new submit() API call rather than commit(). 09/9209/2
Rob Adams [Mon, 21 Jul 2014 16:49:18 +0000 (09:49 -0700)]
* Port to use the new submit() API call rather than commit().
* Fix warning caused by spurious SupressWarning
* Additional unit tests
* Tweaks to destination mapper table
* Fix policy model bug with duplicate name

Change-Id: I5bfc612ea78a1d9ff46d8d83a9ddc0d464cf13ac
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoMerge "Added MO object serialization and deserialization."
Rob Adams [Mon, 21 Jul 2014 16:56:04 +0000 (16:56 +0000)]
Merge "Added MO object serialization and deserialization."

9 years agoAdded MO object serialization and deserialization. 76/9176/1
Thomas Bachman [Fri, 18 Jul 2014 16:48:43 +0000 (16:48 +0000)]
Added MO object serialization and deserialization.

This adds the ManagedObject POJO to the relevant OpFlex RpcMessage
objects, along with unit tests for them.

This commit also addresses some compiler warnings, and adds back
in the OpflexConnectionService unit tests (added code to select
available server socket within a range).

Change-Id: I1a664fa0aec700554691b7dcc49aa65828721f5c
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
9 years agoFinish implementing most of the destination mapper table (at least as 73/9173/1
Rob Adams [Sat, 19 Jul 2014 00:43:07 +0000 (17:43 -0700)]
Finish implementing most of the destination mapper table (at least as
far as I can without extensions)

Change-Id: I03500d8c17687844207d009e421e7b62b8d7c4db
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoMore work toward writing the flow correctly 65/9165/1
Rob Adams [Fri, 18 Jul 2014 16:49:43 +0000 (09:49 -0700)]
More work toward writing the flow correctly

* Add beginnings of destination mapper table
* Add some additional configuration information for switches
* Additional tests

Change-Id: I41142b49897e213aec2a00cf53233e0634b0d909
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoAdded support for OpFlex domains. 53/9153/2
Thomas Bachman [Thu, 17 Jul 2014 07:14:22 +0000 (07:14 +0000)]
Added support for OpFlex domains.

This adds domains to the scoping of OpFlex servers and
messages.

This patch also moves the OpFlex-specific messages to
their own package, and adds fixes for using concrete
typing for Futures.

Change-Id: I67a9cfeebb5d40490cfa02780cf7c9b3d2acfb74
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
9 years agoAdd source mapping table and refactor/simplify flow table 60/8960/3
Rob Adams [Sat, 12 Jul 2014 00:14:41 +0000 (17:14 -0700)]
Add source mapping table and refactor/simplify flow table
Add simple scheme for allocating ordinals for use in the forwarding
plane to map to egs, bds, fds, etc.
Add tests for source mapper and port security tables

Change-Id: If4054a128cb0de921a492524bbf02aa1245ce158
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoMerge "Backed out OpflexConnectionService unit tests -- they were using localhost...
Rob Adams [Thu, 10 Jul 2014 17:08:06 +0000 (17:08 +0000)]
Merge "Backed out OpflexConnectionService unit tests -- they were using localhost sockets, which result in intermittent failures for UT."

9 years agoOnward! 05/8905/1
Rob Adams [Thu, 10 Jul 2014 16:41:15 +0000 (09:41 -0700)]
Onward!

* Add a lot of infrastructure around passing the right sets of events around
* Get writing to a single table working: the port security table
* Add license headers everywhere
* Needs lots of tests

Change-Id: I39f4fa538d9acf6470b00a5dd5a9563c53649851
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoFix bugs/warnings found by FindBugs in OpFlex code 09/8809/1
Rob Adams [Tue, 8 Jul 2014 16:56:24 +0000 (09:56 -0700)]
Fix bugs/warnings found by FindBugs in OpFlex code

Change-Id: If302f59c63c754e7af5b04ec40fbd1b152d1e624
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoBacked out OpflexConnectionService unit tests -- they 13/8813/1
Thomas Bachman [Tue, 8 Jul 2014 13:55:24 +0000 (13:55 +0000)]
Backed out OpflexConnectionService unit tests -- they
were using localhost sockets, which result in intermittent
failures for UT.

Tests will be reintroduced once a more suitable set of
UTs is reworked.

Change-Id: I5449fa02d583372416d73621ef2c9b7c93906efb
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
9 years agoAddition of OpFlex server configuration and message support. 71/8771/2
Thomas Bachman [Tue, 24 Jun 2014 22:22:51 +0000 (22:22 +0000)]
Addition of OpFlex server configuration and message support.

Added configuration of Opflex servers based on changes in
configuration state.

Initial pass at support for the various OpFlex messages
(NB: some of this will change with a later patch that supports
direct serialization/deserialization of messages into the objects,
rather than going through a normalized JsonNode).

Change-Id: I8c5784342656bb8beb48eeec65be547f63d04af0
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
9 years agoImplement endpoint registry augments 63/8563/1
Rob Adams [Wed, 2 Jul 2014 16:50:15 +0000 (09:50 -0700)]
Implement endpoint registry augments
Some minor tweaks to endpoint model from Martin

Change-Id: I4b972748fafffd90de9a499fbdda5ac65bcfa565
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoWork toward OF overlay renderer. 21/8521/1
Rob Adams [Tue, 1 Jul 2014 23:15:32 +0000 (16:15 -0700)]
Work toward OF overlay renderer.

* Create distribution directory (probably temporary until Karaf) to
  make running easier
* Move endpoint-provider-impl into renderer so that it can be
  augmented
* Stubbed or basic implementations of most of the overlay renderer.

Change-Id: I0c7972c8529d6a93d419915c82918a660935d6ac
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoReorganize tree slightly to make room for OFOverlay renderer 11/8311/2
Rob Adams [Tue, 24 Jun 2014 21:58:41 +0000 (14:58 -0700)]
Reorganize tree slightly to make room for OFOverlay renderer
Create beginning stub of OFOverlay renderer

Change-Id: I4483a5ecdf98d09f857c16e9a004589f90c40405
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoMerge "Modify endpoint registry to not require layer 2 fields Add forwarding model...
Rob Adams [Mon, 23 Jun 2014 16:12:21 +0000 (16:12 +0000)]
Merge "Modify endpoint registry to not require layer 2 fields Add forwarding model to policy Update InheritanceUtils to include forwarding model"

9 years agoFix various warnings from json-rpc 02/8202/1
Rob Adams [Fri, 20 Jun 2014 23:16:59 +0000 (16:16 -0700)]
Fix various warnings from json-rpc

Change-Id: I707f6b77b09c61fe2bbfc1a57b892732eb0923aa
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoModify endpoint registry to not require layer 2 fields 00/8200/1
Rob Adams [Fri, 20 Jun 2014 22:04:27 +0000 (15:04 -0700)]
Modify endpoint registry to not require layer 2 fields
Add forwarding model to policy
Update InheritanceUtils to include forwarding model

Change-Id: Id895ef3aa86caaf6c59021efb8480ac7058df485
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoFix tabs 44/8044/1
Rob Adams [Mon, 16 Jun 2014 16:13:34 +0000 (09:13 -0700)]
Fix tabs

Change-Id: I08c75946b4c52736b7e680a31c1adcc449c3e2cb
Signed-off-by: Rob Adams <readams@readams.net>
9 years agoPort of JSONRPC lib and Server from OVSDB project. Changes include: 36/8036/2
Thomas Bachman [Mon, 16 Jun 2014 07:06:55 +0000 (07:06 +0000)]
Port of JSONRPC lib and Server from OVSDB project. Changes include:
   o Removing OpenDaylight artifact dependencies from the lib
   o Getting rid of Reflection (changed dynamic proxy to separate HashMap class)
   o Additional Unit Tests

Also includes beginnings of OpFlex SB plugin/renderer, with YANG files for ideas
on potential configuration state and provider service.

Change-Id: I6b2030b3d52d827b889b917ba24f89ab897599b6
Signed-off-by: Thomas Bachman <tbachman@yahoo.com>
9 years ago* Tweaks to the policy model 28/7528/4
Rob Adams [Thu, 29 May 2014 23:44:51 +0000 (16:44 -0700)]
* Tweaks to the policy model
* InheritanceUtils implements inheritance of tenants to generate a normalized
  representation
* Beginnings of renderer common.  Implement resolution of policies into a
  policy cache that can be queried against and we can add subscriptions.

Change-Id: Ia74f4adc4a4dddd43c7ffff3189cacb3fa69bb51
Signed-off-by: Rob Adams <readams@readams.net>
10 years ago* Implement endpoint group to condition mapping in endpoint registry 05/7005/1
Rob Adams [Wed, 14 May 2014 23:52:03 +0000 (16:52 -0700)]
* Implement endpoint group to condition mapping in endpoint registry
* Some spelling tweaks to policy descriptions
* Sample configuration file to load endpoint registry provider

Change-Id: I02819a223de817fd8ea3375068ad4147837b9b19
Signed-off-by: Rob Adams <readams@readams.net>
10 years agoTweaks to policy model 38/6938/1
Rob Adams [Tue, 13 May 2014 18:39:56 +0000 (11:39 -0700)]
Tweaks to policy model

Change-Id: Iea28b7100f67418502938e31d7a3ece37be5c55a
Signed-off-by: Rob Adams <readams@readams.net>
10 years agoInitial commit for project. 95/6295/4
Rob Adams [Mon, 21 Apr 2014 15:50:27 +0000 (08:50 -0700)]
Initial commit for project.
  * Creates maven project skeleton
  * Adds first-cut yang models for endpoint registry and policy
    repository
  * Adds first-cut basic service provider for endpoint registry.

Change-Id: I56382bd55057812f90ea906ac5e6e4ad02d6d9dc
Signed-off-by: Rob Adams <readams@readams.net>
10 years agoInitial empty repository
Andrew Grimberg [Fri, 7 Feb 2014 23:39:24 +0000 (23:39 +0000)]
Initial empty repository