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]>
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"
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]>