sfc.git
10 years agoRemove legacy distribution as it is no longer used and slows down build a lot 88/14588/2
Ed Warnicke [Wed, 28 Jan 2015 23:22:27 +0000 (16:22 -0700)]
Remove legacy distribution as it is no longer used and slows down build a lot

Change-Id: I42899d4d4141d764cd3ac192550eaa0ecf96c409
Signed-off-by: Ed Warnicke <[email protected]>
10 years agoSouthBound REST Critical Fixes - I 83/14583/3
Reinaldo Penno [Wed, 28 Jan 2015 22:23:01 +0000 (14:23 -0800)]
SouthBound REST Critical Fixes - I

    - RSP listeners were attached to configuration datastore, but it should
      be to the operational data store. Without this change new SB REST would
      not work.

    - (not done, but identified). New SB REST sends SFF entry as a single JSON object
      but agent and ODL RESTconf send/expect a SFF entry as a _list_ of a single element.
      Current agent expects SFF entry in the same format as consumed by internal
      ODL RESTconf and therefore we can change the SB REST SFF entry JSON to make
      it consisten or the agent side

    - improved auto-sff determination in agent and introduced a few new APIs

Change-Id: I9622d67b94dd60cceaf37056479dc7c89a27040e
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoPython agent determines SFF name automatically 63/14563/3
Reinaldo Penno [Wed, 28 Jan 2015 10:21:42 +0000 (02:21 -0800)]
Python agent determines SFF name automatically

- Commented out calls to previous SB REST
- Changed name of start script to start_agent.sh

Change-Id: If3059c8f2647c31d02d1f9c295f085cdc49666fb
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "Change SFCOFL2 to use SfcProvider.SfcDataStoreAPI"
Reinaldo Penno [Tue, 27 Jan 2015 21:32:30 +0000 (21:32 +0000)]
Merge "Change SFCOFL2 to use SfcProvider.SfcDataStoreAPI"

10 years agoSB REST: fixes after test 44/14544/1
Konstantin Blagov [Tue, 27 Jan 2015 15:52:01 +0000 (16:52 +0100)]
SB REST: fixes after test

Change-Id: Id7917e4f63f4c0e393a0e051be338d323c2b2300
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoChange SFCOFL2 to use SfcProvider.SfcDataStoreAPI 41/14541/2
ebrjohn [Tue, 27 Jan 2015 13:02:30 +0000 (14:02 +0100)]
Change SFCOFL2 to use SfcProvider.SfcDataStoreAPI

The SfcL2FlowProgrammer was not using the common DataStore
APIs provided by the SfcProvider APIs.

Change-Id: I4e2347d2709128a4769294a58389bb99c3c1423f
Signed-off-by: ebrjohn <[email protected]>
10 years agoRenaming SFCOFL2 Java packages 28/14528/1
ebrjohn [Tue, 27 Jan 2015 06:41:11 +0000 (07:41 +0100)]
Renaming SFCOFL2 Java packages

Changed all package names:
org.opendaylight.ofsfc -> org.opendaylight.sfc.l2renderer

Change-Id: I7c6aac7c70b04dfb838f50e1f480d480a839eb28
Signed-off-by: ebrjohn <[email protected]>
10 years agoRefactoring SFC OFL2 00/14500/2
ebrjohn [Fri, 23 Jan 2015 20:12:46 +0000 (21:12 +0100)]
Refactoring SFC OFL2

OpenflowSfcFlowProgrammer
- Renamed to SfcL2FlowProgrammer
- No longer a Singleton
- Now instantiated from SfcL2Renderer and dependency injected where needed

OpenflowSfcRenderer
- Renamed to SfcL2Renderer
- No longer a Singleton
- Now instantiates: SfcL2FlowProgrammer, SfcL2AclDataListener, and SfcL2SfpDataListener
- Dependency injects the SfcL2FlowProgrammer into the SfcL2AclDataListener and SfcL2SfpDataListener

Also renamed the following classes:
- OpenflowAbstractDataListener  ->  SfcL2AbstractDataListener
- OpenflowAclDataListener       ->  SfcL2AclDataListener
- OpenflowSfpDataListener       ->  SfcL2SfpDataListener

Change-Id: I54beeeb865d074921789bc74f4a28cd06f8fc8d6
Signed-off-by: ebrjohn <[email protected]>
10 years agoMerge "Sfc_agent - adding support for POST operation"
Konstantin Blagov [Mon, 26 Jan 2015 17:03:43 +0000 (17:03 +0000)]
Merge "Sfc_agent - adding support for POST operation"

10 years agoMerge "SB REST - enhancing JSON AclExporter"
Konstantin Blagov [Mon, 26 Jan 2015 16:58:49 +0000 (16:58 +0000)]
Merge "SB REST - enhancing JSON AclExporter"

10 years agoSB REST: JSON generation fixes 08/14508/1
Konstantin Blagov [Mon, 26 Jan 2015 13:32:31 +0000 (14:32 +0100)]
SB REST: JSON generation fixes

Change-Id: Iab8bf3bbf394336ffb5aa02091ca856fdbb8b326
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoSfc_agent - adding support for POST operation 06/14506/1
Andrej Kincel [Mon, 26 Jan 2015 16:29:50 +0000 (17:29 +0100)]
Sfc_agent - adding support for POST operation

According to SB REST mapping of CRUD operations is following:
Create = POST
Read = GET
Update = PUT
Delete = DELETE

From sfc_agent view it does not matter, it it receives PUT or POST (maybe
behavior will change in future)

+ fix in SB REST ACL and Classifier listeners

Change-Id: Iaee58a85505f63217e9562ef381dbca09d88af1e
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoSB REST - enhancing JSON AclExporter 01/14501/1
Andrej Kincel [Mon, 26 Jan 2015 09:27:05 +0000 (10:27 +0100)]
SB REST - enhancing JSON AclExporter

+ ACL Json contains all nodes except Metadata

Change-Id: I269164b6cbd5d89be6e8551cc06f4bfd49eec0b0
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoStart SfcOFL2ProviderModule when the SFCOFL2 feature installs. 79/14479/1
ebrjohn [Mon, 26 Jan 2015 11:51:31 +0000 (12:51 +0100)]
Start SfcOFL2ProviderModule when the SFCOFL2 feature installs.

From the previous commit to bootstrap SFCOFL2 for the local karaf distro,
it wasnt instantiating the SFCOFL2 plugin.

Change-Id: Iad49bbad39f0add41bb5179c83691052ca474728
Signed-off-by: ebrjohn <[email protected]>
10 years agoMerge "Adding sfcofl2 automatic bootstrap to local karaf distro"
Reinaldo Penno [Sat, 24 Jan 2015 19:41:08 +0000 (19:41 +0000)]
Merge "Adding sfcofl2 automatic bootstrap to local karaf distro"

10 years agoMerge "SB REST - adding Classifier Listener"
Konstantin Blagov [Fri, 23 Jan 2015 13:01:13 +0000 (13:01 +0000)]
Merge "SB REST - adding Classifier Listener"

10 years agoSB REST - adding Classifier Listener 34/14434/2
Andrej Kincel [Fri, 23 Jan 2015 11:55:44 +0000 (12:55 +0100)]
SB REST - adding Classifier Listener

* Classifier listener is required for sending ACL to SFFs listed in
Classifier. This event occurs when ACL is attached to Classifier.

* SbRestAclEntryDataListener will not catch this event, it watches only
for changes inside the ACL.

* Please see classifier_design.docx for better understanding. There are
also two listeners which are sending ACLs:
1. SB Classifier Listener (green one)
2. SB ACL listner (light blue one)

Change-Id: Ib291eb44e313722bf493af40d8a5ec12c62c3174
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoSB REST: some fixes 35/14435/1
Konstantin Blagov [Fri, 23 Jan 2015 11:57:39 +0000 (12:57 +0100)]
SB REST: some fixes

Change-Id: I67e246dd305e91546013ff33cec9a8274a24bad2
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoSB REST - support for sending ACLs 05/14405/5
Andrej Kincel [Thu, 22 Jan 2015 22:20:29 +0000 (23:20 +0100)]
SB REST - support for sending ACLs

* ACL should be send to SFFs listed in Classifier which holds the ACL

* For fast lookup, table of <ACL, List<Classifier>> should be estabilished
in ACL operational Datastore.

* The table will be maintained by ClassifierEntry listener (ScfEntryDataListener)

* (not done yet) AclExporterFactory should consider all YANG nodes

+ some basic cleanup with @Deprecated (for now)

Change-Id: If75db364adb4ad5f7eeb1218f773b6bbef8735eb
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoAdding sfcofl2 automatic bootstrap to local karaf distro 22/14422/2
ebrjohn [Fri, 23 Jan 2015 10:56:56 +0000 (11:56 +0100)]
Adding sfcofl2 automatic bootstrap to local karaf distro

This also bootstraps the openflowplugin feature only when sfcofl2 is bootstrapped.
Also did some minor cleanup of the feature files to remove the generated TODO comments.

Change-Id: I853efc15141043bdc7b13aee0fc6a3ad6c6d285b
Signed-off-by: ebrjohn <[email protected]>
10 years agoMerge "Sfc-UI - missing underscore library"
Reinaldo Penno [Thu, 22 Jan 2015 21:09:15 +0000 (21:09 +0000)]
Merge "Sfc-UI - missing underscore library"

10 years agoSB REST clean-up outputs 95/14395/1
Konstantin Blagov [Thu, 22 Jan 2015 18:00:50 +0000 (19:00 +0100)]
SB REST clean-up outputs

Change-Id: Id2af68dc857c5c3c38e2c7fd477e12d0f5173648
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoappended URLs for entities 94/14394/1
Konstantin Blagov [Thu, 22 Jan 2015 17:43:05 +0000 (18:43 +0100)]
appended URLs for entities

Change-Id: I5b2bdea99805976c37acd1d6378137f1d5631161
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoMerge changes I5cf44380,I416462a0
Konstantin Blagov [Thu, 22 Jan 2015 16:47:26 +0000 (16:47 +0000)]
Merge changes I5cf44380,I416462a0

* changes:
  added SFF, RSP listeners, runnables
  Sff, RSP exporters; minor improvements

10 years agoMerge "(no merge) after checkstyle"
Konstantin Blagov [Thu, 22 Jan 2015 16:46:14 +0000 (16:46 +0000)]
Merge "(no merge) after checkstyle"

10 years agoMerge "(no merge) preliminary commit"
Konstantin Blagov [Thu, 22 Jan 2015 16:45:31 +0000 (16:45 +0000)]
Merge "(no merge) preliminary commit"

10 years agoadded SFF, RSP listeners, runnables 86/14386/1
Konstantin Blagov [Tue, 20 Jan 2015 18:40:48 +0000 (19:40 +0100)]
added SFF, RSP listeners, runnables

Change-Id: I5cf4438093b087f18b48fa3e7cb44554d165aa19
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoSfc-UI - missing underscore library 78/14378/1
Andrej Kincel [Thu, 22 Jan 2015 13:06:29 +0000 (14:06 +0100)]
Sfc-UI - missing underscore library

Data templates were not working

Change-Id: I40a95e1e97a8a7d0e25c40489a8f3f1530c42ca1
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoSfc-UI - SFP, RSP and Classifier changes 49/14349/3
Andrej Kincel [Wed, 21 Jan 2015 16:20:28 +0000 (17:20 +0100)]
Sfc-UI - SFP, RSP and Classifier changes

SFP:
+ Changed view to not look so empty (until changes to SFP will be
supported from sfc-provider side)
+ Ability to setup symmetric classifier
+ Ability to use RPC for RSP creation

RSP:
+ Need to check for used classifier in Classifier operational store
+ Provide delete RPC

Classifier:
+ Classifier is now saved on SFP
+ Reworked classifier table + creation dialog

Change-Id: I4bb5757b953f81c404efb02202c13fde65b6c7e4
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoSfc-ui - adding MDsal modules availability check 34/14334/1
Andrej Kincel [Wed, 21 Jan 2015 13:06:38 +0000 (14:06 +0100)]
Sfc-ui - adding MDsal modules availability check

+ new table in System tab, showing response codes from each Datastore
according to used YANG models

Signed-off-by: Andrej Kincel <[email protected]>
10 years ago(no merge) after checkstyle 95/14195/2
Konstantin Blagov [Fri, 16 Jan 2015 13:57:06 +0000 (14:57 +0100)]
(no merge) after checkstyle

Change-Id: Icc80d4ef434580a2cf74a75d461bfb637460cc54
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoSff, RSP exporters; minor improvements 08/14308/1
Konstantin Blagov [Tue, 20 Jan 2015 14:37:54 +0000 (15:37 +0100)]
Sff, RSP exporters; minor improvements

Change-Id: I416462a0b4101bb8e8378bcc52ad043707fab14b
Signed-off-by: Konstantin Blagov <[email protected]>
10 years ago(no merge) preliminary commit 94/14194/2
Konstantin Blagov [Fri, 16 Jan 2015 13:32:08 +0000 (14:32 +0100)]
(no merge) preliminary commit

Change-Id: Iaea34bd8d4f095422ea8bffeb07d77654ef94916
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoIntroducing dynamic Sfc-UI generation 14/14014/13
Andrej Kincel [Fri, 9 Jan 2015 10:26:37 +0000 (11:26 +0100)]
Introducing dynamic Sfc-UI generation

- pyang is used to transform yang models to Yin XML representation
(pyang will be not necessary in future,
when XML representation of YANG models will be available through RESTconf
see: https://git.opendaylight.org/gerrit/#/c/13125/)
- because of bad Python support on Jenkins (old version 2.6.6), XMLs should
be generated manually after change in YANG models executing convert_yang_to_xmls.sh
(yang.xml files are also temporarily included in git repository)

- xml is parsed using dlux yangtools
- output of dlux yangtools is used for dynamic UI generation

+ Service Function Type is gathered from service-function-type.yang
+ Service Function Failmode is gathered from service-locator.yang
+ Service Locator Type is gathered from service-locator.yang
+ Service Locator Transport Type is gathered from service-locator.yang
+ Service Locator forms and everything connected are generated dynamicly
  according to service-locator types

+ Minor classifier fix

Change-Id: Iaf1f4f095692c8a7a3441b0a85ead004495efe6e
Signed-off-by: Andrej Kincel <[email protected]>
10 years agotypo fix in config JSON 83/14283/1
Konstantin Blagov [Tue, 20 Jan 2015 09:45:07 +0000 (10:45 +0100)]
typo fix in config JSON

Change-Id: I8ac907aa4fd38ce9542b5e600c3e3e08bf832ec1
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoMinor refactor of sfcofl2 to use SfcProvider APIs. 77/14277/1
ebrjohn [Mon, 19 Jan 2015 15:45:20 +0000 (16:45 +0100)]
Minor refactor of sfcofl2 to use SfcProvider APIs.

Change-Id: Ia59c0cc0fe0731e0c3ec09a7787a34dcec9c7937
Signed-off-by: ebrjohn <[email protected]>
13 years agoModify the namespace of SF extension Yang models,and export-package of sfc-model 65/14165/2
Hongli Chen [Fri, 11 Nov 2011 04:20:27 +0000 (12:20 +0800)]
Modify the namespace of SF extension Yang models,and export-package of sfc-model

Signed-off-by: Hongli Chen <[email protected]>
10 years agoBug when determining SFF OS. 41/14141/1
Reinaldo Penno [Wed, 14 Jan 2015 06:35:31 +0000 (22:35 -0800)]
Bug when determining SFF OS.

- Default value should be the reference implementation: "ODL"
- Implemented accessors for some globals

Change-Id: Ib4b3e621e92f7610fe81fd0882ebd14eeabfece4
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoEnabling checkstyle and fixing related errors. 25/14125/1
ebrjohn [Tue, 13 Jan 2015 15:10:18 +0000 (16:10 +0100)]
Enabling checkstyle and fixing related errors.
Now the build will fail if the checkstyle fails.

Change-Id: I2b495f19313754035b612dc4b01dd4b043ee2615
Signed-off-by: ebrjohn <[email protected]>
10 years agoMerge "add API for multiple service function selection algorithms"
Reinaldo Penno [Tue, 13 Jan 2015 08:12:18 +0000 (08:12 +0000)]
Merge "add API for multiple service function selection algorithms"

10 years agoadd API for multiple service function selection algorithms 18/14118/1
shuqianx [Wed, 14 Jan 2015 20:15:11 +0000 (15:15 -0500)]
add API for multiple service function selection algorithms

Change-Id: Ie93f9a9ab01685be221ecdbe07d9ad00858bf956
Signed-off-by: shuqianx <[email protected]>
10 years agoRemoving leftover debug messages 09/14109/1
Reinaldo Penno [Tue, 13 Jan 2015 00:29:02 +0000 (16:29 -0800)]
Removing leftover debug messages

Change-Id: I8a10855d13504ff0cf719d614492ea2574c0341c
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "Set root pom.xml <name> for Sonar"
Reinaldo Penno [Sat, 10 Jan 2015 01:10:19 +0000 (01:10 +0000)]
Merge "Set root pom.xml <name> for Sonar"

10 years agoFixing Sonar issues, focusing mainly on sfcofl2. 15/14015/2
ebrjohn [Fri, 9 Jan 2015 12:35:26 +0000 (13:35 +0100)]
Fixing Sonar issues, focusing mainly on sfcofl2.

Change-Id: I25f12a7b53c7873fdd3279864710813782279fb1
Signed-off-by: ebrjohn <[email protected]>
10 years agoSet root pom.xml <name> for Sonar 37/14037/1
Thanh Ha [Fri, 9 Jan 2015 20:01:22 +0000 (15:01 -0500)]
Set root pom.xml <name> for Sonar

As mentioned on the mailing list Sonar uses the <name> field of the
pom.xml that is passed to the mvn command as the name of the project in
Sonar. In most cases this is the root pom.xml file in a project. This
patch sets the name to the project shortname.

https://lists.opendaylight.org/pipermail/discuss/2014-November/004024.html

Change-Id: I4199082b980d0c246a3bf27cdc0490a6aaad59ee
Signed-off-by: Thanh Ha <[email protected]>
10 years agoClassifier Implementation 28/13828/7
Reinaldo Penno [Tue, 23 Dec 2014 08:28:33 +0000 (00:28 -0800)]
Classifier Implementation

* Moved all RSP methods to a specific API class
* Introduced a RPC to create RSPs
* Cleaned up a lot of code related to Service Nodes
* Removed unused listeners and their code
* RSP yang model must contain parent SFP name.
* Moved symmetric flag out of Service Chain
* Created operational table of <SFP, List of Instantiated<RSPs>>
* Created operational table of <Classifier, List<RSP>>
* Cleaned up new SB REST for new implmentation
* Fixed initial config files
* Removed classifier from SFF model
* Created Service Type Executor API and used it in SF listener
* Improved performance of SF listener during deletion

Change-Id: I121fa77121c65bbcb7eeeb9ee2026423f5b3068e
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoiptables/netfilter classifier 42/13742/3
Martin Lauko [Fri, 19 Dec 2014 09:39:39 +0000 (10:39 +0100)]
iptables/netfilter classifier

 * new design (thread part imported into agent, server part running in separate process)
 * 'thread' part combines acl with rsp + sff info and sends message to server part via unix socket
 * 'server' part configures iptables, binds to NF queue and manages forwarding of received packets

Change-Id: I6a74b1e01b8d4c1ba1021f0206e47215af572348
Signed-off-by: Martin Lauko <[email protected]>
10 years agofixing naming bug: ovs ip provided in CLI is control plane, not data plane 80/13780/1
Paul Quinn [Fri, 19 Dec 2014 22:57:07 +0000 (17:57 -0500)]
fixing naming bug: ovs ip provided in CLI is control plane, not data plane

Change-Id: I1c53da0e32b562c5248f7347ab98af51d865ffda
Signed-off-by: Paul Quinn <[email protected]>
10 years agoSimple whitespace commit to check the JJB sfc jobs 78/13778/1
Ed Warnicke [Fri, 19 Dec 2014 22:25:16 +0000 (16:25 -0600)]
Simple whitespace commit to check the JJB sfc jobs

Change-Id: I25035d83d4e68f68b7b6b334ab7552d686d2ceb7
Signed-off-by: Ed Warnicke <[email protected]>
10 years agoMerge "addressing reinaldo's comments"
Reinaldo Penno [Fri, 19 Dec 2014 15:57:57 +0000 (15:57 +0000)]
Merge "addressing reinaldo's comments"

10 years agoSfc-ui patchset 54/13754/2
Andrej Kincel [Fri, 19 Dec 2014 10:17:33 +0000 (11:17 +0100)]
Sfc-ui patchset

+ inteligent RESTconf URL handling based on URL
  on which Sfc-ui is accessed
+ added Delete-all button
+ Classifier moved to RSP (temporary fix for classifier)

Change-Id: Iad908640213bb0133026e7f4c01c44028cecdc94
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoaddressing reinaldo's comments 32/13732/1
Paul Quinn [Thu, 18 Dec 2014 13:27:41 +0000 (08:27 -0500)]
addressing reinaldo's comments

Change-Id: I30cb69404dd55730b65205783acd5a93ee68b985
Signed-off-by: Paul Quinn <[email protected]>
10 years agoFixing Sonar issues, focusing mainly on renaming constant names. 81/13681/1
ebrjohn [Tue, 16 Dec 2014 09:29:53 +0000 (10:29 +0100)]
Fixing Sonar issues, focusing mainly on renaming constant names.

Change-Id: I830c18c49e6d401d6ab5162b075f8e5e9713d773
Signed-off-by: ebrjohn <[email protected]>
10 years agoChanged ACl, SCL to reference Rendered Service Paths 55/13655/1
Reinaldo Penno [Mon, 15 Dec 2014 18:34:51 +0000 (10:34 -0800)]
Changed ACl, SCL to reference Rendered Service Paths

Change-Id: I5c956d3d481891767fcdb0558f858e7c4b776fdf
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoSB REST plugin - initial classifier support 52/13652/2
Andrej Kincel [Thu, 4 Dec 2014 15:47:08 +0000 (16:47 +0100)]
SB REST plugin - initial classifier support

+ listener to ACL datastore
+ put task for ACL (PUT on URL from sfc_agent.py)

When any change is detected in ACL datastore, all classifiers are examined.
The procedure is following:
1. Get all Clasiffiers
2. For each SFF listed in a Classifier
3. Submit (PUT) ACL used in the Classifier to SFF

The functionality needs to be improved according to discussion.

Change-Id: Ib44c4430ef9b65f0140c49ca48e6ed9a8ad6ba9c
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoSfc-ui - data templates, improved clone button 48/13648/1
Andrej Kincel [Mon, 15 Dec 2014 10:39:29 +0000 (11:39 +0100)]
Sfc-ui - data templates, improved clone button

+ for each create dialog 'default' template is predefined
+ user can create own templates which are stored in browser storage forever

+ clone button now opens edit dialog to allow changes to cloned entity

Change-Id: Ie19f5425763c2106a4f4dc9b9af53e7f26c838d8
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoAdded Python Access List Regression Test 43/13643/1
Reinaldo Penno [Mon, 15 Dec 2014 04:43:46 +0000 (20:43 -0800)]
Added Python Access List Regression Test

- Small fix to return proper response when agent gets
  an access list message and OS is not Linux

Change-Id: Id154dc5255ea788458c849efdd6d64030b6ab533
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoClassifier code is gracefully bypassed in non-Linux OSs 17/13617/1
Reinaldo Penno [Sun, 14 Dec 2014 09:47:08 +0000 (01:47 -0800)]
Classifier code is gracefully bypassed in non-Linux OSs

- Fixed logging on Ubuntu
- Misc fixes

Change-Id: I1972cafad4c045c81b51e67b6a8055f789c9e222
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoFixing Classifier Conflicts and Committing 16/13616/1
Reinaldo Penno [Sun, 14 Dec 2014 03:32:06 +0000 (19:32 -0800)]
Fixing Classifier Conflicts and Committing

Change-Id: I7a313097eb4bb933c46210112c096bbd2abcbb40
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoChanged Agent port parameter from sff-port to rest-port 13/13613/1
Reinaldo Penno [Sat, 13 Dec 2014 20:31:47 +0000 (12:31 -0800)]
Changed Agent port parameter from sff-port to rest-port

Change-Id: I3857229231335f01484bb1e9ed5a0fb40a201aa6
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agofixed typos in cli and re-added SFF port option 10/13610/1
Jim Guichard [Sat, 13 Dec 2014 02:25:33 +0000 (21:25 -0500)]
fixed typos in cli and re-added SFF port option

Change-Id: I7c065061b95c6b4afff7ef9ad3dd173aae6c78c7
Signed-off-by: Jim Guichard <[email protected]>
10 years agomerged all changes with latest branch. Added check for enabled router. 03/13603/1
Jim Guichard [Fri, 12 Dec 2014 22:17:26 +0000 (17:17 -0500)]
merged all changes with latest branch. Added check for enabled router.

Change-Id: Ib2405fb335c9da336bf6bbf862d7d8affb595c33
Signed-off-by: Jim Guichard <[email protected]>
10 years agoMerge "added support for multiple SFF types in sfc_agent create of cli module"
Reinaldo Penno [Fri, 12 Dec 2014 21:40:37 +0000 (21:40 +0000)]
Merge "added support for multiple SFF types in sfc_agent create of cli module"

10 years agoMerge "updated sff_agent to support multiple SFF types created OF cli module"
Reinaldo Penno [Fri, 12 Dec 2014 21:40:28 +0000 (21:40 +0000)]
Merge "updated sff_agent to support multiple SFF types created OF cli module"

10 years agoadded support for multiple SFF types in sfc_agent 96/13596/1
Paul Quinn [Fri, 12 Dec 2014 18:14:06 +0000 (13:14 -0500)]
added support for multiple SFF types in sfc_agent
create of cli module

Change-Id: I4d33e4b86a0b99a098dc0f686433cdb2861d36fa
Signed-off-by: Paul Quinn <[email protected]>
10 years agoupdated sff_agent to support multiple SFF types 95/13595/1
Paul Quinn [Fri, 12 Dec 2014 18:12:15 +0000 (13:12 -0500)]
updated sff_agent to support multiple SFF types
created OF cli module

Change-Id: I56e5fdf07a05537c0e2923e3992157b97765f4df
Signed-off-by: Paul Quinn <[email protected]>
10 years agoSB REST autoload at boot 89/13589/2
Konstantin Blagov [Fri, 12 Dec 2014 09:51:37 +0000 (10:51 +0100)]
SB REST autoload at boot
* fixing "Expected but not found" bug

Change-Id: Idf3929c4c7beec72139de992b84e18f7df54916e
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoMerge "added ssh processing to send commands to router"
Reinaldo Penno [Fri, 12 Dec 2014 01:17:56 +0000 (01:17 +0000)]
Merge "added ssh processing to send commands to router"

10 years agoadded ssh processing to send commands to router 82/13582/1
Jim Guichard [Fri, 12 Dec 2014 01:04:43 +0000 (20:04 -0500)]
added ssh processing to send commands to router

Change-Id: Ia1ab7e9164524595434c6c3a5babdbef5cce396e
Signed-off-by: Jim Guichard <[email protected]>
10 years agoMerge "added hook to process xe cli in sfc_agent.py added new xe cli module"
Paul Quinn [Thu, 11 Dec 2014 23:30:12 +0000 (23:30 +0000)]
Merge "added hook to process xe cli in sfc_agent.py added new xe cli module"

10 years agoadded hook to process xe cli in sfc_agent.py 79/13579/1
Jim Guichard [Thu, 11 Dec 2014 23:19:36 +0000 (18:19 -0500)]
added hook to process xe cli in sfc_agent.py
added new xe cli module

Change-Id: Ia041fd96c10437a5bbef0816be290eb7c0006b88
Signed-off-by: Jim Guichard <[email protected]>
10 years agoSB REST fix for config subsystem 67/13567/1
Konstantin Blagov [Thu, 11 Dec 2014 13:47:45 +0000 (14:47 +0100)]
SB REST fix for config subsystem

Change-Id: I287700630acfe2ff2804b3ddc3c52bf854d66c60
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoSB REST sfc-production bundle, Karaf feature fix 71/13371/3
Konstantin Blagov [Thu, 4 Dec 2014 14:42:32 +0000 (15:42 +0100)]
SB REST sfc-production bundle, Karaf feature fix

Change-Id: I561bd4f7ded12f60f56a5305811c155838a5732b
Signed-off-by: Konstantin Blagov <[email protected]>
10 years agoRevamped SB REST exception handling 58/13558/1
Reinaldo Penno [Thu, 11 Dec 2014 03:32:22 +0000 (19:32 -0800)]
Revamped SB REST exception handling

- After some testing noticed that the current try/catch/finally
  for SB REST were not providing enough detail to debug any
  reachability problems. Fixed to catch the appropriate
  exception/causes

- Changed a few LOGs from info to debug

Change-Id: Idfabefbb5fc9b3f6795a7e4c3d25ffc404e860fb
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoSfc-ui patch based on feedback V 33/13533/1
Andrej Kincel [Wed, 10 Dec 2014 12:25:30 +0000 (13:25 +0100)]
Sfc-ui patch based on feedback V

- missing templating
+ added clone function for SF/SFF
+ tables now remember used Filters
+ select box in SFF allows to select unlisted SN
 (however, I don't like this approach)
+ some minor string and bug fixes

Change-Id: If024afd4327f09bb620c8f00369db7982df3588c
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoData/Control plane Python cleanup 29/13529/1
Reinaldo Penno [Wed, 10 Dec 2014 06:58:02 +0000 (22:58 -0800)]
Data/Control plane Python cleanup

- Coverted most print to logs
- Moved packet header definitions to common module
- Moved global thread dict to common module
- Wrote comments for some functions

Change-Id: I4119f87ed9bc4b6965fcc8fb1f05ab459126a34d
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoFixing Sonar bugs related to exception handling 85/13485/1
Reinaldo Penno [Tue, 9 Dec 2014 18:28:08 +0000 (10:28 -0800)]
Fixing Sonar bugs related to exception handling

Change-Id: I2b54236d876d7fbb8bd619ddecf11d765f5986fb
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoRemoved Python files that are not maintained anymore 73/13473/1
Reinaldo Penno [Tue, 9 Dec 2014 08:00:40 +0000 (00:00 -0800)]
Removed Python files that are not maintained anymore

Change-Id: I92fd9dae22e958be19ce4188e39a75f3aa5d46b9
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoTrying ti fix sonar issue 72/13472/1
Reinaldo Penno [Tue, 9 Dec 2014 06:26:56 +0000 (22:26 -0800)]
Trying ti fix sonar issue

Change-Id: I987b81cf35fceb428cd4c1a4239d687813c97e34
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoFixing POMs 67/13467/1
Reinaldo Penno [Tue, 9 Dec 2014 01:17:27 +0000 (17:17 -0800)]
Fixing POMs

- Fixed some POMs taht maven was complaining during compilation

Change-Id: I2879194a3cce6a64240329b409ad1dfd5b7a0ed5
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agofixed pom.xml nexus proxy dependency 60/13460/1
Paul Quinn [Mon, 8 Dec 2014 19:53:48 +0000 (14:53 -0500)]
fixed pom.xml nexus proxy dependency

Change-Id: If544a983176fa8a2139c12910483dc2f6ee09ddf
Signed-off-by: Paul Quinn <[email protected]>
10 years agoChanged sff_rest.py to sfc_agent.py 57/13457/1
Reinaldo Penno [Mon, 8 Dec 2014 17:50:02 +0000 (09:50 -0800)]
Changed sff_rest.py to sfc_agent.py

sff_rest is not a SFF anymore. It has become a SFC agent that creates
SFF, SF and others based on ODL messages.

Change-Id: I30c3465095d6ac332b87ce8cdfbe643a804e7f34
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoFix for 'symmetric false' in JSON object 54/13454/1
Reinaldo Penno [Mon, 8 Dec 2014 16:45:08 +0000 (08:45 -0800)]
Fix for 'symmetric false' in JSON object

Today there is no support for Yang default statements, therefore
all leafs need to be specified or a check for NULL is needed

Change-Id: I2586a12bdc2da191fd136f30c48d42d6640867ad
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoSfc-ui - added Rendered Service Path view 52/13452/1
Andrej Kincel [Mon, 8 Dec 2014 15:36:11 +0000 (16:36 +0100)]
Sfc-ui - added Rendered Service Path view

+ tabbed tables are automatically reloading
+ SF REST URI can be configured
+ modal dialogs are now scaling properly
+ a lot of minor bugfixes

Change-Id: Icf8c25bee2649bda5a2568e84ee11d306b2d49d2
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoSupport for Symmetric Paths 39/13439/1
Reinaldo Penno [Mon, 8 Dec 2014 05:33:27 +0000 (21:33 -0800)]
Support for Symmetric Paths

- When user creates a service path and service chain has symmetric set to "true"
  then SFC Provider will create two RSPs.
-  Basically when a SFP is created, Provider will:

*   1 - Create RSP
*   2 - Add Path to SFF State
*   3 - Add path to SF state
*   4 - Check if Chain is symmetric
*   5 - if chain is symmetric repeat 1-3 for reverse path

Change-Id: Ie38808a48c4d2d8132bf82ea4337e1e5712ff1de
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoImprovements to Data Plane code 26/13426/1
Reinaldo Penno [Fri, 5 Dec 2014 20:45:37 +0000 (12:45 -0800)]
Improvements to Data Plane code

- Fixes to prevent looping in certain situations
- Starting index = 255
- Misc Fixes

Change-Id: I780b5b1ebaa4f0963533a7ba0ec7b852e60e51d8
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoSFF/SF Data Plane fixes 70/13370/1
Reinaldo Penno [Thu, 4 Dec 2014 13:04:22 +0000 (05:04 -0800)]
SFF/SF Data Plane fixes

- SF decrements service index properly
- SFF checks if SI == 0
- If SI == 0 SFF decaps packet and transmits
- Properly handles packets with paths that do not exist
- Moved more variables to globals after testing
- Added VXLAN-GPE, NSH headers as comments in the code

Change-Id: I516dbbe36c061681f4f552e0a51e7a914b5715ae
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoadded handling for socket error and KeyError 55/13355/2
Jim Guichard [Wed, 3 Dec 2014 23:09:01 +0000 (18:09 -0500)]
added handling for socket error and KeyError
added debug for packet processing

Change-Id: I796546be9f3882d550b1e511f51b64dab26511b1
Signed-off-by: Jim Guichard <[email protected]>
10 years agoadded class structures to service_function.py for decode 54/13354/2
Jim Guichard [Wed, 3 Dec 2014 19:58:19 +0000 (14:58 -0500)]
added class structures to service_function.py for decode
added KeyError checking to service_classifier.py

Change-Id: I24b9e429a959ee47e9d0e5d22efee185c933d071
Signed-off-by: Jim Guichard <[email protected]>
10 years agoFixes to SFC Agent, SFF and SF implementations 59/13359/1
Reinaldo Penno [Thu, 4 Dec 2014 02:59:22 +0000 (18:59 -0800)]
Fixes to SFC Agent, SFF and SF implementations

- SF would not accept packets when SFF on the same host
- SF/SFF now bind to 0.0.0.0 instead of specific IP
- Moved some globals to another module sff_globals.py
- Fixed CLI input for SF/SFF/SFF_CLIENT
- Created shell scripts to start SFC agent and SF
- other Misc fixes

Change-Id: Ia7635659022aeaf0bbb4d937c3f465fa2c6ed02a
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoAdded Unit Test SfcOpenflowUtilsTest.java 40/13240/7
Marcus G. koontz [Mon, 1 Dec 2014 03:40:54 +0000 (19:40 -0800)]
Added Unit Test SfcOpenflowUtilsTest.java

Modified pom.xml for needed dependencies.

Change-Id: I72c5066d553b51c01a926e322bb2563133f3c1c5
Signed-off-by: Marcus G. koontz <[email protected]>
10 years agoRemoved Future callback from DataStoreAPIs 42/13342/3
Reinaldo Penno [Wed, 3 Dec 2014 14:36:26 +0000 (06:36 -0800)]
Removed Future callback from DataStoreAPIs

- Other Misc fixes
- More regression tests

Change-Id: If0bde426d70b9e5894409ec86c26b42f45f98e8e
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoService function type change to identityref 04/13304/4
Andrej Kincel [Tue, 2 Dec 2014 09:50:44 +0000 (10:50 +0100)]
Service function type change to identityref

All changes which were necessary to use service-function-type
identityref instead of using simple String type.

+ updated regression tests
+ UI support

Change-Id: I137d24a662767f1e49fab6088f1cc64a38ca116e
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoupdated service_function.py to pass server_base_values 27/13327/2
Jim Guichard [Wed, 3 Dec 2014 01:09:14 +0000 (20:09 -0500)]
updated service_function.py to pass server_base_values
updated nsh_service_index.py to receive server_base_values as parameter

Change-Id: I94b384000b6d76279cf40441c6344394557cea67
Signed-off-by: Jim Guichard <[email protected]>
10 years agoadded vxlan & NSH context decode to service_function.py 13/13313/2
Jim Guichard [Tue, 2 Dec 2014 18:00:00 +0000 (13:00 -0500)]
added vxlan & NSH context decode to service_function.py
moved service index processing to nsh_service_index.py
added a check for service index 0

Change-Id: If85fb64487f9a1700cc17699164317e69522632d
Signed-off-by: Jim Guichard <[email protected]>
10 years agoMore Python Dcloud Regression 35/13335/1
Reinaldo Penno [Wed, 3 Dec 2014 05:46:36 +0000 (21:46 -0800)]
More Python Dcloud Regression

Change-Id: Ia56c94ccddd742ccd1ba807dd6b6c5feeca714c5
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "Python agent now capable of processing RSPs"
Reinaldo Penno [Wed, 3 Dec 2014 04:36:35 +0000 (04:36 +0000)]
Merge "Python agent now capable of processing RSPs"

10 years agoFixing Karaf Webconsole logs 59/13259/4
Andrej Kincel [Mon, 1 Dec 2014 15:11:40 +0000 (16:11 +0100)]
Fixing Karaf Webconsole logs

Newer version of Pax Logging is necessary to fix not working logs in Karaf Webconsole.

Solution was found here: https://issues.apache.org/jira/browse/KARAF-2481
However, this fix targets only Karaf 3.0.2 and ODL is still using version 3.0.1.
That's why manual replacement of Pax Logging service/api was necessary.
After Karaf will be updated to version >3.0.2 this fix would not be required more.

Change-Id: Icff9bfe24dd728abe93719bf7f0ea23220a46e84
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoSfc-ui patch set based on feedback (I, II, III) 50/13250/6
Andrej Kincel [Mon, 24 Nov 2014 09:27:10 +0000 (10:27 +0100)]
Sfc-ui patch set based on feedback (I, II, III)

+ Added webconsole as boot feature for sfc-karaf

+ SFF set as default view on UI access
+ SN topology showing data from SFF as default
+ Table view for service-function-type
+ RESTconf URL kept in storage of web browser persistently
+ System info tab: karaf features + karaf logs
+ Top menu responsive - in future should be even more improved
+ Fixed UI layout for low-res screens

Change-Id: If10de42271e47ef888c417afb433dcd602065a60
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoPython agent now capable of processing RSPs 97/13297/1
Reinaldo Penno [Tue, 2 Dec 2014 08:14:30 +0000 (00:14 -0800)]
Python agent now capable of processing RSPs

- Python agent can process rendered service path messages
   from ODL

Change-Id: I57b05d8bdec9f8d1d434e5a26ab78e0c6e0f6f4a
Signed-off-by: Reinaldo Penno <[email protected]>