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]>
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]>
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"
Yi Yang [Mon, 2 Mar 2015 16:55:31 +0000 (00:55 +0800)]
Add rpc for readRenderedServicePathFirstHop
Change-Id: Id7a1721343bdc1cb2e14ea1329d7647e0018dab8
Signed-off-by: Yi Yang <[email protected]>
Dusan Madar [Tue, 3 Mar 2015 17:10:34 +0000 (18:10 +0100)]
SFC-PY - NFQ classifier
Update docstrings, add some TODOs, introduce parse_ace()
Change-Id: Ifa7ba44fb72b789fca1be6d89a5237dd5b1483cf
Signed-off-by: Dusan Madar <[email protected]>
Reinaldo Penno [Tue, 3 Mar 2015 16:51:09 +0000 (16:51 +0000)]
Merge "Statistics Yang model should be set to false"
Brady Johnson [Sat, 28 Feb 2015 16:38:15 +0000 (17:38 +0100)]
SFCOFL2 minor bug fixes
- Added mac location type
- Improved logs
- minor bug fixes in SfcL2RspDataListener
- minor bug fixes in SfcL2AclDataListener
- SFCOFL2 still not complete, waiting for RSP hop ingress DPL which is coming soon.
Change-Id: I6b0b3822262434ebf44dafc4a31b5cfddf47c826
Signed-off-by: Brady Johnson <[email protected]>
Andrej Kincel [Tue, 3 Mar 2015 09:57:25 +0000 (10:57 +0100)]
Quick fixing SFC-UI
- due to restructure in DLUX, select2 js library was missing
and preventing whole SFC-UI to load
- DLUX modularity should be working now, meaning that we need
to rework the way SFC is integrated with DLUX
- this means adding dlux-feature instead of pulling only dlux-web bundle
(the problem is that DLUX may be dependent on some AD-sal stuff)
Change-Id: I1fb1ef428178e855dcc1be8f2222d9d2b7f2d880
Signed-off-by: Andrej Kincel <[email protected]>
Brady Johnson [Tue, 3 Mar 2015 09:36:57 +0000 (10:36 +0100)]
Fix for SingleFeatureTest
- As proposed by Colin Dixon on the Release mailing list
Change-Id: I555fb2eed55ced90d750a1eb4d8f625ed173471e
Signed-off-by: Brady Johnson <[email protected]>
Reinaldo Penno [Tue, 3 Mar 2015 06:45:45 +0000 (22:45 -0800)]
Statistics Yang model should be set to false
Change-Id: Ibf5d2bc40fd9c4186c9ae0558dfce9c1e78ddb0b
Signed-off-by: Reinaldo Penno <[email protected]>
Andrej Kincel [Mon, 2 Mar 2015 10:00:18 +0000 (11:00 +0100)]
Fixing classifier regression tests
Change-Id: I70af3612d62f478648f89e4c7cb4a78fe55fd5b3
Signed-off-by: Andrej Kincel <[email protected]>
Reinaldo Penno [Mon, 2 Mar 2015 08:35:58 +0000 (00:35 -0800)]
SFC/NSH Traceroute Fixes
- Fixed packet generation
- Fixed TLV generation for multi-hops
- Fixed SF test to add header for multi-hop
scenario
Change-Id: I01b92f84e5d5dfacb61da17ef047db235c3b96e2
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Mon, 2 Mar 2015 07:18:29 +0000 (07:18 +0000)]
Merge "SFC-PY - NFQ classifier"
Reinaldo Penno [Mon, 2 Mar 2015 01:49:49 +0000 (17:49 -0800)]
SFC Statistics Yang Model
- Ideally devices could push these stats to ODL.
- We will change SFC agent to do just that
- Alternatively ODL could poll when UI/RESTconf
requested the stats.
Change-Id: I8e5301af6328391c62532bd450c59e11b1586110
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Mon, 2 Mar 2015 00:54:57 +0000 (16:54 -0800)]
Removing unused code and fixing Sonar
Change-Id: I9eaca5c7dc2c2ed03b3ffdc676a36cee67efbdee
Signed-off-by: Reinaldo Penno <[email protected]>
Thanh Ha [Sun, 1 Mar 2015 20:52:51 +0000 (15:52 -0500)]
Remove <repositories> and <pluginRepositories> sections
It is recommended that developers and servers configure this locally via
settings.xml.
https://lists.opendaylight.org/pipermail/discuss/2015-January/004482.html
Change-Id: I0b78e64bf6bada7d5ab5832d5244a31a6c3114b7
Signed-off-by: Thanh Ha <[email protected]>
Reinaldo Penno [Sat, 28 Feb 2015 08:56:11 +0000 (00:56 -0800)]
Data Plane Services Decoding Bug
- With the rework of the service code a decoding bug was
introduced. Instead of passing a reference to the
data payload, a reference to a data structure was
passed to decoding function
Change-Id: I2a06a58183725967fe586195cc74058ae3dbf620
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Sat, 28 Feb 2015 07:44:45 +0000 (23:44 -0800)]
SB REST & Agent fixes
- Try/catch to deal with invalid UUIDs
- Fixed services name in agent nat->napt44
Change-Id: I8cc485f67c1de3f0e838f1e7339e0c74ba087f8b
Signed-off-by: Reinaldo Penno <[email protected]>
Dusan Madar [Fri, 27 Feb 2015 15:30:28 +0000 (16:30 +0100)]
SFC-PY - NFQ classifier
Add classifier/classifier.py which will serve as the NFQ classifier.
Work still in progress.
Change-Id: I7971d45a90b0035f41ed16e6ee4e83ad1fb12c3f
Signed-off-by: Dusan Madar <[email protected]>
Reinaldo Penno [Thu, 26 Feb 2015 22:10:56 +0000 (14:10 -0800)]
Automatic Creation of RSP
- In order to maintain backward compatibility and at the
same time allow multiple encaps automatic RSP will
be created when the SFP has no constaints or
modifiers.
- This also simplies for the user because it is one
less step.
Change-Id: Ib44c0bbda38a19210d5e615593519c65bf3b7a6d
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Thu, 26 Feb 2015 16:39:21 +0000 (08:39 -0800)]
SFC-GBP Integration: Multi Encap support I
- Each service-hop in the RSP will have a reference to a
SFF data plane locator. This allows any combination
of encap types. Until now VXLAN/NSH was exclusively
used.
- Added API to get RSP first hop. It returns all
NSH info + transport type + assocaited locator
- Disabled code to generate RSPs from SFPs automatically
- SFP can specify the transport-type for RSP creation.
If nothing is given, default will be VXLAN-GPE+NSH
- (todo) RSP creation will pick SFF data plane locators
that match the SFP transport type
- This will cleanly allow SFC to provide a straightforward API
to get first SFF and associated data plane locator
- Fix RSP API naming bug
- Fixed SF Chain yang state
- Added API to read data plane locator of a certain SFF
- Added RSP first hop container to RSP yang model
Change-Id: Ia70ecbc50bf7b171e3ac727ad5cd5c27754948e5
Signed-off-by: Reinaldo Penno <[email protected]>
Brady Johnson [Thu, 19 Feb 2015 15:37:37 +0000 (16:37 +0100)]
Refactor SFCOFL2 to support MPLS
SfcL2RspDataListener.java
SffGraph.java
- Added SffGraph to create a simple graph of the
SFFs using the RSP rendered-service-path-hop.
- This allows for multiple DataPlaneLocators, which
wasnt supported in SFCOFL2 previously.
SfcL2AclDataListener.java
- Read from RSP, not SFP
SfcL2FlowProgrammer.java
SfcOpenflowUtils.java
- refactor to use newer table structure
- now supports MPLS
- now both of these files are in the same l2renderer.openflow package
SfcL2FlowProgrammerInterface.java
- All flow programming is performed against an interface
- this will allow us to easily use an OVS impl later
-- For each SFF in the RSP check if its OF or OVS and use the corresponding impl
- this also makes it easier to unit test
SfcProviderRenderedPathAPI.java
- Added readRenderedServicePathExecutor and related methods
service-locator.yang
- Added MPLS
SfcOpenflowUtilsTest.java
- Update to reflect refactored code
Change-Id: I44f09885924ecc9ae9c67c0a356105b742ee207f
Signed-off-by: Brady Johnson <[email protected]>
Reinaldo Penno [Thu, 26 Feb 2015 08:41:44 +0000 (08:41 +0000)]
Merge "SFC-NSH TRaceroute Phase II"
Hongli Chen [Mon, 16 Feb 2015 03:54:18 +0000 (11:54 +0800)]
Change the deprecated APIs into the latest API in sfc provider
Signed-off-by: Hongli Chen <[email protected]>
Reinaldo Penno [Wed, 25 Feb 2015 16:43:21 +0000 (08:43 -0800)]
SFC-NSH TRaceroute Phase II
Fixed some bugs on packet generation
When addind SF type and name to trace response packet
SF pads with null to 32-bit boundary and encoded with UTF-8
Sending Trace packet to Service Path and Service Index: (13, 255)
Trace response...
Service-hop: 0. Service Type: firewall, Service Name: SF1, SFF Reporting Address: ('10.0.1.4', 18300)
Change-Id: Ic094f7e3970e5b69f5062ae5a4efa85489d6c9d8
Signed-off-by: Reinaldo Penno <[email protected]>
Andrej Kincel [Wed, 25 Feb 2015 09:13:37 +0000 (10:13 +0100)]
Creating set of ACL matches for classifier regression tests
+ classifier must be able to parse and configure all given
types of ACL matches - IPV4, IPV6 and MAC
Change-Id: I87946ec1c829e94ba5cf9177e1cdcead079d170e
Signed-off-by: Andrej Kincel <[email protected]>
Dusan Madar [Tue, 24 Feb 2015 13:53:24 +0000 (14:53 +0100)]
SFC-PY - fix sff_client.py, sfc_classifier_regression_messages.py
Fix sff_client.py when running without the '--trace-req' flag.
Fix sfc_classifier_regression_messages.py to always set 'path-id' to 1.
Change-Id: I0858492729896fb2c76e411ac574d813bbd66abf
Signed-off-by: Dusan Madar <[email protected]>
Andrej Kincel [Tue, 24 Feb 2015 12:03:28 +0000 (13:03 +0100)]
Sfcofl2 - fixing dependency on not more existing feature
- odl-flow-model feature was migrated to odl-openflowplugin-nsf-model feature
- odl-openflowplugin-nsf-model is contained in odl-openflowplugin-all, thus for fix only odl-flow-model should be removed
- also dependencies on model-flow-base and model-flow-service should be changed, as the bundles were migrated from controller to openflow project
Change-Id: I1c7528e926ce9a6eca0ada9f5cfc244a694f8eae
Signed-off-by: Andrej Kincel <[email protected]>
Reinaldo Penno [Tue, 24 Feb 2015 08:12:05 +0000 (00:12 -0800)]
SFC-NSH Traceroute
Change-Id: If350902a96c29bb863b5cd2d17ec01e57d63fcbe
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Sat, 21 Feb 2015 02:53:43 +0000 (02:53 +0000)]
Merge "Sfc-UI: fixing SFF SFdictionary data plane locator issues"
Dusan Madar [Fri, 20 Feb 2015 12:23:19 +0000 (13:23 +0100)]
SFC-PY - fix launcher bug introduced by commit
d4cdeca27ff688c9a427f94dc5c58fd3b17efe9e
Changes in commit
d4cdeca27ff688c9a427f94dc5c58fd3b17efe9e breaks service stopping.
launcher.py - manage asynchronous threads starting/stopping.
Change-Id: I5ededc9f42b548578a94e96002fead12d99dbf16
Signed-off-by: Dusan Madar <[email protected]>
Andrej Kincel [Fri, 20 Feb 2015 12:08:46 +0000 (13:08 +0100)]
Sfc-UI: fixing SFF SFdictionary data plane locator issues
+ removed classifier from SFF (as it no longer exists in YANG model)
Change-Id: I570480886abe1b2eb3b21a7f6315132c9a8e4c37
Signed-off-by: Andrej Kincel <[email protected]>
Reinaldo Penno [Fri, 20 Feb 2015 10:11:30 +0000 (02:11 -0800)]
Fixing service index
Change-Id: I29146435e08d3ffa3dab2be41c9162a7a8b04802
Signed-off-by: Reinaldo Penno <[email protected]>
Andrej Kincel [Thu, 19 Feb 2015 08:06:35 +0000 (09:06 +0100)]
SB REST: Enhancing Classifier listener
+ SB REST Classifier listener can send DELETE ACL message based only on ACLname (no need to fetch whole ACL DataObject)
+ SbRestAbstractTask: json is not more required. WsTask can work with json=null, even POST and PUT operations are working without exception: json=null causes only that REST message will not have any payload.
+ Fixed key service-index to service_index in sfc_agent.py
Change-Id: I16e447e41c3ff9cd47da6fdc36ceb6dbe569e9ff
Signed-off-by: Andrej Kincel <[email protected]>
Reinaldo Penno [Fri, 20 Feb 2015 09:45:39 +0000 (01:45 -0800)]
Changing service_index to service-index everywhere
- Agent needs to gracefully handle data plane
locators with something other than IP
Change-Id: Id855f137cbe620cba3de798ed6a7dc409330d6c7
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Fri, 20 Feb 2015 08:39:32 +0000 (00:39 -0800)]
Bug when storing thread in dict
- First level dict needs to be assigned empty before
second level can be assigned otherwise you get
a keyError exception
Change-Id: I95dc963b65647cce60456454481cef2d6da329a9
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Fri, 20 Feb 2015 08:19:43 +0000 (00:19 -0800)]
Logging level needs to be set before logging starts
- First message that prints the service type was not
visible
Change-Id: I8baac6c2269b970bf5526236973261f35d7681f4
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Fri, 20 Feb 2015 08:08:15 +0000 (00:08 -0800)]
SFC Agent needs to fail gracefully when:
- ODL has no SFFs configured
- Interfaces have no address or no IPv4 address
Change-Id: I1dfd55afed06f16cb2f2a635c51f3eb4bf64e703
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Thu, 19 Feb 2015 23:11:55 +0000 (15:11 -0800)]
Change UDP Server to SFF Server to be more descriptive
Change-Id: Ia38887d9b3982fc04c54966adc3e78a06174d510
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Thu, 19 Feb 2015 00:40:17 +0000 (00:40 +0000)]
Merge "Regenerate YANG XMLs used for dynamic Sfc-UI generation"
Reinaldo Penno [Wed, 18 Feb 2015 20:50:20 +0000 (20:50 +0000)]
Merge "SB REST: Tests for SbRest*Task"
Dusan Madar [Wed, 18 Feb 2015 15:16:32 +0000 (16:16 +0100)]
SFC-PY - refactor: update *_cli.py files
Make ovs_cli.py and xe_cli.py PEP 8 compliant.
Change-Id: I5d5f1228d251bd7d80ab588c29a8c0dd7734b106
Signed-off-by: Dusan Madar <[email protected]>
Dusan Madar [Wed, 18 Feb 2015 15:12:27 +0000 (16:12 +0100)]
SFC-PY - refactor: move classfier related files to the classifier/ directory
Move nfq_class_server.py, nfq_class_thread.py and service_classifier.py to the classifier/ directory.
Fix related imports.
Change-Id: I111499e6879a5743c8634efb0c4ae5bf7f17d2a7
Signed-off-by: Dusan Madar <[email protected]>
Andrej Kincel [Wed, 18 Feb 2015 13:43:20 +0000 (14:43 +0100)]
Regenerate YANG XMLs used for dynamic Sfc-UI generation
Change-Id: I36bc5c2eead9128160ef2f1deb9e6641e7d402dd
Signed-off-by: Andrej Kincel <[email protected]>
Andrej Kincel [Tue, 17 Feb 2015 11:47:14 +0000 (12:47 +0100)]
SB REST: Tests for SbRest*Task
+ Test for SbRestAclTask
+ Test for SbRestSfTask
+ Test for SbRestSffTask
+ Test for SbRestRspTask
Change-Id: I8e4f2ce3864385a1e4078fdbf717199b5495841f
Signed-off-by: Andrej Kincel <[email protected]>
Brady Johnson [Wed, 18 Feb 2015 11:06:51 +0000 (12:06 +0100)]
YANG Model changes to add MPLS to SFC
Also added HTTP Header Enrichment Service Function Type
Change-Id: I727b612b9619c5481c4c36a7faee02818a996b75
Signed-off-by: Brady Johnson <[email protected]>
Dusan Madar [Tue, 17 Feb 2015 16:06:55 +0000 (17:06 +0100)]
SFC-PY - refactor
Rename common/sff_globals.py to common/sfc_globals.py, remove old [and unused] sff_globals.py, fix related imports.
sfc_agent.py: move starting, stopping threads to common/launcher.py, make the file PEP 8 compliant.
Change-Id: I74026b2c3d03bbe6c492db1c0ee401c62a80700d
Signed-off-by: Dusan Madar <[email protected]>
Dusan Madar [Tue, 17 Feb 2015 14:58:12 +0000 (15:58 +0100)]
SFC-PY - refactor
Remove old nsh_*.py files (forget to remove them after copying to the nsh/ directory).
Make nsh/ directory content PEP 8 compliant.
Fix related imports.
Change-Id: I036c56ee438b8d7ed7e478d01ddf836b42f1528d
Signed-off-by: Dusan Madar <[email protected]>
Reinaldo Penno [Tue, 17 Feb 2015 08:49:18 +0000 (00:49 -0800)]
Fixing SFC OVS build issue with southbound config file
Change-Id: I44b39afe4f8cc1208c6b7425b6352ef037ea8e6d
Signed-off-by: Reinaldo Penno <[email protected]>
Dusan Madar [Mon, 16 Feb 2015 12:24:50 +0000 (13:24 +0100)]
SFC-PY - common:launcher.py
Fix logging error.
Change-Id: If43b8f51c5ca4d28f927cbcf357ccece4b770ca5
Signed-off-by: Dusan Madar <[email protected]>
Dusan Madar [Mon, 16 Feb 2015 10:50:43 +0000 (11:50 +0100)]
SFC-PY - start refactor
Add 'common' and 'nsh' package, remove sf/sff_thread.py, basic sfc_agent.py refactor.
Change-Id: I7e5e5abe28e5f531f49bf4708e8d483c41e21ca6
Signed-off-by: Dusan Madar <[email protected]>
Reinaldo Penno [Mon, 16 Feb 2015 23:06:03 +0000 (23:06 +0000)]
Merge "Bringing SFC OVS back into the fold"
Reinaldo Penno [Mon, 16 Feb 2015 23:04:26 +0000 (23:04 +0000)]
Merge "SB REST - Exporters refactor & unit test"
Reinaldo Penno [Mon, 16 Feb 2015 19:25:28 +0000 (11:25 -0800)]
Bringing SFC OVS back into the fold
Change-Id: Ia04b7c68ddf8aaea139f0a2a5b496003d6535d11
Signed-off-by: Reinaldo Penno <[email protected]>
Dusan Madar [Mon, 16 Feb 2015 13:19:33 +0000 (14:19 +0100)]
SFC-PY - refactor
Move odl2ovs.py, odl2ovs_cli.py and pysf_oldnsh.py to 'unused/' directory
Change-Id: Iefdc2b1a8485c76c60fbd4781cf5b582b0d5c85d
Signed-off-by: Dusan Madar <[email protected]>
ebrjohn [Tue, 10 Feb 2015 09:10:28 +0000 (10:10 +0100)]
SFCOFL2 should only work with OpenFlow switches
- put a check in SfcL2RspDataListener to only work with OpenFlow SFFs
- Minor improvements to the SFCOFL2 ACL listener
Change-Id: I1e005c41d869265a28f0cec0147030e75e4bbfb2
Signed-off-by: ebrjohn <[email protected]>
Andrej Kincel [Thu, 12 Feb 2015 07:35:46 +0000 (08:35 +0100)]
SB REST - Exporters refactor & unit test
+ JSON generated by Exporters is not containing pairs of key:null
anymore. This makes the work of target SB devices (e.g. sfc_agent) easier.
In other words, JSON now contains only valid key:value pairs.
+ Fixed exportJsonNameOnly to return an JSON array as top level (the same
behaviour as exportJson). In fact exportJsonNameOnly is not necessary
anymore.
+ Major refactor of Utils, SfExporter and SffExporter
+ Added test for AcLExporter
+ Added test for RspExporter
+ Added test for SfExporter
+ Added test for SffExporter
+ Added test for ExporterUtil
+ Fixed service_index key in sfc_agent.py
Change-Id: I0e78dc10cee50ae3bd526fe8b462934097c0002d
Signed-off-by: Andrej Kincel <[email protected]>
Reinaldo Penno [Sun, 15 Feb 2015 16:34:11 +0000 (08:34 -0800)]
Removing OVS Southbound Dependency to Normalize Build
Change-Id: I0d7b28a4a595a3da3abdaab52ae3303bd1d50c22
Signed-off-by: Reinaldo Penno <[email protected]>
Reinaldo Penno [Sat, 14 Feb 2015 09:46:42 +0000 (01:46 -0800)]
Fixing Compilation Problems
Change-Id: If36838a9952421ccd8187fd10f8f002f943234f4
Signed-off-by: Reinaldo Penno <[email protected]>