neutron.git
8 years agoFix mac_regex constant name and type 99/23999/1
Ryan Moats [Fri, 10 Jul 2015 16:06:46 +0000 (11:06 -0500)]
Fix mac_regex constant name and type

Change-Id: Icf6e46bad90d1f45af0e6b28237e52066472e003
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
8 years agoMerge "Consolidate duplicated code from transcriber classes"
Flavio Fernandes [Fri, 10 Jul 2015 00:19:31 +0000 (00:19 +0000)]
Merge "Consolidate duplicated code from transcriber classes"

8 years agoMerge "Remove @deprecation from FWaaS classes"
Flavio Fernandes [Fri, 10 Jul 2015 00:15:45 +0000 (00:15 +0000)]
Merge "Remove @deprecation from FWaaS classes"

8 years agoRemove @deprecation from FWaaS classes 29/23929/3
Ryan Moats [Wed, 8 Jul 2015 20:26:54 +0000 (15:26 -0500)]
Remove @deprecation from FWaaS classes

FWaaS is not going away in Liberty, so related classes need to hang
around.

Change-Id: Ie9c338a110d42db3cf1ce3513e4012ea5bcd266a
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
8 years agoConsolidate duplicated code from transcriber classes 62/23962/1
Ryan Moats [Thu, 9 Jul 2015 22:21:04 +0000 (17:21 -0500)]
Consolidate duplicated code from transcriber classes

The AbstractNeutronInterface allows us to consolidate the overwrite
method that was part of multiple classes in transcriber

Change-Id: Ifee0936649d91cb086c2894a9a054ee031b64782
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
8 years agoChange NeutronCRUDInterfaces class from static 61/23961/1
Ryan Moats [Thu, 9 Jul 2015 20:21:45 +0000 (15:21 -0500)]
Change NeutronCRUDInterfaces class from static

This change is intended to make it easier to scale when we
start adding extensions by not requiring code to call static
methods in NeutronCRUDInterfaces

Change-Id: I5b6bb03e992e7ec51fc236b6cccf2876e7b61cf9
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
8 years agoCreate custom checkstyle rules for NN 61/23861/2
Ryan Moats [Wed, 8 Jul 2015 00:25:43 +0000 (19:25 -0500)]
Create custom checkstyle rules for NN

There are some rules in ODL parent checkstyle that
are annoying - this patch allows us to set our own
for some of them

Change-Id: I4045988200508c4976290a526e7d2ee504c58e25
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
8 years agoAdapting reporting approach to work with maven goal order 20/23920/1
Ryan Moats [Wed, 8 Jul 2015 17:37:00 +0000 (12:37 -0500)]
Adapting reporting approach to work with maven goal order

Because maven goals are set to "clean install", that means
the top level project has to move the IT reports from the
integration test project to itself.

Change-Id: Id7c09fd020739ef335e9ca63df2c3322c22d147a
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
8 years agoFix code duplication in report to sonar 13/23913/1
Ryan Moats [Wed, 8 Jul 2015 16:09:53 +0000 (11:09 -0500)]
Fix code duplication in report to sonar

The patch that got IT reporting working had the nasty
side effect of doubling the LoC reported by sonar
for the module. This patch rearranges things to
fix that and report IT results for each of the modules,
rather than from the IT module.

Change-Id: Ied75efa67ce8843c6650d3a04a333586bf35c747
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
8 years agoMerge "neutron-secgroups.yang: update model for security group"
Ryan Moats [Wed, 8 Jul 2015 03:50:54 +0000 (03:50 +0000)]
Merge "neutron-secgroups.yang: update model for security group"

8 years agoneutron-secgroups.yang: update model for security group 60/23860/1
Isaku Yamahata [Mon, 6 Jul 2015 23:59:51 +0000 (16:59 -0700)]
neutron-secgroups.yang: update model for security group

- neutron security group accepts protocol as integer.
  It's defined as uint8.
- neutron security group defines port as uint16 since
  its port number of UDP/TCP.
  There is no point to define it as uint32.

Change-Id: I6fe01623ad07800a663fbd871dcfb030b9eef098
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
8 years agoYet another attempt at IT reporting to Sonar 57/23857/2
Ryan Moats [Tue, 7 Jul 2015 21:24:09 +0000 (16:24 -0500)]
Yet another attempt at IT reporting to Sonar

Change-Id: Ic133322d05988ef535890dc2508186f674ac20f7
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
8 years agoRemove model classes from sonar reporting 54/23754/1
Ryan Moats [Sun, 5 Jul 2015 11:48:52 +0000 (06:48 -0500)]
Remove model classes from sonar reporting

Change-Id: I53e21a1fb8c4b2dc21c12a3ff73be6fc86143d19
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
8 years agoTry to fix IT reporting to sonar via parameter set 49/23749/1
Ryan Moats [Sat, 4 Jul 2015 16:40:31 +0000 (11:40 -0500)]
Try to fix IT reporting to sonar via parameter set

Change-Id: Id25d1578f91fe9abf6ccb4525b4f4b70e3270ce1
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoTry #2 to bring IT to sonar 09/23709/1
Ryan Moats [Thu, 2 Jul 2015 21:03:09 +0000 (16:03 -0500)]
Try #2 to bring IT to sonar

Change-Id: I184b79ec199bf6cc868151287f1e3cb296cd1359
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "Bringing IT back on line with reporting to sonar"
Ryan Moats [Thu, 2 Jul 2015 20:51:21 +0000 (20:51 +0000)]
Merge "Bringing IT back on line with reporting to sonar"

9 years agoMerge "pyang: missing key in neutron port attribute"
Ryan Moats [Thu, 2 Jul 2015 20:46:09 +0000 (20:46 +0000)]
Merge "pyang: missing key in neutron port attribute"

9 years agoBringing IT back on line with reporting to sonar 07/23707/1
Ryan Moats [Thu, 2 Jul 2015 20:44:13 +0000 (15:44 -0500)]
Bringing IT back on line with reporting to sonar

Change-Id: Id149e1759e6468c0a9f5bc1111609ba0aadc59be
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoChange ut and surefire configuration back to default 05/23705/4
Ryan Moats [Thu, 2 Jul 2015 19:39:02 +0000 (14:39 -0500)]
Change ut and surefire configuration back to default

Also remove it via failsafe for now

Change-Id: I45c72a59b0885b451fa3237444ff187026f6d168
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agopyang: missing key in neutron port attribute 17/23617/2
Isaku Yamahata [Tue, 30 Jun 2015 19:12:51 +0000 (12:12 -0700)]
pyang: missing key in neutron port attribute

This patch fixes the following error by pyang.
ip version is missing for extra dhcp attribute and add key statement.

> neutron.yang:42: error: the list at "neutron.yang:42 (at neutron-ports.yang:54)" needs at least one key because it is used as config

Change-Id: Ie2ae3661799fc2b7179f028c4a586a1593e23c69
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
9 years agoAnother try at getting reporting to sonar 03/23703/1
Ryan Moats [Thu, 2 Jul 2015 18:52:44 +0000 (13:52 -0500)]
Another try at getting reporting to sonar

Change-Id: I7d50b17257764d5fe390029d181597109c7bd9ce
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoUse default outputDirectory for jacoco 00/23700/2
Thanh Ha [Thu, 2 Jul 2015 16:44:57 +0000 (12:44 -0400)]
Use default outputDirectory for jacoco

Change-Id: Idbf8ce667e3d052a833e880e6454e6e0ed6baf49
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoChanges to see if we can get results reported to sonar 99/23699/1
Ryan Moats [Thu, 2 Jul 2015 16:32:35 +0000 (11:32 -0500)]
Changes to see if we can get results reported to sonar

Change-Id: I81f6e1ef5df6a0769a7dc42880a9c88e7bfec327
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "Augment Bug 3812 test with second subnet delete"
Flavio Fernandes [Thu, 2 Jul 2015 15:28:46 +0000 (15:28 +0000)]
Merge "Augment Bug 3812 test with second subnet delete"

9 years agoMerge "Fix NPEs in dependent port code called by network delete"
Flavio Fernandes [Thu, 2 Jul 2015 15:27:50 +0000 (15:27 +0000)]
Merge "Fix NPEs in dependent port code called by network delete"

9 years agoMerge "pyang: add missing key for list statement"
Ryan Moats [Thu, 2 Jul 2015 15:17:48 +0000 (15:17 +0000)]
Merge "pyang: add missing key for list statement"

9 years agoMerge "pyang: eliminate warning by pyang validation"
Ryan Moats [Thu, 2 Jul 2015 15:15:54 +0000 (15:15 +0000)]
Merge "pyang: eliminate warning by pyang validation"

9 years agoFix NPEs in dependent port code called by network delete 60/23660/2
Ryan Moats [Wed, 1 Jul 2015 20:47:10 +0000 (15:47 -0500)]
Fix NPEs in dependent port code called by network delete

Change-Id: I6be0c33324290547d29e430c96930cc36da8d20d
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoSpecifically log deletes via dummyprovider 47/23647/3
Ryan Moats [Wed, 1 Jul 2015 18:21:26 +0000 (13:21 -0500)]
Specifically log deletes via dummyprovider

Fixes the fact that the original dummyprovider code
didn't log deletes well.

Change-Id: I15d97abde4b56b0e42932fc6aaa590470bd4ce52
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoAugment Bug 3812 test with second subnet delete 48/23648/1
Ryan Moats [Wed, 1 Jul 2015 18:25:41 +0000 (13:25 -0500)]
Augment Bug 3812 test with second subnet delete

Change-Id: Ic9b7d502ec602139b95774944849638afa9eac67
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agopyang: add missing key for list statement 16/23616/1
Isaku Yamahata [Tue, 30 Jun 2015 19:08:45 +0000 (12:08 -0700)]
pyang: add missing key for list statement

This patch fixes following pyang errors

> neutron.yang:38: error: the list at "neutron.yang:38 (at neutron-L3.yang:155)" needs at least one key because it is used as config
> neutron.yang:40: error: the list at "neutron.yang:40 (at neutron-metering.yang:80)" needs at least one key because it is used as config
> neutron.yang:41: error: the list at "neutron.yang:41 (at neutron-metering.yang:90)" needs at least one key because it is used as config
> neutron.yang:42: error: the list at "neutron.yang:42 (at neutron-ports.yang:33)" needs at least one key because it is used as config

Change-Id: Iebfd6a0233a37eac539613c7f3e6cf765f9a0cee
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
9 years agopyang: eliminate warning by pyang validation 15/23615/1
Isaku Yamahata [Tue, 30 Jun 2015 18:35:21 +0000 (11:35 -0700)]
pyang: eliminate warning by pyang validation

Eliminate those warnings
> warning: imported module ietf-inet-types not used
> warning: imported module ietf-inet-types not used

Change-Id: Ic8fdf3a60b74a1738f8654d26eed96b23c89b441
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
9 years agoFix selected neutron Tempest test 29/23529/3
Ryan Moats [Mon, 29 Jun 2015 19:34:02 +0000 (14:34 -0500)]
Fix selected neutron Tempest test

Added IT code to test and address issues found by
PortsIpV6TestJSON.test_create_port_in_allowed_allocation_pools

This also fixes bugs 2540, 2541, 2542, 2543, 2544, and 2550

Change-Id: I351b4419cb6e5938ae684e512a3f2fedaf21bbc0
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoPay down technical debt: remove trailing comments 75/23275/3
Ryan Moats [Thu, 25 Jun 2015 14:24:17 +0000 (09:24 -0500)]
Pay down technical debt: remove trailing comments

Squid includes a rule that Comments should not be located at the
end of lines of code to ensure readability. The main idea behind
this rule is that in order to be really readable, trailing comments
would have to be property written and formatted (correct alignment,
no interference with the visual structure of the code, not too long
to be visible) but most often, automatic code formatters would not
handle this correctly: the code would end up less readable.

Therefore, comments are far better placed on the previous empty
line of code, where they will always be visible and properly
formatted.

Change-Id: I5b1db07b0995d48508f7770a88ad807326b5a0e5
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoPay down technical debt: close remaining minor items 80/23280/2
Ryan Moats [Thu, 25 Jun 2015 16:25:49 +0000 (11:25 -0500)]
Pay down technical debt: close remaining minor items

Change-Id: I754748b54819dcecf98fe7df1ef7cb12c7a980bd
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "pyang: fix import error"
Ryan Moats [Fri, 26 Jun 2015 03:10:02 +0000 (03:10 +0000)]
Merge "pyang: fix import error"

9 years agoMerge "pyang: warning unused imported module"
Ryan Moats [Fri, 26 Jun 2015 03:09:55 +0000 (03:09 +0000)]
Merge "pyang: warning unused imported module"

9 years agopyang: warning unused imported module 93/23393/2
Isaku Yamahata [Thu, 25 Jun 2015 21:33:29 +0000 (14:33 -0700)]
pyang: warning unused imported module

This patch eliminates the pyang warning like
warning: imported module neutron-xxx not used

Change-Id: Ia9b52addf8d477dcf1d3796f365957eb5164faf2
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
9 years agopyang: fix import error 92/23392/1
Isaku Yamahata [Thu, 25 Jun 2015 22:53:26 +0000 (15:53 -0700)]
pyang: fix import error

pyang complains
> error: module "neutron-networks" not found in search path

From rfc6020.txt
> 5.2.  File Layout
>
>    YANG modules and submodules are typically stored in files, one module
>    or submodule per file.  The name of the file SHOULD be of the form:
>
>      module-or-submodule-name ['@' revision-date] ( '.yang' / '.yin' )

Since it says "SHOULD", the file name convention is not mandatory.
But there isn't any good reason to have a file name
of neutron-network.yang (without lasting "s").

Change-Id: Ic6c98382fbbc5e073d5fc18e4a3dccdb4569face
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
9 years agoCorrect handling of SGRs and SGs 89/23389/1
Ed Warnicke [Thu, 25 Jun 2015 22:50:42 +0000 (16:50 -0600)]
Correct handling of SGRs and SGs

Change-Id: I562d37a242d824809ed0cfdb16bbba2c1e91fb95
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
9 years agoMerge "Technical debt paydown: clean up repeated string constants"
Flavio Fernandes [Wed, 24 Jun 2015 00:11:41 +0000 (00:11 +0000)]
Merge "Technical debt paydown: clean up repeated string constants"

9 years agoMerge "Fix SecGrp and SecGrpRule."
Flavio Fernandes [Wed, 24 Jun 2015 00:11:22 +0000 (00:11 +0000)]
Merge "Fix SecGrp and SecGrpRule."

9 years agoFix SecGrp and SecGrpRule. 04/23204/1
Ed Warnicke [Thu, 4 Jun 2015 23:16:52 +0000 (16:16 -0700)]
Fix SecGrp and SecGrpRule.

I can now get SecGrp and SecGrpRules from:
https://review.openstack.org/#/c/178325/

Change-Id: Ieaf9aefda432908f8af38c180d6eb31a1eea15e0
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
(cherry picked from commit 3e3b80adc65d712daa6811beaf72eb6dad893694)

9 years agoClean up IT and address Bug 3812 80/23180/4
Ryan Moats [Tue, 23 Jun 2015 15:46:01 +0000 (10:46 -0500)]
Clean up IT and address Bug 3812

Change-Id: If6e125ec87f0341cc5b34c91375b603e18a875fd
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoTechnical debt paydown: clean up repeated string constants 08/23108/1
Ryan Moats [Mon, 22 Jun 2015 15:12:48 +0000 (10:12 -0500)]
Technical debt paydown: clean up repeated string constants

Change-Id: I7ab8d6fd3e3db8d88c6fc53b9f993896fdcebf0a
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoRun jacoco in UT VM and report to sonar 03/23003/2
Ryan Moats [Fri, 19 Jun 2015 18:40:09 +0000 (13:40 -0500)]
Run jacoco in UT VM and report to sonar

Change-Id: I1e18cf949cd67125206726acd9298fc504a3077c
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "Fix logger constant name and remove unused logger constants"
Flavio Fernandes [Thu, 18 Jun 2015 10:04:03 +0000 (10:04 +0000)]
Merge "Fix logger constant name and remove unused logger constants"

9 years agoBug 3533: Fix for CorsFilter error 93/22793/1
Ed Warnicke [Wed, 17 Jun 2015 13:23:35 +0000 (07:23 -0600)]
Bug 3533: Fix for CorsFilter error

Change-Id: If898855ab97dd0bcdb913e7cc01cfde04b31b522
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
(cherry picked from commit 2394212e811e99bfd057cd197adc35a10fda2faa)

9 years agoTry #2 to get jacoco to report integration results 09/22709/4
Ryan Moats [Tue, 16 Jun 2015 15:25:55 +0000 (10:25 -0500)]
Try #2 to get jacoco to report integration results

Change-Id: Ia3943c9a560483ac03ed506693df4a65b9d36c05
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoFix logger constant name and remove unused logger constants 02/22702/1
Ryan Moats [Tue, 16 Jun 2015 14:45:21 +0000 (09:45 -0500)]
Fix logger constant name and remove unused logger constants

Change-Id: Ie6b5246cf98e15d59f3142accee685b3db98b5b2
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "Remove redundant modifiers from neutron-spi interfaces"
Flavio Fernandes [Tue, 16 Jun 2015 14:24:34 +0000 (14:24 +0000)]
Merge "Remove redundant modifiers from neutron-spi interfaces"

9 years agoMerge "Remove redundant modifiers from northbound interfaces"
Flavio Fernandes [Tue, 16 Jun 2015 14:24:23 +0000 (14:24 +0000)]
Merge "Remove redundant modifiers from northbound interfaces"

9 years agotrying different jacoco configuration 43/22643/2
Ryan Moats [Mon, 15 Jun 2015 20:59:21 +0000 (15:59 -0500)]
trying different jacoco configuration

Change-Id: I9d5af1149480c6544fbb12b967d91dee9752fb0c
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoRemove redundant modifiers from northbound interfaces 41/22641/1
Ryan Moats [Mon, 15 Jun 2015 20:29:31 +0000 (15:29 -0500)]
Remove redundant modifiers from northbound interfaces

Change-Id: I83ed14c21255e8fc22bd688d00ea8b87d833b344
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoRemove redundant modifiers from neutron-spi interfaces 40/22640/1
Ryan Moats [Mon, 15 Jun 2015 20:27:46 +0000 (15:27 -0500)]
Remove redundant modifiers from neutron-spi interfaces

Change-Id: I7ad5f63ad931c4a934b764ee9527292237387c75
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoRemove magic numbers from northbound-api 27/22527/3
Ryan Moats [Sat, 13 Jun 2015 14:31:53 +0000 (09:31 -0500)]
Remove magic numbers from northbound-api

Change-Id: Ieb1595c6e67f89eef3bc56ae1fc0498a313a4046
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "Remove magic numbers from transcriber"
Flavio Fernandes [Mon, 15 Jun 2015 19:57:00 +0000 (19:57 +0000)]
Merge "Remove magic numbers from transcriber"

9 years agoMerge "Remove magic numbers from dummyprovider"
Flavio Fernandes [Mon, 15 Jun 2015 19:55:58 +0000 (19:55 +0000)]
Merge "Remove magic numbers from dummyprovider"

9 years agoMerge "Remove magic numbers from neutron-spi classes"
Flavio Fernandes [Mon, 15 Jun 2015 19:55:53 +0000 (19:55 +0000)]
Merge "Remove magic numbers from neutron-spi classes"

9 years agoMerge "Fix if/else/for/while/do statements that lack braces"
Flavio Fernandes [Mon, 15 Jun 2015 19:55:46 +0000 (19:55 +0000)]
Merge "Fix if/else/for/while/do statements that lack braces"

9 years agoCherry pick of 22633 to master 34/22634/1
Ryan Moats [Mon, 15 Jun 2015 19:31:03 +0000 (14:31 -0500)]
Cherry pick of 22633 to master

Change-Id: I7a760a6dfe6e4964cadb93814dae34b2a12390a6
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoRemove magic numbers from dummyprovider 21/22521/1
Ryan Moats [Sat, 13 Jun 2015 12:02:06 +0000 (07:02 -0500)]
Remove magic numbers from dummyprovider

Change-Id: I517ce16793b253bcdeb38423b1c8788c1ce76106
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoRemove magic numbers from neutron-spi classes 19/22519/1
Ryan Moats [Sat, 13 Jun 2015 11:42:36 +0000 (06:42 -0500)]
Remove magic numbers from neutron-spi classes

Change-Id: I862619f05abd1a9e607401c5d27183e3a67743e2
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoRemove magic numbers from transcriber 18/22518/1
Ryan Moats [Sat, 13 Jun 2015 11:28:29 +0000 (06:28 -0500)]
Remove magic numbers from transcriber

Change-Id: If911e84118d961e9195ba0cf3430387aaef1665b
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoFix if/else/for/while/do statements that lack braces 08/22508/1
Ryan Moats [Fri, 12 Jun 2015 21:19:51 +0000 (16:19 -0500)]
Fix if/else/for/while/do statements that lack braces

Change-Id: Iaeaa652a2c06115e05c6e8db0ba4638af275f856
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoReplace printStackTrace with logger 01/22501/1
Ryan Moats [Fri, 12 Jun 2015 20:56:18 +0000 (15:56 -0500)]
Replace printStackTrace with logger

Change-Id: I753e04b98ce8ba47c9c149e6d2c8a9759f185c43
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoTests and Code for Bug 3014 20/22220/1
Ryan Moats [Tue, 9 Jun 2015 17:19:41 +0000 (12:19 -0500)]
Tests and Code for Bug 3014

Change-Id: Ida76b99e1599cec5b4db3fa66f39b7db5bbbf253
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "Add Metering Create Tests for Bug 2546"
Flavio Fernandes [Tue, 9 Jun 2015 16:36:18 +0000 (16:36 +0000)]
Merge "Add Metering Create Tests for Bug 2546"

9 years agoMerge "Test code for Bug #2545"
Flavio Fernandes [Tue, 9 Jun 2015 14:41:24 +0000 (14:41 +0000)]
Merge "Test code for Bug #2545"

9 years agoBug 3622: Allow empty (non-null) getGatewayPortId and tenantId values for router 22/22122/1
Sam Hague [Mon, 8 Jun 2015 17:57:06 +0000 (13:57 -0400)]
Bug 3622: Allow empty (non-null) getGatewayPortId and tenantId values for router

Change-Id: I21bc5fd2f3b4feb13e6494bd93476f85c8ca37f7
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoAdd Metering Create Tests for Bug 2546 15/22115/1
Ryan Moats [Mon, 8 Jun 2015 16:39:54 +0000 (11:39 -0500)]
Add Metering Create Tests for Bug 2546

Change-Id: If038abf9b6e1bd37f1cace1111e0666bb7f6b0e6
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoTest code for Bug #2545 03/22103/4
Ryan Moats [Mon, 8 Jun 2015 14:01:46 +0000 (09:01 -0500)]
Test code for Bug #2545

Change-Id: Ifdec5ed2d83616bb5d4a72d4378a77cd0c9bc4b3
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "Integrate IT via jacoco"
Flavio Fernandes [Wed, 3 Jun 2015 20:25:48 +0000 (20:25 +0000)]
Merge "Integrate IT via jacoco"

9 years agoAdd Port and Subnet create tests in response to Bug 3368 19/21819/1
Ryan Moats [Wed, 3 Jun 2015 15:11:42 +0000 (10:11 -0500)]
Add Port and Subnet create tests in response to Bug 3368

Change-Id: Ib9009aefcbe3a6548a61fd1bb2fe710ebba3bb53
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoIntegrate IT via jacoco 75/21775/2
Ryan Moats [Wed, 3 Jun 2015 13:42:58 +0000 (08:42 -0500)]
Integrate IT via jacoco

Change-Id: If01af2100ec1b965b88fdb2c194a2ac76bc56db5
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoYet more classes for E2E testing 84/21584/21
Ryan Moats [Mon, 1 Jun 2015 20:55:06 +0000 (15:55 -0500)]
Yet more classes for E2E testing

This time adding LBaaS and VPNaaS classes...

Patch Set 5 works, but without metering and VPNaaS...

Patch Set 8 adds tests of metering lables and rules correctly

Patch Set 17 adds testing of VPNaaS items (- IPSECPolicy)
Patch Set 20 completes VPNaaS

Subsequent patches are aimed at resolving the issues
with LBaaS URL issues

Change-Id: I41a08cc974c71c5f9bf207c8ea7e4e3600fee494
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoAdd more classes for E2E Tests 82/21582/4
Ryan Moats [Mon, 1 Jun 2015 19:59:16 +0000 (14:59 -0500)]
Add more classes for E2E Tests

Add classes for Security Groups, Security Rules,
Metering Labels, and Metering Rules
(Metering Labels and Rules currently do not work)

Change-Id: Iaac965107a80435374618f95e6e4c35d6d90fb18
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoAdd classes for additional E2E testing 79/21579/2
Ryan Moats [Mon, 1 Jun 2015 19:23:02 +0000 (14:23 -0500)]
Add classes for additional E2E testing

Added subnets, ports, routers, and floatingips

Change-Id: I1ae9e16d0809a8c780f85ed696e95280b67ffda8
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoIntroduce E2E testing 56/18356/16
Ryan Moats [Wed, 15 Apr 2015 15:10:50 +0000 (10:10 -0500)]
Introduce E2E testing

Individual tests go into separate classes

Change-Id: I29486cade054a61d6017aa5e529f7e9cf3b0e6fa
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoBug 3287: 409 on FloatingIP create 45/20745/1
Ed Warnicke [Tue, 19 May 2015 17:08:50 +0000 (10:08 -0700)]
Bug 3287: 409 on FloatingIP create

Change-Id: I61295006844bd03c4fc55ba1e90ee3128da97702
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
(cherry picked from commit 3e4215f8ce2457de411ccf3daff25753508bcd07)

9 years agoMerge "Bug 3205 - Added missing registration of INeutronFloatingIPCRUD service"
Ed Warnicke [Wed, 13 May 2015 17:15:06 +0000 (17:15 +0000)]
Merge "Bug 3205 - Added missing registration of INeutronFloatingIPCRUD service"

9 years agoBug 3205 - Added missing registration of INeutronFloatingIPCRUD service 47/20247/2
Martin Sunal [Wed, 13 May 2015 12:33:18 +0000 (14:33 +0200)]
Bug 3205 - Added missing registration of INeutronFloatingIPCRUD service

Change-Id: Ie056ff23f51cca76029eda9d564cf62105687e2e
Signed-off-by: Martin Sunal <msunal@cisco.com>
9 years agoBug3165 : Added implementation for FIXME3165 in NeutronSecurityRuleInterface 30/20230/2
bhavesh.kumar1 [Wed, 13 May 2015 10:02:08 +0000 (15:32 +0530)]
Bug3165 : Added implementation for FIXME3165 in NeutronSecurityRuleInterface

Change-Id: I097bef349d17ad410f2e3b555cbee38983e2cc28
Signed-off-by: bhavesh.kumar1 <bhavesh.kumar1@tcs.com>
9 years agoBug 3165: PARTIAL fix for NeutronSecurityGroupInterface transcriber issue 18/20018/1
Flavio Fernandes [Mon, 11 May 2015 12:15:24 +0000 (08:15 -0400)]
Bug 3165: PARTIAL fix for NeutronSecurityGroupInterface transcriber issue

This is a partial fix for regression introduced in
https://git.opendaylight.org/gerrit/#/c/19296/

The bug is that improper conversion from string to enumerator is
missing. Fix is similar to: https://git.opendaylight.org/gerrit/#/c/19633/

The bug also caused NPE when values in security group json are null. Removed
uneeded logic that built whole security rule an then threw it away.

Change-Id: Ib70894e8269fe19529cd3f3cfb3ee366ea240a6f
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoVersion bump of master to Beryllium versions 07/19907/1
Ed Warnicke [Fri, 8 May 2015 15:57:02 +0000 (08:57 -0700)]
Version bump of master to Beryllium versions

stable/lithium exists and maintains the Li versions

Change-Id: I6d0ea5d2b51b170c12f8dd2c516005027d0768ef
Signed-off-by: Ed Warnicke <hagbard@gmail.com>
9 years agoBug 3139: AbstractNeutronInterface.updateMd() expects target, not delta 07/19707/1
Sam Hague [Wed, 6 May 2015 12:32:28 +0000 (08:32 -0400)]
Bug 3139: AbstractNeutronInterface.updateMd() expects target, not delta

The function updateMd() attempts to create md object from delta, but that
is not enough since delta lacks required fields in the neutron object,
such as key. Fix proposed will provide updateMd() with updated object
which is available after overwrite(target, delta) call.

Change-Id: Id7e451ecdd932cb24f6122796d0453e47308475a
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoBug 3113 - java.lang.NumberFormatException: For input string: "slaac" 33/19633/1
Sam Hague [Tue, 5 May 2015 15:02:12 +0000 (11:02 -0400)]
Bug 3113 - java.lang.NumberFormatException: For input string: "slaac"

Change-Id: I0ddbb2ddd68c434b5cd637d5540a9bdbc3c43dfd
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoAdded MD-transcribing for NeutronVPNIPSECSiteConnectionsInterface 26/19426/1
bhavesh.kumar1 [Fri, 1 May 2015 04:47:47 +0000 (10:17 +0530)]
Added MD-transcribing for NeutronVPNIPSECSiteConnectionsInterface

Change-Id: I663b9ce8c0705fef837c7a64e8be6c2a1f1e7adb
Signed-off-by: bhavesh.kumar1 <bhavesh.kumar1@tcs.com>
9 years agoMerge "Adding transcriber for NeutronMeteringLabelRuleInterface and NeutronLoadBalanc...
Ryan Moats [Thu, 30 Apr 2015 12:29:38 +0000 (12:29 +0000)]
Merge "Adding transcriber for NeutronMeteringLabelRuleInterface and NeutronLoadBalancerPoolMemverInterface"

9 years agoAdding transcriber for NeutronMeteringLabelRuleInterface and NeutronLoadBalancerPoolM... 78/19378/1
ShreshthaJoshi [Thu, 30 Apr 2015 11:37:38 +0000 (17:07 +0530)]
Adding transcriber for NeutronMeteringLabelRuleInterface and NeutronLoadBalancerPoolMemverInterface

Change-Id: I5467dde8e1a0f57bb6db68fcb58b32ce8650c8ee
Signed-off-by: ShreshthaJoshi <shreshtha.joshi@tcs.com>
9 years agoAdded MD-transcribing for NeutronVPNIKEPolicyInterface 65/19365/1
bhavesh.kumar1 [Thu, 30 Apr 2015 06:11:05 +0000 (11:41 +0530)]
Added MD-transcribing for NeutronVPNIKEPolicyInterface

Change-Id: I7c7d6f7551e096ddce554592255a0608d1c2a24c
Signed-off-by: bhavesh.kumar1 <bhavesh.kumar1@tcs.com>
9 years agoMerge "Adding implementation to transcribe NeutronMeteringLabel"
Ryan Moats [Wed, 29 Apr 2015 15:45:52 +0000 (15:45 +0000)]
Merge "Adding implementation to transcribe NeutronMeteringLabel"

9 years agoFixed neutron transcriber not waiting for its model loaded. 10/19310/1
Tony Tkacik [Wed, 29 Apr 2015 15:06:46 +0000 (17:06 +0200)]
Fixed neutron transcriber not waiting for its model loaded.

Change-Id: I73549acc329340fc6bfe32485f98ebc2de222b8f
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoMerge "Added MD-transcribing for NeutronSecurityGroupInterface and NeutronVPNServiceI...
Ryan Moats [Wed, 29 Apr 2015 15:00:28 +0000 (15:00 +0000)]
Merge "Added MD-transcribing for NeutronSecurityGroupInterface and NeutronVPNServiceInterface"

9 years agoAdding implementation to transcribe NeutronMeteringLabel 44/19244/2
ShreshthaJoshi [Tue, 28 Apr 2015 17:18:46 +0000 (22:48 +0530)]
Adding implementation to transcribe NeutronMeteringLabel

Change-Id: If212df55a801031fd4c9f40d4b00887ee540c05d
Signed-off-by: ShreshthaJoshi <shreshtha.joshi@tcs.com>
9 years agoMerge "Bug 3072: Make NeutronRoutersNorthbound.addRouterInterface() idem-potent"
Ryan Moats [Wed, 29 Apr 2015 14:48:43 +0000 (14:48 +0000)]
Merge "Bug 3072: Make NeutronRoutersNorthbound.addRouterInterface() idem-potent"

9 years agoMerge "Add md-transcribing for LoadBalancePool."
Ryan Moats [Wed, 29 Apr 2015 14:48:13 +0000 (14:48 +0000)]
Merge "Add md-transcribing for LoadBalancePool."

9 years agoMerge "Add md-transcribing for LoadBalancerListener."
Ryan Moats [Wed, 29 Apr 2015 14:47:49 +0000 (14:47 +0000)]
Merge "Add md-transcribing for LoadBalancerListener."

9 years agoMerge topic 'mdtranscriber'
Ryan Moats [Wed, 29 Apr 2015 14:46:51 +0000 (14:46 +0000)]
Merge topic 'mdtranscriber'

* changes:
  Add md-transcribing for LoadBalancer.
  Add *key ="uuid"* in lists loadbalancers, listeners, pools, members and healthmonitors of grouping lbaas-atrtibutes.

9 years agoAdded MD-transcribing for 96/19296/1
bhavesh.kumar1 [Wed, 29 Apr 2015 12:43:16 +0000 (18:13 +0530)]
Added MD-transcribing for
NeutronSecurityGroupInterface and NeutronVPNServiceInterface

Change-Id: Ia278056649779ee82f17e449d96013a02b6eaac9
Signed-off-by: bhavesh.kumar1 <bhavesh.kumar1@tcs.com>