sfc.git
4 years agoBump versions by x.y.(z+1) 28/92228/1 stable/sodium
jenkins-releng [Fri, 21 Aug 2020 07:23:31 +0000 (07:23 +0000)]
Bump versions by x.y.(z+1)

Signed-off-by: jenkins-releng <[email protected]>
Change-Id: I68c7de7bace02f8139abdfad5a54d947ff651aec

4 years agoBump odlparent/yangtools/mdsal to 5.0.11/3.0.16/4.0.17 08/91408/3
Robert Varga [Sat, 18 Jul 2020 10:01:52 +0000 (12:01 +0200)]
Bump odlparent/yangtools/mdsal to 5.0.11/3.0.16/4.0.17

This picks up latest upgrades.

Change-Id: Ic4d8ec56147090622d3713c14304ede95e3ffc55
Signed-off-by: Robert Varga <[email protected]>
4 years agoBump versions by x.y.(z+1) 57/90057/1
jenkins-releng [Thu, 28 May 2020 23:43:59 +0000 (23:43 +0000)]
Bump versions by x.y.(z+1)

Signed-off-by: jenkins-releng <[email protected]>
Change-Id: Ia0e0930c0b4f66d860cd26ca62180f35861f6db7

5 years agoBump odlparent/yangtools/mdsal to 5.0.7/3.0.11/4.0.14 19/89819/1
Robert Varga [Fri, 15 May 2020 08:28:42 +0000 (10:28 +0200)]
Bump odlparent/yangtools/mdsal to 5.0.7/3.0.11/4.0.14

This picks up latest upgrades.

Change-Id: I165adccb6c2bda4ab87d3fca26f340591f9b20f2
Signed-off-by: Robert Varga <[email protected]>
5 years agoBump odlparent/yangtools/mdsal to 5.0.6/3.0.10/4.0.13 63/88363/1
Robert Varga [Sat, 7 Mar 2020 12:02:54 +0000 (13:02 +0100)]
Bump odlparent/yangtools/mdsal to 5.0.6/3.0.10/4.0.13

This picks up latest upgrades, which necessitate a few fixes for
checkstyle violations as well as adjustment to comply with Akka API
changes.

Change-Id: I30c6455f971d4a2cbf3d2f0156b97dcfd0e83fd8
Signed-off-by: Robert Varga <[email protected]>
5 years agoBump versions by x.y.(z+1) 09/87609/1
jenkins-releng [Wed, 12 Feb 2020 02:32:16 +0000 (02:32 +0000)]
Bump versions by x.y.(z+1)

Signed-off-by: jenkins-releng <[email protected]>
Change-Id: Ic3adc2cda7b0df1565f3a1d2c31cadc1988d3364

5 years agoBump to odlparent-5.0.5/yangtools-3.0.9/mdsal-4.0.11 38/86938/3
Robert Varga [Wed, 15 Jan 2020 13:29:50 +0000 (14:29 +0100)]
Bump to odlparent-5.0.5/yangtools-3.0.9/mdsal-4.0.11

Pick up latest fixes.

Change-Id: I59523fab4313083d9b149fb6f53f9f0f65a2b32c
Signed-off-by: Robert Varga <[email protected]>
5 years agoBump odlparent/yangtools/mdsal to 5.0.4/3.0.7/4.0.8 95/86395/1
Robert Varga [Thu, 12 Dec 2019 07:34:57 +0000 (08:34 +0100)]
Bump odlparent/yangtools/mdsal to 5.0.4/3.0.7/4.0.8

Pick up the latest upgrades and fixes.

Change-Id: Ie52145fc7c7f4bf1913a986d99537229351bb291
Signed-off-by: Robert Varga <[email protected]>
5 years agoBump to odlparent-5.0.3/yangtools-3.0.6/mdsal-4.0.7 25/85525/1
Robert Varga [Sun, 3 Nov 2019 15:05:01 +0000 (16:05 +0100)]
Bump to odlparent-5.0.3/yangtools-3.0.6/mdsal-4.0.7

This picks up latest upgrades and fixes.

Change-Id: I5e4d4536f156b55d2d1288820814c3b4297fd58c
Signed-off-by: Robert Varga <[email protected]>
5 years agoBump versions by x.y.(z+1) 76/85476/1
jenkins-releng [Fri, 1 Nov 2019 06:04:49 +0000 (06:04 +0000)]
Bump versions by x.y.(z+1)

Signed-off-by: jenkins-releng <[email protected]>
Change-Id: Ia8739a5d4b2f31fe306d6daf467001e90c47f0c3

5 years agoBump mdsal to 4.0.6 58/84658/1
Robert Varga [Sat, 14 Sep 2019 17:27:07 +0000 (19:27 +0200)]
Bump mdsal to 4.0.6

This picks up the latest fixes.

Change-Id: I8ec178ca726c1df504efc4f19d2c9c80965d93be
Signed-off-by: Robert Varga <[email protected]>
(cherry picked from commit fa057a9a7b8ef157e2c78e25ceedc768ad23540e)

5 years agoBump odlparent to 5.0.2 57/84657/1
Robert Varga [Sat, 14 Sep 2019 17:26:53 +0000 (19:26 +0200)]
Bump odlparent to 5.0.2

This bumps odlparent to pick up latest references.

Change-Id: Ica16c98bd6eeeb2530bdc9cee4bb7f198e4a6ab0
Signed-off-by: Robert Varga <[email protected]>
(cherry picked from commit 70ce8a376aa131c03ca86acb125d231f68ebbb06)

5 years agoFix checkstyle 56/84656/1
Robert Varga [Sat, 14 Sep 2019 17:41:13 +0000 (19:41 +0200)]
Fix checkstyle

Updated checkstyle is finding these, fix them up.

Change-Id: Ie5130c172807e52d74c8ffa424e1b076c46bd4bf
Signed-off-by: Robert Varga <[email protected]>
(cherry picked from commit 230aeff58e6ca4fcd03899a6e954a40d6ac445ef)

5 years agoBump versions by x.y.(z+1) 30/84530/1
jenkins-releng [Wed, 18 Sep 2019 09:13:26 +0000 (09:13 +0000)]
Bump versions by x.y.(z+1)

Signed-off-by: jenkins-releng <[email protected]>
Change-Id: Ia15c30613eeccdf533c9c9d51feaee731f30eded

5 years agoBump mdsal to 4.0.4 58/83658/1
Robert Varga [Thu, 15 Aug 2019 08:50:24 +0000 (10:50 +0200)]
Bump mdsal to 4.0.4

This brings in latest fixes.

Change-Id: I59f89ef4fe76ef16fcdc9b59f8d9b50aa0849847
Signed-off-by: Robert Varga <[email protected]>
5 years agoUpdate .gitreview to stable/sodium 76/83576/1
jenkins-releng [Tue, 13 Aug 2019 02:47:27 +0000 (02:47 +0000)]
Update .gitreview to stable/sodium

Signed-off-by: jenkins-releng <[email protected]>
Change-Id: Icd966708da7b907212eac24c7dd80b46fc4de817

5 years agoBump mdsal to 4.0.3 50/83150/2
Robert Varga [Thu, 18 Jul 2019 16:19:26 +0000 (18:19 +0200)]
Bump mdsal to 4.0.3

This bumps mdsal to 4.0.3, bringing in latest fixes and improvements.

Change-Id: Ie8e03aab1f31edf80bc9f1d7896c334c9d83be8d
Signed-off-by: Robert Varga <[email protected]>
5 years agoBump odlparent to 5.0.1 49/83149/1
Robert Varga [Thu, 18 Jul 2019 16:14:28 +0000 (18:14 +0200)]
Bump odlparent to 5.0.1

This picks up the latest upgrades.

Change-Id: If6006a94197839a9718cd5eae16b0a025913af93
Signed-off-by: Robert Varga <[email protected]>
5 years agoRemove unneeded pwoerrmock declarations 92/82792/1
Robert Varga [Sat, 29 Jun 2019 07:59:55 +0000 (09:59 +0200)]
Remove unneeded pwoerrmock declarations

We do not need to override version to 2.0.0 and do not depend
on all the artifacts declared.

Change-Id: If945f7b82360a6c66207636f766996fca607edee
Signed-off-by: Robert Varga <[email protected]>
5 years agoBump mdsal to 4.0.2 70/82370/2
Robert Varga [Fri, 31 May 2019 14:19:19 +0000 (16:19 +0200)]
Bump mdsal to 4.0.2

This picks up latest fixes.

Change-Id: I5a0f5f5e791d025d77318b50d8508bf1e982ea9e
Signed-off-by: Robert Varga <[email protected]>
6 years agoBump mdsal to 4.0.1 41/81841/2
Robert Varga [Wed, 1 May 2019 11:43:31 +0000 (13:43 +0200)]
Bump mdsal to 4.0.1

This bumps mdsal to 4.0.1.

Change-Id: Ie01f125327561b4580f6fe10756d5ee648f3c532
Signed-off-by: Robert Varga <[email protected]>
6 years agoBump mdsal version to 4.0.0 29/81529/19
Faseela K [Wed, 10 Apr 2019 09:39:54 +0000 (15:09 +0530)]
Bump mdsal version to 4.0.0

This bumps mdsal to 4.0.0, fixing up the rest of the MRI issues.

Change-Id: I04622d3fff59d7b7d280a72fbef8950e08b3cb94
Signed-off-by: Faseela K <[email protected]>
Signed-off-by: R P Karthika <[email protected]>
Signed-off-by: Robert Varga <[email protected]>
6 years agoBump odlparent version to 5.0.0 69/81469/7
Faseela K [Tue, 9 Apr 2019 08:06:37 +0000 (13:36 +0530)]
Bump odlparent version to 5.0.0

Change-Id: I5e8b619863c585b51d507fc366217bfd1c51e322
Signed-off-by: Faseela K <[email protected]>
6 years agoSwitch to spotbugs from findbugs 20/81520/2
Faseela K [Wed, 10 Apr 2019 07:48:45 +0000 (13:18 +0530)]
Switch to spotbugs from findbugs

Change-Id: I3d3bac9b9b9c4ae0d33c75820eecfcddea804c36
Signed-off-by: Faseela K <[email protected]>
6 years agoSwitch to JDT Annotations for NonNull and Nullable 81/81481/3
Faseela K [Tue, 9 Apr 2019 10:23:37 +0000 (15:53 +0530)]
Switch to JDT Annotations for NonNull and Nullable

Change-Id: I715fcb843f5f6823b3107f02299f943d82ead963
Signed-off-by: Faseela K <[email protected]>
6 years agoAdd javax.annotation-api dependencies 98/80798/1
Robert Varga [Tue, 12 Mar 2019 14:27:23 +0000 (15:27 +0100)]
Add javax.annotation-api dependencies

This adds proper dependecies to support JEE annotations, which
no longer ship with JDK11.

Change-Id: Iea319ec8b53179bf6625abc435ed095e9c409c63
Signed-off-by: Robert Varga <[email protected]>
6 years agoUpgrade powermock to 2.0.0 97/80797/1
Robert Varga [Tue, 12 Mar 2019 14:14:11 +0000 (15:14 +0100)]
Upgrade powermock to 2.0.0

This fixes JDK11 compatbility by bumping powermock to 2.0.0,
which works with both JDK8 and JDK11.

Change-Id: I846cfa07b96ac7ade4acd27278abd6cb4b64d942
Signed-off-by: Robert Varga <[email protected]>
6 years agoClean up OFP and genius dependencies 67/80567/3
Robert Varga [Sun, 24 Feb 2019 22:41:46 +0000 (23:41 +0100)]
Clean up OFP and genius dependencies

This patch ensures openflowplugin/genius dependecies are pulled in
through features rather than direct inlining.

Change-Id: Ic5b17b1f909f745083e9038b48601882049c352c
Signed-off-by: Robert Varga <[email protected]>
(cherry picked from commit d5b9c0ac6e6bafc3bf6192df5df690f88f3a8c0a)

6 years agoSupport for vxlan_tool to block TCP source port 89/80389/5
ananth.y [Tue, 19 Feb 2019 10:12:07 +0000 (19:12 +0900)]
Support for vxlan_tool to block TCP source port

-vxlan_tool can block TCP source port
-changed argument names and options

Change-Id: Ib304ad25bc22d5630b3383bd2769771804f935d2
Signed-off-by: ananth.y <[email protected]>
6 years agoFix indentation 70/80770/2
Jaime Caamaño Ruiz [Mon, 11 Mar 2019 14:16:43 +0000 (15:16 +0100)]
Fix indentation

Change-Id: I25d7cf902879c0d67499c8b1cbc5dfe1dc968143
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
6 years agoBump versions by x.y.(z+1) 96/80096/1
jenkins-releng [Fri, 1 Feb 2019 13:06:31 +0000 (13:06 +0000)]
Bump versions by x.y.(z+1)

Change-Id: Ic5b3fbda016a95946f86e29190a20ecc85f53d39
Signed-off-by: jenkins-releng <[email protected]>
6 years agoBump mdsal to 3.0.6 86/79786/2
Robert Varga [Mon, 21 Jan 2019 09:23:39 +0000 (10:23 +0100)]
Bump mdsal to 3.0.6

This aligns with odlparent-4.0.9 and yangtools-2.1.8.

Change-Id: I0b84c9648f13b1436bfd599b5a60528ac8037a05
Signed-off-by: Robert Varga <[email protected]>
Signed-off-by: Stephen Kitt <[email protected]>
6 years agoBump to odlparent 4.0.9 77/79677/1
Stephen Kitt [Fri, 18 Jan 2019 15:34:05 +0000 (16:34 +0100)]
Bump to odlparent 4.0.9

Change-Id: Ib9ceff7b525783595967540e287e18e59bca9a96
Signed-off-by: Stephen Kitt <[email protected]>
6 years agoBump mdsal to 3.0.4 39/79439/1
Robert Varga [Thu, 10 Jan 2019 15:54:16 +0000 (16:54 +0100)]
Bump mdsal to 3.0.4

This realigns odlparent/yangtools/mdsal and brings in the latest
improvements.

Change-Id: I51f260cd6e82a619e78773291711cb891e107e19
Signed-off-by: Robert Varga <[email protected]>
6 years agoBump odlparent to 4.0.8 24/79124/2
Stephen Kitt [Wed, 2 Jan 2019 10:25:11 +0000 (11:25 +0100)]
Bump odlparent to 4.0.8

Change-Id: I365de31b21e76d0c7563ff9fd7417d4914c27b27
Signed-off-by: Stephen Kitt <[email protected]>
6 years agoBump mdsal to 3.0.3 23/79023/2
Robert Varga [Sun, 23 Dec 2018 23:27:10 +0000 (00:27 +0100)]
Bump mdsal to 3.0.3

This brings in latest fixes and alignes with odlparent-4.0.5.

Change-Id: I96daac1bab8a03b5f1f22e88d42af8b996335a3a
Signed-off-by: Robert Varga <[email protected]>
6 years agoBump to odlparent 4.0.5 22/78922/2
Stephen Kitt [Fri, 21 Dec 2018 09:11:38 +0000 (10:11 +0100)]
Bump to odlparent 4.0.5

Change-Id: I4d7c5cb80316af9ce3d9586fbf70354eda67f320
Signed-off-by: Stephen Kitt <[email protected]>
6 years agoBump to mdsal-3.0.2 52/78152/2
Robert Varga [Mon, 26 Nov 2018 09:33:52 +0000 (10:33 +0100)]
Bump to mdsal-3.0.2

This bumps mdsal to 3.0.2.

Change-Id: Ic3006e92f59279a03e6eb3a10a11653f15942617
Signed-off-by: Robert Varga <[email protected]>
6 years agoSFC changes for neon-mri version bump. 04/76404/15
ebrjohn [Mon, 24 Sep 2018 07:04:21 +0000 (08:04 +0100)]
SFC changes for neon-mri version bump.

Change-Id: I0d724d3a94f032732363c858ec38e2ba70049ea0
Signed-off-by: Brady Johnson <[email protected]>
Signed-off-by: Robert Varga <[email protected]>
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
Signed-off-by: Daniel Farrell <[email protected]>
6 years agoFix documentation titles 74/77074/1
Jaime Caamaño Ruiz [Thu, 18 Oct 2018 09:58:18 +0000 (11:58 +0200)]
Fix documentation titles

Change-Id: I0624382d2fff98f55de10bdd0ec413abc843cb2f
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
6 years agoUpdate paramiko to resolve CVE-2018-1000805 28/77028/1
Thanh Ha [Tue, 16 Oct 2018 14:21:06 +0000 (10:21 -0400)]
Update paramiko to resolve CVE-2018-1000805

Paramiko versions <2.0.9 are vulnerable to CVE-2018-1000805. Bump
the version to a patched version.

Change-Id: I17c4a3a69d4621891f8c7d839a3c45a5ed94babf
Signed-off-by: Thanh Ha <[email protected]>
6 years agoRemove VXLAN GPE requirement for NSH encap 83/75983/3
Jaime Caamaño Ruiz [Tue, 11 Sep 2018 12:31:14 +0000 (14:31 +0200)]
Remove VXLAN GPE requirement for NSH encap

Although it is recommended to use GPE while encapsulating NSH with
VXLAN, SFC does not make use of it currently. SFC inserts an
Ethernet header (with undefined MAC addresses) between the VXLAN
and NSH headers. Thus, it complies to the VXLAN standard
specification and GPE is not required.

This change allows to use SFC with NSH encapsulation on standard
VXLAN mesh by not looking specifically for GPE enabled VXLAN ports even
though the RSP transport might be configured to 'vxlan-gpe'.

In the near term future, SFC should support distinct RSP transport
configurations 'vxlan' and 'vxlan-gpe' and act accordingly for each
of them.

Change-Id: I00bc797d31c55f20676f2e3546fb17479dd843ec
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
6 years agoMigrate sfc docs to project repo 83/75883/4
Thanh Ha [Sun, 9 Sep 2018 01:09:56 +0000 (21:09 -0400)]
Migrate sfc docs to project repo

Change-Id: Ia75f52fb0c1f24bfd5428a92eb1a68717e57f43e
Signed-off-by: Thanh Ha <[email protected]>
6 years agoMaster branch is now Neon 82/75882/1
Thanh Ha [Sun, 9 Sep 2018 01:08:06 +0000 (21:08 -0400)]
Master branch is now Neon

Change-Id: Id581977ce73f3f60311ce2060f04680cb4af1aec
Signed-off-by: Thanh Ha <[email protected]>
6 years agoReturn Set instead of Iterable in test 60/75360/3
Robert Varga [Tue, 21 Aug 2018 15:49:42 +0000 (17:49 +0200)]
Return Set instead of Iterable in test

Method signature will be changed to Set to define equality, prepare
for that.

Change-Id: I6d0754e21196e03727400631d20d85fe4c84f903
Signed-off-by: Robert Varga <[email protected]>
6 years agoFix vxlan_tool to work with Python3 22/74222/4
gvrangan [Thu, 19 Jul 2018 08:43:57 +0000 (17:43 +0900)]
Fix vxlan_tool to work with Python3

Now this tool can work with Python 2 and 3 as well

Change-Id: Id0256a8ecaf3341bbd1b0c6c1bb58a99e1411eb1
Signed-off-by: gvrangan <[email protected]>
6 years agoRemove references to mdsal-model-artifacts 27/75127/1
Robert Varga [Sat, 11 Aug 2018 07:52:19 +0000 (09:52 +0200)]
Remove references to mdsal-model-artifacts

This artifact is going away, migrate to mdsal-artifacts.

Change-Id: Ib051be61e8d83c53a81321b472b6955c58c664e5
Signed-off-by: Robert Varga <[email protected]>
6 years agoBump versions by x.(y+1).z for next dev cycle 01/75001/1
Anil Belur [Thu, 9 Aug 2018 12:40:15 +0000 (18:10 +0530)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: I40bf744b1e446c844a7f447e7ef27639e7db1495
Signed-off-by: Anil Belur <[email protected]>
6 years agoFixes to sfc103 demo for OVS 2.9 NSH changes. 06/74106/3
ebrjohn [Tue, 17 Jul 2018 09:16:24 +0000 (11:16 +0200)]
Fixes to sfc103 demo for OVS 2.9 NSH changes.

Change-Id: I5c162752088d216308be2f70adcc66236664584d
Signed-off-by: Brady Johnson <[email protected]>
6 years agoRemove Callable APIs from SFC OVS 35/74135/2
ebrjohn [Tue, 17 Jul 2018 16:22:31 +0000 (18:22 +0200)]
Remove Callable APIs from SFC OVS

- The SFC OVS API in SfcOvsDataStoreAPI are now called directly.

Change-Id: Id9b455c1b5008d5648f48633aefdd8331eb8da84
Signed-off-by: Brady Johnson <[email protected]>
6 years agoFix missing blueprint build plugin in poms 34/74734/2
Jaime Caamaño Ruiz [Wed, 1 Aug 2018 11:56:15 +0000 (13:56 +0200)]
Fix missing blueprint build plugin in poms

Fix issue introduced in commit 1ad7b63f where blueprint annotations
were used without adding the proper build plugin to module poms.

Change-Id: Ie845f81879b1adcf5c0ed6a53f08b677cdcc73ad
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
6 years agoBump to odlparent 3.1.3 06/74206/3
Stephen Kitt [Wed, 18 Jul 2018 16:06:43 +0000 (18:06 +0200)]
Bump to odlparent 3.1.3

Change-Id: I36fcc5060713539f02fbba3d9290f237d44994dd
Signed-off-by: Stephen Kitt <[email protected]>
6 years agoAdjust to DOMDataTreeCommitCohort API change 60/74460/3
Tom Pantelis [Wed, 25 Jul 2018 14:41:55 +0000 (10:41 -0400)]
Adjust to DOMDataTreeCommitCohort API change

Implement the new canCommit method in ServiceFunctionPathCohort
that returns FluentFuture instead of the deprecated CheckedFuture.

Change-Id: I18dd564542ad367212a89c9652b731ac64bbbfe6
Signed-off-by: Tom Pantelis <[email protected]>
6 years agoAdd support for official OVS NSH implementation 33/72733/5
Jaime Caamaño Ruiz [Wed, 6 Jun 2018 15:51:17 +0000 (17:51 +0200)]
Add support for official OVS NSH implementation

Changes the SFC NSH pipeline to align to the official OVS NSH
implementation as detailed on spec [1].

[1] https://git.opendaylight.org/gerrit/#/c/72078/

Change-Id: Ic907dd5bfa302b664cc1593ee2b2c3aca3aefde7
JIRA: TSC-114
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
6 years agoUpdate paramiko and pycrypto dependencies 08/74408/1
Thanh Ha [Tue, 24 Jul 2018 15:44:09 +0000 (11:44 -0400)]
Update paramiko and pycrypto dependencies

According to GitHub there are security vulnerabilities in these
2 packages. Bump paramiko up to a fixed version and set pycrypto
to pull in latest patch version so that it will automatically pick
up the fix when it is available.
https://github.com/opendaylight/sfc/network/dependencies

Change-Id: If4fdb4244272aff080ad5c9a84d312e389616191
Signed-off-by: Thanh Ha <[email protected]>
6 years agoUse moved BindingReflections 86/74386/1
Robert Varga [Tue, 24 Jul 2018 11:07:49 +0000 (13:07 +0200)]
Use moved BindingReflections

BindingReflections are being evacuated from yang-binding, use them
from their new location.

Change-Id: I6703ec47d6f2e70c4cbad7dd1754f044e8fee236
Signed-off-by: Robert Varga <[email protected]>
6 years agoDo not user char[] union constructor 10/74310/7
Robert Varga [Sun, 22 Jul 2018 10:21:57 +0000 (12:21 +0200)]
Do not user char[] union constructor

This constructor is just a bridge towards
*Builder.getDefaultInstance(), do not use it. This also fixes
use of getVaue() -- which has been replaced by stringValue().

Change-Id: I14d53f2ffdb09c729392b208da837eb7588658bc
Signed-off-by: Robert Varga <[email protected]>
6 years agoUse IetfInetUtil to convert InetAddress 24/74224/1
Robert Varga [Thu, 19 Jul 2018 08:53:26 +0000 (10:53 +0200)]
Use IetfInetUtil to convert InetAddress

We provide a utility method for this particular conversion,
use it instead of open-coding it.

Change-Id: I8753c22eb54b654d01af891570a8f02ee43da674
Signed-off-by: Robert Varga <[email protected]>
6 years agoSFC OpenFlow Pipeline specification 78/72078/20
ebrjohn [Thu, 17 May 2018 22:15:21 +0000 (17:15 -0500)]
SFC OpenFlow Pipeline specification

- detail the changes resulting from converting the ODL
  OpenFlow Plugin to use the mainstream OVS 2.9 NSH
  APIs.

Change-Id: Ie74de5a817fb2877a8514632ac1e346830811e8c
Signed-off-by: Brady Johnson <[email protected]>
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
6 years agoPull in minimal models 45/74145/1
Robert Varga [Tue, 17 Jul 2018 18:57:39 +0000 (20:57 +0200)]
Pull in minimal models

Rather than pulling odl-mdsal-models, which is quite huge, pull
in specific models we need: RFC7223/7277 and the acl model.

JIRA: MDSAL-363
Change-Id: Ia4155c2165f1c74e7ef02d5f68a22f4bf40d4837
Signed-off-by: Robert Varga <[email protected]>
6 years agoMove genius utilities to new module 24/73924/2
Jaime Caamaño Ruiz [Wed, 11 Jul 2018 10:57:16 +0000 (12:57 +0200)]
Move genius utilities to new module

Reduces dependencies on sfc-genius module, making it genius-specific so
that it is not activated (and thus, it's event listeners and logic are
not triggered) when activating other basic bundles, like openflow
renderers, that for some scenarios do not rely on genius at all.

Change-Id: Idfb24fd050aeee2339c80a0270a1eeaf19b46104
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
6 years agoSwap RpcProviderRegistry with RpcConsumerRegistry 97/73897/5
Jaime Caamaño Ruiz [Tue, 10 Jul 2018 20:37:09 +0000 (22:37 +0200)]
Swap RpcProviderRegistry with RpcConsumerRegistry

Avoids validation of the RPC model which is currently causing issues
with genius RPCs that are not properly augmented with the OFP nicira
extension models.

Change-Id: Ie2c3edee5ede3e963016da5e57a7fe0ab316adfb
JIRA: SFC-222 GENIUS-174
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
6 years agoFix some minor issues 26/73626/2
David Suarez [Sat, 30 Jun 2018 07:59:57 +0000 (09:59 +0200)]
Fix some minor issues

- Remove unneeded unboxing
- Make some variables final

Change-Id: Ibe9cecf3dd1094051a507583cc59cb18139a3421
Signed-off-by: David Suarez <[email protected]>
6 years agoFix some minor issues 17/73617/2
David Suarez [Fri, 29 Jun 2018 19:48:30 +0000 (21:48 +0200)]
Fix some minor issues

- Remove unneeded unboxing
- Make some variables final

Change-Id: I4413cee5450829d17ea516515c547ba0ba701857
Signed-off-by: David Suarez <[email protected]>
6 years agoAdd output interface option to vxlan_tool 81/73181/2
Jaime Caamaño Ruiz [Tue, 19 Jun 2018 10:55:14 +0000 (12:55 +0200)]
Add output interface option to vxlan_tool

vxlan_tool can now be run with an ouput option to egress traffic on a
different interface than the input one. This is useful to simulate
bump in the wire SFs.

Change-Id: I72b7da6292c3139645b8eb580c1cbced6e0c49e5
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
6 years agoTo avoid to get the null vxlan-gpe port number 27/73427/2
Qiuzheng [Tue, 26 Jun 2018 07:18:49 +0000 (15:18 +0800)]
To avoid to get the null vxlan-gpe port number

Sometimes the ovs has two vxlan-gpe ports,and
one vxlan-gpe port number is null .
The patch avoid to get the null
vxlan-gpe port number

Change-Id: Icefd7df780d657009a86e1b11d54d83b1295d049
Signed-off-by: Qiuzheng <[email protected]>
6 years agoUse a version range for odl-jackson-2.8 83/73483/2
Stephen Kitt [Wed, 27 Jun 2018 14:40:21 +0000 (16:40 +0200)]
Use a version range for odl-jackson-2.8

Using a version range for the feature dependency simplifies version
upgrades and bump merges.

Change-Id: I16afd80487ea35f050748b94d1f9976d78e2651e
Signed-off-by: Stephen Kitt <[email protected]>
6 years agoMigrate to serviceutils/tools 98/73498/1
Faseela K [Wed, 27 Jun 2018 19:14:13 +0000 (00:44 +0530)]
Migrate to serviceutils/tools

Change-Id: I821db09dc53ea93b6a9ebc8e74fa1e7d46635d04
Signed-off-by: Faseela K <[email protected]>
6 years agoBump odlparent to 3.1.2 99/72499/3
Stephen Kitt [Wed, 30 May 2018 13:47:12 +0000 (15:47 +0200)]
Bump odlparent to 3.1.2

Change-Id: I5bcba8789b0ae56856ec42a3600226c0b66bb034
Signed-off-by: Stephen Kitt <[email protected]>
6 years agoOptimize using Java 8 constructs 20/73420/1
David Suarez [Mon, 25 Jun 2018 21:42:22 +0000 (23:42 +0200)]
Optimize using Java 8 constructs

Change-Id: If5500d8f5d88d637e4f4902c92dbddab1a01f6e4
Signed-off-by: David Suarez <[email protected]>
6 years agoAdd some improvements 69/73369/2
David Suarez [Fri, 22 Jun 2018 22:12:56 +0000 (00:12 +0200)]
Add some improvements

- Remove redundant initializers
- Convert some variables to local
- Make some variables final
- Delete unused variables

Change-Id: Ic28875ec20e8f4c34764cc31ce082b8fe18d9098
Signed-off-by: David Suarez <[email protected]>
6 years agoSimplify assertions 68/73368/2
David Suarez [Fri, 22 Jun 2018 21:52:12 +0000 (23:52 +0200)]
Simplify assertions

Change-Id: I0eb385cd36265a0c01eede3d4b4c337dd1069d83
Signed-off-by: David Suarez <[email protected]>
6 years agoRemove unused methods and JavaDoc 88/73288/2
David Suarez [Wed, 20 Jun 2018 23:06:55 +0000 (01:06 +0200)]
Remove unused methods and JavaDoc

Change-Id: I8f36f29fff04226e5027f72a3c0f1831de2a234c
Signed-off-by: David Suarez <[email protected]>
6 years agoSimplify JUnit assertions 83/73283/2
David Suarez [Wed, 20 Jun 2018 22:36:33 +0000 (00:36 +0200)]
Simplify JUnit assertions

Change-Id: I43d03536dc4d4fc9f5c66213999ecf95b0bcfb84
Signed-off-by: David Suarez <[email protected]>
6 years agoRemove unneeded boxing and unboxing of types 82/73282/1
David Suarez [Wed, 20 Jun 2018 22:26:00 +0000 (00:26 +0200)]
Remove unneeded boxing and unboxing of types

Change-Id: I85e33fcf30d9d8d63142d29dce75367c8cf327b6
Signed-off-by: David Suarez <[email protected]>
6 years agoSimplify some of the assertions 47/73047/2
David Suarez [Fri, 15 Jun 2018 21:12:55 +0000 (23:12 +0200)]
Simplify some of the assertions

Change-Id: Ic85b0722bc6fe1d32624d7118b851c7aa6eb9703
Signed-off-by: David Suarez <[email protected]>
6 years agoRemove RPCs to create and delete RSP 24/72824/12
David Suarez [Sun, 10 Jun 2018 23:25:33 +0000 (01:25 +0200)]
Remove RPCs to create and delete RSP

Those RPCs were deprecated in Oxygen and they will be removed in
Fluorine.

Change-Id: I5cb4046e30dc7cbe5da24904bbcf51cc96949835
Signed-off-by: David Suarez <[email protected]>
6 years agoRemove uses of BindingAwareBroker 73/72773/2
Tom Pantelis [Thu, 7 Jun 2018 19:54:43 +0000 (15:54 -0400)]
Remove uses of BindingAwareBroker

BindingAwareBroker is a legacy CSS remnant that essentially wraps
the binding services. It's now deprecated in lieu of obtaining
the services via blueprint and soon will no longer be available via
the OSGi registry.

Change-Id: Ic366410cfbcaef2c6af23f5b56bf77eae9d85f9b
Signed-off-by: Tom Pantelis <[email protected]>
6 years agoSwitch to using lfdocs-conf to pull in theme 13/72613/3
Thanh Ha [Sun, 3 Jun 2018 01:48:02 +0000 (21:48 -0400)]
Switch to using lfdocs-conf to pull in theme

lfdocs-conf is a new project that allows us to centrally manage
project theme configuration without having to duplicate it
everywhere or have the "docs" project become a large submodule
project.

We will push to ReadTheDocs separately and then create a new path
for this doc under docs.opendaylight.org/projects/integration-packaging

For further details refer to:
http://docs.releng.linuxfoundation.org/en/latest/project-documentation.html

JIRA: DOCS-69
Change-Id: I2d618e4cf56144b0445c99b0b4af87767b98fc76
Signed-off-by: Thanh Ha <[email protected]>
6 years agofix up Augmentable and Identifiable methods 29/72529/5
Stephen Kitt [Thu, 31 May 2018 15:28:23 +0000 (17:28 +0200)]
fix up Augmentable and Identifiable methods

This is a fixup of the change in binding codegen, adjusting:
- getKey() -> key()
- setKey() -> withKey()
- getAugmentation() -> augmentation()

JIRA: TSC-101
Change-Id: Idb3db3933176f667f3454663bc53ceacbd0714d0
Signed-off-by: Stephen Kitt <[email protected]>
6 years agoResolve Sphinx build warnings 12/72612/1
Thanh Ha [Sun, 3 Jun 2018 01:49:36 +0000 (21:49 -0400)]
Resolve Sphinx build warnings

Change-Id: Ib2c5e6fe1328cf2a3a716c90826a61a3a8debd71
Signed-off-by: Thanh Ha <[email protected]>
6 years agoConvert to jersey 2 07/72507/4
Tom Pantelis [Wed, 30 May 2018 16:40:08 +0000 (12:40 -0400)]
Convert to jersey 2

JIRA: TSC-113

Change-Id: I62f2d4bbe9e29cbffa0e2e12a14147f088e1ee1d
Signed-off-by: Tom Pantelis <[email protected]>
6 years agoDeprecate SF and SFC model RPCs. 53/72453/3
ebrjohn [Tue, 29 May 2018 18:53:22 +0000 (13:53 -0500)]
Deprecate SF and SFC model RPCs.

- Most of these RPCs arent even implemented.
- The ones that are implemented can easily be performed
  with simple RESTconf messages.

Change-Id: I244d7512259589dd0850a029d539c19b5b36c61c
Signed-off-by: Brady Johnson <[email protected]>
6 years agoRemove use of InstanceIdentifier.toInstance() 16/72316/3
Robert Varga [Fri, 25 May 2018 15:04:41 +0000 (17:04 +0200)]
Remove use of InstanceIdentifier.toInstance()

This method has been long-deprecated, do not use it.

Change-Id: I62b2fdc3c2f63af056b073acf3f6d42d4d1276a3
Signed-off-by: Robert Varga <[email protected]>
6 years agoAdd .coafile for linting, fix tox verify job 55/72455/2
Daniel Farrell [Tue, 29 May 2018 23:45:29 +0000 (19:45 -0400)]
Add .coafile for linting, fix tox verify job

The tox.ini file defines a Coala test env, and the JJB tox job template
in global-jjb calls all test envs, so the Coala env was failing due to
missing .coafile. Add a .coafile with sections for linting many of the
types of files in SFC. All tests except Git commit message linting are
disabled because there are violations in SFC that cause failures. The
violations should be fixed and corresponding sections enabled to keep
them fixed in different commits.

Change-Id: Ib8f9b4a7d68bcad6d1c3b1fe2230e96b736ee12d
Signed-off-by: Daniel Farrell <[email protected]>
6 years agoAdjust to RPC method signature update 79/72079/2
Tom Pantelis [Thu, 17 May 2018 23:46:06 +0000 (19:46 -0400)]
Adjust to RPC method signature update

Change-Id: I0d65b7e34b8dd93451aca51f42760394f9af4015
JIRA: TSC-99
Signed-off-by: Tom Pantelis <[email protected]>
7 years agoRemove registerDataChangeListener remnants 09/71809/1
Tom Pantelis [Fri, 4 May 2018 20:33:41 +0000 (16:33 -0400)]
Remove registerDataChangeListener remnants

registerDataChangeListener is being removed - a few UTs were
still calling it unnecessarily.

Change-Id: I6189722edb5e698f5ba58586cf6c399dba04acf2
Signed-off-by: Tom Pantelis <[email protected]>
7 years agoMigrate sfc-netconf's listeners 91/71091/3
David Suarez [Wed, 18 Apr 2018 21:00:44 +0000 (23:00 +0200)]
Migrate sfc-netconf's listeners

- Migrate sfc-netconf's listeners to use the Genius' framework
- Use Blueprint annotations instead of xml file

Change-Id: Ie648d11347936c1067bbe8c1689a316ae09cc989
Signed-off-by: David Suarez <[email protected]>
7 years agoImprove provider & ovs unit tests 01/70301/6
Jaime Caamaño Ruiz [Tue, 3 Apr 2018 14:56:00 +0000 (16:56 +0200)]
Improve provider & ovs unit tests

- Remove usage of deprecated AbstractDataBrokerTest
- Remove traces of asynchronous listener event handling
- Remove duplicated tests

Change-Id: I5112d3b4d724f53236463499636f0c21c850a53b
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
7 years agoMigrate sfc-model to binding-parent 05/71305/4
Robert Varga [Wed, 25 Apr 2018 10:45:17 +0000 (12:45 +0200)]
Migrate sfc-model to binding-parent

This disconnects it from root pom.xml, pulling-in all definitions
as needed. This will allow us to turn root pom.xml into a much
lighter artifact.

Change-Id: I0f9c799a52ea4574b65ca777da989fc6a025d783
Signed-off-by: Robert Varga <[email protected]>
7 years agoIntroduce sfc-artifacts 04/71304/2
Robert Varga [Wed, 25 Apr 2018 10:38:09 +0000 (12:38 +0200)]
Introduce sfc-artifacts

This is the recommended project structure, which is important
so we can duplicate configuration across the project.

Change-Id: If7489159c8634deb4343dac2988ea4157247e0ed
Signed-off-by: Robert Varga <[email protected]>
7 years agoMigrate listener's methods 77/70677/4
David Suarez [Tue, 17 Apr 2018 23:07:23 +0000 (01:07 +0200)]
Migrate listener's methods

Migrate add, update and remove methods to use the new ones.

Change-Id: I7652b596be36afdb69b8516b0376feace083d175
Signed-off-by: David Suarez <[email protected]>
7 years agoMigrate from genius mdsalutil-api/utils to tools-api/utils 56/70756/4
Faseela K [Wed, 11 Apr 2018 05:06:30 +0000 (10:36 +0530)]
Migrate from genius mdsalutil-api/utils to tools-api/utils

Change-Id: I9293be18ee02bbe0ab2562c6d2249097d729c78f
Signed-off-by: Faseela K <[email protected]>
7 years agoBump to odlparent 3.1.0 and yangtools 2.0.3 87/69887/3
Stephen Kitt [Thu, 22 Mar 2018 17:24:30 +0000 (18:24 +0100)]
Bump to odlparent 3.1.0 and yangtools 2.0.3

Change-Id: Iab5a1c87fae57ec45524f8be10ceef3aee716ab5
Signed-off-by: Stephen Kitt <[email protected]>
7 years agoRELENG-63: Fix duplicate bundles in features 83/70283/5
Jaime Caamaño Ruiz [Tue, 3 Apr 2018 12:11:50 +0000 (14:11 +0200)]
RELENG-63: Fix duplicate bundles in features

Change-Id: I921a0b78e2a6da5ff9f23a9d2a5357ecbf86b5a0
JIRA: RELENG-63
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
7 years agoUse ietf-ip.yang from mdsal instead of our own 84/70784/2
Lorand Jakab [Wed, 11 Apr 2018 14:34:04 +0000 (17:34 +0300)]
Use ietf-ip.yang from mdsal instead of our own

Change-Id: I692e6301fc0e3303e13e5dd1893443bd7cab0b05
Signed-off-by: Lorand Jakab <[email protected]>
7 years agoAdd Karaf build profile 97/70597/2
Thanh Ha [Sat, 7 Apr 2018 04:44:12 +0000 (00:44 -0400)]
Add Karaf build profile

Project local Karaf distros are handy for devs to test their work
however is unneeded by autorelease builds and should not be released
as part of the Simultanious Release. Add a profile that is active by
default so that default behaviour is unchanged however allows the
autorelease project to disable building this module.

Issue: RELENG-86
Change-Id: Id968ab6ce79d7067ad71c78634cb8a29b4b2edb7
Signed-off-by: Thanh Ha <[email protected]>
7 years agoImprove vpp utils logging on transaction failure 50/68950/2
Jaime Caamaño Ruiz [Thu, 1 Mar 2018 14:36:00 +0000 (15:36 +0100)]
Improve vpp utils logging on transaction failure

Change-Id: Ib07ffe823d9133811d5117b967ebba5bfa1d666d
Signed-off-by: Jaime Caamaño Ruiz <[email protected]>
7 years agoFix formatting of license statements and remove some redundancies 30/70430/1
David Suarez [Fri, 6 Apr 2018 13:47:55 +0000 (15:47 +0200)]
Fix formatting of license statements and remove some redundancies

Change-Id: Iaeaacb2ad82108b2266a22188be4c862928debc3
Signed-off-by: David Suarez <[email protected]>
7 years agoRemove sfc-ui module (DLUX) 08/70308/2
David Suarez [Wed, 4 Apr 2018 17:32:12 +0000 (19:32 +0200)]
Remove sfc-ui module (DLUX)

SFC's User Interface (module sfc-ui) is based on DLUX project which is
not properly maintained, so it's been decided to removed this dependency
from all Opendaylight projects.

Change-Id: I797ff02078f7ea4afa4b72d5f8a67d5c2fcd5524
Signed-off-by: David Suarez <[email protected]>