neutron.git
9 years agoMerge "Marking of FWaaS classes and interfaces with as deprecated."
Ed Warnicke [Fri, 27 Mar 2015 15:39:53 +0000 (15:39 +0000)]
Merge "Marking of FWaaS classes and interfaces with as deprecated."

9 years agoMerge topic 'jaxb_junit_testing'
Ed Warnicke [Fri, 27 Mar 2015 15:22:43 +0000 (15:22 +0000)]
Merge topic 'jaxb_junit_testing'

* changes:
  Add JAXB JUnit testing for Neutron Floating IPs
  Add Junit testing of JAXB for Neutron FWaaS objects

9 years agoMerge "Keep test numbering consistent"
Ryan Moats [Thu, 26 Mar 2015 15:37:04 +0000 (15:37 +0000)]
Merge "Keep test numbering consistent"

9 years agoAdd JAXB JUnit testing for Neutron Floating IPs 67/17067/4
Ryan Moats [Tue, 24 Mar 2015 17:13:37 +0000 (12:13 -0500)]
Add JAXB JUnit testing for Neutron Floating IPs

Add JAXB Junit testing for Neutron Floating IPs, update FloatingIP
POJO, Northbound and Yang Model to add in missing attributes in each.

Change-Id: I482c037c4a63fc9004d78b444f2539a00c640b4f
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoKeep test numbering consistent 66/17166/1
Sam Hague [Thu, 26 Mar 2015 15:29:49 +0000 (11:29 -0400)]
Keep test numbering consistent

Also fix spacing on the pom file.

Change-Id: I3fad4059121a9d50112afd99bbe9a56951e11a33
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Catch only the exceptions thrown by SubnetUtils"
Ryan Moats [Thu, 26 Mar 2015 15:29:32 +0000 (15:29 +0000)]
Merge "Catch only the exceptions thrown by SubnetUtils"

9 years agoAdd Junit testing of JAXB for Neutron FWaaS objects 56/17056/8
Ryan Moats [Tue, 24 Mar 2015 13:24:08 +0000 (08:24 -0500)]
Add Junit testing of JAXB for Neutron FWaaS objects

Correct some type mistakes in NeutronFirewallPolicy and
NeutronFirewallRule and add Junit testing of JAXB annotations
for NeutronFirewall objects

Change-Id: I645cc6a831c5698c504ce2f393e2ba456d142f53
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoCatch only the exceptions thrown by SubnetUtils 65/17165/1
Sam Hague [Thu, 26 Mar 2015 15:26:28 +0000 (11:26 -0400)]
Catch only the exceptions thrown by SubnetUtils

Change-Id: Ie9b0abc63dce0c789198571afed9010043f839e4
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Fixed copyright messages Signed-off-by: Kiran Sreenivasa <kkoushik@brocade...
Ryan Moats [Thu, 26 Mar 2015 15:06:15 +0000 (15:06 +0000)]
Merge "Fixed copyright messages Signed-off-by: Kiran Sreenivasa <kkoushik@brocade.com> Change-Id: Id1aa34710166f8c659f113fd4831141271363cac Signed-off-by: Kiran Sreenivasa <kkoushik@brocade.com>"

9 years agoMerge "Cleaning up style checks in spi part 1"
Flavio Fernandes [Thu, 26 Mar 2015 14:56:09 +0000 (14:56 +0000)]
Merge "Cleaning up style checks in spi part 1"

9 years agoFixed copyright messages 64/17164/1
Kiran Sreenivasa [Thu, 26 Mar 2015 14:48:43 +0000 (07:48 -0700)]
Fixed copyright messages
Signed-off-by: Kiran Sreenivasa <kkoushik@brocade.com>
Change-Id: Id1aa34710166f8c659f113fd4831141271363cac
Signed-off-by: Kiran Sreenivasa <kkoushik@brocade.com>
9 years agoCleaning up style checks in spi part 1 57/17157/3
Ryan Moats [Thu, 26 Mar 2015 14:02:53 +0000 (09:02 -0500)]
Cleaning up style checks in spi part 1

Change-Id: I36c02ea2c3c67d45ed43e9770d6555aa62027167
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoCatch only the exceptions thrown by InetAddress.getByName 60/17160/1
Sam Hague [Thu, 26 Mar 2015 14:10:45 +0000 (10:10 -0400)]
Catch only the exceptions thrown by InetAddress.getByName

Change-Id: Idda91acd51a5c256a4094ca42b049aa171d2aafa
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "neutron-spi JUnit Test Cases"
Flavio Fernandes [Thu, 26 Mar 2015 13:18:11 +0000 (13:18 +0000)]
Merge "neutron-spi JUnit Test Cases"

9 years agoMerge "Initial code for Bug 2540"
Flavio Fernandes [Thu, 26 Mar 2015 13:15:32 +0000 (13:15 +0000)]
Merge "Initial code for Bug 2540"

9 years agoneutron-spi JUnit Test Cases 72/16972/9
Ryan Moats [Mon, 23 Mar 2015 04:18:42 +0000 (23:18 -0500)]
neutron-spi JUnit Test Cases

Adding JUnit Test Cases for non-rest related methods.
(Includes V6 tests and NeutronSubnet code in support of same)

Change-Id: Ic72312fa6fadc3980ec48e6facd21d7f74787bd5
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoFix Bug 2290 22/17122/1
Flavio Fernandes [Wed, 25 Mar 2015 19:28:02 +0000 (15:28 -0400)]
Fix Bug 2290

Ensure that isIPInUse, getLowAddr, allocateIP, releaseIP, gatewayIP_Pool_overlap and
initDefaults are all V6 friendly.

This is a port of gerrit: https://git.opendaylight.org/gerrit/#/c/12516/

Change-Id: I28c09691f02d339fc271a7eb62fa808e52e4b8b7
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
Also-By: Ryan Moats <rmoats@us.ibm.com>
9 years agoInitial code for Bug 2540 44/15744/3
Ryan Moats [Wed, 25 Feb 2015 18:20:55 +0000 (12:20 -0600)]
Initial code for Bug 2540

Add allowed address pairs to Port class

Change-Id: Iec3feda7679bd6d852f75f15997264c4b62a94a2
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "Candidate Yang models for openstack neutron in OpenDaylight Controller"
Ryan Moats [Tue, 24 Mar 2015 15:43:00 +0000 (15:43 +0000)]
Merge "Candidate Yang models for openstack neutron in OpenDaylight Controller"

9 years agoCandidate Yang models for openstack neutron in OpenDaylight Controller 89/15989/14
Kiran Koushik [Tue, 3 Mar 2015 21:58:31 +0000 (03:28 +0530)]
Candidate Yang models for openstack neutron in OpenDaylight Controller

This patch is moving the neutron models pushed to controller repo through following gerrit
https://git.opendaylight.org/gerrit/#/c/13970/1

Scope of this patch is to define yang models in OpenDaylight controller for openstack neutron
APIs, so that we can enable the mechanism to store the neutron resource data in md-sal data
store for other applications to consume.
Patch 2: Address comments from reviewer
Patch 3: Removed whitespaces
Patch 4: Split models into 4 files. Fixed all reviewer comments(except one).
Patch 5: Fixed a build error(removed neutron.yang)
Patch 6: Fixed one remaining reviewer comment(move network-type to identity)
Patch 7: Fixed many comments(including tabs, moving provider to separate file, naming issues, re-org etc.
Patch 8: Added neutron-L3.yang module and fixed some more review comments
Patch 9: Fixed more comments from Ryan. Added augments in provider and L3 module.
Patch 10: Added neutron-metering.yang
Patch 11: Added neutron-secgroups.yang
Patch 12: Fixed uuid issue with Ed's patch + moved network defns into networks module
Patch 13: Fixed Ryan's latest comments(remove trailing space & Fix description)
Patch 14: Fixed Ryan's comments about Security group rules
Change-Id: I1fbc79e6e9856fa7cd18dd92d138e2b84a6d6a3c
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Signed-off-by: Kiran Sreenivasa <kkoushik@brocade.com>
9 years agoMerge "Add missing toString methods"
Ed Warnicke [Fri, 13 Mar 2015 16:39:48 +0000 (16:39 +0000)]
Merge "Add missing toString methods"

9 years agoMerge "fixed potential NPE"
Ed Warnicke [Fri, 13 Mar 2015 16:38:24 +0000 (16:38 +0000)]
Merge "fixed potential NPE"

9 years agoMerge "Dummy provider for neutron testing"
Ed Warnicke [Fri, 13 Mar 2015 16:38:02 +0000 (16:38 +0000)]
Merge "Dummy provider for neutron testing"

9 years agoDummy provider for neutron testing 55/16155/4
Ryan Moats [Fri, 6 Mar 2015 21:42:29 +0000 (15:42 -0600)]
Dummy provider for neutron testing

classes implementing a dummy provider for testing neutron
northbound API

Change-Id: Id6f6fdd60bb702f51594e256fa7ed89009bbf3f4
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agofixed potential NPE 33/16333/2
Martin Sunal [Wed, 11 Mar 2015 15:42:03 +0000 (16:42 +0100)]
fixed potential NPE

removed duplicity of subnet existence check

Change-Id: I32cbc227bd7ce8c1122651815897c94f41ecee07
Signed-off-by: Martin Sunal <msunal@cisco.com>
9 years agoAdd missing toString methods 37/16337/3
Ryan Moats [Wed, 11 Mar 2015 16:38:56 +0000 (11:38 -0500)]
Add missing toString methods

Change-Id: Id275c7e753f1dfa1684f21b531bdcf02d9ca746a
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoAdd <name> field for Sonar sorting 31/16331/1
Thanh Ha [Wed, 11 Mar 2015 15:29:41 +0000 (11:29 -0400)]
Add <name> field for Sonar sorting

Change-Id: Ic3406cff01da5d12142ab4ea63cf88a01c25a807
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoMarking of FWaaS classes and interfaces with as deprecated. 50/16150/1
Ryan Moats [Fri, 6 Mar 2015 20:15:26 +0000 (14:15 -0600)]
Marking of FWaaS classes and interfaces with as deprecated.

Neutron FWaaS is still experimental in Kilo and so should be marked
as being deprecated.

Change-Id: Ia849ca11f585862de458655e5dc31814e9a01da4
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "Removed duplicity"
Ed Warnicke [Wed, 4 Mar 2015 21:05:38 +0000 (21:05 +0000)]
Merge "Removed duplicity"

9 years agoFix for moxy load order and missing dependency. 41/16041/2
Ed Warnicke [Wed, 4 Mar 2015 20:13:30 +0000 (12:13 -0800)]
Fix for moxy load order and missing dependency.

Change-Id: If427b067d79e1efe705429916ae3b6aa9e0d9170
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoSwitch to using features-parent 42/16042/1
Ed Warnicke [Wed, 4 Mar 2015 20:27:06 +0000 (12:27 -0800)]
Switch to using features-parent

Change-Id: I88c789ef390eb29cd5baaf779e9eb8927f0d5f0f
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "Added a local karaf distribution for testing purposes"
Ryan Moats [Wed, 4 Mar 2015 18:43:37 +0000 (18:43 +0000)]
Merge "Added a local karaf distribution for testing purposes"

9 years agoAdded a local karaf distribution for testing purposes 27/16027/1
Ed Warnicke [Wed, 4 Mar 2015 16:09:09 +0000 (08:09 -0800)]
Added a local karaf distribution for testing purposes

Change-Id: I0e8f653df2c0c9cedab58cac6341912529da5342
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoRemoved duplicity 66/15966/1
Martin Sunal [Tue, 3 Mar 2015 13:04:30 +0000 (14:04 +0100)]
Removed duplicity

Change-Id: I9b4cf0232eed1ad3c038c2c8629da12cefbe0de1
Signed-off-by: Martin Sunal <msunal@cisco.com>
9 years agoAdd jacoco plugin to parent pom xml 43/15943/1
Ryan Moats [Mon, 2 Mar 2015 20:34:11 +0000 (14:34 -0600)]
Add jacoco plugin to parent pom xml

Change-Id: Iccb09fda10f4dada190ea5b267818ea766ef5de1
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMove to using parent pom structure 41/15941/3
Ryan Moats [Mon, 2 Mar 2015 19:52:06 +0000 (13:52 -0600)]
Move to using parent pom structure

Change-Id: I7739c988c39bbc75d9192be93906c7162dda4b2f
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoFix scm tags to use new neutron project info 94/15794/1
Sam Hague [Thu, 26 Feb 2015 19:17:24 +0000 (14:17 -0500)]
Fix scm tags to use new neutron project info

Change-Id: I93b8fccbb3c877580cd142e1fe8b774210a1efc8
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoPoint Jetty to the actual correct init class 46/15746/1
Lorand Jakab [Wed, 25 Feb 2015 18:42:58 +0000 (20:42 +0200)]
Point Jetty to the actual correct init class

Change-Id: I2e62070d13217bf4fd88ce6da5f9c9945aee36da
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoFixed package directory issues. 40/15740/1
Ed Warnicke [Wed, 25 Feb 2015 17:09:40 +0000 (10:09 -0700)]
Fixed package directory issues.

Change-Id: I1a8c8cdcaf862e0f12454bc8cf87486bdf5d5e82
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoAdd project's own artifacts as feature deps 20/15620/1
Lorand Jakab [Mon, 23 Feb 2015 15:46:43 +0000 (17:46 +0200)]
Add project's own artifacts as feature deps

This is needed so that dependent projects retrieve the appropriate jar
files.  It also allows building karaf features without having built the
rest of the project locally, with an empty ~/.m2/repositories/

Change-Id: I15b49d25bff96093f7420d64502b04b3221d422f
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoFix features so it actually runs SingleFeatureTest and passes 18/15618/1
Sam Hague [Mon, 23 Feb 2015 14:24:04 +0000 (09:24 -0500)]
Fix features so it actually runs SingleFeatureTest and passes

- Fixed features file so it actually runs.
- Fixed northbound-api to not include the neutron bundle which doesn't exit. Otherwise the test will fails with an unresolved constraint.

Change-Id: If651d14429b1e9fdf537142de79695df35b0a8ad
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoUpdate features.xml with new neutron artifact names 64/15564/2
Ryan Moats [Fri, 20 Feb 2015 18:04:53 +0000 (12:04 -0600)]
Update features.xml with new neutron artifact names

Change-Id: Ie7ea03123a394dbd812ee021677a376e2333a0af
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoRebase of 15072 to NN repository for bug 2691 62/15562/3
Ryan Moats [Fri, 20 Feb 2015 16:33:20 +0000 (10:33 -0600)]
Rebase of 15072 to NN repository for bug 2691

Change-Id: Iad75c802c960fc78a996a2da0e1dc4e5458fb0cc
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoFix for Bug 2120 61/15561/1
Ryan Moats [Fri, 20 Feb 2015 16:09:49 +0000 (10:09 -0600)]
Fix for Bug 2120

When starting a new pool, allocate the next address as the start

Change-Id: I5708f197620e3a8f1633517813ddc624d55ced3b
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoPersonal nit: -all is a terrible terrible meme. This patch removes it. 31/15331/2
Ed Warnicke [Sat, 14 Feb 2015 21:24:38 +0000 (14:24 -0700)]
Personal nit: -all is a terrible terrible meme.  This patch removes it.

As a matter of personal belief, I think that -all is pure evil.

*But*... you need -implementation and -northbound currently to
have a clean running instance of the neutron service.

Because I *also* believe you should be able to load a single feature
for a single thing, I have brought these two personal beliefs together
by renaming odl-neutron-all to odl-neutron-service.

Feel free to disagree with my taste ;)

Change-Id: Icd60a58af903c031577e408738097296548ef618
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoRooted out internal use of org.opendaylight.controller groupId 30/15330/2
Ed Warnicke [Sat, 14 Feb 2015 21:21:12 +0000 (14:21 -0700)]
Rooted out internal use of org.opendaylight.controller groupId

Change-Id: If6d519b120f687702841b1a281417d69d7cf2472
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoRename neutron artifacts 27/15427/4
Ryan Moats [Tue, 17 Feb 2015 18:22:41 +0000 (12:22 -0600)]
Rename neutron artifacts

Neutron artifacts renamed:
controller.networkconfig.neutron -> neutron.neutron-spi
controller.networkconfig.neutron.implementation -> neutron.transcriber
controller.networkconfig.neutron.northbound -> neutron.northbound-api

Change-Id: Icf1b6eece3e825666a07303391f5ed233819bb6a
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoMerge "add .gitreview"
Flavio Fernandes [Fri, 13 Feb 2015 21:24:40 +0000 (21:24 +0000)]
Merge "add .gitreview"

9 years agoMerge "Add new groupId to pom.xml files"
Ed Warnicke [Fri, 13 Feb 2015 19:25:12 +0000 (19:25 +0000)]
Merge "Add new groupId to pom.xml files"

9 years agoadd .gitreview 70/15270/1
Flavio Fernandes [Fri, 13 Feb 2015 17:03:44 +0000 (12:03 -0500)]
add .gitreview

Change-Id: I4822e3e64c0d857867c4a8b066af7fd3fdb106f2
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoadd .gitignore 59/15259/2
Flavio Fernandes [Fri, 13 Feb 2015 15:30:29 +0000 (10:30 -0500)]
add .gitignore

Change-Id: I96be63c8c63ec6ce4543680c3e681abf5763330c
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoAdd new groupId to pom.xml files 67/15267/1
Ryan Moats [Fri, 13 Feb 2015 16:49:59 +0000 (10:49 -0600)]
Add new groupId to pom.xml files

Before we can merge we need to set group Ids correctly

Change-Id: I03b3c3da4441d1d912f767be9fe3a1027b928626
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoUpdate northbound annotations 65/15265/1
Ryan Moats [Fri, 13 Feb 2015 16:22:20 +0000 (10:22 -0600)]
Update northbound annotations

Update annotiations of Northbound calls to cover ServiceUnavailable
errors (503 status codes)

Change-Id: Ie503cd91c6d46f7bc89da510d6ad45573b380831
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoBring features/neutron into the same parent dir as everything else
Ed Warnicke [Thu, 12 Feb 2015 22:25:58 +0000 (15:25 -0700)]
Bring features/neutron into the same parent dir as everything else

This will ease breaking the code out to the neutron northbound project

Change-Id: Idf887c14cdbc7e77b74f4964b516ac16ab6877e6
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoNeutron to return ServiceUnavailable if no providers registered
Ryan Moats [Thu, 12 Feb 2015 21:40:05 +0000 (15:40 -0600)]
Neutron to return ServiceUnavailable if no providers registered

opNFV interwork revealed that neutron returns 200 in error cases
where no SB providers are registered and if there is an error getting
the list of SB providers.  Close both of these holes by returning
Service Unavailable Status

Change-Id: Iefa092a35bdc178f632373eac3b84578028d3768
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoBUG-2626: activate enunciate only on jdk-1.7
Robert Varga [Thu, 12 Feb 2015 18:16:37 +0000 (19:16 +0100)]
BUG-2626: activate enunciate only on jdk-1.7

The plugin is not supported with JDK8. Create two parent pom.xmls, one
of which defines the activation on JDK7 only and the second one
centralizes the AD-SAL definitions for it.

Change-Id: I791847d6e27dae0f51499b303cbea9163f5f184a
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-2626: Do not override enunciate version
Robert Varga [Thu, 12 Feb 2015 18:18:23 +0000 (19:18 +0100)]
BUG-2626: Do not override enunciate version

The overall version is 1.28, so do not downgrade it.

Change-Id: I4611091ab3c2f9ec58debb3a39ed82992e98338e
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBug 2684 - Fixing support for Neutron binding extended attributes
Wojciech Dec [Fri, 6 Feb 2015 10:00:23 +0000 (11:00 +0100)]
Bug 2684 - Fixing support for Neutron binding extended attributes

Change-Id: If2a309af55555253d508428d47b25c1b1d4ea796
Signed-off-by: Wojciech Dec <wdec@cisco.com>
9 years agoneutron now works with jetty
Ed Warnicke [Wed, 10 Dec 2014 16:55:24 +0000 (10:55 -0600)]
neutron now works with jetty

This patch makes the feature neutron-northbound work with
jetty.

It also moves the adsal to port 8282, and the stock
karaf jetty to port 8080 (in additional to 8181).

GET, POST, and PUT for neutron network has been
tested:

GET:

curl -u admin:admin http://127.0.0.1:8080/controller/nb/v2/neutron/networks

POST:

curl -u admin:admin -H "Content-Type: application/json" -d @network.post http://127.0.0.1:8080/controller/nb/v2/neutron/networks

PUT:

curl -u admin:admin -H "Content-Type: application/json" -d @network2.post -X PUT  http://127.0.0.1:8080/controller/nb/v2/neutron/networks/d6220bbb-35f3-48ab-8eae-69c60aef3544

where:

cat network.post
{"network": {"status": "ACTIVE", "subnets": [], "name": "net-dedicated", "provider:physical_network": null, "admin_state_up": true, "tenant_id": "aa902936679e4ea29bfe1158e3450a13", "provider:network_type": "gre", "router:external": false, "shared": false, "id": "d6220bbb-35f3-48ab-8eae-69c60aef3544", "provider:segmentation_id": 1}}

cat network2.post
{"network": {"subnets": [], "name": "net-dedicated", "provider:physical_network": null, "admin_state_up": true, "provider:network_type": "gre", "router:external": true, "shared": false, "provider:segmentation_id": 1}}

This patch should not be merged before 2/1/2015 to allow time for discussion.

Change-Id: I6a003c2868adc5b060f05d228a56a744c092e963
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMake neutron a simple osgi app
Ed Warnicke [Fri, 7 Nov 2014 21:15:58 +0000 (15:15 -0600)]
Make neutron a simple osgi app

Change-Id: I57aabd9db316632d6051eae477ea8a9882699d7f
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoBug 2372: Removing duplicate call in loadBalancerPoolNorthbound to loadBalancerPoolIn...
Srini Seetharaman [Sun, 30 Nov 2014 01:48:33 +0000 (17:48 -0800)]
Bug 2372: Removing duplicate call in loadBalancerPoolNorthbound to loadBalancerPoolInterface.addNeutronLoadBalancerPool(singleton);

Change-Id: I0b5790b6d363c85bcd0d2bb739a0de14c8516800
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoMove adsal into its own subdirectory.
Ed Warnicke [Tue, 4 Nov 2014 22:17:43 +0000 (16:17 -0600)]
Move adsal into its own subdirectory.

Moved various adsal components into an opendaylight/adsal subdir,
gave it a parent pom, and changed the root parent pom to have the
opendaylight/adsal as a module.

Change-Id: I1d0e5a7b2a50c65559c2f80dd47cab491b68d561
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoFix for Bug 2290.
Ryan Moats [Fri, 31 Oct 2014 22:14:01 +0000 (17:14 -0500)]
Fix for Bug 2290.

Wrap existing IPv4 code with version test.
Add new IPv6 code with version test.

Change-Id: I30ed4c510dbc79f3e40cdafea4dd46cf37a20f39
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoIncrementing versions by 0.1.0 for post-Helium master branch
Colin Dixon [Fri, 3 Oct 2014 22:55:46 +0000 (17:55 -0500)]
Incrementing versions by 0.1.0 for post-Helium master branch

* The only version not incrmented is aaa.version, which is left at
  0.1.0-SNAPSHOT since they depend on controller and can't update yet.
* To break the cyclic dependency, this patch temporarily stops running
  the netconf-connector and restconf feature tests.
* Also fixing a bug causing Errors like "Choice has two nodes case with
  same qnames".

A second patch (to be run after AAA increments their versions to
0.2.0-SNAPSHOT) wiil update aaa.version and re-enable these tests.

Change-Id: I70a3987d32504e798c5ed05a67a0a1174338844b
Signed-off-by: Colin Dixon <colin@colindixon.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBug 2026: Fix for Neutron REST API NullPointer exception on POST Port when no fisxed...
Vina Ermagan [Mon, 22 Sep 2014 22:28:00 +0000 (15:28 -0700)]
Bug 2026: Fix for Neutron REST API NullPointer exception on POST Port when no fisxed-ips are present

Change-Id: I80e6435add3e0a07f28dbdf37911cd2bc8b263d0
Signed-off-by: Vina Ermagan <vermagan@cisco.com>
9 years agoBug 1852 - Setting the right type for the XMLelement members in NeutronLoadBalancerPool
Srini Seetharaman [Sat, 13 Sep 2014 19:27:14 +0000 (12:27 -0700)]
Bug 1852 - Setting the right type for the XMLelement members in NeutronLoadBalancerPool

Change-Id: I967fc0957de7af939648cdba9ed1db514276ea91
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoBug 1673 - Adding pool_id element to the NeutronLoadBalancerPoolMember and associated...
Srini Seetharaman [Sat, 13 Sep 2014 19:25:42 +0000 (12:25 -0700)]
Bug 1673 - Adding pool_id element to the NeutronLoadBalancerPoolMember and associated get/set functions. Note that the pool_id is not part of the request, but the URI.

Change-Id: I58d9124688f2f0ac9cec3eb6db16264066edbd14
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoAdd getID() to NeutronRouter_Interface
Flavio Fernandes [Tue, 2 Sep 2014 19:25:06 +0000 (15:25 -0400)]
Add getID() to NeutronRouter_Interface

Change-Id: Ie0afb1b2d09521913dc3877be6f92000db0d6cdd
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoAdd toString() to Neutron_IPs
Flavio Fernandes [Thu, 28 Aug 2014 21:03:38 +0000 (17:03 -0400)]
Add toString() to Neutron_IPs

Change-Id: I6b9f8af8e1b65073a6a1fab3fe6eeb46c5c0cfcb
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoFixing incorrect case for interface method neutronLoadBalancerPoolMemberDeleted
Srini Seetharaman [Mon, 25 Aug 2014 04:52:41 +0000 (21:52 -0700)]
Fixing incorrect case for interface method neutronLoadBalancerPoolMemberDeleted

Change-Id: I909d77a19c7a35dece30b02399acf44f850e7f4d
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoAdd additional fields to Neutron Router
Dave Tucker [Wed, 13 Aug 2014 23:59:21 +0000 (00:59 +0100)]
Add additional fields to Neutron Router

This adds additional fields to the Neutron Router object that can assist
with providing Distributed L3

Change-Id: I71dabe323a55a9028e54b1b46e923a7e4614f46d
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoBug #1532 Neutron Port bindings missing Security Group List
Brent Salisbury [Tue, 12 Aug 2014 17:35:24 +0000 (13:35 -0400)]
Bug #1532 Neutron Port bindings missing Security Group List

Neutron Port calls are returning empty SecGroup lists. The
bindings are there, just not the return.

Change-Id: I882f0921af35e690672ee3a728cc2c029c4739fa
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
9 years agoNeutron LBaaS v2.0 API support
Brent Salisbury [Mon, 4 Aug 2014 10:43:35 +0000 (06:43 -0400)]
Neutron LBaaS v2.0 API support

Patch#2:
-Changed Pool Memebers to its own CRUD interface.

Patch#1
-Added LBaaS support per the v2.0 API Doc
http://docs.openstack.org/api/openstack-network/2.0/content/

-There are four root API members as defined by the API spec:
Load Balancer, LB Pools, LB Listeners and Health Monitors.

-Members are nested underneath LB Pools. The URL API path
is defined in the patch but needs to be wired into the binding.
That work wouldnt change the API just the implementation.

-The patch is getting huge so unloading for review. LBaaS
will have a lot of moving parts o0. The postman collection
for testing this is at:
[ovsdb.git] / resources / openstack
/ Neutron-v2.0-API-Examples.json.postman_collection

Change-Id: I6acb234e7f246a98c57a9cab97af405c028b708d
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
9 years agoOS Neutron FWaaS api/jaxrs and associated bindings
Brent Salisbury [Thu, 31 Jul 2014 11:01:53 +0000 (07:01 -0400)]
OS Neutron FWaaS api/jaxrs and associated bindings

Patch#2:
-Removed and cleaned up some comments.
-Fixed null check on Firewall Rules

Patch#1:
The Neutron v2.0 API document can be viewed at:
http://docs.openstack.org/api/openstack-network/2.0/content/

Sample API calls that can be imported into Postman
are located in the OVSDB directory at:
Directory: [ovsdb] / resources / openstack /
File: Neutron-v2.0-API-Examples.json.postman_collection

Change-Id: If37a0dd702aa02db9e94811c9a414718d25f42a7
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
9 years agoFixed for bug 1168 : Issue while update subnet
faizan [Thu, 3 Jul 2014 09:52:28 +0000 (15:22 +0530)]
Fixed for bug 1168 : Issue while update subnet

Change-Id: I3460f77f331c2fdf474bf8beb41bdf1332201a16
Signed-off-by: faizan <md.faizan@tcs.com>
9 years agoRefactor Neutron Pagination Code to support Network, Port and Subnet
Dave Tucker [Tue, 1 Jul 2014 13:47:13 +0000 (14:47 +0100)]
Refactor Neutron Pagination Code to support Network, Port and Subnet

- Move pagination logic to PaginatedRequestFactory
- Add INeutronObject interface to bound Generics
- Add INeutronRequest interface to enable pagination to be generic

Patchset 4:
- Fix typos in @XMLElement annotation on the 'links' attributes

Change-Id: I7fb6c800268847a36eccd2bc402580cb48c60c46
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoFixed for bug : 1171 - issue while creating subnet
faizan [Thu, 26 Jun 2014 04:28:34 +0000 (09:58 +0530)]
Fixed for bug : 1171 - issue while creating subnet

Change-Id: Ibb102b6c1ec6d0ca70da3c279448998c02612a46
Signed-off-by: faizan <md.faizan@tcs.com>
9 years agoRegistered SecGroup/Rules in netconfig.Neutron Activator
Brent Salisbury [Tue, 27 May 2014 02:23:20 +0000 (22:23 -0400)]
Registered SecGroup/Rules in netconfig.Neutron Activator

This patch initiates the Sec CRUD interfaces.

Change-Id: Idf5ac503bbc04f1377bf89afa037e5e9d763d35d
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
9 years agoNeutron API v2.0 bindings and APIs for security groups/rules.
Brent Salisbury [Sat, 24 May 2014 23:52:44 +0000 (19:52 -0400)]
Neutron API v2.0 bindings and APIs for security groups/rules.

-This is to enhance the ODL/OpenStack ML2 integration
work to include port security services.

https://wiki.openstack.org/wiki/Neutron/APIv2-specification

Change-Id: Ice5c2fd12381732ab1cbb2394fd67ffed1dcf62c
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
9 years agoUnify maven-bundle-plugin version at 2.4.0
Robert Varga [Thu, 8 May 2014 11:47:16 +0000 (13:47 +0200)]
Unify maven-bundle-plugin version at 2.4.0

This removes superfluous version declarations, fixing about 70 eclipse
warnings. At the same time it bumps the version 2.4.0, to unify it -- we
were using both 2.3.7 and 2.4.0 at the same time.

Change-Id: I0f3f6b68c5c05cb9cc226f75b4eb4dab7d58651d
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdding auto-sorting plugin to all Controller via parent/pom.xml
jameshall03885 [Wed, 16 Apr 2014 18:18:57 +0000 (14:18 -0400)]
Adding auto-sorting plugin to all Controller via parent/pom.xml

leveraging google's sortpom plugin, all controller poms are sorted
at build time as per the opendaylight/commons/parent/pom.xml configuration.

Sorted lists of properties, dependencies, and plugins will increase pom readability
and help prevent duplicate entry errors.

This first submission is huge as I changed one pom.xml and all are then sorted.
Only if the sortpom plugin is reconfigured will all pom's again be changed.

Note that if any pom.xml is pushed without having been through a build ... folks are
going to see pom.xml files showup as modified unintentionally.

Change-Id: I8553f38b9f0e5f6d27177ad6b9b9c35a4b43d55a
Signed-off-by: jameshall03885 <ghall@brocade.com>
9 years agoFix bug 666 - Neutron Subnet Creation Error
Dave Tucker [Sun, 6 Apr 2014 16:48:33 +0000 (17:48 +0100)]
Fix bug 666 - Neutron Subnet Creation Error

When a neutron subnet is created on the Northbound API, containing the
new "ipv6_address_mode" or "ipv6_ra_mode" fields with "null" values
Jersey will fail to deserialise the object correctly and throw an HTTP
500 error with a NullPointerException.

This commit adds the above fields to the NeutronSubnet object and
permits these fields to be nillable.

Change-Id: I225581b57a1698a5e5c17f91b117fba556b70976
Signed-off-by: Dave Tucker <dave.j.tucker@hp.com>
9 years agoFix for Bug #533
Ryan Moats [Wed, 19 Mar 2014 16:23:07 +0000 (11:23 -0500)]
Fix for Bug #533

Ensure start of Allocation Pool is set properly in all cases

Change-Id: Ie51dd0e019588b2769663b950527b8558db3624d
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoupdate the pom files to enable the nexus repository path to be configured by properti...
David K. Bainbridge [Wed, 12 Mar 2014 20:16:43 +0000 (13:16 -0700)]
update the pom files to enable the nexus repository path to be configured by properties such that if can be overriden via the command line to support deployment to alternative locations

Change-Id: Ie96244a1a2a3f6b2f3760f366899017a44aa381d
Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
9 years agominor pom cleanup to eliminate duplicate group ID specification when the group ID...
David K. Bainbridge [Mon, 10 Feb 2014 20:03:51 +0000 (12:03 -0800)]
minor pom cleanup to eliminate duplicate group ID specification when the group ID is the same as the parent pom, just removes some warnings from eclipse, should not be any functional difference

Change-Id: I396126408fff54d7120d3ae94b2a5c447d14f8d2
Signed-off-by: David K. Bainbridge <dbainbri@ciena.com>
9 years agoFix for BUG 402: Subnet creation with NeutronAPIService sometimes fails
Ryan Moats [Wed, 5 Feb 2014 17:07:35 +0000 (11:07 -0600)]
Fix for BUG 402: Subnet creation with NeutronAPIService sometimes fails
with a 409 error

Correct typo and bring hostRoutes out as own init block

Change-Id: I7f6f83cb6a63aa81a057b40c377ac49132a9fcb9
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years ago[maven-release-plugin] prepare for next development iteration
jenkins-controller [Mon, 27 Jan 2014 20:51:03 +0000 (20:51 +0000)]
[maven-release-plugin] prepare for next development iteration

9 years ago[maven-release-plugin] prepare release master-tagforprepareonly-controller-bulk-relea...
jenkins-controller [Mon, 27 Jan 2014 20:50:53 +0000 (20:50 +0000)]
[maven-release-plugin] prepare release master-tagforprepareonly-controller-bulk-release-2-1

9 years agoMigrate bundles' configuration mgmt to ConfigurationService
Alessandro Boch [Mon, 27 Jan 2014 08:11:30 +0000 (00:11 -0800)]
Migrate bundles' configuration mgmt to ConfigurationService

- Change current logic where read/save config is completely managed by each bundle,
  with moving it to configuration manager. This decoupling will allow configuration
  manager to decide how to persist the bundles' configurations to disk, withouth
  necessarely depend on java serialization as today controlelr does.
  Also now file names can be static and each bundle does not need to track the container
  context in the file name (which was lame). This allow controller to erase container
  startup files on container removal, which was not possible today.
- Global and in container configuration services to expose
  two APIs for the other bundles to retrieve and save their config
- Per container startup files organized in directories (directory name = container name)
- Container startup directory removed on container removal, and created on container creation if not present

Change-Id: I58c283eb796cf2a60466a97162428a8c2ae478ae
Signed-off-by: Alessandro Boch <aboch@cisco.com>
9 years agoThe config now is loaded only from the coordinator. The previous way of loading
Asad Ahmed [Tue, 21 Jan 2014 20:38:51 +0000 (12:38 -0800)]
The config now is loaded only from the coordinator. The previous way of loading
the config only if empty had some side-effects.

Change-Id: I4f1819c60b491a36e1c14a78ec376e2dfcee8583
Signed-off-by: Asad Ahmed <asaahmed@cisco.com>
9 years agoMigrate all artifact versions to dependencyManagement
Giovanni Meo [Tue, 21 Jan 2014 17:57:28 +0000 (18:57 +0100)]
Migrate all artifact versions to dependencyManagement

- Migrate all the artifacts to use dependencyManagement to centralize
the version changes in controller and make sure the dry-run for
release could actually rewrite those.

Change-Id: I510e4f15d6d75ec52d49835600338fa069a5a4f6
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
9 years agoFixing a NullPointerException in Neutron Interface (Bug-323)
Madhu Venugopal [Fri, 17 Jan 2014 23:58:30 +0000 (15:58 -0800)]
Fixing a NullPointerException in Neutron Interface (Bug-323)

Ideally, this condition should never occur. But there seems to be a consistency issue in the ML2 driver
which could potentially result in this condition. While we are addressing the root-cause in ODL ML2
driver, we should also patch our side of the interface as well to avoid failing for such conditions when
it is harmless for a few usecases.

Change-Id: Iff5fdb76b45280aba38607cdcf82715cb4338b05
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoConfig save support for networkconfiguration.neutron
Madhu Venugopal [Sat, 18 Jan 2014 00:22:47 +0000 (16:22 -0800)]
Config save support for networkconfiguration.neutron

With the ODL ML2 Integration, the REST APIs are uni-directional, hence a simple controller restart
results in synchronization issues between Openstack/CloudStack ML2 and ODL.

The solution that was agreed with Kyle, Ryan, Hugo & others is to add the config save support on the
ODL side which will effectively remove the inconsistency issues between Openstack / Cloudstack and ODL.

Change-Id: I9c5cb1a7d4acd0c147a3014da090770b231fd8d9
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoUpdate to new version of ADSAL components and its dependencies proposed by jenkins...
Madhu Venugopal [Wed, 15 Jan 2014 20:22:47 +0000 (12:22 -0800)]
Update to new version of ADSAL components and its dependencies proposed by jenkins-controller-version-changes-8

By splitting the effort into 2 phases, it is more managable and easy to test.
After this commit, the ADSAL components and all the NSFs are uptodate with the dependency convergence.

Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
Change-Id: Ia8f0a0d2959f8f6ea61babe9c3f826d0950dcaf5

9 years agoAdded DELETE on cors.allowed.methods for a few missing nb bundles.
Madhu Venugopal [Mon, 2 Dec 2013 17:36:13 +0000 (09:36 -0800)]
Added DELETE on cors.allowed.methods for a few missing nb bundles.
Also added toString() method to a few Neutron backend classes.

Change-Id: I484b785384c802bc47463567f5f0d7670eb044c3
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoConvert neutron implementation classes to unix line delimiters
Ryan Moats [Fri, 8 Nov 2013 17:40:19 +0000 (11:40 -0600)]
Convert neutron implementation classes to unix line delimiters

Replace original windows line delimiters.

Change-Id: Icbae06e51f774e788e82683f65fd1d9641102be0
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoConvert neutron service base classes to unix line delimiters.
Ryan Moats [Fri, 8 Nov 2013 17:37:21 +0000 (11:37 -0600)]
Convert neutron service base classes to unix line delimiters.

Replace original windows line delimiters in base classes.

Change-Id: I5d50ddf17604a640028bb40a0e8e8129bed67111
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoFix for incorrect request assumption in Update Neutron Port op
Ryan Moats [Fri, 8 Nov 2013 04:49:15 +0000 (22:49 -0600)]
Fix for incorrect request assumption in Update Neutron Port op

Neutron Port update code incorrectly assumed that request body
would always include fixed_ip information.  Bracket fixed_ip
adjustment code with proper test.

Change-Id: Icee6b594869e5cba74c0ef339fc0fe7a4d7c671a
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoRefactor to remove empty catch exception.
Ryan Moats [Wed, 6 Nov 2013 16:45:07 +0000 (10:45 -0600)]
Refactor to remove empty catch exception.

Initializing a subnet object included an empty catch exception.
Refactor to return a boolean from this method so that exception
is reflected to calling methods, which can then take appropriate
action.

Change-Id: Ia6f3188064677de9035508994d864373915db0f1
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoAdd checkstyle rule to prevent empty statements (;)
Alissa Bonas [Wed, 6 Nov 2013 16:21:19 +0000 (18:21 +0200)]
Add checkstyle rule to prevent empty statements (;)

Change-Id: Id8b34fde64988326cf6cab494019f99d2d61cbc5
Signed-off-by: Alissa Bonas <abonas@redhat.com>