sfc.git
10 years agorender groups to ofl2 84/19484/5
shlomi [Sun, 26 Apr 2015 21:37:46 +0000 (00:37 +0300)]
render groups to ofl2

Change-Id: Iaa5bccac7d64bfb6fad123b1e9198b87e05c4a04

Change-Id: Ib5a15feedbd22be8f09b3c527a8224b5156a9c15
Signed-off-by: shlomi <[email protected]>
10 years agoMerge "Bug 3143: On SFF Update operational state is removed before reading its contents"
Reinaldo Penno [Wed, 6 May 2015 18:58:22 +0000 (18:58 +0000)]
Merge "Bug 3143: On SFF Update operational state is removed before reading its contents"

10 years agoBug 3143: On SFF Update operational state is removed before reading its contents 37/19737/1
Reinaldo Penno [Wed, 6 May 2015 18:28:25 +0000 (11:28 -0700)]
Bug 3143: On SFF Update operational state is removed before reading its contents

Change-Id: I9fceb8f57e33bdb3ac1916261dbf0fadbc30f68a
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "Bug 3124: Added dependency sfcofl2 to sfc-features."
Brady Johnson [Wed, 6 May 2015 17:29:19 +0000 (17:29 +0000)]
Merge "Bug 3124: Added dependency sfcofl2 to sfc-features."

10 years agoFixing sfcodl2 that uses OVS Yang models 25/19725/1
Reinaldo Penno [Wed, 6 May 2015 15:46:14 +0000 (08:46 -0700)]
Fixing sfcodl2 that uses OVS Yang models

Change-Id: I21ffb5ce270609ceeec58434ba0338cdc21a1ca0
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoFixing UI for Cisco Devices 23/19723/1
Reinaldo Penno [Wed, 6 May 2015 15:30:46 +0000 (08:30 -0700)]
Fixing UI for Cisco Devices

Change-Id: I5c89c4b51e5832e92dc1f61d31ed98176b5f17c0
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "Changing Yang to make Augmentations easiers to code"
Reinaldo Penno [Wed, 6 May 2015 15:24:04 +0000 (15:24 +0000)]
Merge "Changing Yang to make Augmentations easiers to code"

10 years agoBug 3124: Added dependency sfcofl2 to sfc-features. 67/19667/3
Hideyuki Tai [Tue, 5 May 2015 16:02:33 +0000 (09:02 -0700)]
Bug 3124: Added dependency sfcofl2 to sfc-features.

This patch also removed munge-maven-plugin from sfcofl2's dependencies, since it caused build failures and it was not used by the sfcof12.

Change-Id: I11c6e9b80dc370f9086f8b6a06890b07de96332c
Signed-off-by: Hideyuki Tai <[email protected]>
10 years agoMerge "sfc-ovs adding unit tests"
Andrej Kincel [Wed, 6 May 2015 12:44:41 +0000 (12:44 +0000)]
Merge "sfc-ovs adding unit tests"

10 years agosfc-ovs adding unit tests 86/19686/3
Vladimir Lavor [Wed, 6 May 2015 08:52:50 +0000 (10:52 +0200)]
sfc-ovs adding unit tests

SfcOvsToSffMappingAPI, SfcSffToOvsMappingAPI, HopOvsdbBridgePair,
SfcOvsRpc, SfcOvsUtil

Change-Id: I2cf47d961e7c305bd0a3b9961374b5a983ba843e
Signed-off-by: Vladimir Lavor <[email protected]>
10 years agoMerge "Reduce the amount of INFO logging"
Brady Johnson [Wed, 6 May 2015 09:20:12 +0000 (09:20 +0000)]
Merge "Reduce the amount of INFO logging"

10 years agoReduce the amount of INFO logging 79/19679/1
Brady Johnson [Wed, 6 May 2015 08:31:39 +0000 (10:31 +0200)]
Reduce the amount of INFO logging

- Changed most logging to use DEBUG instead of INFO

Change-Id: I9f82663520d93ee2cd70e393c0268c7cbd7383b4
Signed-off-by: Brady Johnson <[email protected]>
10 years agoGet the OpenFlow node id for OVS SFFs 74/19674/1
Brady Johnson [Wed, 6 May 2015 06:47:41 +0000 (08:47 +0200)]
Get the OpenFlow node id for OVS SFFs

- If the SFF is an OVS augmented object, then
  get the OpenFlow node id differently

Change-Id: I6d145e0411c5920de69bb0c35c7edfb0e498c8ee
Signed-off-by: Brady Johnson <[email protected]>
10 years agoChanging Yang to make Augmentations easiers to code 72/19672/1
Reinaldo Penno [Wed, 6 May 2015 05:31:49 +0000 (22:31 -0700)]
Changing Yang to make Augmentations easiers to code

Change-Id: Ia0fcf047525e7f6e13602097d60e803b9d29148e
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoBug 3107: Sfc-OVS lacks API for storing OVS Bridge Openflow ID 27/19527/4
Andrej Kincel [Mon, 4 May 2015 14:10:05 +0000 (16:10 +0200)]
Bug 3107: Sfc-OVS lacks API for storing OVS Bridge Openflow ID

Change-Id: I87fbf73eec44d99e4612235085394efa6239abd7
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoFix JDK8 compatibility 75/19575/1
Robert Varga [Tue, 5 May 2015 08:28:32 +0000 (10:28 +0200)]
Fix JDK8 compatibility

JDK8 is more picky about javadoc correctness. Fixup errors preventing
compilation.

Change-Id: I6d373b1f2987580ded725c44355806b1fe9249aa
Signed-off-by: Robert Varga <[email protected]>
10 years agoMerge Layer3Match values for multiple Ipv4 Matches 25/19525/1
Brady Johnson [Mon, 4 May 2015 13:05:20 +0000 (15:05 +0200)]
Merge Layer3Match values for multiple Ipv4 Matches

- If multiple layer3 match fields need to be set, the
  MatchBuilder Layer3Match field was being overwritten,
  instead of being appended onto.

Change-Id: Iecd120056de2a49dc3a98c0a8fd2959553319612
Signed-off-by: Brady Johnson <[email protected]>
10 years agoMerge EthernetMatch values for multiple Ethernet Matches 11/19511/1
Brady Johnson [Mon, 4 May 2015 10:41:59 +0000 (12:41 +0200)]
Merge EthernetMatch values for multiple Ethernet Matches

- If multiple ethernet match fields need to be set, the
  MatchBuilder EthernetMatch field was being overwritten,
  instead of being added onto.

Change-Id: I2d67060032a870e82270699040b390f730bde90c
Signed-off-by: Brady Johnson <[email protected]>
10 years agoDisabling SFF/SF/SN initial config files 49/19449/1
Reinaldo Penno [Fri, 1 May 2015 20:12:38 +0000 (13:12 -0700)]
Disabling SFF/SF/SN initial config files

- IPFIX initial config file is still active
- Created another config file to preserve
 the original in memory data store config

Change-Id: If3e580499113cb53b829a325fdfe68eb1b99bac3
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoDebugging Improvements 19/19419/1
Reinaldo Penno [Thu, 30 Apr 2015 23:52:20 +0000 (16:52 -0700)]
Debugging Improvements

- Naming threads
- Proper shutdown

Change-Id: Ie41c1698fb79c7f93967a1f2b30908a42adeac0b
Signed-off-by: Reinaldo Penno <[email protected]>
10 years agoMerge "Removing unecessary debugging log"
Brady Johnson [Thu, 30 Apr 2015 16:58:56 +0000 (16:58 +0000)]
Merge "Removing unecessary debugging log"

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 agoMerge "SFCOFL2 minor cleanups"
Brady Johnson [Thu, 30 Apr 2015 15:51:38 +0000 (15:51 +0000)]
Merge "SFCOFL2 minor cleanups"

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 agoMerge "Sfc-OVS: Fixing NPE caused by non-OVS or hybrid RSPs"
Andrej Kincel [Thu, 30 Apr 2015 13:18:11 +0000 (13:18 +0000)]
Merge "Sfc-OVS: Fixing NPE caused by non-OVS or hybrid RSPs"

10 years agoMerge "Add Connected SFF Dictionary into SFF"
Andrej Kincel [Thu, 30 Apr 2015 13:14:11 +0000 (13:14 +0000)]
Merge "Add Connected SFF Dictionary into SFF"

10 years agoSfc-OVS: Fixing NPE caused by non-OVS or hybrid RSPs 81/19381/1
Andrej Kincel [Thu, 30 Apr 2015 13:03:03 +0000 (15:03 +0200)]
Sfc-OVS: Fixing NPE caused by non-OVS or hybrid RSPs

Change-Id: If73f5603a49d27fb8c9709710e02b89f38ff8a4a
Signed-off-by: Andrej Kincel <[email protected]>
10 years agoMerge "Fixing NSH OpenFlow programming"
Brady Johnson [Thu, 30 Apr 2015 08:58:43 +0000 (08:58 +0000)]
Merge "Fixing NSH OpenFlow programming"

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 agoAdd Connected SFF Dictionary into SFF 25/19125/2
Johnson Li [Thu, 30 Apr 2015 01:02:15 +0000 (09:02 +0800)]
Add Connected SFF Dictionary into SFF

Yang model service-function-forwarder.yang introduces new
connected-sff-dictionary into SFF. This patch add Web GUI
implementation to fill out the connected-sff-dictionary.

Signed-off-by: Johnson Li <[email protected]>
10 years agoSFC-PY - prepare for packaging 88/19288/5
Dusan Madar [Wed, 29 Apr 2015 10:58:00 +0000 (12:58 +0200)]
SFC-PY - prepare for packaging

Move relevant files to the sfc/ package.
Make intrapackage imports relative, fix test/ imports.

Change-Id: I083087a6cc8e7306b6ea2634fb0e55346021debc
Signed-off-by: Dusan Madar <[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"