sfc.git
9 years agoTest coverage for Service Path ID 08/26308/5
Reinaldo Penno [Wed, 2 Sep 2015 05:23:45 +0000 (22:23 -0700)]
Test coverage for Service Path ID

- Hopefully 100% test coverage for Service Path ID file and algorithm
- Refactored RSP Test to use same abstract class as SPID

Change-Id: Iffe877abcea245d00d7f69e9a8f1dc2fdcbfefb7
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoMerge "Migrate netconf/restconf dependencies"
Reinaldo Penno [Thu, 3 Sep 2015 20:18:49 +0000 (20:18 +0000)]
Merge "Migrate netconf/restconf dependencies"

9 years agoMigrate netconf/restconf dependencies 39/26239/8
Tomas Cere [Mon, 31 Aug 2015 15:18:39 +0000 (17:18 +0200)]
Migrate netconf/restconf dependencies

Change-Id: Ic3c17dc3701dc97f23691fe73875573a2b630766
Signed-off-by: Tomas Cere <[email protected]>
9 years agoAdd new type support while mapping 58/25458/6
Johnson Li [Wed, 2 Sep 2015 05:15:31 +0000 (13:15 +0800)]
Add new type support while mapping

When mapping OVS bridges to SFFs or mapping SFFs to OVS briges,
we add new port types(dpdk/dpdkvhost/dpdkvhostuser) support.

Change Log:
v1: Add null test for otherLocatorType.

Change-Id: I067370eea27a7ed4176a76b619cabc367169690d
Signed-off-by: Johnson Li <[email protected]>
9 years agoAdd new fields for OVS Options 00/25400/3
Johnson Li [Wed, 2 Sep 2015 02:42:26 +0000 (10:42 +0800)]
Add new fields for OVS Options

When creating VxLAN + GPE + NSH tunnel ports, we may use
in_nsp/in_nsi/out_nsp/out_nsi as port options. These options
should also be translated when mapping SFFs to OVSs or mapping
OVSs to SFFs.

Change-Id: Ib2e928107820108aca33f25ce9334ff887f7e4d3
Signed-off-by: Johnson Li <[email protected]>
9 years agoMerge "Service Path ID API"
Brady Johnson [Tue, 1 Sep 2015 05:50:07 +0000 (05:50 +0000)]
Merge "Service Path ID API"

9 years agoService Path ID API 07/25007/15
Reinaldo Penno [Sun, 9 Aug 2015 08:19:43 +0000 (01:19 -0700)]
Service Path ID API

Change-Id: Iee5c06b12f8f4b086ae0469d45b2353cce71a6bc
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoMerge "Set ofPort info to SFF's DPL while mapping"
Reinaldo Penno [Wed, 26 Aug 2015 22:36:17 +0000 (22:36 +0000)]
Merge "Set ofPort info to SFF's DPL while mapping"

9 years agoMerge "Cleaned out unused repos and dependencies."
Reinaldo Penno [Mon, 24 Aug 2015 22:00:52 +0000 (22:00 +0000)]
Merge "Cleaned out unused repos and dependencies."

9 years agoMerge "Remove dependency on LogBack... should use karaf logging config instead"
Reinaldo Penno [Mon, 24 Aug 2015 21:56:36 +0000 (21:56 +0000)]
Merge "Remove dependency on LogBack... should use karaf logging config instead"

9 years agoSet ofPort info to SFF's DPL while mapping 48/25348/2
Johnson Li [Mon, 17 Aug 2015 06:27:00 +0000 (14:27 +0800)]
Set ofPort info to SFF's DPL while mapping

Each port of OVS gets a unique of_port. The of_port can be used
to steer traffics. This patch sets the ofPort infomation for
while mapping the OVS's port to SFF's DPL.

Change-Id: I2a70b66d2c7c8b0315c1ea27e927acf66856c531
Signed-off-by: Johnson Li <[email protected]>
9 years agoRemove unused dependency on odl-inventory-model in odl-sfc-provider 83/25183/3
Ed Warnicke [Wed, 12 Aug 2015 00:44:55 +0000 (17:44 -0700)]
Remove unused dependency on odl-inventory-model in odl-sfc-provider

Change-Id: I375205a0a06cb6bcc94a941995d6d0a1d2df6599
Signed-off-by: Ed Warnicke <[email protected]>
9 years agoCleaned out unused repos and dependencies. 87/25187/2
Ed Warnicke [Wed, 12 Aug 2015 01:32:22 +0000 (18:32 -0700)]
Cleaned out unused repos and dependencies.

Change-Id: I2196976bebee762e5da0e3e173c0972e2194d23d
Signed-off-by: Ed Warnicke <[email protected]>
9 years agoRemove dependency on LogBack... should use karaf logging config instead 85/25185/2
Ed Warnicke [Wed, 12 Aug 2015 01:01:12 +0000 (18:01 -0700)]
Remove dependency on LogBack... should use karaf logging config instead

Change-Id: If59600c1343d10aeb096e594184f550755125362
Signed-off-by: Ed Warnicke <[email protected]>
9 years agoRemoving sal-common and netconf-connector from bootstrap 48/25648/2
Reinaldo Penno [Fri, 21 Aug 2015 22:15:22 +0000 (15:15 -0700)]
Removing sal-common and netconf-connector from bootstrap

Change-Id: I4f3827dab95b7f1353fe3ccf206bd49c12149b14
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoMerge "Fix sfclisp to use new lispflowmapping APIs"
Reinaldo Penno [Sat, 22 Aug 2015 01:45:01 +0000 (01:45 +0000)]
Merge "Fix sfclisp to use new lispflowmapping APIs"

9 years agoMerge "Break out sfc-bootstrap from sfc-provider"
Reinaldo Penno [Fri, 21 Aug 2015 21:58:48 +0000 (21:58 +0000)]
Merge "Break out sfc-bootstrap from sfc-provider"

9 years agoFix sfclisp to use new lispflowmapping APIs 94/25594/1
Florin Coras [Thu, 20 Aug 2015 15:11:55 +0000 (17:11 +0200)]
Fix sfclisp to use new lispflowmapping APIs

Gerrits 25567 and 25567 introduce a considerable number of
API changes. This patch updates sfclisp to leverage the new code.

Change-Id: Ic36fe82a37039bc6ece36eccbc686f97db2c20d6
Signed-off-by: Florin Coras <[email protected]>
9 years agoBug 4035: Removed unused dependency on sal-common 49/25449/1
Ed Warnicke [Tue, 18 Aug 2015 18:42:06 +0000 (11:42 -0700)]
Bug 4035: Removed unused dependency on sal-common

sal-common is being removed as its unused since Hydrogen, but needs
to be removed here so the build doesn't break.

See gerrit: https://git.opendaylight.org/gerrit/#/c/24467
where sal-common is being removed from controller.

Change-Id: I2655471e8739d61abbae84b8d2a50e4603d6f8ae
Signed-off-by: Ed Warnicke <[email protected]>
9 years agoBreak out sfc-bootstrap from sfc-provider 79/25179/2
Ed Warnicke [Tue, 4 Aug 2015 23:00:04 +0000 (16:00 -0700)]
Break out sfc-bootstrap from sfc-provider

Change-Id: I720bf5e96eba59ed72c8b4b6131ff98a02d1254f
Signed-off-by: Ed Warnicke <[email protected]>
9 years agoMerge "BUG4116: VNID->VNID mapping was over-writing C2->VNID on last flow."
Brady Johnson [Tue, 11 Aug 2015 23:39:09 +0000 (23:39 +0000)]
Merge "BUG4116: VNID->VNID mapping was over-writing C2->VNID on last flow."

9 years agoMisc SFF Client Improvements 38/25138/4
Reinaldo Penno [Tue, 11 Aug 2015 05:26:14 +0000 (22:26 -0700)]
Misc SFF Client Improvements

- Improve help string
- Improve doc strings
- Fix bug while log printing
- Simplify inner header construction with class

Change-Id: Ia54d7714d87d7bcda42508f4740497004aa46b21
Signed-off-by: Reinaldo Penno <[email protected]>
9 years agoBUG4116: VNID->VNID mapping was over-writing C2->VNID on last flow. 35/25135/1
Keith Burns (alagalah) [Mon, 10 Aug 2015 22:19:09 +0000 (15:19 -0700)]
BUG4116: VNID->VNID mapping was over-writing C2->VNID on last flow.

Change-Id: I9e79f7b32b721b01e048298d857056f2c6398f28
Signed-off-by: Keith Burns (alagalah) <[email protected]>
9 years agoFix license header violations in sfc-netconf 78/25078/1
Thanh Ha [Sun, 9 Aug 2015 23:52:51 +0000 (19:52 -0400)]
Fix license header violations in sfc-netconf

Change-Id: I5fbac751fb0224a5a73edb74aa2974a301147443
Signed-off-by: Thanh Ha <[email protected]>
9 years agoFix license header violations in sfcofl2 77/25077/1
Thanh Ha [Sun, 9 Aug 2015 23:51:34 +0000 (19:51 -0400)]
Fix license header violations in sfcofl2

Change-Id: I2eb4172ff94a6d7a999d3a8bc5dc3bf1cf9919f7
Signed-off-by: Thanh Ha <[email protected]>
9 years agoFix license header violations in sfc-ovs 76/25076/1
Thanh Ha [Sun, 9 Aug 2015 23:46:26 +0000 (19:46 -0400)]
Fix license header violations in sfc-ovs

Change-Id: If4a072f3442a21be56755db61431342715154fd8
Signed-off-by: Thanh Ha <[email protected]>
9 years agoFix license header violations in sfc-sb-rest 75/25075/1
Thanh Ha [Sun, 9 Aug 2015 23:44:04 +0000 (19:44 -0400)]
Fix license header violations in sfc-sb-rest

Change-Id: Ic3230d773fe6ad71ba858926e319c562c78c54e1
Signed-off-by: Thanh Ha <[email protected]>
9 years agoFix license header violations in sfc-ui 74/25074/1
Thanh Ha [Sun, 9 Aug 2015 23:41:19 +0000 (19:41 -0400)]
Fix license header violations in sfc-ui

Change-Id: I5af399cdabfa869be781e9c81cdf8c19d319612e
Signed-off-by: Thanh Ha <[email protected]>
9 years agoFix license header violations in sfc-test-consumer 73/25073/1
Thanh Ha [Sun, 9 Aug 2015 23:40:12 +0000 (19:40 -0400)]
Fix license header violations in sfc-test-consumer

Change-Id: I60086118f77c79ba7af97bc42df9ce7b91265017
Signed-off-by: Thanh Ha <[email protected]>
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]>