neutron.git
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>
9 years agoRefactor if/else with dead branch to explain corner case better
Ryan Moats [Sun, 3 Nov 2013 15:47:24 +0000 (09:47 -0600)]
Refactor if/else with dead branch to explain corner case better

Change allocating address from subnet pool path to split the pool
in the main branch rather than the else and explain what happens
if the pool as a single address with a comment.

Change-Id: I3e910aecc2b251da419fc5d8055c2a9ccd975563
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoClean all unused and redundant imports in controller.
Alissa Bonas [Wed, 30 Oct 2013 13:43:08 +0000 (15:43 +0200)]
Clean all unused and redundant imports in controller.
Enable verification of unused and redundant imports via checkstyle.
Rename checkstyle configuration file because it no longer checks only
for tabs.

Change-Id: Id94a92fbc8a79aba01a4177aec3d80a2b3394508
Signed-off-by: Alissa Bonas <abonas@redhat.com>
9 years agoReworked pom files
Tony Tkacik [Mon, 7 Oct 2013 13:21:28 +0000 (15:21 +0200)]
Reworked pom files

Each pom (artifact) declares it's dependencies (internal and external)
No dependencies declared at parent POM level, only dependency Management.

Also moved the <modules> from distribution/opendaylight to the root pom.xml
distribution/opendaylight now builds entirely from dependencies

I have intentionally left some things in here I think are wrong,
because the goal of this commit is to reproduce the existing build
(which it does, I've checked).  Subsequent commits will clean up other things.

Change-Id: I358bdac1c0f6a59b37a418a811a30235967fdfdc
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoAdd missing test methods to IRouterAware and clean up unused imports.
Ryan Moats [Mon, 7 Oct 2013 18:20:06 +0000 (13:20 -0500)]
Add missing test methods to IRouterAware and clean up unused imports.

Realized that initial Neutron IRouterAware was missing test methods
for interface attach and detach operation.  In addition, removed
unused imports from other classes.

Change-Id: I8547ad7e7437d7215151f843744b56b2e0d93197
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoAdd curly braces to for and if statements.
Alissa Bonas [Tue, 1 Oct 2013 11:35:12 +0000 (14:35 +0300)]
Add curly braces to for and if statements.

Change-Id: I1a681f0de1fe3f2b442d71612b4f15171df48ea2
Signed-off-by: Alissa Bonas <abonas@redhat.com>
9 years ago[maven-release-plugin] prepare for next development iteration
jenkins-controller [Sun, 29 Sep 2013 08:43:50 +0000 (08:43 +0000)]
[maven-release-plugin] prepare for next development iteration

9 years ago[maven-release-plugin] prepare release releasepom-0.1.0
jenkins-controller [Sun, 29 Sep 2013 08:43:46 +0000 (08:43 +0000)]
[maven-release-plugin] prepare release releasepom-0.1.0

9 years agoAdd SCM section to all the poms
Giovanni Meo [Wed, 25 Sep 2013 11:52:38 +0000 (13:52 +0200)]
Add SCM section to all the poms

- For the release process we need SCM section to all the poms, some
are still missing it so adding them.

Change-Id: Id401e8502e9fc183e9b15ed5e28b7374ad86d80e
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
9 years agoInitial push of Neutron interface
Ryan Moats [Fri, 20 Sep 2013 17:51:39 +0000 (12:51 -0500)]
Initial push of Neutron interface

Two bundles included in this:
-networkconfig.neutron (contains JAXB annotated classes, *CRUD
interfaces with an implementation [for storing objects], and
Aware interfaces [for other bundles to register services])
-networkconfig.neutron.northbound (contains the JAXRS annotated
classes along with JAXB annotated request specific classes)

Commit amended to refactor .internal package to separate
implementation bundle and package

Commit re-amended to clean up issues in commons/opendaylight
and distribution/opendaylight poms

Commit re-re-amended to fix conflicts on rebase (I hope)

Getting close to just abandoning the change and starting over

Commit re-re-re-amended to fix parent issues in pom

amend to remove leaked CRs in distribution pom

- Cleanup of some duplicates artifact and of commons-net in modules
dependencies, anyway they get in via the commons.opendaylight

Change-Id: I15724c55e843237c010dfaec1e1e523560174f51
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
9 years agoInitial empty repository
Andrew Grimberg [Thu, 12 Feb 2015 21:35:13 +0000 (21:35 +0000)]
Initial empty repository