sfc.git
10 years agoGenerating XML from new Identities 88/18688/1
Reinaldo Penno [Tue, 21 Apr 2015 06:23:51 +0000 (23:23 -0700)]
Generating XML from new Identities

Change-Id: I971437cff0a4f286d6adc127a22b0698b8533fcd
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoIdentities for Cisco Platforms 78/18678/1
Reinaldo Penno [Tue, 21 Apr 2015 01:01:56 +0000 (18:01 -0700)]
Identities for Cisco Platforms

Change-Id: I7077771c63675ae4f7971d92368a822bf2330076
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agocleaning sfcofl2 POMs and configs 63/18663/2
Reinaldo Penno [Mon, 20 Apr 2015 20:34:43 +0000 (13:34 -0700)]
cleaning sfcofl2 POMs and configs

- Cleaned sfcofl2 POMs
- Commented out a config file that is not used anymore
- Fixed 80-sfc.xml but still let commented out
- Removed .m2 and compiled and ran control plane regression tests
   it was ok

Change-Id: Ifc212c78fcde511dd3aa4e1e687e048f273258b3
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoFixing broken sfc-provider feature 42/18642/1
Andrej Kincel [Mon, 20 Apr 2015 15:25:32 +0000 (17:25 +0200)]
Fixing broken sfc-provider feature

- temporarily disabled sfcofl2 because of wrong config files

Change-Id: Idfe17cc2532dd9c37f295666abacd40b7e541b59
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoCleaning POMs 82/18582/8
Reinaldo Penno [Sat, 18 Apr 2015 18:28:24 +0000 (11:28 -0700)]
Cleaning POMs

Change-Id: Ifb9e7dc1ed7be2160500020fb18a1d285e6ddf6f
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoFixing and cleaning POM issues 69/18569/1
Reinaldo Penno [Fri, 17 Apr 2015 23:07:23 +0000 (16:07 -0700)]
Fixing and cleaning POM issues

Change-Id: Iab9a47eeae21fb368f26c305e91c1f3376593846
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "Deny both SF and SFG in the same Rendered Path"
Kfir Yeshayahu [Fri, 17 Apr 2015 14:02:58 +0000 (14:02 +0000)]
Merge "Deny both SF and SFG in the same Rendered Path"

10 years agoMerge "Allow Service Function Group in Rendered Path"
Kfir Yeshayahu [Fri, 17 Apr 2015 13:54:30 +0000 (13:54 +0000)]
Merge "Allow Service Function Group in Rendered Path"

10 years agoMerge "Updated references to latest karaf versions."
Reinaldo Penno [Fri, 17 Apr 2015 07:00:42 +0000 (07:00 +0000)]
Merge "Updated references to latest  karaf versions."

10 years agosfc-model: 75/18375/4
Christophe Fontaine [Wed, 15 Apr 2015 20:36:44 +0000 (13:36 -0700)]
sfc-model:
 - modify L7 matchers to comply with IPFIX
 - modify service-function-acl.yang to be able to match on multiple application-id
sfc-jsonconfig: Add default configuration files for IPFIX-classid

Change-Id: I57606ee43fb0f381252e25d86409b584b5ce4553
Signed-off-by: Christophe Fontaine <[email protected]>
10 years agoMerge "Fixes to SFF client"
Reinaldo Penno [Fri, 17 Apr 2015 06:02:17 +0000 (06:02 +0000)]
Merge "Fixes to SFF client"

10 years agoMerge "Fixing missing NextHop and TransportEgress flows"
Brady Johnson [Fri, 17 Apr 2015 02:09:37 +0000 (02:09 +0000)]
Merge "Fixing missing NextHop and TransportEgress flows"

10 years agoFixing missing NextHop and TransportEgress flows 02/18502/1
Brady Johnson [Fri, 17 Apr 2015 02:00:52 +0000 (04:00 +0200)]
Fixing missing NextHop and TransportEgress flows

Change-Id: I95c0ac1fe9057083202c5e2951cb9b00e3660cac
Signed-off-by: Brady Johnson <[email protected]>
10 years agoFixes to SFF client 07/18307/9
Reinaldo Penno [Wed, 15 Apr 2015 07:19:04 +0000 (00:19 -0700)]
Fixes to SFF client

- Added alarm handler when response not received
- Added signal handler to clean up state in order to
  avoid "address in-user errors" across runs
- Fixed ethernet addresses
- Added construction of inner packet
- Added internet_checksum algorithm
- Added source port and IP as CLI options
- Fixed default values
- Used inheritance and default values to
  considerably simplify code

Change-Id: Ia26525bbc87db00b5ef3d32bc007962f0afad981
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoUpdated references to latest karaf versions. 24/18424/2
Tony Tkacik [Thu, 16 Apr 2015 13:17:13 +0000 (15:17 +0200)]
Updated references to latest  karaf versions.

karaf.version is inherited from odlparent.

Signed-off-by: Tony Tkacik <[email protected]>
10 years agoSFC-UI Fixing broken create/edit URLs 01/18401/1
Andrej Kincel [Thu, 16 Apr 2015 08:51:18 +0000 (10:51 +0200)]
SFC-UI Fixing broken create/edit URLs

+ fix for ACL
+ fix for Metadata

Change-Id: I04de72cfd262675ef6671dfc0f865cf2aac24194
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoMerge "Sfc-ovs: Storing TerminationPoint options in SFF"
Reinaldo Penno [Thu, 16 Apr 2015 06:41:03 +0000 (06:41 +0000)]
Merge "Sfc-ovs: Storing TerminationPoint options in SFF"

10 years agoSFC-UI: removing not longer used files 95/18395/1
Andrej Kincel [Fri, 10 Apr 2015 08:04:20 +0000 (10:04 +0200)]
SFC-UI: removing not longer used files

Change-Id: If72172f05873c57b69069fe7776557286585d52b
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoFormalizing flow programming for MPLS and VLAN 31/18131/6
Brady Johnson [Fri, 10 Apr 2015 13:42:43 +0000 (15:42 +0200)]
Formalizing flow programming for MPLS and VLAN

- patch set 2: rebasing to get correction to sfc model that
  exports sff ofs models
- patch set 3: minor bug fixes, still need to handle the SF OfsPort info
- patch set 4: Fixed SF OfsPort info retreival, one minor bug remains
- patch set 5: Fixed remaining OfsPort bugs
- patch set 6: Now using exceptions to handle error conditions

Change-Id: Ib64ac121806ff10a07df6fabde7d14676f041961
Signed-off-by: Brady Johnson <[email protected]>
10 years agoDeny both SF and SFG in the same Rendered Path 79/17879/2
Kfir Yeshayahu [Tue, 7 Apr 2015 22:18:32 +0000 (01:18 +0300)]
Deny both SF and SFG in the same Rendered Path

Change-Id: I4ba9c28d89b288e82c634e573b6a9b1aea18f7e8
Signed-off-by: Kfir Yeshayahu <[email protected]>
10 years agoAllow Service Function Group in Rendered Path 68/17868/2
Kfir Yeshayahu [Tue, 7 Apr 2015 17:21:21 +0000 (20:21 +0300)]
Allow Service Function Group in Rendered Path

Change-Id: I754cb7dc8bcb9c635764c3e52099e22a459b4504
Signed-off-by: kfiry <[email protected]>
10 years agoSfc-ovs: Storing TerminationPoint options in SFF 80/18180/3
Andrej Kincel [Mon, 13 Apr 2015 07:19:23 +0000 (09:19 +0200)]
Sfc-ovs: Storing TerminationPoint options in SFF

+ we need to store these options in SFF OVS Options augmentation,
because we need a way how to set these options in SFF

+ sfc-ui is displaying options in SFF create/edit dialog

Change-Id: Ie769353ff5af451aea1b2fab32da42a91ea44017
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoAdding SFF ofs models to sfc model exports 46/18146/1
Brady Johnson [Sat, 11 Apr 2015 16:27:11 +0000 (18:27 +0200)]
Adding SFF ofs models to sfc model exports

Change-Id: I4b2374a4ca84cbe5f8f3968d220243c5a13ef09f
Signed-off-by: Brady Johnson <[email protected]>
10 years agoMerge "add type to SFG algorithm according to OFL"
Kfir Yeshayahu [Fri, 10 Apr 2015 18:03:09 +0000 (18:03 +0000)]
Merge "add type to SFG algorithm according to OFL"

10 years agoMerge "corrected default encapsulate type"
Reinaldo Penno [Fri, 10 Apr 2015 16:34:35 +0000 (16:34 +0000)]
Merge "corrected default encapsulate type"

10 years agoCopy transport from SFP to RSP upon creation 09/18109/1
Brady Johnson [Fri, 10 Apr 2015 13:47:30 +0000 (15:47 +0200)]
Copy transport from SFP to RSP upon creation

- Copy the SFP transport to the RSP upon creation
- If the SFP transport is null, then default to VxLAN on RSP
- Remove mac address from mpls now that its on the SFF DPL

Change-Id: Ib99c8f62f99d69bc94c665102be3aea948f8c2a6
Signed-off-by: Brady Johnson <[email protected]>
10 years agocorrected default encapsulate type 56/17656/2
jguichar [Thu, 2 Apr 2015 16:13:36 +0000 (12:13 -0400)]
corrected default encapsulate type

Change-Id: I6db50d890322000d498779d4fd500a910b3fae94
Signed-off-by: jguichar <[email protected]>
10 years agoSFC-OVS: Improving create-ovs-bridge RPC 43/18043/2
Andrej Kincel [Wed, 8 Apr 2015 16:25:19 +0000 (18:25 +0200)]
SFC-OVS: Improving create-ovs-bridge RPC

+ improving create-ovs-bridge RPC (specifying IP address of OVS node is
sufficient, if only one OVS instance is running on that IP address -
no need to specify port)

+ creating RSP listener

Change-Id: I55fa916bf6b569a0d4b528638842ba05bff576b9
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoAdding OFS info to SFF SF dictionary 29/18029/1
Brady Johnson [Thu, 9 Apr 2015 13:35:51 +0000 (15:35 +0200)]
Adding OFS info to SFF SF dictionary

Change-Id: I14a50dee8b58a0081a334c68819848eed7563ba4
Signed-off-by: Brady Johnson <[email protected]>
10 years agoMerge "Augmenting ServiceFunctionForwarder yang"
Brady Johnson [Thu, 9 Apr 2015 06:16:56 +0000 (06:16 +0000)]
Merge "Augmenting ServiceFunctionForwarder yang"

10 years agoAugmenting ServiceFunctionForwarder yang 27/17927/3
Brady Johnson [Wed, 8 Apr 2015 14:10:25 +0000 (16:10 +0200)]
Augmenting ServiceFunctionForwarder yang

- Adding OpenFlow port and related mac address to SFF

Change-Id: I0dc648d66ef6dd474646ee5eca505a25d150a9e6
Signed-off-by: Brady Johnson <[email protected]>
10 years agoNSH Support: configure openflow tables 74/17974/2
Yi Yang [Thu, 9 Apr 2015 01:04:02 +0000 (01:04 +0000)]
NSH Support: configure openflow tables

This commit enabled sfcofl2 to support VxLAN-gpe + NSH,
main changes include:

- SffGraphEntry includes serviceIndex for nsi match
- Uses ip-port-locator to recognize VxLan-gpe flow
- Match L3/IP to differentiate flows
- Uses action SetNwDst to steer the flow to SFs or SFFs

Change-Id: I5999b6e787a43c84f0ffd75b233d001473dd7222
Signed-off-by: Yi Yang <[email protected]>
10 years agoSFC-PY - move unused logger settings file to unused/ dir 20/17920/2
Dusan Madar [Wed, 8 Apr 2015 12:59:35 +0000 (14:59 +0200)]
SFC-PY - move unused logger settings file to unused/ dir

- we keep old files for historical reasons, thus moving and not removing

Change-Id: Ib1bfc1aa2c1ba62b054c57f98f9ced594026f1c0
Signed-off-by: Dusan Madar <[email protected]>
10 years agoadd type to SFG algorithm according to OFL 10/18110/2
shlomi [Wed, 8 Apr 2015 22:27:22 +0000 (01:27 +0300)]
add type to SFG algorithm according to OFL

Change-Id: I521b4697683f83d7a926cafa7d0bda708d014fc8
Signed-off-by: shlomi <[email protected]>
10 years agoSFC-OVS: Various improvements and fixes 58/17858/6
Andrej Kincel [Tue, 7 Apr 2015 15:00:24 +0000 (17:00 +0200)]
SFC-OVS: Various improvements and fixes

+ Adapted to new OVSDB APIs (TerminationPoint does not contain
attachedTo and bridgeName anymore) - fix for broken build

+ Node/Termination Point is now deleted according to InstanceIdentifier
directly (before Node/Termination Point was built and InstanceIdentifier
was derived from built instance)

+ SFF DataPlane locator now gets IP:PORT from OVSDB TerminationPoint
options List

+ OVS Termination Point is created when IP:PORT locator when set

Change-Id: I4c5580ed1eb2f5f8335769dc3f14210abe3fdbb9
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoMerge "Scapy directory organization"
Reinaldo Penno [Wed, 8 Apr 2015 11:27:59 +0000 (11:27 +0000)]
Merge "Scapy directory organization"

10 years agoMerge "sfc-model: Add L7 matchers and subscriber based matcher"
Brady Johnson [Wed, 8 Apr 2015 09:31:22 +0000 (09:31 +0000)]
Merge "sfc-model: Add L7 matchers and subscriber based matcher"

10 years agoScapy directory organization 90/17890/1
Reinaldo Penno [Wed, 8 Apr 2015 04:42:04 +0000 (21:42 -0700)]
Scapy directory organization

Change-Id: I131dbccbedd6b61e4b6d8cf7cc4b877695c3d7e3
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoUpdate sfclisp to the lispflowmapping API changes 25/17725/2
Lorand Jakab [Fri, 3 Apr 2015 17:17:37 +0000 (20:17 +0300)]
Update sfclisp to the lispflowmapping API changes

The lispflowmapping project updated its YANG model describing protocol
data in an non-backwards compatible way, bumping the revision.  This
commit adapts the sfclisp code to the new revision.

Change-Id: Id966b4214e826322671bc6cda91efe7d3eb640de
Signed-off-by: Lorand Jakab <[email protected]>
10 years agosfc-model: Add L7 matchers and subscriber based matcher 28/17828/1
Christophe Fontaine [Tue, 7 Apr 2015 09:55:53 +0000 (11:55 +0200)]
sfc-model: Add L7 matchers and subscriber based matcher

Change-Id: If38cb4c8b7f06bbe8e714addfcf0b153d9930920
Signed-off-by: Christophe Fontaine <[email protected]>
10 years agoadding reference to sft and algorithm 62/17762/2
shlomi [Fri, 3 Apr 2015 02:35:31 +0000 (05:35 +0300)]
adding reference to sft and algorithm

Change-Id: Ibf6d26ae783eaea99b250f4eddf23f8ff4dc2c07
Signed-off-by: shlomi <[email protected]>
10 years agoScapy Plugin: 01/17701/2
Christophe Fontaine [Fri, 3 Apr 2015 12:43:58 +0000 (14:43 +0200)]
Scapy Plugin:
 - Added implementation of 'mysummary' to display the incoming packets
 - Added the ability to use this plugin as a Service Function when used with OVS+NSH
 - Added the configuration whithin the comments

Change-Id: I9b6afe0e9b50bbf9c2ee04947007a5a6591bcfef
Signed-off-by: Christophe Fontaine <[email protected]>
10 years agoScapy plugin: 29/17629/2
Christophe Fontaine [Thu, 2 Apr 2015 12:43:55 +0000 (14:43 +0200)]
Scapy plugin:
Add VxLAN and NSH layers to be able to send and dissect packets with scapy.

Change-Id: I9e7fdd8cc69ab3c17052735d4c15a17153621352
Signed-off-by: Christophe Fontaine <[email protected]>
10 years agoRemove sfclisp from build 98/17698/1
Reinaldo Penno [Fri, 3 Apr 2015 11:10:08 +0000 (04:10 -0700)]
Remove sfclisp from build

Change-Id: Ib9b03e5d4a2d567293aa61343477ce645c11c136
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "SFC-OVS: Introducing OvsDataStoreAPI"
Reinaldo Penno [Thu, 2 Apr 2015 16:02:32 +0000 (16:02 +0000)]
Merge "SFC-OVS: Introducing OvsDataStoreAPI"

10 years agoMerge "SFC-PY - update NSH, classifier"
Reinaldo Penno [Thu, 2 Apr 2015 15:59:33 +0000 (15:59 +0000)]
Merge "SFC-PY - update NSH, classifier"

10 years agoMerge "fix yang date"
Reinaldo Penno [Thu, 2 Apr 2015 15:41:11 +0000 (15:41 +0000)]
Merge "fix yang date"

10 years agoSFC-PY - update NSH, classifier 16/17616/2
Dusan Madar [Thu, 2 Apr 2015 11:13:07 +0000 (13:13 +0200)]
SFC-PY - update NSH, classifier

nsh:
- rename VXLANGPE attribute 'protocol_type' to 'next_protocol'

classifier:
- fix VXLANGPE next_protocol value
- update regarding NSH changes
- introduce GRE header

Change-Id: I6b963c10dd159a787b362e19c6d1506544063a57
Signed-off-by: Dusan Madar <[email protected]>
10 years agoSFC-OVS: Introducing OvsDataStoreAPI 41/17541/3
Andrej Kincel [Wed, 1 Apr 2015 13:49:59 +0000 (15:49 +0200)]
SFC-OVS: Introducing OvsDataStoreAPI

+ write/delete operations are now executed in separate thread

+ improving SFF<->OVS Bridge mapping
  * added TerminationPoint creation from SffDataPlaneLocators

+ create-ovsdb-bridge RPC finally creates Bridge instance on given
  OpenVSwitch running instance

- there are some issues when TerminationPoint is deleted, it is not
  deleted from SFF
- the same applies in backward direction - when SFF Data plane locator
  is deleted, TerminationPoint is not deleted

Change-Id: I9069eca21badefbd853f2719d89b6981790e1c2e
Signed-off-by: Andrej Kincel <[email protected]>
10 years agofix yang date 38/17538/2
shlomi [Wed, 1 Apr 2015 12:00:26 +0000 (15:00 +0300)]
fix yang date

Change-Id: If4a9ef59e73cff2b03bd9c9e22372754d67c3c39
Signed-off-by: shlomi <[email protected]>
10 years agoSFC-PY - update NSH 64/17564/2
Dusan Madar [Wed, 1 Apr 2015 15:59:36 +0000 (17:59 +0200)]
SFC-PY - update NSH

nsh.common:
- introcude build() method to each NSH header class
- update docstrings

nsh.encode:
- simplify and rename building NSH headers functions
- update docstrings

- update codebase regarding upper changes

Change-Id: I93bd4c690cfd5d8ce47f292582684c29a8a10968
Signed-off-by: Dusan Madar <[email protected]>
10 years agoSFC-PY - tests 35/17535/1
Dusan Madar [Wed, 1 Apr 2015 12:37:24 +0000 (14:37 +0200)]
SFC-PY - tests

- fix test_packet_sending in classifier test suite

Change-Id: Ieeae84dadd4c800a0a6a15ba11e56b4a49843271
Signed-off-by: Dusan Madar <[email protected]>
10 years agoFixes on NSH Client (SFF Client) 12/17512/2
Reinaldo Penno [Wed, 1 Apr 2015 02:27:04 +0000 (19:27 -0700)]
Fixes on NSH Client (SFF Client)

- Introduced proper naming given all the encaps supported
- Removed FCS from ethernet frame
- Other misc fixes

Change-Id: Iadcce3fa767f54a113a3ec925d00795854381a39
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agofixed build errors 58/17458/3
jguichar [Mon, 30 Mar 2015 20:41:01 +0000 (16:41 -0400)]
fixed build errors

added GRE & VXLAN-ETHERNET options to sff_client

Change-Id: I62d948d004d74ed703bca6e1c37ca1c8e0dd6359
Signed-off-by: jguichar <[email protected]>
corrected GRE packet generation and sendto

Change-Id: I9823b9b7c6e9dc8471bba5afe172bdbc528d54a6
Signed-off-by: jguichar <[email protected]>
fixing GRE code

Change-Id: Ic68b051974cee533822dc83235f31b1cea5a901e
Signed-off-by: jguichar <[email protected]>
10 years agoMerge "Regression testing starts Karaf"
Reinaldo Penno [Tue, 31 Mar 2015 17:20:25 +0000 (17:20 +0000)]
Merge "Regression testing starts Karaf"

10 years agoMerge "SFC-OVS: Adding create-ovs-bridge RPC"
Reinaldo Penno [Tue, 31 Mar 2015 17:16:27 +0000 (17:16 +0000)]
Merge "SFC-OVS: Adding create-ovs-bridge RPC"

10 years agoSFCOFL2 now using SFF service node for OpenFlow. 78/17478/1
Brady Johnson [Tue, 31 Mar 2015 16:35:29 +0000 (18:35 +0200)]
SFCOFL2 now using SFF service node for OpenFlow.

- Previously the SFF name was used for flow programming,
  which was incorrect. Now the SFF service node is used.

- Fixed DSCP matches, but still cant get OpenFlow to set DSCP.

Change-Id: If25d1251c5b1f268730c0abacceb84ff338c0506
Signed-off-by: Brady Johnson <[email protected]>
10 years agoMerge "SFC-PY - update services, nsh, add tests"
Reinaldo Penno [Tue, 31 Mar 2015 16:37:01 +0000 (16:37 +0000)]
Merge "SFC-PY - update services, nsh, add tests"

10 years agoSFC-OVS: Adding create-ovs-bridge RPC 25/17425/4
Andrej Kincel [Mon, 30 Mar 2015 21:46:56 +0000 (23:46 +0200)]
SFC-OVS: Adding create-ovs-bridge RPC

* OVS Bridge is successfully written into OVSDB Config store, but it is
 not instantiated on corresponding OpenVSwitch instance yet
 (probably due to OVSDB MDSAL).

+ Added RPC for OVS Bridge creation
  (binding-rpc-registry is introduced to SFC OVS)

+ SFF is now augmented with both:
  1. Parent OVS Node-id
  2. OVS Bridge which is mapped to SFF

Change-Id: I0e71b152cc264989e0168d01ccdf623026f20493
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoSFC-PY - update services, nsh, add tests 42/17442/1
Dusan Madar [Tue, 31 Mar 2015 13:24:51 +0000 (15:24 +0200)]
SFC-PY - update services, nsh, add tests

services:
- add _update_metadata()
- update docstings

nsh:
- update docstrings in service_index.py

test:
- add a test for NSH metadta updates

Change-Id: Ia6e1dd6b4e6231e842f9943fa2dcbd6b6cb2d6a7
Signed-off-by: Dusan Madar <[email protected]>
10 years agoSelect a schedule type when creating a RSP 82/17282/3
Johnson Li [Tue, 31 Mar 2015 12:46:46 +0000 (20:46 +0800)]
Select a schedule type when creating a RSP

When creating a RSP for service function chain, some service function
schedule algorithms may be applied. This patch provides an GUI
interaction for selecting one schedule type.

Change Log:
1. Move message to translate dictionary
2. Add message body for success window

Signed-off-by: Andrej Kincel <[email protected]>
Signed-off-by: Johnson Li <[email protected]>
10 years agoRegression testing starts Karaf 03/17403/2
Reinaldo Penno [Tue, 31 Mar 2015 08:23:18 +0000 (01:23 -0700)]
Regression testing starts Karaf

- With this change Python regression starts karaf on its own
- This will lower the bar for anybody trying to run the tests
- No excuse to not run tests

- Also fixed Netconf listener to account for device state changes

Change-Id: I17a958b231df9d8a90deb0a6ea9a4514238a4fda
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "SFC-PY - fix classifier regression test"
Reinaldo Penno [Mon, 30 Mar 2015 21:39:02 +0000 (21:39 +0000)]
Merge "SFC-PY - fix classifier regression test"

10 years agoNo longer using REST ACL for ACL flowTable 76/17376/2
Brady Johnson [Mon, 30 Mar 2015 13:39:28 +0000 (15:39 +0200)]
No longer using REST ACL for ACL flowTable

- The ACL table is used to classify ingress packets from the SF.
  Previously it was populated from ACL REST messages, which wasnt
  really a correct usage of those messages.
- Now the ACL table checks for the Ip DSCP field to determine the
  pathId for incoming packets from the SF. When packets are sent
  to the SF, in the transportEgressTable, the Ip DSCP is set to
  indicate the pathId.
- This has 2 drawbacks: some SFs may need to set the DSCP, and
  the number of paths supported is 64.
- To fix this, a packetIn will be needed, which is a longer term goal.

patch set 2 is just a modified commit message.

Change-Id: Ie8f466a97200aaf857b26f92d3ee00d9eacd603e
Signed-off-by: Brady Johnson <[email protected]>
10 years agoSFC-PY - fix classifier regression test 26/17326/1
Dusan Madar [Mon, 30 Mar 2015 09:05:27 +0000 (11:05 +0200)]
SFC-PY - fix classifier regression test

- fix rendered-service-path names

Change-Id: Icb880561fe34565f8f7f9fc01ca2fc4e8d2dc196
Signed-off-by: Dusan Madar <[email protected]>
10 years agoMerge "Do not override versions from odlparent"
Brady Johnson [Sun, 29 Mar 2015 09:50:27 +0000 (09:50 +0000)]
Merge "Do not override versions from odlparent"

10 years agoAdd ServiceFunctionScheduleTypes into datastore 20/17220/2
Johnson Li [Fri, 27 Mar 2015 09:56:12 +0000 (17:56 +0800)]
Add ServiceFunctionScheduleTypes into datastore

Add a new tree for ServiceFunctionScheduleTypes into datastore,
it holds the implemented schedule types.
APIs and RESTConf APIs are also provided to change the schedule
types' status.

GUI for user interaction will be submitted in another patch.

Signed-off-by: Johnson Li <[email protected]>
10 years agoMerge "Sfc-ui: Encoding REST request URL parameters"
Reinaldo Penno [Sat, 28 Mar 2015 22:01:17 +0000 (22:01 +0000)]
Merge "Sfc-ui: Encoding REST request URL parameters"

10 years agoMerge "SFC-OVS: mapping between SFF<->OVS phase 1"
Reinaldo Penno [Sat, 28 Mar 2015 22:01:08 +0000 (22:01 +0000)]
Merge "SFC-OVS: mapping between SFF<->OVS phase 1"

10 years agoDo not override versions from odlparent 76/17276/1
Robert Varga [Sat, 28 Mar 2015 09:24:31 +0000 (10:24 +0100)]
Do not override versions from odlparent

Third-party dependencies are already defined in odlparent, these
definitions cause downgrades, so remove them.

Change-Id: I197d5f9d8b3084a5992cce0bdcce3585e771a688
Signed-off-by: Robert Varga <[email protected]>
10 years agoSFC-PY - add NFQ classifier test suite and related data files 46/17246/1
Dusan Madar [Fri, 27 Mar 2015 15:29:19 +0000 (16:29 +0100)]
SFC-PY - add NFQ classifier test suite and related data files

note:
- we have new dependency: pytest

Change-Id: I5a0e1870e766d9df2c0438d328757bb42a5a1359
Signed-off-by: Dusan Madar <[email protected]>
10 years agoSfc-ui: Encoding REST request URL parameters 32/17232/1
Andrej Kincel [Fri, 27 Mar 2015 13:04:52 +0000 (14:04 +0100)]
Sfc-ui: Encoding REST request URL parameters

+ required e.g. when sending request with key:
  "ovsdb://192.168.234.137:57831/bridge/br-1"

Change-Id: Ie99a88468db3ebea87e67a393a75dede8c48f88c
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoSFC-OVS: mapping between SFF<->OVS phase 1 93/16393/13
Andrej Kincel [Thu, 12 Mar 2015 13:42:48 +0000 (14:42 +0100)]
SFC-OVS: mapping between SFF<->OVS phase 1

+ OVS Node listener is used to Create/Update/Delete SFF
  In case of Create/Update operation:
    1. We merge the received OVS Node data with the SFF in Datastore

  In case of Delete operation of:
    1. OVS Node - delete whole SFF
    2. OVS Bridge - delete whole SFF
    3. OVS Termination Point - delete corresponding SFF DP Locator (not
    done yet)

+ SFF yang model supports OVS Node
  (OVS Bridge must be managed by OVS Node, otherwise OVSDB
   cannot instantiate it)
  This brings odl-ovsdb-southbound-api feature into sfc-model (what is
  probably not so good. Solution is in moving SFF OVS Yang augmentation
  to sfc-ovs instead of leaving it in sfc-model).

+ (not active) SffEntryListener is used to detect SFFs designated to OVS
  (SFF is designated to OVS, if: OVS Node is selected,
 a DPlocator is agumented with OVS)

Change-Id: I887cbc9a13bd860bce8d922addd2271f30c6b876
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoMerge "SFC-PY - update classifier, launcher, agent"
Reinaldo Penno [Thu, 26 Mar 2015 19:37:29 +0000 (19:37 +0000)]
Merge "SFC-PY - update classifier, launcher, agent"

10 years agoRevert "Add odlparent relativepath relative to autorelease" 93/17193/1
Thanh Ha [Thu, 26 Mar 2015 19:06:07 +0000 (15:06 -0400)]
Revert "Add odlparent relativepath relative to autorelease"

Per discussion on mailing list thread we have decided to revert this
change and achieve relative path updating via scripting in autorelease.

https://lists.opendaylight.org/pipermail/release/2015-March/001754.html

This reverts commit 4e5f0cb4c1986e2a8a615f8f0e1f0dbb2ac1dbba.

Change-Id: Ibb09e3a0ecf73d8dd3e6b279969035a8d915d2ca
Signed-off-by: Thanh Ha <[email protected]>
10 years agoSFC-PY - update classifier, launcher, agent 41/17041/3
Dusan Madar [Tue, 24 Mar 2015 09:52:07 +0000 (10:52 +0100)]
SFC-PY - update classifier, launcher, agent

classifier:
- update docstrings
- add a TODO
- update exceptions handling while fetching RSP next hop from ODL

launcher:
- update docstrings
- update service thread state checking and service stopping

agent:
- handle exceptions in apply_acl()

Change-Id: I7d9fb999ab492c76fe352f1c7107c0f8d7665905
Signed-off-by: Dusan Madar <[email protected]>
10 years agoNSH Support: common APIs for NSH 71/16971/7
Yi Yang [Mon, 23 Mar 2015 10:31:37 +0000 (18:31 +0800)]
NSH Support: common APIs for NSH

sfcofl2 can't support VxLAN + NSH currently,
this commit uses openflowplugin Nicira extension
to provide two actions set_nsi and set_nsp.
Subsequent commits will use this to enable
VxLAN + NSH support in sfcofl2.

Note: this only can work for OVS.

Change-Id: Id86e18735592aa9aa3eb40d65c303c599ab4f83d
Signed-off-by: Yi Yang <[email protected]>
10 years agoadd load balance algorithm for service function selection 88/16688/4
shuqianx [Thu, 19 Mar 2015 00:44:11 +0000 (20:44 -0400)]
add load balance algorithm for service function selection

Change-Id: I99a07a5d07f52613abc2c2719d2ab04b185cab3f
Signed-off-by: shuqianx <[email protected]>
10 years agoSFC Netconf - SFF State Change 35/17035/1
Reinaldo Penno [Tue, 24 Mar 2015 05:17:51 +0000 (00:17 -0500)]
SFC Netconf - SFF State Change

- Reflect Netconf device state change into
  SFF creation/deletion

Change-Id: Ie64e7950cb7e711a6d71393b14604ff7a398291a
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge " SFC Yang data model : Service Function Classifer - Removed leaf 'Rendered...
Reinaldo Penno [Mon, 23 Mar 2015 21:53:08 +0000 (21:53 +0000)]
Merge " SFC Yang data model : Service Function Classifer     - Removed leaf 'Rendered Service Path' as the RSP is attached to an Access List Entry"

10 years agoFixes in Basic REST Regression 15/17015/1
Reinaldo Penno [Mon, 23 Mar 2015 18:09:01 +0000 (13:09 -0500)]
Fixes in Basic REST Regression

Change-Id: I4a613e94f693dbf6ce6b1f7b97aeb2ffb92dd512
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "Fixing bug introduced in previous commit"
Reinaldo Penno [Mon, 23 Mar 2015 17:41:34 +0000 (17:41 +0000)]
Merge "Fixing bug introduced in previous commit"

10 years agoFixing bug introduced in previous commit 08/17008/4
Reinaldo Penno [Mon, 23 Mar 2015 17:11:49 +0000 (12:11 -0500)]
Fixing bug introduced in previous commit

Change-Id: I65d09a5b7d7e38f581c559e1ff433f9498fabf4e
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "SFC Traceroute Bug"
Reinaldo Penno [Mon, 23 Mar 2015 09:49:45 +0000 (09:49 +0000)]
Merge "SFC Traceroute Bug"

10 years agoSFC Traceroute Bug 74/16974/2
Reinaldo Penno [Mon, 23 Mar 2015 09:14:32 +0000 (04:14 -0500)]
SFC Traceroute Bug

- When the service index limit is greater than
  the path, there will no SF report because
  packet reaches end of path before trace ends.

- Trace client needs to deal with a packet with
  no report due to this situation

- Also fixed some APIs to return proper RPCs values
  and messages

Change-Id: Iae1b3547e86a841cc17fad3456a3d5eac6b418c4
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge " On branch topic/sfcofl2_mininet_scripts Changes to be committed: new file...
Brady Johnson [Mon, 23 Mar 2015 08:55:41 +0000 (08:55 +0000)]
Merge " On branch topic/sfcofl2_mininet_scripts  Changes to be committed:  new file:   sfcofl2_mininet.py  new file:   sfcofl2_mininet_create_flows_forwarder_sfc_sim.txt  new file:   sfcofl2_mininet_create_http_flows_gws.txt"

10 years agoMerge "Fix null pointer exception and add unit test -Fix the DOMMountPoint null...
Reinaldo Penno [Sun, 22 Mar 2015 23:00:09 +0000 (23:00 +0000)]
Merge "Fix null pointer exception and add unit test  -Fix the DOMMountPoint null pointer exception when creating SF  -Fix setsession null pointer exception when unit test  -Add the unit test code about creating and reading   Service Function Description, Service Function Monitor"

10 years agoFixed SFC Agent Messages 63/16963/1
Reinaldo Penno [Sun, 22 Mar 2015 20:54:35 +0000 (15:54 -0500)]
Fixed SFC Agent Messages

Change-Id: I10e8abbf4d5fdfe3d506f95502aff164d66f2c84
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoSFC Netconf Implementation@IETF-92 42/16942/10
Reinaldo Penno [Sat, 21 Mar 2015 16:18:41 +0000 (11:18 -0500)]
SFC Netconf Implementation@IETF-92

- First patch, basic listener support
- Second Patch, fixed wiring
- Fixed RSP creation issue when using same
  name as existing RSP. If multiple
  SFPs were spawned from the same
  RSP we need to use different names
- Added basic Netconf regression tests
- Fixed a few things in existing tests
- Building SFF from Netconf
- Fixed getting Netconf device name
- Added proper logging

Change-Id: Icc656e8cc4b5c873a4148d0c48e2ae0d1b540dda
Signed-off-by: Reinaldo Penno <[email protected]>
10 years ago SFC Yang data model : Service Function Classifer 60/16960/1
Christophe Fontaine [Sun, 22 Mar 2015 17:39:59 +0000 (10:39 -0700)]
 SFC Yang data model : Service Function Classifer
    - Removed leaf 'Rendered Service Path' as the RSP is attached to an Access List Entry

Change-Id: I49adfef3810241a28dc55bcdf4f157ac70fe10c6
Signed-off-by: Christophe Fontaine <[email protected]>
10 years agoFix null pointer exception and add unit test 07/16807/3
Hongli Chen [Fri, 20 Mar 2015 03:14:04 +0000 (11:14 +0800)]
Fix null pointer exception and add unit test
 -Fix the DOMMountPoint null pointer exception when creating SF
 -Fix setsession null pointer exception when unit test
 -Add the unit test code about creating and reading
  Service Function Description, Service Function Monitor

Signed-off-by: Hongli Chen <[email protected]>
10 years agoAdding SFC Demo regression tests 11/16911/4
Andrej Kincel [Fri, 20 Mar 2015 10:00:57 +0000 (11:00 +0100)]
Adding SFC Demo regression tests

Change-Id: I44897ad87dfabb48a76f89d7c1c226da455f5472
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoSFC-PY - update sfc_globals, classifier, agent, services 12/16912/2
Dusan Madar [Fri, 20 Mar 2015 10:38:16 +0000 (11:38 +0100)]
SFC-PY - update sfc_globals, classifier, agent, services

sfc_globals:
- move ODL related variables to SfcGlobals

classifier:
- fix NSH flags for marked packets
- fix tcp protocol number
- fix setting rsp_ipv
- update regarding sfc_globals changes

agent:
- update regarding sfc_globals changes
- update delete_path() regarding classifier updates

services:
- introduce _get_packet_bearing()
- fix packet forwarding to its original destination
- update docstrings

Change-Id: Idedc61d239d41d69d8965d482392b9522a284669
Signed-off-by: Dusan Madar <[email protected]>
10 years agoSfc-ui: Minor bugfixes 09/16809/2
Andrej Kincel [Thu, 19 Mar 2015 08:53:54 +0000 (09:53 +0100)]
Sfc-ui: Minor bugfixes

+ fixing ACL layout
+ fixing service locator services to properly detect locator type
+ adding webconsole to sfc-ui feature
+ fixing jquery dependency

Change-Id: I25703d8f3888cbb39e07de358364f127d748098f
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoRemoving UUID from SFF until Yang issue is fixed 00/16800/1
Reinaldo Penno [Thu, 19 Mar 2015 05:07:10 +0000 (22:07 -0700)]
Removing UUID from SFF until Yang issue is fixed

Change-Id: Ia5a8b625eee65b3f6e59e468092cb29d6ba9a80c
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoTemp fix for unit test cases fails 24/16424/2
Johnson Li [Fri, 13 Mar 2015 01:46:18 +0000 (09:46 +0800)]
Temp fix for unit test cases fails

The cases of
SfcProviderServiceChainAPITest.testCreateReadServiceFunctionChain
and SfcServiceFuntionSchedulerAPITest.testBasicEnvSetup may fail
randomly.
The logs are like:
SfcProviderServiceChainAPITest.testCreateReadServiceFunctionChain:167
 Must be equal expected:<[SfcServiceFunction{getName=simple_fw_101,
or java.lang.AssertionError: Must be equal expected:
<[SfcServiceFunction{getName=simple_fw_101, getType=class

In these cases, there is no such Service Function Types which are
named simple_fw_10[1|2|3]. These types are stored in the
SfcProviderServicePathAPITest and the delete transaction may fail
sometimes. If the transaction fails, the chain which named
"unittest-chain-1" is left in the datastore and will append new
Service Function Types in it. Then the chain does no longer look
like what is expected.

This patch renames the chains' names in different tests.

Signed-off-by: Johnson Li <[email protected]>
10 years ago On branch topic/sfcofl2_mininet_scripts 63/16763/1
rodrigo lopez [Wed, 18 Mar 2015 11:55:03 +0000 (12:55 +0100)]
 On branch topic/sfcofl2_mininet_scripts
 Changes to be committed:
new file:   sfcofl2_mininet.py
new file:   sfcofl2_mininet_create_flows_forwarder_sfc_sim.txt
new file:   sfcofl2_mininet_create_http_flows_gws.txt

SFC created through mininet using the python script. The commit also includes 2 txt files that configure the switches, so these files should be run after the python script.

Change-Id: Id286b4b8833fac73ec81721d5b9eb1ec8e12272a

Signed-off-by: rodrigo lopez <[email protected]>
10 years agoEnabling Netconf in SFC 47/16747/4
Reinaldo Penno [Wed, 18 Mar 2015 09:23:39 +0000 (02:23 -0700)]
Enabling Netconf in SFC

- This commit enables Netconf at feature bundle time.
- Installing Netconf on karaf console seems to
  consistenly fail. Only when Netconf feature
  is bundled it works

- Fixed many magic number versions as a result of investigation

- Added message to Agent.

Managed to spawn a netconf connector dynamically

{
  "network-topology": {
    "topology": [
      {
        "topology-id": "topology-netconf",
        "node": [
          {
            "node-id": "new-netconf-deviceā€   <======
          },
          {
            "node-id": "controller-config"
          }
        ]
      },
      {
        "topology-id": "ovsdb:1"
      }
    ]
  }
}

Change-Id: Ic300a9366d8f22987950729574f03998b19aa6a5
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoFix fail to send edit-config for configuration 80-sfc.xml 45/16745/1
Hongli Chen [Wed, 18 Mar 2015 09:09:51 +0000 (17:09 +0800)]
Fix fail to send edit-config for configuration 80-sfc.xml

Signed-off-by: Hongli Chen <[email protected]>
10 years agoMerge "Migrated Netconf integration from DOM to Binding"
Reinaldo Penno [Wed, 18 Mar 2015 07:45:19 +0000 (07:45 +0000)]
Merge "Migrated Netconf integration from DOM to Binding"