sfc.git
9 years agoFix license header violations in sfc-provider 72/25072/1
Thanh Ha [Sun, 9 Aug 2015 23:37:05 +0000 (19:37 -0400)]
Fix license header violations in sfc-provider

Change-Id: I82f7d94495e466ba8fe28f6f4e3bcbe10d51ca25
Signed-off-by: Thanh Ha <[email protected]>
9 years agoService Path-id Model Changes 43/24943/2
Reinaldo Penno [Fri, 7 Aug 2015 23:43:08 +0000 (16:43 -0700)]
Service Path-id Model Changes

- Leaf to allow different generation algorithms
- Broke allocated and free into two lists

Change-Id: I769455b5bf96bb1be2a904a23570457a92f82a74
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoMerge "Service Path-Id Model"
Reinaldo Penno [Fri, 7 Aug 2015 04:17:51 +0000 (04:17 +0000)]
Merge "Service Path-Id Model"

9 years agoService Path-Id Model 75/24875/1
Reinaldo Penno [Thu, 6 Aug 2015 17:03:32 +0000 (10:03 -0700)]
Service Path-Id Model

This allows a few use-cases and critical functionality

- Reservation of path ids
- Association of a tenant with path-id(s)
- Proper tracking of path-ids outside SFP/RSP
- Clustering and persistence

Change-Id: I90b2eee1b54752fd7565d4beb26402dd83ff2905
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoMerge "Factor out a proper -rest feature for odl-sfc-provider."
Reinaldo Penno [Wed, 5 Aug 2015 21:06:25 +0000 (21:06 +0000)]
Merge "Factor out a proper -rest feature for odl-sfc-provider."

9 years agoBug 4093 - Yang module Fixes for pyang --ietf 07/24807/1
Reinaldo Penno [Wed, 5 Aug 2015 15:37:52 +0000 (08:37 -0700)]
Bug 4093 - Yang module Fixes for pyang --ietf

Generation of new Yin files

Change-Id: I48bdbec97192296f01259c783a1de246b78beac2
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoMerge "Move netconf-related SF description and monitoring info report into sfc-netconf"
Reinaldo Penno [Wed, 5 Aug 2015 05:40:55 +0000 (05:40 +0000)]
Merge "Move netconf-related SF description and monitoring info report into sfc-netconf"

9 years agoBug 4093 - Yang module Fixes for pyang --ietf 81/24781/7
Reinaldo Penno [Wed, 5 Aug 2015 03:57:35 +0000 (20:57 -0700)]
Bug 4093 - Yang module Fixes for pyang --ietf

Also moved symmetric path attribute assigned into
creation method

Change-Id: I1726a6d8723c302e545530d49d7c4084f713471c
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoFactor out a proper -rest feature for odl-sfc-provider. 69/24769/2
Ed Warnicke [Tue, 4 Aug 2015 16:56:51 +0000 (09:56 -0700)]
Factor out a proper -rest feature for odl-sfc-provider.

Please note: I've replaced all dependencies on odl-sf-provider
with odl-sfc-provider-rest.  I suspect that no all such features
properly *need* the rest bit, but the safe way to proceed seemed
to be this until they can each be considered.

Also moved odl-mdsal-apidocs to the odl-sfc-ui feature.

Change-Id: I2fa23933bf50390cbb1cee85954a992de8e32e05
Signed-off-by: Ed Warnicke <[email protected]>
9 years agoMove netconf-related SF description and monitoring info report into sfc-netconf 55/24755/2
Yi Yang [Tue, 4 Aug 2015 09:35:48 +0000 (17:35 +0800)]
Move netconf-related SF description and monitoring info report into sfc-netconf

  - Rework SF description and monitoring info report
  - Enable netconf-based SF creation
  - Separate SF description and monitoring info report from sfc-provider
  - Move all the netconf-related pieces into sfc-netconf

Change-Id: I5ccdcc8bced89eb50ffc041bdc601dcf890caa60
Signed-off-by: Yi Yang <[email protected]>
9 years agoBug 4080 - Symmetric Path ID is not present in RSP 27/24727/2
Reinaldo Penno [Mon, 3 Aug 2015 16:16:10 +0000 (09:16 -0700)]
Bug 4080 - Symmetric Path ID is not present in RSP

symmetric path-ids are implicitly consecutive but
they do not need to be for many reasons. Therefore
they must be present in RSP structure

Change-Id: I7877bc467c5ad12b5823fbd2b0b641364ac641ca
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoMerge "Sfc-provider: add new unit tests + API update"
Reinaldo Penno [Tue, 4 Aug 2015 01:15:05 +0000 (01:15 +0000)]
Merge "Sfc-provider: add new unit tests + API update"

9 years agoMerge "Sfc unit tests update & increased stability"
Reinaldo Penno [Tue, 4 Aug 2015 01:11:34 +0000 (01:11 +0000)]
Merge "Sfc unit tests update & increased stability"

9 years agoSfc-provider: add new unit tests + API update 97/24697/2
Vladimir Lavor [Fri, 31 Jul 2015 11:30:46 +0000 (13:30 +0200)]
Sfc-provider: add new unit tests + API update

Change-Id: I61666e321fb78cb187d29c3efdccdb87507da726
Signed-off-by: Vladimir Lavor <[email protected]>
Signed-off-by: Igor Bartak <[email protected]>
Signed-off-by: Peter Palmar <[email protected]>
9 years agoSfc unit tests update & increased stability 50/23950/8
Vladimir Lavor [Mon, 27 Jul 2015 09:16:04 +0000 (11:16 +0200)]
Sfc unit tests update & increased stability

Change-Id: I0b31e37902804594dda3683556005a3b40414159
Signed-off-by: Igor Bartak <[email protected]>
Signed-off-by: Vladimir Lavor <[email protected]>
9 years agoBug 3940 - fixed augmentations handling for SFF 90/23890/2
Tomas Cechvala [Wed, 8 Jul 2015 10:15:39 +0000 (12:15 +0200)]
Bug 3940 - fixed augmentations handling for SFF

When SFF gets to conf DS sooner than topology is populated in operational
DS, augmentations for ovsdb bridge and termination point fail to be
written into config DS. This patch solves this issue.

Change-Id: Icb2e81d88efd5a1806f9a0c304ea1cfe01a3c676
Signed-off-by: Tomas Cechvala <[email protected]>
9 years agoMerge "Fixing a bug in the client tool for SFCOFL2 demo:"
Brady Johnson [Thu, 23 Jul 2015 14:58:23 +0000 (14:58 +0000)]
Merge "Fixing a bug in the client tool for SFCOFL2 demo:"

9 years agoFixing a bug in the client tool for SFCOFL2 demo: 80/24480/1
Ricardo Noriega [Thu, 23 Jul 2015 14:42:49 +0000 (16:42 +0200)]
Fixing a bug in the client tool for SFCOFL2 demo:

    - VLAN id masking value was wrong

Change-Id: I7a5a4399fc4af62c9fa622c4ba779847e9648070
Signed-off-by: Ricardo Noriega <[email protected]>
9 years agoExplicitly set git-review branch to master 28/24428/1
Thanh Ha [Wed, 22 Jul 2015 19:26:09 +0000 (15:26 -0400)]
Explicitly set git-review branch to master

Change-Id: Id88b01dc5dd074b1e26b4921f9f03fe0cdc43b07
Signed-off-by: Thanh Ha <[email protected]>
9 years agoBug 4031 - SFC client broken for VXLAN legacy and GpeIP 67/24367/1
Reinaldo Penno [Wed, 22 Jul 2015 01:49:56 +0000 (18:49 -0700)]
Bug 4031 - SFC client broken for VXLAN legacy and GpeIP

SFC Client broken for VXLAN legacy

https://git.opendaylight.org/gerrit/#/c/24278/4

with this change

            # logger.debug('%s: Sending packets to %s', self.service_type, addr)
            # if nsh_decode.is_vxlan_nsh_legacy_message(data):
            # Disregard source port of received packet and send packet back to 6633
            # addr_l = list(addr)
            # addr_l[1] = 6633
            # addr = tuple(addr_l

Change-Id: I8af644f316f01a44e48da3f55d50eb9053567f37
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoUpdating Pypi Package After Classifier Support for NSH Type 1,3, Legacy 48/24348/1
Reinaldo Penno [Tue, 21 Jul 2015 15:10:52 +0000 (08:10 -0700)]
Updating Pypi Package After Classifier Support for NSH Type 1,3, Legacy

Change-Id: I7aa177be0cbfd543615c9d336dd2a59eb055daf8
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoNSH type 3 fixes 78/24278/4
Marcel Sestak [Fri, 17 Jul 2015 06:30:08 +0000 (08:30 +0200)]
NSH  type 3 fixes

Change-Id: I8d89a25f0ca2e9f2750812258c9bcd91f095b46d
Signed-off-by: Marcel Sestak <[email protected]>
9 years agoFixing flow problems when multi SFs are on the same SFF 94/24294/1
Brady Johnson [Mon, 20 Jul 2015 14:08:01 +0000 (16:08 +0200)]
Fixing flow problems when multi SFs are on the same SFF

- Also removing some rest_sender changes that
  were accidentally added in a previous patch

Change-Id: I0eb6b898965297858c77566575565d88b6706f0f
Signed-off-by: Brady Johnson <[email protected]>
9 years agoUpdating Pypi package with lastest changes 06/24206/1
Reinaldo Penno [Thu, 16 Jul 2015 14:41:00 +0000 (07:41 -0700)]
Updating Pypi package with lastest changes

Change-Id: Id88716fff06cb5f27c3062beb8c6077540612127
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agouploading SFC python package to Pypi server in JJ sfc-verify-python-master 08/23808/32
Marcel Sestak [Tue, 7 Jul 2015 09:47:04 +0000 (11:47 +0200)]
uploading SFC python package to Pypi server in JJ sfc-verify-python-master

Change-Id: Ib48df64a14fafa5667419d4d162ff8893d6e47e0
Signed-off-by: Marcel Sestak <[email protected]>
9 years agoBug 3928 - SFC sonar: Constructor Calls Overridable Method 65/23665/2
Ruijing Guo [Thu, 2 Jul 2015 00:59:01 +0000 (00:59 +0000)]
Bug 3928 - SFC sonar: Constructor Calls Overridable Method

Change-Id: I3a47c5f06076c0856fefcbb4d1d3fe2bce49ead1
Signed-off-by: Ruijing Guo <[email protected]>
9 years agoBug 3996 - SFC and OVS interop: SFC Client needs to send Dest IP in context header 1 23/24123/2
Reinaldo Penno [Tue, 14 Jul 2015 20:28:10 +0000 (13:28 -0700)]
Bug 3996 - SFC and OVS interop: SFC Client needs to send Dest IP in context header 1

Change-Id: Ia0e67467bb363ac213fc9e13efb3d0c52eaa57ba
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoBUG 3994 Fixing sfcofl2 crash when deleting RSPs. 09/24109/1
Brady Johnson [Tue, 14 Jul 2015 12:22:34 +0000 (14:22 +0200)]
BUG 3994 Fixing sfcofl2 crash when deleting RSPs.

- https://bugs.opendaylight.org/show_bug.cgi?id=3994

Change-Id: Iaa70139efcc3fc29b0859636d65930c57cde36c9
Signed-off-by: Brady Johnson <[email protected]>
9 years agoBug 3983 - NSH Inner Packet headers not constructed properly 43/24043/2
Reinaldo Penno [Sun, 12 Jul 2015 22:54:53 +0000 (15:54 -0700)]
Bug 3983 - NSH Inner Packet headers not constructed properly

Change-Id: Ib96a661e2aa73d4a50abba3e16c24736118e4e87
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoBug 3982 - SFC Agent does not work with OVS NSH v8 27/24027/2
Reinaldo Penno [Sat, 11 Jul 2015 09:30:58 +0000 (02:30 -0700)]
Bug 3982 - SFC Agent does not work with OVS NSH v8

- NSH Client and Agent fixes for OVS Interop
- Python regression tests for SFC OVS
- Process packets with the format:
  IP + UDP + VXLAN (not GPE) + NSH .. on port 6633
  correctly
- If legacy NSH always send pakets on port 6633

Change-Id: I123186983900bbce07d39b940e560e443300c20e
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoBug 3980 - NSH client broken - Not able to send packets 04/24004/2
Reinaldo Penno [Fri, 10 Jul 2015 16:28:04 +0000 (09:28 -0700)]
Bug 3980 - NSH client broken - Not able to send packets

the following patch broke NSH client

https://git.opendaylight.org/gerrit/#/c/23415/1

root@SFF-1-p:/vagrant/sfc-py/sfc# python3.4 sff_client.py --remote-sff-ip 192.168.33.31
 --remote-sff-port 6633 --sfp-id 1 --sfp-index 255
ERROR:asyncio:Exception in callback <bound method MyVxlanGpeNshIpClient.connection_made
of <__main__.MyVxlanGpeNshIpClient object at 0x7f52828a6f28>>(<asyncio.selector_events._
SelectorDatagramTransport object at 0x7f528296f748>,)
handle: Handle(<bound method MyVxlanGpeNshIpClient.connection_made of <__main__.MyVxlanG
peNshIpClient object at 0x7f52828a6f28>>, (<asyncio.selector_events._SelectorDatagramTra
nsport object at 0x7f528296f748>,))
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/events.py", line 39, in _run
    self._callback(*self._args)
  File "sff_client.py", line 90, in connection_made
    udp_packet = build_udp_packet(self.dest_addr, "10.0.1.1", 10000, self.dest_port, "te
st".encode('utf-8'))
  File "/vagrant/sfc-py/sfc/nsh/encode.py", line 282, in build_udp_packet
    ip_header, ip_header_pack = build_ipv4_header(total_len, socket.IPPROTO_UDP, src_ip,
 dest_ip)
  File "/vagrant/sfc-py/sfc/nsh/encode.py", line 237, in build_ipv4_header
    ip_header = IPHEADER(IP_HEADER_LEN, IPV4_VERSION, IPV4_TOS, ip_tot_len, IPV4_PACKET_
ID, 0, IPV4_TTL, proto, 0,
NameError: name 'IPHEADER' is not defined

Change-Id: I94ecec23c4de60f3f200d1f8e08c03ec9ddcf32e
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoDemo fix and minor flow fix 51/23951/1
Brady Johnson [Tue, 7 Jul 2015 15:18:13 +0000 (17:18 +0200)]
Demo fix and minor flow fix

- With multiple SFs per SFF, minor problem with flows
- Minor bug fixes to sfcofl2 demo client_tool

Change-Id: I1b5b7c881fb8a1f8c50ffd5a926ed514fb8b1c6f
Signed-off-by: Brady Johnson <[email protected]>
9 years agoBug3747 SfcProviderGraph & TopologyNode unit tests 96/23596/2
Vlado Lavor [Tue, 30 Jun 2015 14:20:44 +0000 (16:20 +0200)]
Bug3747 SfcProviderGraph & TopologyNode unit tests

Change-Id: I7cc005313096ae33a2f482387b5133cc10ec13e6
Signed-off-by: Vlado Lavor <[email protected]>
9 years agoMerge "Bug3747 fix test failures in SfcServiceFunctionRoundRobinAPI.class"
Reinaldo Penno [Mon, 6 Jul 2015 16:13:04 +0000 (16:13 +0000)]
Merge "Bug3747 fix test failures in SfcServiceFunctionRoundRobinAPI.class"

9 years agoBug3747 fix test failures in SfcServiceFunctionRoundRobinAPI.class 71/23771/1
Vlado Lavor [Mon, 6 Jul 2015 11:07:19 +0000 (13:07 +0200)]
Bug3747 fix test failures in SfcServiceFunctionRoundRobinAPI.class

Change-Id: I87f7d96c55e555b6c2eeb88a88e12e9e24d8e564
Signed-off-by: Vlado Lavor <[email protected]>
9 years agoImprovements to sfcofl2 demo scripts 65/23765/1
Brady Johnson [Fri, 3 Jul 2015 15:19:28 +0000 (17:19 +0200)]
Improvements to sfcofl2 demo scripts

- Improved update_tor, no longer depends on gw flows
- Added client_tool to be able to set the RSP the client will use
- sfcofl2_mininet no longer uses static/hard-coded flow files

Change-Id: I0a75c9f47b8544bf217cff1ed8df7cf2d4041e27
Signed-off-by: Brady Johnson <[email protected]>
9 years agoChanging the SFCOFL2 OF thread pool queueing 43/23743/3
Brady Johnson [Fri, 3 Jul 2015 15:13:31 +0000 (17:13 +0200)]
Changing the SFCOFL2 OF thread pool queueing

- Still want to be able to limit max queue size

Change-Id: I3501e9a1d4490427acc2102a238ec01203ed381a
Signed-off-by: Brady Johnson <[email protected]>
9 years agoMerge "Bug 3795: Fix TE mapping removal on RSP deletion"
Brady Johnson [Mon, 6 Jul 2015 06:50:05 +0000 (06:50 +0000)]
Merge "Bug 3795: Fix TE mapping removal on RSP deletion"

9 years agoMerge "MD-SAL based network topology APIs"
Brady Johnson [Fri, 3 Jul 2015 08:45:24 +0000 (08:45 +0000)]
Merge "MD-SAL based network topology APIs"

9 years agoMD-SAL based network topology APIs 94/19994/7
Yi Yang [Mon, 11 May 2015 14:22:37 +0000 (22:22 +0800)]
MD-SAL based network topology APIs

It depends on l2switch to add HostNode, a SF
(Service Function) is a HostNode, we can get
a SF's port attached to a SFF (Service Function
Forwarder) by SF's DPL(Data Plane Locator), we
can also get ports between two SFFs by SFF node
id. sfcofl2 and shortest path scheduler algorithm
can use them to simplify many operations, network
topology provides full network topology info, we
mustn't use SFC models to get some non-existing
device info.

Change-Id: I09d81ce6a9e71525dcf988aa0a862fa5837aa71e
Signed-off-by: Yi Yang <[email protected]>
9 years agoMerge "Bug 3927 - SFC sonar: Use Index Of Char"
Reinaldo Penno [Fri, 3 Jul 2015 06:39:07 +0000 (06:39 +0000)]
Merge "Bug 3927 - SFC sonar: Use Index Of Char"

9 years agoMerge "Bug 3926 - SFC sonar: Constants should be declared "final static""
Reinaldo Penno [Fri, 3 Jul 2015 06:38:32 +0000 (06:38 +0000)]
Merge "Bug 3926 - SFC sonar: Constants should be declared "final static""

9 years agoBug 3932 - Network Exceptions not caught when Python Agent Started 14/23714/3
Reinaldo Penno [Fri, 3 Jul 2015 05:32:42 +0000 (22:32 -0700)]
Bug 3932 - Network Exceptions not caught when Python Agent Started

Change-Id: I3621f4272d397ebd1e5b738ba79d5ec81a251c91
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoBug 3927 - SFC sonar: Use Index Of Char 64/23664/1
Ruijing Guo [Thu, 2 Jul 2015 00:41:13 +0000 (00:41 +0000)]
Bug 3927 - SFC sonar: Use Index Of Char

Change-Id: I6fdf76ecc7d174414dff0d4d30da4c456617786d
Signed-off-by: Ruijing Guo <[email protected]>
9 years agoBug 3926 - SFC sonar: Constants should be declared "final static" 63/23663/1
Ruijing Guo [Thu, 2 Jul 2015 00:28:16 +0000 (00:28 +0000)]
Bug 3926 - SFC sonar: Constants should be declared "final static"

Change-Id: I3ea5e65bacb9c85449758675057864b371412d12
Signed-off-by: Ruijing Guo <[email protected]>
9 years agoBug3747 sfc-provider SfcProviderServiceFunctionAPI.class additional tests 16/23416/2
Vlado Lavor [Fri, 26 Jun 2015 13:16:41 +0000 (15:16 +0200)]
Bug3747 sfc-provider SfcProviderServiceFunctionAPI.class additional tests

Change-Id: I19c3df35b5c99cc43ad65e4e88e3d5bbd3d64659
Signed-off-by: Vlado Lavor <[email protected]>
9 years agoMerge "Bug3747 sfc-provider update SfcServiceFunctionSchedulerAPITest"
Reinaldo Penno [Wed, 1 Jul 2015 07:44:03 +0000 (07:44 +0000)]
Merge "Bug3747 sfc-provider update SfcServiceFunctionSchedulerAPITest"

9 years agoMerge changes I62d1e828,I47caa069
Reinaldo Penno [Wed, 1 Jul 2015 07:40:00 +0000 (07:40 +0000)]
Merge changes I62d1e828,I47caa069

* changes:
  Bug3747 RandomScheduler % RoundRobinScheduler junit tests
  Bug3747 SfcProviderServiceFunctionGroupAPI.class coverage increased

9 years agoMerge "Bug 3916 - SFC blocker sonar: equals and hashCode should be overridden in...
Reinaldo Penno [Wed, 1 Jul 2015 07:34:11 +0000 (07:34 +0000)]
Merge "Bug 3916 - SFC blocker sonar: equals and hashCode should be overridden in pairs"

9 years agoBug3747 sfc-provider update SfcServiceFunctionSchedulerAPITest 63/23263/2
Vlado Lavor [Thu, 25 Jun 2015 11:06:06 +0000 (13:06 +0200)]
Bug3747 sfc-provider update SfcServiceFunctionSchedulerAPITest

Change-Id: Id8ed494b565ebb4e2dd1f3f112d60b8711281e7c
Signed-off-by: Vlado Lavor <[email protected]>
9 years agoBug 3795: Fix TE mapping removal on RSP deletion 97/22897/2
Florin Coras [Wed, 17 Jun 2015 22:33:50 +0000 (15:33 -0700)]
Bug 3795: Fix TE mapping removal on RSP deletion

Change-Id: Ifd77e3d46c25ddee19fa5c804fa95adfad3ebfc3
Signed-off-by: Florin Coras <[email protected]>
(cherry picked from commit 24fe0683a7c14a7237037a78b3284dfe7d7c9539)

9 years agoMerge "Bug3747 sfc-provider increase coverage - SfcProviderAclApi.class"
Reinaldo Penno [Wed, 1 Jul 2015 07:33:04 +0000 (07:33 +0000)]
Merge "Bug3747 sfc-provider increase coverage - SfcProviderAclApi.class"

9 years agoBug 3916 - SFC blocker sonar: equals and hashCode should be overridden in pairs 24/23624/1
Ruijing Guo [Wed, 1 Jul 2015 05:39:51 +0000 (05:39 +0000)]
Bug 3916 - SFC blocker sonar: equals and hashCode should be overridden in pairs

Change-Id: I710b6d5a4a473650142a2112b3fc44ef3e6700e5
Signed-off-by: Ruijing Guo <[email protected]>
9 years agoBug3747 RandomScheduler % RoundRobinScheduler junit tests 77/23577/1
Vlado Lavor [Tue, 30 Jun 2015 09:09:06 +0000 (11:09 +0200)]
Bug3747 RandomScheduler % RoundRobinScheduler junit tests

Change-Id: I62d1e828a529a54f64e728d5bfdc6622a6645398
Signed-off-by: Vlado Lavor <[email protected]>
9 years agoUse artifact imports 58/23558/4
Robert Varga [Mon, 29 Jun 2015 22:49:18 +0000 (00:49 +0200)]
Use artifact imports

Rather than repeating version, use an imported dependencyManagement
section.

Change-Id: I4326ada7dbb940edce17c54756906532e4594f00
Signed-off-by: Robert Varga <[email protected]>
9 years agoRemove unneeded odlparent overrides 57/23557/4
Robert Varga [Mon, 29 Jun 2015 22:37:00 +0000 (00:37 +0200)]
Remove unneeded odlparent overrides

odlparent defines versions as well as pluginManagement/build
declarations equivalent to these. Simplify pom files by removing these
unneeded overrides.

Change-Id: I6af1cf445b90f045b316fe0f15648686facf9aca
Signed-off-by: Robert Varga <[email protected]>
9 years agoBug3747 SfcProviderServiceFunctionGroupAPI.class coverage increased 01/23501/1
Vlado Lavor [Mon, 29 Jun 2015 10:10:51 +0000 (12:10 +0200)]
Bug3747 SfcProviderServiceFunctionGroupAPI.class coverage increased

Change-Id: I47caa06901a99dc58fd3c643de864daf4660f966
Signed-off-by: Vlado Lavor <[email protected]>
9 years agoBug3747 sfc-provider increase coverage - SfcProviderAclApi.class 54/23254/3
Vlado Lavor [Thu, 25 Jun 2015 08:40:32 +0000 (10:40 +0200)]
Bug3747 sfc-provider increase coverage - SfcProviderAclApi.class

Change-Id: Ia535d72e1acab4e45932fc6d03d8bfe4bd71f65d
Signed-off-by: Vlado Lavor <[email protected]>
9 years agoMerge "Fixing Sonar Problems and Cleaning"
Reinaldo Penno [Fri, 26 Jun 2015 16:12:24 +0000 (16:12 +0000)]
Merge "Fixing Sonar Problems and Cleaning"

9 years agometadata in sfc-classifier + NSH type-3 support 15/23415/1
Marcel Sestak [Fri, 26 Jun 2015 12:38:50 +0000 (14:38 +0200)]
metadata in sfc-classifier + NSH type-3 support

Change-Id: I363afeaab345112694db793ce4c14ed65d5a4d62
Signed-off-by: Marcel Sestak <[email protected]>
9 years agoFixing Sonar Problems and Cleaning 51/23251/2
Reinaldo Penno [Thu, 25 Jun 2015 07:10:03 +0000 (00:10 -0700)]
Fixing Sonar Problems and Cleaning

- SfcProviderRpc.java
  - Using older datastore methods
  - Non-compliant Exception catching

Change-Id: I99e0b77d449ebd2210b8eadae3849d84bc89da0b
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoMerge "Bug 3848 - SFC Client does not work on Windows"
Reinaldo Penno [Wed, 24 Jun 2015 17:02:27 +0000 (17:02 +0000)]
Merge "Bug 3848 - SFC Client does not work on Windows"

9 years agoBug 3850 - SFC Sonar: Breaking package dependencies 02/23202/3
Reinaldo Penno [Tue, 23 Jun 2015 20:59:23 +0000 (13:59 -0700)]
Bug 3850 - SFC Sonar: Breaking package dependencies

Introduced a new API class so that the Locking methods
can be outside the main OpendaylightSfc class. This breaks
one of the many package cycles

Changed all other files accordingly

Change-Id: I444d62e83a726731d52da3bcdaf226c1ebfc1225
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoSfcOvsUtil coverage increased + SfcOvsDataStoreAPI tests update 05/22105/6
Vlado Lavor [Mon, 8 Jun 2015 14:45:49 +0000 (16:45 +0200)]
SfcOvsUtil coverage increased + SfcOvsDataStoreAPI tests update

Change-Id: I37a8500db9581c144f8151ee14678d6da0018d15
Signed-off-by: Vlado Lavor <[email protected]>
9 years agoMerge "Rework unreliable tests in sfc-provider"
Reinaldo Penno [Wed, 24 Jun 2015 09:59:17 +0000 (09:59 +0000)]
Merge "Rework unreliable tests in sfc-provider"

9 years agoBug 3848 - SFC Client does not work on Windows 92/23192/2
Reinaldo Penno [Tue, 23 Jun 2015 18:37:54 +0000 (11:37 -0700)]
Bug 3848 - SFC Client does not work on Windows

- Bug reported by Haeffner, Walter, Vodafone DE
- Availble signals in windows are different from Linux. Introduced
  platform dependent code
- import paramiko is problematic on windows. Surrounded with
  try..Except

Change-Id: Ie2195e7b423f8e8e7b9afbd0338a818e2e62c8f9
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoRework unreliable tests in sfc-provider 64/23164/1
Vlado Lavor [Tue, 23 Jun 2015 10:45:17 +0000 (12:45 +0200)]
Rework unreliable tests in sfc-provider

Change-Id: I440202f2ce602ceea2921b7cc71087a5874c4ce0
Signed-off-by: Vlado Lavor <[email protected]>
9 years agoBug 3825 : Adding NSHC fields into GUI and JSON 39/23039/1
Reinaldo Penno [Sun, 21 Jun 2015 07:13:04 +0000 (00:13 -0700)]
Bug 3825 : Adding NSHC fields into GUI and JSON

This patch adds Network Context Header fields into the GUI
and passes thoses fields into the corresponding JSON to
ODL

Change-Id: Iadd11221673766ca391e1ac16fd5dbdef1a86fa0
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoBug 3825 : Allowing flow keyword into OVS fields 27/23027/3
Reinaldo Penno [Sat, 20 Jun 2015 07:01:32 +0000 (00:01 -0700)]
Bug 3825 : Allowing flow keyword into OVS fields

This is part of the fix. It allows the 'flow'
keyword into OVS fields

Create new Input field at top level to provide
bridge name

Change-Id: I296b048d64ba7c157532380441b632fbf67bb0ac
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoMerge "Revert "Add Connected SFF Dictionary into SFF""
Reinaldo Penno [Sat, 20 Jun 2015 06:20:01 +0000 (06:20 +0000)]
Merge "Revert "Add Connected SFF Dictionary into SFF""

9 years agoRevert "Add Connected SFF Dictionary into SFF" 22/23022/1
Reinaldo Penno [Sat, 20 Jun 2015 00:41:23 +0000 (00:41 +0000)]
Revert "Add Connected SFF Dictionary into SFF"

This reverts commit e5067e8e51f9e09e7340d029a9eaca43a0ec969b.

Change-Id: If397cc6c0d65acc5121ddcccdf1cfb26dc368d6f
Signed-off-by: Your Name <[email protected]>
9 years agoMinor improvements and increased coverage in sfc-sb-rest tests 44/21644/4
Vlado Lavor [Tue, 2 Jun 2015 10:55:45 +0000 (12:55 +0200)]
Minor improvements and increased coverage in sfc-sb-rest tests

Change-Id: Ia694820b894b5fcd087c40a6a03643be0dc78a29
Signed-off-by: Vlado Lavor <[email protected]>
9 years agoMerge "Bug 3748: Increased coverage in sfc-sb-rest"
Reinaldo Penno [Fri, 19 Jun 2015 16:36:21 +0000 (16:36 +0000)]
Merge "Bug 3748: Increased coverage in sfc-sb-rest"

9 years agoBug 3748: Increased coverage in sfc-sb-rest 31/21631/5
Vlado Lavor [Tue, 2 Jun 2015 10:02:16 +0000 (12:02 +0200)]
Bug 3748: Increased coverage in sfc-sb-rest

Change-Id: I529651340ddc294b69494b22c35afa54a40b6a22
Signed-off-by: Vlado Lavor <[email protected]>
9 years agoMerge "Bug 3816 - sonar critical: Methods named "equals" should override Object.equal...
Brady Johnson [Fri, 19 Jun 2015 07:25:02 +0000 (07:25 +0000)]
Merge "Bug 3816 - sonar critical: Methods named "equals" should override Object.equals(Object)"

9 years agoBug 3816 - sonar critical: Methods named "equals" should override Object.equals(Object) 50/22950/2
Ruijing Guo [Fri, 19 Jun 2015 02:07:29 +0000 (02:07 +0000)]
Bug 3816 - sonar critical: Methods named "equals" should override Object.equals(Object)

Change-Id: I071bd9f8c541af5bb796e6171a03cbc423778ba3
Signed-off-by: Ruijing Guo <[email protected]>
9 years agoBug 3815 - sonar critical: Array is stored directly 57/22957/1
Ruijing Guo [Fri, 19 Jun 2015 03:40:50 +0000 (03:40 +0000)]
Bug 3815 - sonar critical: Array is stored directly

Change-Id: I6c2d5c0580209401143a668993fb3ae042eb16db
Signed-off-by: Ruijing Guo <[email protected]>
9 years agoMerge "Automations in sfcofl2 mininet scripts"
Brady Johnson [Thu, 18 Jun 2015 20:06:51 +0000 (20:06 +0000)]
Merge "Automations in sfcofl2 mininet scripts"

9 years agoAutomations in sfcofl2 mininet scripts 16/22916/1
Brady Johnson [Thu, 11 Jun 2015 08:47:59 +0000 (10:47 +0200)]
Automations in sfcofl2 mininet scripts

- General clean up of scripts for demo

Change-Id: I039ada2c030f6bfe5b8de29da846a7ce977cdb02
Signed-off-by: Brady Johnson <[email protected]>
9 years agoFixing NPE in sfcofl2 packetIn Handler 98/22798/2
Brady Johnson [Wed, 17 Jun 2015 13:44:47 +0000 (15:44 +0200)]
Fixing NPE in sfcofl2 packetIn Handler

- Adding null checks in case the packet flow cookie is not available.
- https://bugs.opendaylight.org/show_bug.cgi?id=3777

Change-Id: Ie69aa5651ce5e9f5076a3f30e9d05661e166d1ef
Signed-off-by: Brady Johnson <[email protected]>
9 years agoscript for building setup python package 70/21870/7
Marcel Sestak [Thu, 4 Jun 2015 16:43:50 +0000 (12:43 -0400)]
script for building setup python package

Change-Id: Id596b5b6b4ff5bcb3a444c3c07d69637d7b0d3e7
Signed-off-by: Marcel Sestak <[email protected]>
9 years agoMerge "Use SF from SFP hop if defined and override algorithem selection"
Brady Johnson [Thu, 11 Jun 2015 09:33:15 +0000 (09:33 +0000)]
Merge "Use SF from SFP hop if defined and override algorithem selection"

9 years agoUse SF from SFP hop if defined and override algorithem selection 88/21488/7
shlomi [Sat, 30 May 2015 14:17:34 +0000 (17:17 +0300)]
Use SF from SFP hop if defined and override algorithem selection

- https://bugs.opendaylight.org/show_bug.cgi?id=3297
- validate matching between SFP hops and chain definition

Change-Id: I07bea9e1f2f06f180689381330251b736ea4bd1f
Signed-off-by: shlomi <[email protected]>
9 years agoBugfixes for ARP and Mininet script: 83/22283/1
Ricardo Noriega [Wed, 10 Jun 2015 14:50:48 +0000 (16:50 +0200)]
Bugfixes for ARP and Mininet script:

 - Fixing Target Protocol Address and Sender Protocol Address for ARP reply packets.
 - Bugfix to create the correspondent SFs per SFF in the mininet script.

Change-Id: I2d7f9ce2e0f8b0481c0381421f8772eabf9a8711
Signed-off-by: Ricardo Noriega <[email protected]>
9 years agoMerge "Enable skipdist for tox version >= 1.6"
Reinaldo Penno [Tue, 9 Jun 2015 05:56:29 +0000 (05:56 +0000)]
Merge "Enable skipdist for tox version >= 1.6"

9 years agoUpdates to sfcofl2_mininet script 72/21172/3
Brady Johnson [Wed, 27 May 2015 08:12:13 +0000 (10:12 +0200)]
Updates to sfcofl2_mininet script

- Setting number of SFs per SFF
- Add Top-of-Rack topology option

Change-Id: I32eacb0e8bacac5632c90c5530bd271e8131ebcc
Signed-off-by: Brady Johnson <[email protected]>
9 years agoBug 3591 - Get the SFF mac from the Mac/VLAN DPLs 35/21935/1
Brady Johnson [Fri, 5 Jun 2015 10:00:54 +0000 (12:00 +0200)]
Bug 3591 - Get the SFF mac from the Mac/VLAN DPLs

- Currently always getting the mac from the SFF OFS augmentation,
  even if the DPL is Mac/Vlan.
- https://bugs.opendaylight.org/show_bug.cgi?id=3591

Change-Id: I430d8a3c2e7aea7b52a877721ff754c6062962ba
Signed-off-by: Brady Johnson <[email protected]>
9 years agoEnable skipdist for tox version >= 1.6 86/21886/1
Thanh Ha [Thu, 4 Jun 2015 16:43:50 +0000 (12:43 -0400)]
Enable skipdist for tox version >= 1.6

Change-Id: Id09151cbf692499d99db6d2d02d1a970479c1ba2
Signed-off-by: Thanh Ha <[email protected]>
9 years agoMerge "Bug 3571 OVSDB Connection info changed SFCOVS no longer sees node for NB SFF...
Brady Johnson [Thu, 4 Jun 2015 12:16:34 +0000 (12:16 +0000)]
Merge "Bug 3571 OVSDB Connection info changed SFCOVS no longer sees node for NB SFF CRUD"

9 years agoMerge "performace issue improvements"
Reinaldo Penno [Thu, 4 Jun 2015 07:03:19 +0000 (07:03 +0000)]
Merge "performace issue improvements"

9 years agoBug 3571 OVSDB Connection info changed SFCOVS no longer sees node for NB SFF CRUD 21/21821/2
Keith Burns (alagalah) [Wed, 3 Jun 2015 20:12:28 +0000 (13:12 -0700)]
Bug 3571 OVSDB Connection info changed SFCOVS no longer sees node for NB SFF CRUD

tp-id: changed to short string, not concatenation.

Change-Id: I444ee6ff00ab6d3c7179ead9e7120a4b16aa1098
Signed-off-by: Keith Burns (alagalah) <[email protected]>
9 years agoFor TcpProxy SFs, reply to the SF ARP messages 25/21625/4
Ricardo Noriega [Tue, 2 Jun 2015 09:49:15 +0000 (11:49 +0200)]
For TcpProxy SFs, reply to the SF ARP messages

Bug ID 3294

https://bugs.opendaylight.org/show_bug.cgi?id=3294

Change-Id: I6da52c8333360e7928fc3b1d2ea3d2c992beef6b
Signed-off-by: Ricardo Noriega <[email protected]>
9 years agoPatch set for already merged change. 35/21635/1
Brady Johnson [Tue, 2 Jun 2015 10:34:39 +0000 (12:34 +0200)]
Patch set for already merged change.

- This change was already merged, so submitting patch-set separately
    https://git.opendaylight.org/gerrit/#/c/21612/

Change-Id: I66ec0b7e1231956b1e51ad932f7efef2b5de2872
Signed-off-by: Brady Johnson <[email protected]>
9 years agoMerge "Correctly handling SFFs with multiple SFs"
Brady Johnson [Tue, 2 Jun 2015 09:46:52 +0000 (09:46 +0000)]
Merge "Correctly handling SFFs with multiple SFs"

9 years agoCorrectly handling SFFs with multiple SFs 12/21612/1
Brady Johnson [Tue, 2 Jun 2015 08:28:41 +0000 (10:28 +0200)]
Correctly handling SFFs with multiple SFs

- When getting an SF DPL, make sure it matches the SFF name
- https://bugs.opendaylight.org/show_bug.cgi?id=3537

Change-Id: I7292e8899d63b92c5a9c9d12a9cbe1fcc03a24f6
Signed-off-by: Brady Johnson <[email protected]>
9 years agoSfcOvsDataStoreAPI junit tests + minor repair in SfcOvsUtil 04/21304/7
Vlado Lavor [Thu, 28 May 2015 09:33:53 +0000 (11:33 +0200)]
SfcOvsDataStoreAPI junit tests + minor repair in SfcOvsUtil

Change-Id: I44eb767fb8392a08e44a61991d5061dafc581061
Signed-off-by: Vlado Lavor <[email protected]>
9 years agoperformace issue improvements 32/21132/4
Marcel Sestak [Tue, 26 May 2015 10:39:31 +0000 (12:39 +0200)]
performace issue improvements

Change-Id: I11d8594f16afb50506f65e718a17ac757d3e0308
Signed-off-by: Marcel Sestak <[email protected]>
9 years agoMerge "Bumping versions from Lithium to Beryllium."
Brady Johnson [Sun, 31 May 2015 15:18:56 +0000 (15:18 +0000)]
Merge "Bumping versions from Lithium to Beryllium."

9 years agoBug 3396: Ensure hop uniqueness in TE mappings. 01/21501/1
Florin Coras [Tue, 26 May 2015 04:26:49 +0000 (21:26 -0700)]
Bug 3396: Ensure hop uniqueness in TE mappings.

Change-Id: Iabca1e491799da8b4406639640317d6d735538d5
Signed-off-by: Florin Coras <[email protected]>
(cherry picked from commit eccac77de25fe2f3cf8731f0d1525d42ed1ee130)

9 years agoBumping versions from Lithium to Beryllium. 35/20735/6
Brady Johnson [Tue, 19 May 2015 12:59:22 +0000 (14:59 +0200)]
Bumping versions from Lithium to Beryllium.

- The Version-bump.sh script was used
https://wiki.opendaylight.org/view/File:Version-bump.sh
- Had to manually change yangtools versions
    from: <date>.7-SNAPSHOT
    to:   <date>.8-SNAPSHOT

Change-Id: Ic4faf8d59908807b7003f3f1d70ff8040b7d45d0
Signed-off-by: Brady Johnson <[email protected]>