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]>
Reinaldo Penno [Thu, 12 Mar 2015 03:11:17 +0000 (03:11 +0000)]
Merge "SFC-OVS - SFF is created from OVS bridge"
Reinaldo Penno [Thu, 12 Mar 2015 03:10:24 +0000 (03:10 +0000)]
Merge "Rewrite the service funtions scheduling API"
Andrej Kincel [Tue, 10 Mar 2015 14:24:03 +0000 (15:24 +0100)]
SFC-OVS - SFF is created from OVS bridge
+ UUID used as SFF name
+ SFF OVS augmentation is populated accordingly
+ OvsdbManagedNodeAugmentation has been changed to OvsBridgeAugmentation
- need to get Port/Interface data to fill the data plane locator
+ small fix for sfc-ui
Change-Id: I1bd6c8dff4162017a937ef1598ff4e7d6bdb8fdb
Signed-off-by: Andrej Kincel <[email protected]>
Johnson Li [Wed, 11 Mar 2015 05:24:05 +0000 (13:24 +0800)]
Rewrite the service funtions scheduling API
This patch rewrites the service funtion scheduling API.
The origin version of API is defined in:
https://git.opendaylight.org/gerrit/#/c/14118/
It defines an API for scheduling a single service function.
Some algorithms may schdule service functions for the whole
chain. New API schedules SFs for the whole chain.
Change log:
Add Unit Test cases for the new scheduling API.
Rename SfcServiceFunctionRandomSchedulerAPI caused by mistypo.
Change log:
Solve the conflicts with commit:
https://git.opendaylight.org/gerrit/#/c/16016/1
SFF locator name is filled in corresponding RSP leaf
Signed-off-by: Johnson Li <[email protected]>
shlomi [Sun, 8 Mar 2015 19:03:39 +0000 (21:03 +0200)]
adding SFG support
Signed-off-by: shlomi <[email protected]>
review fixes
Signed-off-by: shlomi <[email protected]>
Thanh Ha [Tue, 10 Mar 2015 21:35:02 +0000 (17:35 -0400)]
Use checkstyle variable from odlparent
Change-Id: Ic47c29742ab891c425972b1e2f74c6d756a361e4
Signed-off-by: Thanh Ha <[email protected]>
Reinaldo Penno [Mon, 9 Mar 2015 01:33:33 +0000 (18:33 -0700)]
Cleaning and Optimizing REST Regression Tests
-Introduced a common fule with all generic REST functions
-Fixed all other files to import common module
-Fixes JSON messages to account for all the recent Yang
module changes
Change-Id: I5a630432357aac0cfc04f1338df83c807e623aa6
Signed-off-by: Reinaldo Penno <[email protected]>
Andrej Kincel [Tue, 10 Mar 2015 07:09:40 +0000 (08:09 +0100)]
SB Rest - adding TCP socket for accepting keepalive connections
+ sfc_agent will connect to this socket, once the socket is closed
sfc_agent will know that ODL has shutdown/is restarting
Change-Id: I17bb4d1a870b0f080818b7b9ebecc45f31dfb09c
Signed-off-by: Andrej Kincel <[email protected]>
Reinaldo Penno [Sun, 8 Mar 2015 22:17:44 +0000 (15:17 -0700)]
RSP Control Plane and agent fixes
- Deletion of SFP was still trigerring datastore operations
- Deletion of RSP was not cleaning up operational state
Agent/SFF
- When end of path is reached, inner packet needs to be sent
with SOCK_RAW, which needs root priveleges. Code now checks
for it.
- Trace message test was not working in all cases
- Data message test was not working in all cases
- Fixed PEP8 issues
Change-Id: I7cfed2b3b23302d546a42aa018ed72f6399ef91d
Signed-off-by: Reinaldo Penno <[email protected]>
Dusan Madar [Fri, 6 Mar 2015 16:42:43 +0000 (17:42 +0100)]
SFC-PY - NFQ classifier updates
Update docstrings, fix some TODOs, simplify.
Change-Id: Ieab5c0ebf2d4f1f4f3bb0904e67c29f9ce430ea7
Signed-off-by: Dusan Madar <[email protected]>
Thanh Ha [Sat, 7 Mar 2015 14:29:42 +0000 (09:29 -0500)]
Fix pep8 violations
Change-Id: Id0db49ce4c655343dca33e019ddb35d5992d6230
Signed-off-by: Thanh Ha <[email protected]>
Reinaldo Penno [Fri, 6 Mar 2015 17:52:45 +0000 (17:52 +0000)]
Merge "Skip pep8 scan for sfc_globals.py"
Thanh Ha [Fri, 6 Mar 2015 16:25:54 +0000 (11:25 -0500)]
Skip pep8 scan for sfc_globals.py
Change-Id: I41d23bf37daa79feec1fc24d63408bb85d8b5610
Signed-off-by: Thanh Ha <[email protected]>
Reinaldo Penno [Fri, 6 Mar 2015 07:35:35 +0000 (23:35 -0800)]
SFC Agent Resiliency
- SFC can be started after ODL already has SF, SFF
configuration but it still recovers
- Testing
1 - Agent stopped
2 - RUn ODL, create SF, SFF
3 - Run agent
4 - Create RSP in ODL
5 - As Agent processes RSP, it fetches SF information
from ODL as start SF thread if necessary
- Fixed several try/Except with proper exception handling
Change-Id: I8d8ef5c14f4b469d074c048627731d6cef2ba8f3
Signed-off-by: Reinaldo Penno <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:35:25 +0000 (20:35 -0500)]
Fix pep8 violations for setup.y (3.3)
Change-Id: I3f5bdc5de9912e39fa4ab2bd13e41a544e3afb68
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:34:20 +0000 (20:34 -0500)]
Fix pep8 violations in setup.py (2.7)
Change-Id: I7e7a7427b2e2459e7217e9e52f72727fde0c8840
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:31:19 +0000 (20:31 -0500)]
Fix pep8 violations in service_function.py
Change-Id: Ie0d881d7fc29703464d0de34f7fd6c0bf781fd84
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:29:50 +0000 (20:29 -0500)]
Fix pep8 violations in sff_client.py
Change-Id: Ia7964e12af9308b411f92f8dabe6cbe87a46bfac
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:27:43 +0000 (20:27 -0500)]
Fix pep8 violations in xe_cli.py
Change-Id: Ia5c5430744a2a7f3e220a7695f43186991d11d87
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:26:04 +0000 (20:26 -0500)]
Fix pep8 violations in nfq_class_thread.py
Change-Id: I4a88d95da81b606531bfa193a632af411691a679
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:25:20 +0000 (20:25 -0500)]
Fix pep8 violations in service_classifier.py
Change-Id: Ie6d31085cdcf5909dee0b5138bd1d48c5af2f2c3
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:24:04 +0000 (20:24 -0500)]
Fix pep8 violations in classifier.py
Change-Id: I8f511fc5caf3b14105c08c6265bf82dbf7f5e735
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:20:08 +0000 (20:20 -0500)]
Skip flake8 for nfq_class_server
Change-Id: I0e49c9ceb822b0c85bffbcde85be69ed9e61a81c
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:15:21 +0000 (20:15 -0500)]
Fix pep8 violations in common/services.py
Change-Id: I4016151f8f3a6c233749bb5543eea7d3b1562fd6
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:14:10 +0000 (20:14 -0500)]
Fix pep8 violations for common/launcher.py
Change-Id: Ic282eac1de7cf8743c6c7c173cbc39925597ab1d
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:11:43 +0000 (20:11 -0500)]
Fix pep8 violations in logging_config.py
Change-Id: I10920a83b92df1199dc8c23b8ff99ddb3aa0ee4b
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:09:54 +0000 (20:09 -0500)]
Add .tox/ to .gitignore
Change-Id: Icbbaca30fb484f74940b2b10cb8830ec970c48bd
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:08:09 +0000 (20:08 -0500)]
Fix pep8 violations in ovs_cli.py
Change-Id: I0f0fb0914176d70ff1b8176ac3b7300bdf4db761
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:03:12 +0000 (20:03 -0500)]
Fix pep8 violations in nsh/common.py
Change-Id: Id1c4a756eab5a2b2ab27e8c3f534993185b4d63b
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:02:16 +0000 (20:02 -0500)]
Fix pep8 violations in nsh/encode.py
Change-Id: I1bb455d57b1881d3fb94289ac607927b598c430f
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 01:00:46 +0000 (20:00 -0500)]
Fix pep8 violations in nsh/decode.py
Change-Id: Ice70ecb629a66b8fffb735f3a9683e8cd461244d
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 00:57:04 +0000 (19:57 -0500)]
Fix pep8 in sfc_agent.py
Change-Id: I4454ecfa60bc724ca3487d4e986b022eec67643b
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 00:54:43 +0000 (19:54 -0500)]
Fix pep8 in odl2ovs_cli.py
Change-Id: I2d20b0578e43d4fefc1fc141640e7ac470b429d5
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Fri, 6 Mar 2015 00:50:42 +0000 (19:50 -0500)]
Fix pep8 in pysf_oldnsh.py
Change-Id: I505b4d01e98ab41e1cfb2b03af74532e6287f8a0
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Thu, 5 Mar 2015 16:05:54 +0000 (11:05 -0500)]
Fix pep8 violations in odl2ovs.py
Change-Id: Ie8e9d26ab5a1474e60a2657fa59e8268fc313df9
Signed-off-by: Thanh Ha <[email protected]>
Thanh Ha [Wed, 4 Mar 2015 19:25:23 +0000 (14:25 -0500)]
Add tox.ini to run flake8
Change-Id: Ib46b8e5970cb220e4c99b3f7a3c1b12d81772afb
Signed-off-by: Thanh Ha <[email protected]>
Reinaldo Penno [Thu, 5 Mar 2015 19:09:21 +0000 (19:09 +0000)]
Merge "SFC Traceroute and OAM"
Reinaldo Penno [Thu, 5 Mar 2015 06:17:07 +0000 (06:17 +0000)]
Merge "SFF locator name is filled in corresponding RSP leaf"
Reinaldo Penno [Thu, 5 Mar 2015 03:00:48 +0000 (19:00 -0800)]
SFC Traceroute and OAM
Change-Id: I03e5f574d1f620a5945f8a1599594b3a9c97cc22
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Wed, 4 Mar 2015 19:38:21 +0000 (19:38 +0000)]
Merge " SFC-PY - NFQ classifier"
Andrej Kincel [Wed, 4 Mar 2015 12:50:19 +0000 (13:50 +0100)]
SFF locator name is filled in corresponding RSP leaf
- first SFF locator is taken (as everywhere else in code)
Change-Id: I92270aa16124f87104ff04f543562c4ddd38310f
Signed-off-by: Andrej Kincel <[email protected]>
Brady Johnson [Wed, 4 Mar 2015 06:53:21 +0000 (06:53 +0000)]
Merge "Remove <repositories> and <pluginRepositories> sections"
Reinaldo Penno [Wed, 4 Mar 2015 03:36:36 +0000 (03:36 +0000)]
Merge "Add rpc for readRenderedServicePathFirstHop"