sfc.git
10 years agoAdd openflow bundles to sfc to fix openflow problems 69/10169/1
Sam Hague [Fri, 22 Aug 2014 13:00:33 +0000 (09:00 -0400)]
Add openflow bundles to sfc to fix openflow problems

Change-Id: I79b2e130be04f1e83bdc2e8481370cc5b8f904ee
Signed-off-by: Sam Hague <[email protected]>
10 years agoFixed most reported issues and general improvements 27/10127/1
Reinaldo Penno [Thu, 21 Aug 2014 09:06:32 +0000 (02:06 -0700)]
Fixed most reported issues and general improvements

ACL model now references SFP name
Modified Data Plane Locator group and used within SF, SFF and SF dictionary
Added trasnport type to Data Plane locator group
Added more necessary information to SFF OVS model
SFP model has service index for each SF and consequently we populate
  SI for each SF
Modified ACL model by inserting a list under top container
Modified original configuration files accordingly
Added newer ietf-yang-types dependency to POM
Modified Log configuration from DEBUG to ERROR
Modified SF model to indicate whether SF is nsh-aware

Change-Id: Ifcf83e0841bea7624a5d9e52e866f26abb6c21d1
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoAdded apply logback.xml configuration to Logback service on sfc-provider initialization 17/10017/2
malauko [Mon, 18 Aug 2014 15:36:03 +0000 (17:36 +0200)]
Added apply logback.xml configuration to Logback service on sfc-provider initialization
Added '.hg' to .gitignore

configuration: logger for sfc-provider to sfc.log file and send messages to syslog server

Change-Id: Ibdcfc59bf89f53e486aca0645cd03205a67b78aa
Signed-off-by: malauko <[email protected]>
10 years agoBug Fixes and More Fine Tuning of Yang Models 84/9884/1
Reinaldo Penno [Tue, 12 Aug 2014 07:44:18 +0000 (00:44 -0700)]
Bug Fixes and More Fine Tuning of Yang Models

- Further decoupling of SFF and SF
- Fixed bugs as part of moving to new DataBroker
- Fixed bootstrap files to account for modified Yang models
- Fixed RPCs accordingly

Change-Id: Icf7ae1c4d645696044cc5564c9e16eb45970e0c9
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoDecoupling of SFF and SF. More bug fixes 05/9705/2
Reinaldo Penno [Tue, 5 Aug 2014 16:52:16 +0000 (09:52 -0700)]
Decoupling of SFF and SF. More bug fixes

- Decoupling SFF and SF in a upcoming commit. Today when you create
  a SF, we create a SFF if it does not exist. But any coupling
  between the models is really bad because it makes us have to do
  garbage collection and synching of data. So, the user will have
  to explicitly create a SFF and in its configuration also specify
  the list of SFs attached to it.
- Changed sfc_provider_config.json to pretty format.
- Changed SFC chain model to allow symmetric paths
- Fixed a few Yang modules with lines larger than 70 chars.
- Fixed a few Yang descriptions according to new arch draft-01
- Fixed LOG statement in SnDataListener()
- Fixed service-function-forwarders.json to use new model syntax.
- Fixed OVS yang namespace issue

Change-Id: I56227cd8ef1d8a78386c75f3c3b6fcd97f34c1cc
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoFixes several bugs on bootsrap code, Yang models and related 34/9634/2
Reinaldo Penno [Sun, 3 Aug 2014 19:58:19 +0000 (12:58 -0700)]
Fixes several bugs on bootsrap code, Yang models and related

- Fix sfc-initial.xml to reference new Async Data Broker
- Fix SfcProviderConfig(). Static variables are initialized in order they are declared.
- Fix SfcProviderConfig(). Test if file exists
- Fix SFcProviderConfig(). Moved reading config file to a separate method so we can handle
    failure gracefully. If reading is inside constructor we can not test for failure.
- getPutBootstrapData() was trying to commit initial config too early - datastore not ready.
  Moved to a ScheduledExecutorService with delay of 15 seconds.
- Commented out recent changes to data-plane-locator (Mac address). During testing
  I found that the system becomes unusable due to a Yangtools bug.
  https://bugs.opendaylight.org/show_bug.cgi?id=1467
- Fixed all Yang modules to be IETF compliant

Change-Id: Ie04890166382027a0564be2a8e2eb2fef3693032
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoYang Model changes for simple use case. 90/9590/1
ebrjohn [Fri, 1 Aug 2014 20:53:12 +0000 (22:53 +0200)]
Yang Model changes for simple use case.

Change-Id: I1492d86696a08bb99df5d63461515e56d6183794
Signed-off-by: ebrjohn <[email protected]>
10 years agoJSON configuration file for provider 89/9489/1
Konstantin Blagov [Wed, 30 Jul 2014 13:50:48 +0000 (15:50 +0200)]
JSON configuration file for provider

Change-Id: I7138fff9ee552737476a764d39106e6496b110a1
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoMigrating SFC to new Data Broker 37/9437/1
Reinaldo Penno [Tue, 29 Jul 2014 14:29:01 +0000 (07:29 -0700)]
Migrating SFC to new Data Broker

- All necessary changes to migrate to new data broker
- Changed SFF model to better accomodate OVS architecture

Change-Id: I313232085bf22284860d4d064707854658699645
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoremoved unnecessary imports 83/9383/1
Konstantin Blagov [Mon, 28 Jul 2014 13:37:34 +0000 (15:37 +0200)]
removed unnecessary imports

Change-Id: Iad22697de10d264dcbfab6cc5eb6248727841a3c
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoadded copyright headers 82/9382/1
Konstantin Blagov [Mon, 28 Jul 2014 13:35:05 +0000 (15:35 +0200)]
added copyright headers

Change-Id: I08f61fb837f1bcd3cd9892564d4d4e55df568a60
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoBootstrapping data from JSON configuration files 78/9378/1
Konstantin Blagov [Mon, 28 Jul 2014 11:53:29 +0000 (13:53 +0200)]
Bootstrapping data from JSON configuration files

Change-Id: I1731cd536d8889c10b60e620c516e542136ec9e7
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoMerge "Bug fixes"
Konstantin Blagov [Thu, 24 Jul 2014 07:28:37 +0000 (07:28 +0000)]
Merge "Bug fixes"

10 years agoBug fixes 55/9255/1
Reinaldo Penno [Wed, 23 Jul 2014 09:52:36 +0000 (05:52 -0400)]
Bug fixes

- When a SF is deleted, we need to clean up the operational state.

- When a new service path is added at the top level it replaces existing
  ones that need to be removed from the service function state list

- When deleting a SF from SFF we were actually deleting the entire SFF.
  Not detected until tests with partial overlapping PUTs

Change-Id: Ie960761ed0d05b444748fe3b7187a9f4f7e3a48f
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoadded mandatory SFName parameter setting 93/9193/1
Konstantin Blagov [Mon, 21 Jul 2014 10:37:48 +0000 (12:37 +0200)]
added mandatory SFName parameter setting

Change-Id: Ifff85bab29fe5f467e0609466d62829201e902a8
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoSeveral Enhancements and bug fixes 83/9183/1
Reinaldo Penno [Sun, 20 Jul 2014 10:46:31 +0000 (03:46 -0700)]
Several Enhancements and bug fixes

- Completely decoupled SF and SFC.
- Completely decoupled SFP and SFC
- SFC is just a blueprint to build SFPs
- SFC can be deleted and SFPs stay
- If SF is deleted/updated, SFPs/SFF
  are deleted/updated accordingly
- Enhanced REST API
- All APIs are using reflection and factories.
  Meaning API implementation can be changed without changing signature
- Hardening of the code
- Modified Yang models by introducing operational containers.
- Fixed concurrency issue.

Change-Id: I8478b4ce3b0d2ab3092b5458fcd09116b6b1664f
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "Bug fixes"
Konstantin Blagov [Fri, 18 Jul 2014 07:10:58 +0000 (07:10 +0000)]
Merge "Bug fixes"

10 years agoBug fixes 34/9134/1
Reinaldo Penno [Fri, 18 Jul 2014 03:18:43 +0000 (20:18 -0700)]
Bug fixes

- Fixed bug in path-id generation. Due to concurrency variable is now atomic
- Change LOG.info to LOG.debug

Change-Id: Iae29cf18a55bf5acf6c6c52b0076ee7ce92972f0
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "Add support for gitreview to sfc"
Konstantin Blagov [Thu, 17 Jul 2014 15:27:53 +0000 (15:27 +0000)]
Merge "Add support for gitreview to sfc"

10 years agoIntegration with OVS and Hardening of APIs 45/9045/3
Reinaldo Penno [Wed, 16 Jul 2014 05:40:51 +0000 (22:40 -0700)]
Integration with OVS and Hardening of APIs

- Tested complex scenarios such as deleting SF from chain,
  deleting data plane locator, deleting SF, adding SF, etc

- Updated models as needed based on code and tests

- Implemented southbound REST communication and
  tested OVS integration

Change-Id: Icfba656babd566ee82b0c1ec17bf7ba4fb154989
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agominor fixes to POMs; fixed CRLFs 09/9009/1
Konstantin Blagov [Tue, 15 Jul 2014 09:01:46 +0000 (11:01 +0200)]
minor fixes to POMs; fixed CRLFs

Change-Id: I2a7d50a1a048e71a00b42438b49cd9fd382df56f
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoAdd support for gitreview to sfc 97/8997/1
Sam Hague [Mon, 14 Jul 2014 17:41:51 +0000 (13:41 -0400)]
Add support for gitreview to sfc

Change-Id: Ia1fcf3d0d764ef19fcd156876c4219badfd17fc7
Signed-off-by: Sam Hague <[email protected]>
10 years agofixed RPC to instantiate SFC to SFP (selects SFs randomly) 95/8995/1
Konstantin Blagov [Mon, 14 Jul 2014 16:45:53 +0000 (18:45 +0200)]
fixed RPC to instantiate SFC to SFP (selects SFs randomly)

Change-Id: I2ed4d0f0b5a76caabd06005b46cc480fc2cc409d
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoadded sfc-distribution, RPCs 45/8945/1
Konstantin Blagov [Fri, 11 Jul 2014 14:05:52 +0000 (16:05 +0200)]
added sfc-distribution, RPCs

Change-Id: I817c1071727a7c6d332c4010c66f0b0a26e9ecc3
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agofourth state of Provider 28/8928/1
Reinaldo Penno [Fri, 11 Jul 2014 08:38:21 +0000 (01:38 -0700)]
fourth state of Provider

- When a service function is created via RESTconf, internally
  we create SFF and SFP
- When a service function chain is created we patch SFF and SFP
  with the final info to send to devices

Change-Id: I9ef2c82a02ca08e7a58ddce8559da3e58345ee57
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoThird Stage of Provider Commit 90/8890/1
Reinaldo Penno [Thu, 10 Jul 2014 08:38:58 +0000 (01:38 -0700)]
Third Stage of Provider Commit

- Fixed yang models to reflect testing and use-cases
- Added Sfc-test-consumer
- Add listeners and APIs to reflect generic integration

Change-Id: Iac115f96ecd34ba08b262ab749431b43c796653c
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoStage 2 of SFC Provider Application 86/8586/1
Reinaldo Penno [Wed, 2 Jul 2014 23:13:34 +0000 (16:13 -0700)]
Stage 2 of SFC Provider Application

- Provider plug-in
- Changes to parent pom to compile provider plug-in

Change-Id: I2bf3624a05e233e292bd60d9cc102addf291ac3a
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoStage 1 of provider Commit 74/8574/2
Reinaldo Penno [Wed, 2 Jul 2014 20:07:23 +0000 (13:07 -0700)]
Stage 1 of provider Commit

- Adding parallel sfc-model

Change-Id: I5d8ae5245dc2ad3055ec3bd65748afe733b82b06
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agofirst round of POM changes. This commit makes sure 68/7968/1
Reinaldo Penno [Fri, 13 Jun 2014 04:02:21 +0000 (21:02 -0700)]
first round of POM changes. This commit makes sure
upcoming provider application can see model classes.

I will change names and organize dependencies in later commits

Change-Id: I5e052147c04cccf38d88c141d631b41c33056619
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoUpdated Yang models to reflext draft-penno-sfc-yang-03 48/7848/2
Reinaldo Penno [Tue, 10 Jun 2014 05:44:34 +0000 (22:44 -0700)]
Updated Yang models to reflext draft-penno-sfc-yang-03

Changed service-function-chain.yang and service-function.yang
back to unix encoding from DOS encoding (stripped out CRs).

Original-Signed-off-by: Reinaldo Penno <[email protected]>
Change-Id: Icb2eddbac7eb6e730c6b5b7e074043082f13eb9f
Signed-off-by: Ryan Moats <[email protected]>
10 years agoAdd dependencies to model pom.xml 32/7832/1
Ryan Moats [Mon, 9 Jun 2014 18:07:16 +0000 (13:07 -0500)]
Add dependencies to model pom.xml

The pom.xml was missing some yang dependencies for locating
items in a running controller.  Added same.

Change-Id: I448c546a0d69a1d32403db5efb263450f595fe8f
Signed-off-by: Ryan Moats <[email protected]>
10 years agoAdd initial checkstyle rules 05/7705/1
Ryan Moats [Thu, 5 Jun 2014 02:31:11 +0000 (21:31 -0500)]
Add initial checkstyle rules

This commit adds checkstyle rules (no tabs, no trailing white space)
to the project and fixes the yang models to conform.

Only the *.yang files are currently checked, we need to add *.java
while excluding the machine generated files

Change-Id: I408523b2a90f9e32b65415eb179c7a058c641d82
Signed-off-by: Ryan Moats <[email protected]>
10 years agoAdd distribution management to pom files 04/7704/1
Ryan Moats [Thu, 5 Jun 2014 02:21:57 +0000 (21:21 -0500)]
Add distribution management to pom files

The original commit lacked pom files and so the jenkins
merge job failed when it came to deploying the artifacts.
This patch addresses this...

Change-Id: Ieb8b3d73f460852c5f0193ebb575cf562a5d2a43
Signed-off-by: Ryan Moats <[email protected]>
10 years agoFirst SFC Model Commit 63/7663/1
Reinaldo Penno [Wed, 4 Jun 2014 06:15:26 +0000 (23:15 -0700)]
First SFC Model Commit

Change-Id: I21b35d7dc7611b9ec9658a3e848eae3b5e3838ad
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoInitial empty repository
Aric Gardner [Thu, 22 May 2014 17:47:18 +0000 (17:47 +0000)]
Initial empty repository