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]>
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]>
Kfir Yeshayahu [Fri, 10 Apr 2015 18:03:09 +0000 (18:03 +0000)]
Merge "add type to SFG algorithm according to OFL"
Reinaldo Penno [Fri, 10 Apr 2015 16:34:35 +0000 (16:34 +0000)]
Merge "corrected default encapsulate type"
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]>
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]>
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]>
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]>
Brady Johnson [Thu, 9 Apr 2015 06:16:56 +0000 (06:16 +0000)]
Merge "Augmenting ServiceFunctionForwarder yang"
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]>
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]>
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]>
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]>
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]>
Reinaldo Penno [Wed, 8 Apr 2015 11:27:59 +0000 (11:27 +0000)]
Merge "Scapy directory organization"
Brady Johnson [Wed, 8 Apr 2015 09:31:22 +0000 (09:31 +0000)]
Merge "sfc-model: Add L7 matchers and subscriber based matcher"
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]>
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]>
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]>
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]>
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]>
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]>
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]>
Reinaldo Penno [Thu, 2 Apr 2015 16:02:32 +0000 (16:02 +0000)]
Merge "SFC-OVS: Introducing OvsDataStoreAPI"
Reinaldo Penno [Thu, 2 Apr 2015 15:59:33 +0000 (15:59 +0000)]
Merge "SFC-PY - update NSH, classifier"
Reinaldo Penno [Thu, 2 Apr 2015 15:41:11 +0000 (15:41 +0000)]
Merge "fix yang date"
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]>
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]>
shlomi [Wed, 1 Apr 2015 12:00:26 +0000 (15:00 +0300)]
fix yang date
Change-Id: If4a9ef59e73cff2b03bd9c9e22372754d67c3c39
Signed-off-by: shlomi <[email protected]>
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]>
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]>
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]>
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]>
Reinaldo Penno [Tue, 31 Mar 2015 17:20:25 +0000 (17:20 +0000)]
Merge "Regression testing starts Karaf"
Reinaldo Penno [Tue, 31 Mar 2015 17:16:27 +0000 (17:16 +0000)]
Merge "SFC-OVS: Adding create-ovs-bridge RPC"
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]>
Reinaldo Penno [Tue, 31 Mar 2015 16:37:01 +0000 (16:37 +0000)]
Merge "SFC-PY - update services, nsh, add tests"
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]>
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]>
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]>
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]>
Reinaldo Penno [Mon, 30 Mar 2015 21:39:02 +0000 (21:39 +0000)]
Merge "SFC-PY - fix classifier regression test"
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]>
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]>
Brady Johnson [Sun, 29 Mar 2015 09:50:27 +0000 (09:50 +0000)]
Merge "Do not override versions from odlparent"
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]>
Reinaldo Penno [Sat, 28 Mar 2015 22:01:17 +0000 (22:01 +0000)]
Merge "Sfc-ui: Encoding REST request URL parameters"
Reinaldo Penno [Sat, 28 Mar 2015 22:01:08 +0000 (22:01 +0000)]
Merge "SFC-OVS: mapping between SFF<->OVS phase 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]>
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]>
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]>
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]>
Reinaldo Penno [Thu, 26 Mar 2015 19:37:29 +0000 (19:37 +0000)]
Merge "SFC-PY - update classifier, launcher, agent"
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]>
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]>
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]>
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]>
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]>
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"
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]>
Reinaldo Penno [Mon, 23 Mar 2015 17:41:34 +0000 (17:41 +0000)]
Merge "Fixing bug introduced in previous commit"
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]>
Reinaldo Penno [Mon, 23 Mar 2015 09:49:45 +0000 (09:49 +0000)]
Merge "SFC Traceroute Bug"
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]>
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"
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"
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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]>
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]>
Reinaldo Penno [Wed, 18 Mar 2015 07:45:19 +0000 (07:45 +0000)]
Merge "Migrated Netconf integration from DOM to Binding"
Tony Tkacik [Mon, 16 Mar 2015 14:11:02 +0000 (15:11 +0100)]
Migrated Netconf integration from DOM to Binding
Change-Id: I343daa1ff1eafec2275d81dd2f76a524d5a75cd1
Signed-off-by: Tony Tkacik <[email protected]>
Dusan Madar [Tue, 17 Mar 2015 14:30:47 +0000 (15:30 +0100)]
SFC-PY - fix classifier, agent
classifier:
- try to import NetfilterQueue only on Linux
sfc_agent:
- fix RSP removal
- update SF and SFF removal
Change-Id: I033e4cea6928cefc7cf11f5c5ee9c0df2966b86d
Signed-off-by: Dusan Madar <[email protected]>
Brady Johnson [Mon, 16 Mar 2015 08:14:43 +0000 (09:14 +0100)]
Reorganize SFC Karaf Features, removing odl-sfc-all.
features.xml:
- Instead of odl-sfc-all including everything needed at Karaf
boot, I renamed it to odl-sfc-core, which only includes:
odl-sfc-model
odl-sfc-provider
sfc-karaf/pom.xml:
- no longer use odl-sfc-all, but instead use odl-sfc-core
- at Karaf boot, include sfc features previously included by
odl-sfc-all that are not in odl-sfc-core
Change-Id: If18a6d3cac2dd8b91e8367d150e58ae496ea3947
Signed-off-by: Brady Johnson <[email protected]>
Reinaldo Penno [Mon, 16 Mar 2015 23:02:53 +0000 (23:02 +0000)]
Merge "Add rpc for readRspFirstHopBySftList"
Reinaldo Penno [Mon, 16 Mar 2015 20:13:34 +0000 (20:13 +0000)]
Merge "Sfc-UI: Fixing SFF creation"
Reinaldo Penno [Mon, 16 Mar 2015 20:13:24 +0000 (20:13 +0000)]
Merge "Sfc-UI: Regenerating XML versions of YANG models"
Yi Yang [Mon, 16 Mar 2015 15:48:09 +0000 (23:48 +0800)]
Add rpc for readRspFirstHopBySftList
GBP should call rpc readRspFirstHopBySftList with parameter
ServiceFunctionTypeIdentity list
(Firewall.class, Dpi.class, Napt44.class)
to get the first hop information of service chain
firewall->dpi->napt44
, readRspFirstHopBySftList will help create service chain,
service function path and rendered service path as needed.
A given service chain will only be created once, its name
is generated according to service funtion type list, for
example,
service chain name: chain-sfc-gbp-firewall-dpi-napt44
service path name: path-sfc-gbp-firewall-dpi-napt44
Change-Id: I71eb43f7f13afa204b6269f935bb90e6c69c09d5
Signed-off-by: Yi Yang <[email protected]>
Andrej Kincel [Mon, 16 Mar 2015 12:35:48 +0000 (13:35 +0100)]
Sfc-UI: Regenerating XML versions of YANG models
Change-Id: I9086e62744c4c85acdca77e72bbde2578b297790
Signed-off-by: Andrej Kincel <[email protected]>
Andrej Kincel [Mon, 16 Mar 2015 12:18:08 +0000 (13:18 +0100)]
Sfc-UI: Fixing SFF creation
+ adding missing select2 icons
Change-Id: Ieb9fd2e71462e981a48911809ca1dbe462dfce32
Signed-off-by: Andrej Kincel <[email protected]>
Dusan Madar [Mon, 16 Mar 2015 17:02:35 +0000 (18:02 +0100)]
SFC-PY - launcher updates
- start a new service (SF or SFF) thread each time it is requested
- stop an already running service if it has the same name as the service which is about to start, then start the new one
- update docstrings
- make logging more consistent
Change-Id: I0e694ebe6d1e3b634abef3968303f1e8a7d040b6
Signed-off-by: Dusan Madar <[email protected]>
Andrej Kincel [Mon, 16 Mar 2015 16:24:19 +0000 (17:24 +0100)]
Revert "SFC broken due to Yangtools issues"
+ included patch: https://git.opendaylight.org/gerrit/#/c/16650/
This reverts commit
59f6819bdb7326a98f5c02f125c3b09b260d127a.
Change-Id: Ic2f6fea76d0efd1f1c5b81b893a2ae75228f2521
Signed-off-by: Andrej Kincel <[email protected]>
Reinaldo Penno [Sat, 14 Mar 2015 21:49:08 +0000 (21:49 +0000)]
Merge "Add odlparent relativepath relative to autorelease"
Reinaldo Penno [Sat, 14 Mar 2015 21:38:14 +0000 (14:38 -0700)]
SFC broken due to Yangtools issues
- A yangtools issues is preventing proper ordering in
SFC. BUG 2846
- This fix is workaround until when Yangtools
has a proper fix.
Change-Id: Iee10e55202122de3e74488c9ca0e8fe672480dd2
Signed-off-by: Reinaldo Penno <[email protected]>
Brady Johnson [Sat, 14 Mar 2015 09:08:43 +0000 (09:08 +0000)]
Merge "Changing how RenderedServicePathHop List is created"
Reinaldo Penno [Sat, 14 Mar 2015 07:03:55 +0000 (00:03 -0700)]
SFC Agent Fixes
- Prevent Agent from crashing on MAcos due to the lack
of Netfiler
- Catch exception when SFF does not hava data plane locators
configured
Change-Id: I3c001c94262960f37f21ce8bae9a053004219763
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Fri, 13 Mar 2015 19:40:11 +0000 (19:40 +0000)]
Merge "adding SFG support"
Dusan Madar [Fri, 13 Mar 2015 13:46:43 +0000 (14:46 +0100)]
SFC-PY - NFQ classifier and SFC agent updates
- move classfier.py to common/ directory
- update imports regarding this movement
- move "old" classifier files to unused/ directory
- remove "classifier" package/directory as it is no longer neccessary
- introduce the "new" classifier to sfc_agent.py
- fix codestyle issues
- add remove_acl() call
- update apply_acl() and delete_path()
- update main() to handle keybord interruption (Ctrl + C) and agent exiting
Change-Id: I19ac1bd932c81725d3c9505064e2e3652406f5d7
Signed-off-by: Dusan Madar <[email protected]>
Brady Johnson [Fri, 13 Mar 2015 12:57:36 +0000 (13:57 +0100)]
Changing how RenderedServicePathHop List is created
Im working on populating the RSP Hop ServiceFunctionForwarderLocator,
and the recently added funcionality made that difficult.
Additionally, it doesnt make sense for the RSP Hop list
to be created in the Service Function Scheduling code.
Previously, if the SF scheduler didnt find the SFs, then
the RSP Hop list was created in SfcProviderRenderedPathAPI,
meaning that the RSP Hop list creation code was duplicated
in the SF schedulers and in SfcProviderRenderedPathAPI.
Now, the RSP Hop list creation is only in
SfcProviderRenderedPathAPI, thus increasing the SF
scheduler classes cohesion.
A separate patch is coming soon to populate the RSP Hop ServiceFunctionForwarderLocator
Change-Id: I17905ca4b652528876e92341ace8e05fb3601e24
Signed-off-by: Brady Johnson <[email protected]>
Thanh Ha [Fri, 13 Mar 2015 02:36:28 +0000 (22:36 -0400)]
Add odlparent relativepath relative to autorelease
Change-Id: I2098435ce9f25e8a65ac252ca77807fb9274dc36
Signed-off-by: Thanh Ha <[email protected]>
Dusan Madar [Tue, 10 Mar 2015 15:51:44 +0000 (16:51 +0100)]
SFC-PY - NFQ classifier updates
- update docstrings
- update the internal data-store structure to hold the RSP name as well
- add name based RSP removal, add the functionality to remove all RSPs related to a given ACL (i.e. remove ACL)
- rename few methods to be more descriptive, move some of them to form a logical sequence in the file
- remove useless comments and constants
- update packet marking - packet mark is now a combination of RSP ID and IP version
- add methods to compose/decompose packet mark
- update packet processing and forwarding
Change-Id: I471c941b183da13cbe500149acbde60782b0ac15
Signed-off-by: Dusan Madar <[email protected]>
Yi Yang [Fri, 6 Mar 2015 14:44:46 +0000 (22:44 +0800)]
A new API readRspFirstHopBySftList
Change-Id: Icbe0a0fa8587f207ed014e1a39626211c79c3722
Signed-off-by: Yi Yang <[email protected]>