sfc.git
10 years agoRemoving unecessary debugging log 98/19398/1
Brady Johnson [Thu, 30 Apr 2015 16:49:23 +0000 (18:49 +0200)]
Removing unecessary debugging log

Change-Id: I02ee7049a62007f95c2e93cd1e107d3bfc000d13
Signed-off-by: Brady Johnson <[email protected]>
10 years agoSFCOFL2 minor cleanups 87/19387/1
Brady Johnson [Thu, 30 Apr 2015 14:34:30 +0000 (16:34 +0200)]
SFCOFL2 minor cleanups

- Fix priority issue in Transport Egress table
- Removed some dead code

Change-Id: I0e70a692008fccd0875c351ea4cd2094a859cec3
Signed-off-by: Brady Johnson <[email protected]>
10 years agoFixing NSH OpenFlow programming 11/19311/3
Brady Johnson [Wed, 29 Apr 2015 15:27:39 +0000 (17:27 +0200)]
Fixing NSH OpenFlow programming

- Set tunnel IP dst, not the inner IP
- Move the vxlan VNID to the dst tunnel
- If the switch port is not avail, use IN_PORT

Change-Id: I210ea87d6d0506166c14eae832bb0e29ad94ed87
Signed-off-by: Brady Johnson <[email protected]>
10 years agoMerge "Fix UNSTABLE build issue led by unit tests"
Reinaldo Penno [Wed, 29 Apr 2015 07:04:02 +0000 (07:04 +0000)]
Merge "Fix UNSTABLE build issue led by unit tests"

10 years agoFix UNSTABLE build issue led by unit tests 24/19124/37
Yi Yang [Mon, 27 Apr 2015 11:01:00 +0000 (19:01 +0800)]
Fix UNSTABLE build issue led by unit tests

- Correct *Funtion* to *Function* in file name and function name
- Catch NullPointerException to trace call stack
- Add LOG.debug for debugging
- Print SfcDataStoreAPI Transaction failed with caller info
- Modify Load Banlance scheduler
- Check if a ServiceFunction does exist in scheduler
- Add sleep after getPutAll in order to ensure they are really put
- Clean up all the objects in SFC data store and ensure they are deleted before unit test

Change-Id: Ic4df527b1abc0f84d392e0e024de87a449d6e8f5
Signed-off-by: Yi Yang <[email protected]>
10 years agoSfc-UI: adding support for create-ovs-bridge RPC 27/19227/1
Andrej Kincel [Tue, 28 Apr 2015 13:35:49 +0000 (15:35 +0200)]
Sfc-UI: adding support for create-ovs-bridge RPC

+ Service Function Forwarders tab now provides access to
create-ovs-bridge RPC call

+ Slightly modified create-ovs-rpc debug messages

Change-Id: I239a114f60f94037dca705b4e8f8be05d9574620
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoSfc-ovs: removing NPE catch blocks 39/19139/2
Andrej Kincel [Mon, 27 Apr 2015 10:01:10 +0000 (12:01 +0200)]
Sfc-ovs: removing NPE catch blocks

- reported by sonar as major issue
- not good coding practice (catching NPE can hide its real origin)

Change-Id: I49138ad4b63b280e8782a5c95512a87753b5b777
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoSFC-OVS: Creating VXLAN tunnels according to RSP 45/18545/12
Andrej Kincel [Thu, 16 Apr 2015 06:21:31 +0000 (08:21 +0200)]
SFC-OVS: Creating VXLAN tunnels according to RSP

sfc-test/ - added regression tests for OVS
(as SFF name is based on OVS NodeId which contains ip+arbitrary port,
port must be changed before test execution accordingly. OVSDB guys
are discussing about this arbitrary port in NodeId issue)

sfc-test/common.py - added URL for create-ovs-bridge RPC

sfc-ovs:
+ Vxlan tunnels are created between OVS Bridges according to RSP Hops

+ Vxlan endpoint IP addresses are taken from OVS bridge-other-config
list
  (drawback is, that this IPs must be set manually -
  ovs-vsctl set Bridge br1 other_config={"local_ip"="192.168.1.1"}
  However, this should be solved by OVSDB overlay model ASAP)

+ Vxlan tunnels are destroyed after RSP deletion

Currently only pure OVS RSPs are supported, hybrid RSP will cause
exception and the tunnels will be not configured.

Change-Id: I72ff50b7078a26cce7d44921b0ea9851a471d8c9
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoMerge "Minor fixes to NSH flow programming"
Brady Johnson [Mon, 27 Apr 2015 19:50:21 +0000 (19:50 +0000)]
Merge "Minor fixes to NSH flow programming"

10 years agoMinor fixes to NSH flow programming 71/19171/1
Brady Johnson [Mon, 27 Apr 2015 19:38:19 +0000 (21:38 +0200)]
Minor fixes to NSH flow programming

- For NSH, transport ingress goes to table NextHop
- Transport Egress should not be checking metadata for NSH

Change-Id: I199dc1025e11015f1772ce18293e1185fc0a2163
Signed-off-by: Brady Johnson <[email protected]>
10 years agoMerge "SFC-PY - rename directory nfq_classifier ro nfq"
Andrej Kincel [Mon, 27 Apr 2015 08:48:15 +0000 (08:48 +0000)]
Merge "SFC-PY - rename directory nfq_classifier ro nfq"

10 years agoMerge "SFC-PY - move/remove unused files"
Andrej Kincel [Mon, 27 Apr 2015 07:52:39 +0000 (07:52 +0000)]
Merge "SFC-PY - move/remove unused files"

10 years agoUnit test for readRenderedServicePathFirstHop and readRspFirstHopBySftList 05/18905/16
Yi Yang [Thu, 23 Apr 2015 09:55:40 +0000 (09:55 +0000)]
Unit test for readRenderedServicePathFirstHop and readRspFirstHopBySftList

This unit test can block some commits that bring regression.

Change-Id: Id9edf2edb672907ab2e49ab12e7575dd728f9b90
Signed-off-by: Yi Yang <[email protected]>
10 years agoAdding NSH to flow programming 98/18998/2
Brady Johnson [Fri, 24 Apr 2015 11:42:45 +0000 (13:42 +0200)]
Adding NSH to flow programming

- no longer using table 2, classifier

Change-Id: I5e49944cb9d5b83168e9c7d19ef33c0cd7cb589f
Signed-off-by: Brady Johnson <[email protected]>
10 years agoSFC-PY - move/remove unused files 30/19030/3
Dusan Madar [Fri, 24 Apr 2015 15:47:48 +0000 (17:47 +0200)]
SFC-PY - move/remove unused files

Remove test/__init__.py.
Move service_function.py and start_sf.sh to unused/.

Change-Id: I1f1963a7a073d6d87721614ea121f49bf5b8e228
Signed-off-by: Dusan Madar <[email protected]>
10 years agoSFC-PY - rename directory nfq_classifier ro nfq 02/18902/2
Dusan Madar [Thu, 23 Apr 2015 09:33:16 +0000 (11:33 +0200)]
SFC-PY - rename directory nfq_classifier ro nfq

Change-Id: I760d818090b7502d46ff546951ad52ed21873f44
Signed-off-by: Dusan Madar <[email protected]>
10 years agoStatistics for Cisco vNBAR and vASA SFs 50/18950/1
Reinaldo Penno [Thu, 23 Apr 2015 19:52:01 +0000 (12:52 -0700)]
Statistics for Cisco vNBAR and vASA SFs

Change-Id: Ic1f824548b46229528e3a654ef083ad30cff71c0
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "Service Function SL-Transport and SFF mapping"
Reinaldo Penno [Wed, 22 Apr 2015 15:48:27 +0000 (15:48 +0000)]
Merge "Service Function SL-Transport and SFF mapping"

10 years agoService Function SL-Transport and SFF mapping 04/18804/2
Brady Johnson [Wed, 22 Apr 2015 08:47:53 +0000 (10:47 +0200)]
Service Function SL-Transport and SFF mapping

- patch-set 2 Added list of SF types that map to a
  list of SFs.

Change-Id: I8835ef155535c5239320d34050a4adb7331a90d0
Signed-off-by: Brady Johnson <[email protected]>
10 years agoAdding Maven Central Metadata to pom 92/18792/1
Brady Johnson [Wed, 22 Apr 2015 07:14:14 +0000 (09:14 +0200)]
Adding Maven Central Metadata to pom

- This allows SFC to meet the Maven Central requirements

Change-Id: Ib7366e15666d44f844caca48691a36b5b505de06
Signed-off-by: Brady Johnson <[email protected]>
10 years agoMerge "removed XR parameter from start_agent added policy-map and interface configura...
Reinaldo Penno [Tue, 21 Apr 2015 22:48:54 +0000 (22:48 +0000)]
Merge "removed XR parameter from start_agent added policy-map and interface configuration processing"

10 years agoremoved XR parameter from start_agent 76/18776/2
jguichar [Tue, 21 Apr 2015 19:55:16 +0000 (15:55 -0400)]
removed XR parameter from start_agent
added policy-map and interface configuration processing

Change-Id: I74ad18321015728f9201fb02a5f7831052436b2c
Signed-off-by: jguichar <[email protected]>
10 years agosfc-ui: Add UI for IPFIX (Matchers and Add/Remove AppId) 72/18772/1
Christophe Fontaine [Tue, 21 Apr 2015 07:31:44 +0000 (09:31 +0200)]
sfc-ui: Add UI for IPFIX (Matchers and Add/Remove AppId)
sfc-model: BUG: It was not possible to add a new AppId thru the REST method 'PUT' as multiple keys were defined

Change-Id: Idd7b0687ceae6e08cb5e1dccaa38dfe880e39417
Signed-off-by: Christophe Fontaine <[email protected]>
10 years agoMerge changes I48e300f0,Id6648e3f
Reinaldo Penno [Tue, 21 Apr 2015 16:17:06 +0000 (16:17 +0000)]
Merge changes I48e300f0,Id6648e3f

* changes:
  SFC-PY - scapyNSH
  SFC-PY - create cli subpackage

10 years agoMerge "Sfc-ovs: seperating config file"
Reinaldo Penno [Tue, 21 Apr 2015 16:15:12 +0000 (16:15 +0000)]
Merge "Sfc-ovs: seperating config file"

10 years agoSFC-PY - scapyNSH 51/18751/1
Dusan Madar [Tue, 21 Apr 2015 14:45:43 +0000 (16:45 +0200)]
SFC-PY - scapyNSH

Move the scapyNSH.py module to nsh package, remove the scapy package.

Change-Id: I48e300f066d9d1bce73f0f1f7d6675d1d8458cf8
Signed-off-by: Dusan Madar <[email protected]>
10 years agoSFC-PY - create cli subpackage 50/18750/1
Dusan Madar [Tue, 21 Apr 2015 14:23:20 +0000 (16:23 +0200)]
SFC-PY - create cli subpackage

Move xe_cli, xr_cli and ovs_cli to a cli subpackage, update related imports.

Change-Id: Id6648e3f2b15b94a68806998179ff698932406a2
Signed-off-by: Dusan Madar <[email protected]>
10 years agoFixing get first RSP Hop RPC due to previous omission. 49/18749/1
Brady Johnson [Tue, 21 Apr 2015 14:16:42 +0000 (16:16 +0200)]
Fixing get first RSP Hop RPC due to previous omission.

- A previous patch to add SFG left out this code,
  adding it back now.

Change-Id: I7bf6d08a549ae1ab2fa84296b266cde070368d49
Signed-off-by: Brady Johnson <[email protected]>
10 years agoSfc-ovs: seperating config file 35/18735/2
Andrej Kincel [Tue, 21 Apr 2015 11:39:31 +0000 (13:39 +0200)]
Sfc-ovs: seperating config file

Change-Id: I74157f27b642199dc22d6e7ede22e6a820e2eb2b
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoMerge "Sfcofl2: seperating config file"
Andrej Kincel [Tue, 21 Apr 2015 11:15:32 +0000 (11:15 +0000)]
Merge "Sfcofl2: seperating config file"

10 years agoSfcofl2: seperating config file 94/18694/5
Andrej Kincel [Tue, 21 Apr 2015 08:37:11 +0000 (10:37 +0200)]
Sfcofl2: seperating config file

+ tested that RSP listener works

+ added sfc-provider to <required-capabilities> of sfcofl2-initial.xml

- there are still some errors, but probably not related to config file

Patch set 5:
Fixed missing dependency of sfcofl2/xml/config

Change-Id: I899a65a67bdf2ff144eca16b6baff53f1e8cf2aa
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoFixing Start Agent 91/18691/1
Reinaldo Penno [Tue, 21 Apr 2015 08:13:38 +0000 (01:13 -0700)]
Fixing Start Agent

Change-Id: I44b62f56527dc7dfcb2e19978300dc9216ae0bfd
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "fixed build errors added CLI processing for IOS-XR"
Reinaldo Penno [Tue, 21 Apr 2015 08:12:55 +0000 (08:12 +0000)]
Merge "fixed build errors added CLI processing for IOS-XR"

10 years agoMerge "Add shortest path algorithm for service function selection"
Reinaldo Penno [Tue, 21 Apr 2015 07:54:59 +0000 (07:54 +0000)]
Merge "Add shortest path algorithm for service function selection"

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 agofixed build errors 71/18671/3
jguichar [Mon, 20 Apr 2015 22:04:47 +0000 (18:04 -0400)]
fixed build errors
added CLI processing for IOS-XR

Change-Id: Id3928c3cefab662eb7f8822388131e5a62fc55e5
Signed-off-by: jguichar <[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 agoAdd shortest path algorithm for service function selection 50/18350/17
Yi Yang [Wed, 15 Apr 2015 13:42:19 +0000 (13:42 +0000)]
Add shortest path algorithm for service function selection

Change-Id: Ia7acb96bd8bc60b740ada2036986ac4de76f22be
Signed-off-by: Shuqiang Zhao <[email protected]>
Signed-off-by: Yi Yang <[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]>