neutron.git
7 years agoMerge "sonar: Move this trailing comment on the previous empty line."
Isaku Yamahata [Thu, 6 Oct 2016 23:16:53 +0000 (23:16 +0000)]
Merge "sonar: Move this trailing comment on the previous empty line."

7 years agoMerge "sonar: use dedicated exception instead of RuntimeException"
Isaku Yamahata [Thu, 6 Oct 2016 23:16:46 +0000 (23:16 +0000)]
Merge "sonar: use dedicated exception instead of RuntimeException"

7 years agoBug 6796 - Fixes Priority bugs in integration-test 56/46156/4
pramod [Sat, 24 Sep 2016 08:39:23 +0000 (01:39 -0700)]
Bug 6796 - Fixes Priority bugs in integration-test

1.NeutronL2gatewayConnectionNorthbound.java:118,
EC_UNRELATED_TYPES, Priority: High

This method calls equals(Object) on two references of different class
types and analysis suggests they will be to objects of different
classes at runtime

2.NeutronL2gatewayNorthbound.java:116, EC_UNRELATED_CLASS_AND_INTERFACE
This method calls equals(Object) on two references, one of which is a
class and the other an interface,where neither the class nor any of
its non-abstract subclasses implement the interface.

3.NeutronRoutersNorthbound.java:102, EC_UNRELATED_TYPES - Same as 1st
Bug

Change-Id: I23cda778f807ba02179c7d9d4e682b9561a378d4
Signed-off-by: pramod <pramod.raghavendra.jayathirth@intel.com>
7 years agosonar: Move this trailing comment on the previous empty line. 32/46632/1
Isaku Yamahata [Thu, 6 Oct 2016 18:00:27 +0000 (11:00 -0700)]
sonar: Move this trailing comment on the previous empty line.

remove trailing comment by moving it on the previous empty line.

Change-Id: I72d7e93dd4d60c4773b437c36368d3297e8154d4
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agosonar: use dedicated exception instead of RuntimeException 31/46631/1
Isaku Yamahata [Thu, 6 Oct 2016 17:56:54 +0000 (10:56 -0700)]
sonar: use dedicated exception instead of RuntimeException

use IllegalArgumentException instead of RuntimeException

Change-Id: I32c17078499ff3cfd17f2d3b445a3e1bdac99574
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoremove unused inUse method 37/46437/2
Isaku Yamahata [Tue, 4 Oct 2016 02:30:48 +0000 (19:30 -0700)]
remove unused inUse method

Change-Id: I10053b258e899324c30fff836c9ebd88c2ef216c
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agotransscriber: consolidate createInstanceIdentifier(T item) 35/46435/6
Isaku Yamahata [Tue, 4 Oct 2016 00:15:03 +0000 (17:15 -0700)]
transscriber: consolidate createInstanceIdentifier(T item)

Consolidate InstanceIdentifier<T> createInstanceIdentifier(T item)
into AbstractNeutronInterface.

Change-Id: If6aedc24d9cc4a15cefa7c21ce3d00c51610c0f0
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agotranscriber: consolidate createInstanceIdentifier() 34/46434/6
Isaku Yamahata [Fri, 30 Sep 2016 07:46:05 +0000 (00:46 -0700)]
transcriber: consolidate createInstanceIdentifier()

This patch consolidate createInstanceIdentifier() into parent class.

Change-Id: I6acf69e2ac328bf71cff3efbd846a72db02df6a9
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agotranscriber: refactor fromMd/toMd logic 33/46433/5
Isaku Yamahata [Fri, 30 Sep 2016 06:17:28 +0000 (23:17 -0700)]
transcriber: refactor fromMd/toMd logic

Since there are several common fields like id, tenant_id, name,
admin_state_up status, factor out those common logic.

Change-Id: If5b11321769890d075eb6a331f1f013de4b5295a
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agospi: consolidate common member 32/46432/4
Isaku Yamahata [Fri, 30 Sep 2016 06:10:59 +0000 (23:10 -0700)]
spi: consolidate common member

Since some fields are common to neutron resource, name, status, admin_state_up,
introduce common parent interfaces/classes to consolidate them.

Change-Id: Ie8b654010f0cf780eaa958b49d38b1ed72847961
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoAbstractNeutronNorthbound: make cast more accurate 31/46431/1
Isaku Yamahata [Tue, 4 Oct 2016 00:12:25 +0000 (17:12 -0700)]
AbstractNeutronNorthbound: make cast more accurate

Change-Id: I5cd28faedcbe037ae976e038f3f70ecae644f857
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agospi: consolidate extractFields logic 05/46205/1
Isaku Yamahata [Tue, 27 Sep 2016 04:37:26 +0000 (21:37 -0700)]
spi: consolidate extractFields logic

NeutronObject is common class to have id and tenant_id.
So consolidate extractFields logic to extract them into NeutronObject.

Change-Id: I1e79da6fca9824dbd0563fc09c2dd34843dd99ac
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agosonar: hide NeutronCRUDInterfaces construtor 99/46099/1
Isaku Yamahata [Thu, 22 Sep 2016 18:52:10 +0000 (11:52 -0700)]
sonar: hide NeutronCRUDInterfaces construtor

The class is utility class to have only static method.
Hide public construct not to instantiate it.

Change-Id: Ib78e179c7ec540e0604f2be8c8be65400c1e6f82
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "Adds SFC Integration test cases"
Isaku Yamahata [Thu, 22 Sep 2016 00:32:21 +0000 (00:32 +0000)]
Merge "Adds SFC Integration test cases"

7 years agoAdds SFC Integration test cases 44/45844/2
pramod [Tue, 20 Sep 2016 03:00:06 +0000 (20:00 -0700)]
Adds SFC Integration test cases

Change-Id: Ie6844549f939123687226c3cbde0cd6239a85926
Signed-off-by: pramod <pramod.raghavendra.jayathirth@intel.com>
7 years agoCheckstyle exception handling fix (Neutron-spi) 06/46006/1
Ritu Sood [Wed, 21 Sep 2016 02:03:38 +0000 (19:03 -0700)]
Checkstyle exception handling fix (Neutron-spi)

Fixing checkstyle violations in the neutron-spi
integration tests

Change-Id: Ic7a1ed9ea6b4c9362fa73df550825da9e34e00e8
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoBug 6736: Fix incorrect destination ip prefix value 68/45768/1
Ritu Sood [Sat, 17 Sep 2016 04:43:39 +0000 (21:43 -0700)]
Bug 6736: Fix incorrect destination ip prefix value

Value of destination ip prefix read from mdsal
is not correct

Change-Id: I712097aed98bf1d5db581de8d3a8b254065adbef
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agospi: NeutronCRUDInterfaces remove unused mothos 20/45620/1
Isaku Yamahata [Thu, 15 Sep 2016 09:17:22 +0000 (02:17 -0700)]
spi: NeutronCRUDInterfaces remove unused mothos

remove unused methods in NeutronCRUDInterfaces

Change-Id: I236ad8e294dc40a0fb7055faf56379f00b800d76
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agonorthbound: simplify neutron interface loading 43/45543/1
Isaku Yamahata [Tue, 13 Sep 2016 15:50:29 +0000 (08:50 -0700)]
northbound: simplify neutron interface loading

Now subnets/ports/routers northbound doesn't need dependent
interface. So getNeutronInterface() can be removed.

Change-Id: I7a78ec35a0b7f2efa79840672e257cc7e5724457
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "Bug 6641: Fix ip_address in allowed_address_pairs info"
Isaku Yamahata [Fri, 9 Sep 2016 22:27:21 +0000 (22:27 +0000)]
Merge "Bug 6641: Fix ip_address in allowed_address_pairs info"

7 years agoBug 6641: Fix ip_address in allowed_address_pairs info 16/45216/2
Sridhar Gaddam [Tue, 6 Sep 2016 10:46:02 +0000 (16:16 +0530)]
Bug 6641: Fix ip_address in allowed_address_pairs info

Change-Id: Id612243cbdc6ab8db8d66ce46ca2973a0effc0ee
Signed-off-by: Sridhar Gaddam <sgaddam@redhat.com>
7 years agoMerge "Neutron-Logger: add final to public class"
Isaku Yamahata [Wed, 7 Sep 2016 15:10:52 +0000 (15:10 +0000)]
Merge "Neutron-Logger: add final to public class"

7 years agoMerge "transcriber: sprinkle final to public class"
Isaku Yamahata [Wed, 7 Sep 2016 15:10:48 +0000 (15:10 +0000)]
Merge "transcriber: sprinkle final to public class"

7 years agoMerge "northbound: code clean up"
Isaku Yamahata [Wed, 7 Sep 2016 15:10:43 +0000 (15:10 +0000)]
Merge "northbound: code clean up"

7 years agoMerge "neutron-spi: sprinkle final to concrete class"
Isaku Yamahata [Wed, 7 Sep 2016 15:10:35 +0000 (15:10 +0000)]
Merge "neutron-spi: sprinkle final to concrete class"

7 years agoMerge "simplify NeutronTranscriberProvider"
Isaku Yamahata [Wed, 7 Sep 2016 15:03:52 +0000 (15:03 +0000)]
Merge "simplify NeutronTranscriberProvider"

7 years agoMerge "Add NeutronSubnetJAXBTest unit test"
Isaku Yamahata [Wed, 7 Sep 2016 15:03:46 +0000 (15:03 +0000)]
Merge "Add NeutronSubnetJAXBTest unit test"

7 years agoNeutron-Logger: add final to public class 92/45292/1
Isaku Yamahata [Wed, 7 Sep 2016 08:16:18 +0000 (01:16 -0700)]
Neutron-Logger: add final to public class

Change-Id: I44806c78dc34e8fe2575441f28a774889ac0beda
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agotranscriber: sprinkle final to public class 91/45291/1
Isaku Yamahata [Wed, 7 Sep 2016 08:14:58 +0000 (01:14 -0700)]
transcriber: sprinkle final to public class

Change-Id: I48d6961a7e774957da1a4120c2ecb36045fee2d1
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agonorthbound: code clean up 90/45290/1
Isaku Yamahata [Wed, 7 Sep 2016 08:04:06 +0000 (01:04 -0700)]
northbound: code clean up

- sprinkle final to public class
- remove unused variable, uriinfo
- misc improvements

Change-Id: Ied5692ef500a768949e7a010266953b097790d7f
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoneutron-spi: sprinkle final to concrete class 89/45289/1
Isaku Yamahata [Wed, 7 Sep 2016 07:43:10 +0000 (00:43 -0700)]
neutron-spi: sprinkle final to concrete class

Change-Id: I73453299f8ce890309fc7df7c1147f39742d2659
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agosimplify NeutronTranscriberProvider 19/45119/1
Isaku Yamahata [Sat, 3 Sep 2016 00:19:31 +0000 (17:19 -0700)]
simplify NeutronTranscriberProvider

remove unused variables to simplify NeutronTranscriberProvider.

Change-Id: I1d8e7ac5e9506d752ed725920282662d0d73e8d2
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoconsolidate NeturonCRUDInterface.fetchNeturonCRUD logic 18/45118/1
Isaku Yamahata [Sat, 3 Sep 2016 00:02:55 +0000 (17:02 -0700)]
consolidate NeturonCRUDInterface.fetchNeturonCRUD logic

The logic are mostly same, consolidate them by generics.

Change-Id: I4a38de02b2a11f355581702a711fe9244d835701
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agonorthbound: make newNeutronRequest concrete method 17/45117/2
Isaku Yamahata [Fri, 2 Sep 2016 22:40:48 +0000 (15:40 -0700)]
northbound: make newNeutronRequest concrete method

By this change, about 120 lines are reduced.

Change-Id: Id4838b4e5109d92f01e18e611e869c27b56371e9
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "sort out signature of extraceField method"
Isaku Yamahata [Fri, 2 Sep 2016 15:35:41 +0000 (15:35 +0000)]
Merge "sort out signature of extraceField method"

7 years agoAdd NeutronSubnetJAXBTest unit test 42/45042/1
Isaku Yamahata [Thu, 1 Sep 2016 21:54:23 +0000 (14:54 -0700)]
Add NeutronSubnetJAXBTest unit test

Change-Id: I62ddd9e0e4ae83866e50e170695871e6891105f7
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agosort out signature of extraceField method 18/45018/1
Isaku Yamahata [Thu, 1 Sep 2016 16:21:33 +0000 (09:21 -0700)]
sort out signature of extraceField method

So far, the signature of extractField was not defined cleanly.
Define it clean and simplify convoluted code due to it.

Change-Id: I48387b8df50bd019a735e6272a3850adfd10b0d5
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoremove unused variable/method 09/45009/1
Isaku Yamahata [Thu, 1 Sep 2016 14:08:09 +0000 (07:08 -0700)]
remove unused variable/method

Change-Id: Ide5eaee4ddef280cc2737f2d196691a805ee01f7
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agonorthbound: simplify Neutron*Request 04/44704/2
Isaku Yamahata [Fri, 26 Aug 2016 06:46:20 +0000 (23:46 -0700)]
northbound: simplify Neutron*Request

Consolidate Neutron*Request logic and make them consistent a bit.

Change-Id: I5b4a62ea14813b1656bc30de944f862e4e0ccec5
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoEnable checkstyle enforcement for the project 10/44110/3
Ritu Sood [Tue, 16 Aug 2016 03:50:16 +0000 (20:50 -0700)]
Enable checkstyle enforcement for the project

This patch enables checkstyle enforcements.
Also some checkstyle issues are not yet addressed
and those are added to the suppress file for now.
As some of those issues are addressed those will
be removed for the suppress file. The checkstyle
issues suppressed show as warnings during
compile.

Change-Id: I1c64aa426de7d29002e66c50367bbe84f23d885c
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoCheckstyle misc issues fix(Integration) 08/44108/4
Ritu Sood [Tue, 16 Aug 2016 03:20:07 +0000 (20:20 -0700)]
Checkstyle misc issues fix(Integration)

Patch fixes EmptyStatement, ModifierOrder, MethodName,
LineLength, RegexpSinglelineJava checkstyle issues for
integration tests files.

Change-Id: Ia81cb6ad86831b66d6e08ecfd37a68c3bf31a624
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoMerge "Checkstyle indentation issues fix(Logger)"
Isaku Yamahata [Tue, 16 Aug 2016 19:18:26 +0000 (19:18 +0000)]
Merge "Checkstyle indentation issues fix(Logger)"

7 years agoCheckstyle indentation issues fix(Logger) 95/44095/1
Ritu Sood [Mon, 15 Aug 2016 23:49:58 +0000 (16:49 -0700)]
Checkstyle indentation issues fix(Logger)

Patch fixes indentation checkstyle
issues for logger file

Change-Id: I8f81976cbea06c3275430f07f5b4e040ef6a4735
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoCheckstyle imisc issues fix(Transcriber) 93/44093/1
Ritu Sood [Mon, 15 Aug 2016 23:27:12 +0000 (16:27 -0700)]
Checkstyle imisc issues fix(Transcriber)

Patch fixes OverloadMethodsDeclarationOrder, MemberName and
LineLength checkstyle issues for transcriber files

Change-Id: Id19b977735448a309c9c49c3674f62c4efb5ac4b
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoCheckstyle formatting issues fix (Integration) 98/43898/3
Ritu Sood [Fri, 12 Aug 2016 04:54:04 +0000 (21:54 -0700)]
Checkstyle formatting issues fix (Integration)

Patch fixes WhitespaceAround, ArrayTypeStyle, OperatorWrap,
LineLength and other formatting checkstyle issues for
integration files.

Change-Id: Icd348dd86813c7682428361db90190b84a6958ff
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoCheckstyle formatting issues fix (Logger) 99/43899/2
Ritu Sood [Fri, 12 Aug 2016 05:15:11 +0000 (22:15 -0700)]
Checkstyle formatting issues fix (Logger)

Patch fixes WhitespaceAround, ArrayTypeStyle, OperatorWrap,
LineLength and other formatting checkstyle issues for
logger files.

Change-Id: I7e763dc1b097e70d4b2c5af231709d0861d33654
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoCheckstyle formatting issues fix (Transcriber) 95/43895/2
Ritu Sood [Fri, 12 Aug 2016 04:07:43 +0000 (21:07 -0700)]
Checkstyle formatting issues fix (Transcriber)

Patch fixes WhitespaceAround,  OperatorWrap,
LineLength and other formatting checkstyle issues for
transcriber files.

Change-Id: I71fa7937648fb07dd8a8eb53c7683a47953c87ff
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoCheckstyle misc issues fix(Northbound API) 93/43893/2
Ritu Sood [Fri, 12 Aug 2016 03:48:59 +0000 (20:48 -0700)]
Checkstyle misc issues fix(Northbound API)

Patch fixes VariableDeclarationUsageDistance, RedundantModifier,
OverloadMethodsDeclarationOrder checkstyle issues for
northbound api files.

Change-Id: If6f91851648e5a10094f0c6c03e07983ebca08f0
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoCheckstyle formatting issues fix (Northbound API) 92/43892/2
Ritu Sood [Fri, 12 Aug 2016 01:30:28 +0000 (18:30 -0700)]
Checkstyle formatting issues fix (Northbound API)

Patch fixes WhitespaceAround, ArrayTypeStyle, OperatorWrap,
LineLength and other formatting checkstyle issues for
northbound api files.

Change-Id: I11123566ee4d96f3310c74834e9d0977af80f8f8
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoCheckstyle formatting issues fix (SPI) 83/43883/2
Ritu Sood [Fri, 12 Aug 2016 01:03:57 +0000 (18:03 -0700)]
Checkstyle formatting issues fix (SPI)

Patch fixes WhitespaceAround, ArrayTypeStyle, OperatorWrap,
LineLength and other formatting checkstyle issues for
neutron-spi files.

Change-Id: Iafb65de2f544212e655d497d5e39a4bcb7f32b76
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoCheckstyle Import issues fix (Transcriber) 76/43876/2
Ritu Sood [Thu, 11 Aug 2016 22:40:16 +0000 (15:40 -0700)]
Checkstyle Import issues fix (Transcriber)

Patch fixes Import order issues and also removes
the unused imports. Patch is for transcriber.

Change-Id: Ib247eebb771ec66bd60f67cf457cf248f2dbf565
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoCheckstyle Import issues fix (SPI tests,Northbound API) 73/43873/3
Ritu Sood [Thu, 11 Aug 2016 22:32:47 +0000 (15:32 -0700)]
Checkstyle Import issues fix (SPI tests,Northbound API)

Patch fixes Import order issues and also removes
the unused imports. Patch is for spi tests,
northbound api.

Change-Id: I005975da29580140e28a4667b54729710857d362
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoCheckstyle Import issues fix (SPI, Model) 72/43872/2
Ritu Sood [Thu, 11 Aug 2016 22:22:44 +0000 (15:22 -0700)]
Checkstyle Import issues fix (SPI, Model)

Patch fixes Import order issues and also removes
the unused imports. Patch is for Integration tests,
spi and model

Change-Id: I5565cf9f83ba9bc3092ebaa8c40c8d3056821e72
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoBump ietf versions to ...10-SNAPSHOT 16/43516/1
Thanh Ha [Tue, 9 Aug 2016 14:03:08 +0000 (10:03 -0400)]
Bump ietf versions to ...10-SNAPSHOT

Bump versions according to:
https://lists.opendaylight.org/pipermail/release/2016-August/007731.html

Change-Id: Iced0c6aa67afea7022dcef70ab4dbb098dbf098a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix ietf-yang-types version 71/43471/1
Thanh Ha [Tue, 9 Aug 2016 04:58:51 +0000 (00:58 -0400)]
Fix ietf-yang-types version

The version bump script messed up the ietf-yang-types version. Fixing it
with this patch.

Change-Id: I09c85b68b79e98f129297250c5ed69d1f58a235c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoBump versions by 0.1.0 for next dev cycle 30/43430/1
Thanh Ha [Mon, 8 Aug 2016 21:50:17 +0000 (17:50 -0400)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I5763bc1e3fe66570d0944ef515a7142608678cb9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoRemove unused controller's jersey dependency 42/43142/1
Isaku Yamahata [Thu, 4 Aug 2016 18:58:57 +0000 (11:58 -0700)]
Remove unused controller's jersey dependency

Change-Id: I4e42c9bf9c82eb26404f0745f4c08fee92df0126
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "Adds Postman scripts to verify the API of QOS feature"
Isaku Yamahata [Tue, 2 Aug 2016 17:23:08 +0000 (17:23 +0000)]
Merge "Adds Postman scripts to verify the API of QOS feature"

7 years agoAdds Postman scripts to verify the API of QOS feature 65/42665/3
pramod [Thu, 28 Jul 2016 07:01:11 +0000 (00:01 -0700)]
Adds Postman scripts to verify the API of QOS feature

The postman scripts can be imported into postman to make the REST calls
for Creating, Updating and deleting the QOS policies.

Change-Id: Id9c452d3c80cf0c79f32f783c96e0f2ed7b044bf
Signed-off-by: pramod <pramod.raghavendra.jayathirth@intel.com>
7 years agoBug 6327 - transcriber port security group 37/42937/1
Isaku Yamahata [Tue, 2 Aug 2016 00:10:20 +0000 (17:10 -0700)]
Bug 6327 - transcriber port security group

SecurityGroup of Port includes only lists of uuids of security group.
Its contents aren't necessary on fromMd().
remove unnecessary logic to fulfill SecurityGroups.

Change-Id: I17bde352c842236b83d4c7b2bd1ffeebbf1c8211
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoThis Increases the test coverage of the Neutronbgpvpn 45/32845/16
Pramod [Fri, 15 Jan 2016 19:35:25 +0000 (11:35 -0800)]
This Increases the test coverage of the Neutronbgpvpn

Modified the tests to improve the code coverage

Change-Id: I26e9f47c22d4d0199fcdec451382aa3ecc50fdd2
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
7 years agoAdd missing license headers 75/42375/1
Thanh Ha [Sat, 23 Jul 2016 02:53:59 +0000 (22:53 -0400)]
Add missing license headers

Change-Id: I9b8fa15d5b42585826e8b4b21fef0547d8e1a4db
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoAdd Qos transcriber file and n/w and port extensions 26/41226/8
Ritu Sood [Sun, 17 Jul 2016 06:30:27 +0000 (23:30 -0700)]
Add Qos transcriber file and n/w and port extensions

Patches adds changes to implement transcriber
functionality for Qos feature. Also added code to support
network and port extensions for Qos.
Depends on the other Qos patches
https://git.opendaylight.org/gerrit/#/c/37165/

Change-Id: I29a539a5d980330b80ba3fe319e1ec823d0e2491
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoAdds the "Quality of Service" to the OpenDayLight Neutron 65/37165/27
pramod [Tue, 5 Apr 2016 23:46:55 +0000 (16:46 -0700)]
Adds the "Quality of Service" to the OpenDayLight Neutron

This patch enables the Quality of Service feature in the OpenDayLight
Neutron.
The implementation is done as follows
1. Defining the YANG model
2. Implementing of API
3. Testing the developed API

The QOS is achieved using either limiting the bandwidth or through
DSCP marking

Data model -
https://specs.openstack.org/openstack/neutron-specs/specs/liberty/qos-api-extension.html
This link has the data model changes as suggested by the OpenStack
Neutron for the QOS feature
API -
http://developer.openstack.org/api-ref-networking-v2-ext.html#qos-ext
This link has the API for the Openstack for the QOS feature

Change-Id: I7074dbb6d494b1267b66a925742e9812ef8a9304
Signed-off-by: pramod <pramod.raghavendra.jayathirth@intel.com>
7 years agoMerge "Security rule: tests to exercise int as protocol"
Isaku Yamahata [Tue, 19 Jul 2016 20:03:59 +0000 (20:03 +0000)]
Merge "Security rule: tests to exercise int as protocol"

7 years agomake neutron.yang consistent 09/41909/1
Isaku Yamahata [Fri, 15 Jul 2016 19:48:12 +0000 (12:48 -0700)]
make neutron.yang consistent

Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Change-Id: Iee560804c49fc3cc6f193e1d52576d11e84e8cd4

7 years agoyang model for neutron extensions api 08/40508/2
Isaku Yamahata [Sat, 18 Jun 2016 01:36:57 +0000 (18:36 -0700)]
yang model for neutron extensions api

This patch defines a yang model for neutron extension api [1].
Through this model, openstack service provider is able to tell networking-odl
which neutron extensions are supported.

[1] http://developer.openstack.org/api-ref-networking-v2-ext.html#neutron_extensions

Change-Id: I68fc840545d260486fb7ab2e9cab10b9628daf1a
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoSecurity rule: tests to exercise int as protocol 08/41908/1
Isaku Yamahata [Fri, 15 Jul 2016 19:17:21 +0000 (12:17 -0700)]
Security rule: tests to exercise int as protocol

Enhance tests to exercise more patterns in protocol of security group
rule. It accepts not only protocol name and also integer.
This patch is follow up patch for Bug 6112.

Change-Id: Ic3a944f1612dd67a0366b610ad77ad92c948eb07
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "Upgrade ietf-{inet,yang}-types to 2013-07-15"
Thanh Ha [Wed, 13 Jul 2016 15:14:42 +0000 (15:14 +0000)]
Merge "Upgrade ietf-{inet,yang}-types to 2013-07-15"

7 years agoMerge "drop unnecessary executable flag of .gitignore"
Isaku Yamahata [Mon, 11 Jul 2016 20:46:21 +0000 (20:46 +0000)]
Merge "drop unnecessary executable flag of .gitignore"

7 years agoMerge "Fix for multiple external fixedIPs under router-ext-gw-info"
Isaku Yamahata [Mon, 11 Jul 2016 20:46:01 +0000 (20:46 +0000)]
Merge "Fix for multiple external fixedIPs under router-ext-gw-info"

7 years agodrop unnecessary executable flag of .gitignore 76/41676/1
Isaku Yamahata [Mon, 11 Jul 2016 19:17:07 +0000 (12:17 -0700)]
drop unnecessary executable flag of .gitignore

Change-Id: I9bc0049f01db2c7c7f4f0c4b6e34d2b94da10da6
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "remove dummyprovider"
Isaku Yamahata [Mon, 11 Jul 2016 18:19:26 +0000 (18:19 +0000)]
Merge "remove dummyprovider"

7 years agoMerge "remove unused methods"
Isaku Yamahata [Mon, 11 Jul 2016 18:01:40 +0000 (18:01 +0000)]
Merge "remove unused methods"

7 years agoFix for multiple external fixedIPs under router-ext-gw-info 44/41544/2
Abhinav Gupta [Fri, 8 Jul 2016 07:43:05 +0000 (13:13 +0530)]
Fix for multiple external fixedIPs under router-ext-gw-info

Updated the key to use both subnetID and fixedIP to allow multiple
fixedIPs per subnet to be configured.

Bug ID: https://bugs.opendaylight.org/show_bug.cgi?id=5723

Change-Id: Ib0bd24229ed3891275eb5dc5d02c0afd52065d41
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
7 years agoremove unused methods 02/41602/1
Isaku Yamahata [Sat, 9 Jul 2016 01:27:34 +0000 (18:27 -0700)]
remove unused methods

Change-Id: Ib7259505f4e289a7a356879a8fa2f87f224c460a
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoBug 6015 - Null Pointer Exception AbstractNeutronNorthbound#create 01/41601/1
Isaku Yamahata [Fri, 8 Jul 2016 23:49:31 +0000 (16:49 -0700)]
Bug 6015 - Null Pointer Exception AbstractNeutronNorthbound#create

When invalid body is passed to northbound API, request has
singleton = null and bluk=null. which causes null pointer exception.
This patch adds null pointer check to return bad request.

> 2016-07-08 16:41:03,049 | ERROR | qtp907264148-112 | ContainerResponse                | 84 - com.sun.jersey.jersey-server - 1.17.0 | The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
> java.lang.NullPointerException
>         at org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound.create(AbstractNeutronNorthbound.java:70)[247:org.opendaylight.neutron.northbound-api:0.7.0.SNAPSHOT]
>         at org.opendaylight.neutron.northbound.api.NeutronSecurityGroupsNorthbound.createSecurityGroups(NeutronSecurityGroupsNorthbound.java:155)[247:org.opendaylight.neutron.northbound-api:0.7.0.SNAPSHOT]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_91]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_91]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_91]
>         at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_91]
>         at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)[84:com.sun.jersey.jersey-server:1.17.0]
>         at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)[215:com.sun.jersey.servlet:1.17.0]
>         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)[215:com.sun.jersey.servlet:1.17.0]
>         at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)[215:com.sun.jersey.servlet:1.17.0]
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)[184:org.apache.geronimo.specs.geronimo-servlet_3.0_spec:1.0.0]
>         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1496)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:247)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:210)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[225:org.apache.shiro.core:1.2.5]
>         at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[225:org.apache.shiro.core:1.2.5]
>         at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)[225:org.apache.shiro.core:1.2.5]
>         at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[226:org.apache.shiro.web:1.2.5]
>         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[226:org.apache.shiro.web:1.2.5]
>         at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1467)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69)[198:org.ops4j.pax.web.pax-web-jetty:3.2.6]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240)[198:org.ops4j.pax.web.pax-web-jetty:3.2.6]
>         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:75)[198:org.ops4j.pax.web.pax-web-jetty:3.2.6]
>         at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.Server.handle(Server.java:370)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:651)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[189:org.eclipse.jetty.aggregate.jetty-all-server:8.1.17.v20150415]
>         at java.lang.Thread.run(Thread.java:745)[:1.8.0_91]

Change-Id: Id099c6e08dc4193e9991aab8605e24c7eb01f19b
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoadd -Xlint:unchecked and -Xlint:deprecation to compiler argument 79/41379/1
Isaku Yamahata [Wed, 6 Jul 2016 06:02:47 +0000 (23:02 -0700)]
add -Xlint:unchecked and -Xlint:deprecation to compiler argument

This patch adds compiler option -Xlint:unchecked and -Xlint:deprecation
and remove their warnings.

Change-Id: I3f1c4b8411da480cfb86671819cb88f78ae32ccf
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoparent/pom.xml: don't user java 1.7, but the one odlparent uses 78/41378/1
Isaku Yamahata [Wed, 6 Jul 2016 04:50:40 +0000 (21:50 -0700)]
parent/pom.xml: don't user java 1.7, but the one odlparent uses

Now odl migrated to java 1.8. There is no point to fix
compiler version to 1.7.

Change-Id: I59f7131d9a81ee0dee0e36c31818084505f404b8
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoUpgrade ietf-{inet,yang}-types to 2013-07-15 90/40790/2
Lorand Jakab [Thu, 23 Jun 2016 21:21:59 +0000 (16:21 -0500)]
Upgrade ietf-{inet,yang}-types to 2013-07-15

Change-Id: Iea916536d5d33486db29c4f8bad122a22c9b903f
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
7 years agoremove dummyprovider 74/40974/3
Isaku Yamahata [Tue, 28 Jun 2016 21:22:46 +0000 (14:22 -0700)]
remove dummyprovider

Now dummyprovider does nothing but provider feature name.
This patch removes dummyprovider

Change-Id: I523fc69552053b54f8c7a780fcc7bd3bd8bf8fce
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "Logger on neutron model"
Isaku Yamahata [Fri, 1 Jul 2016 17:53:06 +0000 (17:53 +0000)]
Merge "Logger on neutron model"

7 years agoRemoved repository and snapshotRepository sections 20/41220/1
Hideyuki Tai [Fri, 1 Jul 2016 11:52:42 +0000 (04:52 -0700)]
Removed repository and snapshotRepository sections

Some POM files defined the repository and snapshotRepository information
in their distributionManagement section. However, they inherits these
information from their ancestor POM, odlparent-lite, so they do not need
to have those sections. This patch removed those unnecessary sections.

Change-Id: I0038028917f570f2fa3a6aaf570a77798a3d3563
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
7 years agoLogger on neutron model 92/40392/6
Isaku Yamahata [Sat, 27 Feb 2016 09:28:04 +0000 (01:28 -0800)]
Logger on neutron model

This patch implements logger on neutron model change for debug.

Change-Id: Ifd079de8cded725d79ec2fe638415ab7be640318
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoOpenDaylight Networking SFC Port Chain REST APIs 48/40848/8
Anil Vishnoi [Fri, 1 Jul 2016 01:19:01 +0000 (18:19 -0700)]
OpenDaylight Networking SFC Port Chain REST APIs

This patch defines REST API's in Neutron Northbound project
for the networking sfc port chain APIs and implementation of
the translation code to convert these REST API data to the
networking-sfc port chain Yang models. These Neutron
Northbound REST API's are defined based on the OpenStack
Networking-SFC Port Chain APIs available at following URL.
http://docs.openstack.org/developer/networking-sfc/api.html#rest-api

Change-Id: Icb9f581157ce150d846dad6d6321c40a9e642e1b
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoOpenDaylight Networking SFC Port Pair Group REST APIs 47/40847/9
Anil Vishnoi [Sun, 26 Jun 2016 23:10:56 +0000 (16:10 -0700)]
OpenDaylight Networking SFC Port Pair Group REST APIs

This patch defines REST API's in Neutron Northbound project
for the networking sfc port pair group APIs and implementation of
the translation code to convert these REST API data to the
networking-sfc port pair group Yang models. These Neutron
Northbound REST API's are defined based on the OpenStack
Networking-SFC Port Pair Group APIs available at following URL.

http://docs.openstack.org/developer/networking-sfc/api.html#rest-api

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Change-Id: Ib25544b711873983be7733ec552328220fd8a85d

7 years agoOpenDaylight Networking SFC Port Pair REST APIs 46/40846/7
Anil Vishnoi [Sun, 26 Jun 2016 21:48:43 +0000 (14:48 -0700)]
OpenDaylight Networking SFC Port Pair REST APIs

This patch defines REST API's in Neutron Northbound project
for the networking sfc port pair APIs and implementation of
the translation code to convert these REST API data to the
networking-sfc Yang models. These Neutron Northbound REST
API's are defined based on the OpenStack Networking-SFC Flow
Classifier APIs available at following URL.

http://docs.openstack.org/developer/networking-sfc/api.html#rest-api

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Change-Id: Ie8b3bf725e492443ac4b0056c255a71e16b1635a

7 years agoOpenDaylight Networking SFC Flow Classifier REST APIs 43/40843/7
Anil Vishnoi [Sat, 25 Jun 2016 03:10:14 +0000 (20:10 -0700)]
OpenDaylight Networking SFC Flow Classifier REST APIs

This patch defines REST API's for the networking sfc flow
classifier API and implementation the translation code
to convert these REST API data to the networking-sfc
Yang models. These Neutron Northbound REST API's are defined
based on the OpenStack Networking-SFC Flow Classifier APIs
available at following URL.

http://docs.openstack.org/developer/networking-sfc/api.html#rest-api

Change-Id: Ifcdec7025715c1e9fa5f90aa9cbc475e7a1e9427
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoMapping Exception caused by Overloaded NeutronObject#setTenantId() 97/40897/4
Anil Vishnoi [Mon, 27 Jun 2016 21:18:26 +0000 (14:18 -0700)]
Mapping Exception caused by Overloaded NeutronObject#setTenantId()

Overloaded method for json property is causing Mapping Exception
com.fasterxml.jackson.databind.JsonMappingException:
Conflicting setter definitions for property tenantID:
org.opendaylight.neutron.spi.NeutronObject#setTenantID(1 params)
vs org.opendaylight.neutron.spi.NeutronObject#setTenantID(1 params)

Change-Id: I6278268203e5a3c593b260df02fb4a6143213d26
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
7 years agoadd blueprint wiring for neutron/transcriber 11/40911/5
Isaku Yamahata [Tue, 28 Jun 2016 05:07:55 +0000 (22:07 -0700)]
add blueprint wiring for neutron/transcriber

Change-Id: I502d78e17ec956f1bdf0c12907e6fdbb2dfcf35d
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoMerge "AbstractNorthbound: remove unused variables"
Isaku Yamahata [Tue, 21 Jun 2016 17:49:07 +0000 (17:49 +0000)]
Merge "AbstractNorthbound: remove unused variables"

7 years agoMerge "remove redundant methods for compatibility"
Isaku Yamahata [Tue, 21 Jun 2016 17:48:31 +0000 (17:48 +0000)]
Merge "remove redundant methods for compatibility"

7 years agoAbstractNorthbound: remove unused variables 28/40628/1
Isaku Yamahata [Tue, 21 Jun 2016 16:21:11 +0000 (09:21 -0700)]
AbstractNorthbound: remove unused variables

update and delete has unused variables.
This patch removes them.

Change-Id: I96825160e67f66ee1f7ec17e27b5ba8a6b6cd639
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoremove redundant methods for compatibility 80/40580/1
Isaku Yamahata [Tue, 21 Jun 2016 05:16:56 +0000 (22:16 -0700)]
remove redundant methods for compatibility

Now neutron spi doesn't have any dependency by other project. Redundant
methods for compatibility can be removed safely.

Change-Id: Ie1325605862917a16364f519746ad8e448dc2573
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoclean up: remove unused import 70/40570/1
Isaku Yamahata [Mon, 20 Jun 2016 19:48:36 +0000 (12:48 -0700)]
clean up: remove unused import

This patch removes unused import.
This is done by eclipse source code clean up over whole neutron
northbound project.

Change-Id: Ibf5136e3ce75bf153ad22fada76b5ebf063375a8
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years ago[Boron] remove I*Aware interface 05/35505/6
Isaku Yamahata [Sat, 27 Feb 2016 09:38:21 +0000 (01:38 -0800)]
[Boron] remove I*Aware interface

don't backport to Beryllium or before.
remove I*Aware interface. This patch removes deprecated I*Aware interface.
This may break dependent projects so that the merge of this patch requires
coordination with them.

Change-Id: I2ddcb14f314dae7981bf030cdf5c54d74bb800a4
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoyang model revise: neutron.yang 07/40507/1
Isaku Yamahata [Sat, 18 Jun 2016 01:28:16 +0000 (18:28 -0700)]
yang model revise: neutron.yang

neutron.yang should have its prefix as neutron, not neutron-L3.
This seems copy-and-paste bug from neutron-L3.yang

Change-Id: I02a7bd0692cd646a93ad750ad37b5891df480983
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoyang model revise: neutron-secgroups.yang 37/35837/8
Isaku Yamahata [Fri, 4 Mar 2016 02:03:55 +0000 (18:03 -0800)]
yang model revise: neutron-secgroups.yang

This patch revises yang model for security group and related codes.
- drop description for consistency which isn't very useful
- rename id to uuid for consistency
- drop backpointer. list of security rules in security group
  If openstack provider wants a list of rules associated to a given
  security group, walk through rules whose group is the uuid of the group
- eliminated the deprecated methods in neutron-spi

Change-Id: I7a3c79eae446858d6f0f4b8cd8757c85c1dab370
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
7 years agoyang model revise: neutron-binding.yang 30/39330/4
Isaku Yamahata [Wed, 18 May 2016 19:44:12 +0000 (12:44 -0700)]
yang model revise: neutron-binding.yang

This patch revises yang model for neutron-binding and the related code.
- fix vif details. it's a dictionary

Change-Id: Ie1f7e4a63638f143c9396a5d6f1a81aad0628595
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
7 years agoyang model revise: neutron-l2gateways.yang 38/39238/5
Isaku Yamahata [Wed, 18 May 2016 19:46:44 +0000 (12:46 -0700)]
yang model revise: neutron-l2gateways.yang

This patch revises yang model for l2gateways and the related code
- missing uuid for devices
- pyang warning. unused import, missing key for list
- code indentation

Change-Id: Id20201bc09ea904476d428c4a411d27c1d7bbcf3
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>