Apply Oslo ModelBase to NeutronBase

Oslo.db has ModelBase which implements most of NeutronBase's code.
Therefore NeutronBase should inherit from ModelBase to keep things DRY.

Fixes bug #1171055

Change-Id: I1a08636a6aa225da8b5d43a0bbcb9b59c057df42
Improve lbaas haproxy plugin_driver test coverage

 - also removes unnecessary delete_health_monitor() from haproxy plugin_driver

Fixes bug 1191007

Change-Id: Ic9ec1f705a94a2e246d1a4985e72e9c58d48191d
Register agent schedulers options in one place

Currently agent schedulers options are defined in neutron.scheduler and
every plugin that supports scheduling should register them individually.
It is reasonable to define and register options in one place - agentschedulers_db.

Fixes NeutronManagerTestCase when running separately by importing missing config option

Fixes bug 1198904

Change-Id: Ia9c1ad3fb4b71796401ef5507f741f3cc024a4da
port-update fails when using SELECT FOR UPDATE lock

In Postgresql, it will throw the bellow exception when
using SELECT FOR UPDATE lock combined with outer join.
"SELECT FOR UPDATE/SHARE cannot be applied to the
 nullable side of an outer join"

The reason can refer http://www.postgresql.org/ \
message-id/21634.1160151923@sss.pgh.pa.us

for this issue, I don't think outer join is necessary，
so I change it to use inner join.

Fixes bug #1191653

Change-Id: Ifc9ecad91324ce28399431ea77fe0865b6d8e523
Add status description field for lbaas objects

Fixes bug 1166925

Change-Id: I44d936afd8cd531a786c09c38bbc4702737ce99c
rename quantum into neutron

Bug #1200474

Change-Id: Ib83e58008fc53b57c4063057ce4c5707b55f0ff2
LBaaS: update DB pool stats received from lbaas agent

Fixes bug 1201401

Change-Id: I84e2fbdb3e6368529c1d829d4e8134e6b0b54311
modernize quantum config in proper place

Bug #1200558

At the beginning, we have not registered some configuration
items. To modernize these items, we must do it after we register
them.

Change-Id: I90d2cdbe97daa2ec0a8c8b6c9686b6f76c4de9e4
Remove use_namespaces option from etc/lbaas_agent.ini

fixes bug 1201249

Remove option from ini file since it is nor registered nor used
in lbaas agent.

Change-Id: I611f794279fea4a4155309cd0668e3b9718221b1
Improve packet-filter test coverage in NEC Plugin

blueprint nec-plugin-test-coverage

This commit adds unit tests for packet-filter in NEC Plugin.

This commit refactors packet-filter in NEC Plugin.
- Put packet-filter classes and methods into nec/packet_filter.py (a) and
  nec/db/packetfilter.py (b), NEC Plugin specific codes are in (a)
- Change stateless methods to class methods in extenstions/packetfilter.py
- Add 'convert_to' option to the attribute map of packet-filter to convert
  some string parameter to int at the api layer

Also, this commit includes the following changes in packet-filter.
- Fix attribute map of packet-filter; set in_port to allow_put=False
- Add new methods to update attribute map properly
- Make packet-filters ignore status of associated resource (network)

Change-Id: I7c0b76afb603f1f078b28610181b16ce66225d37
Fixes argument mismatch in l3-agent

Fixes bug 1202055
Also fixes deletion problem in snat rule

Change-Id: I007a81003e343300836ad226c2dc64b95c5a3247
Merge "Fixes argument mismatch in l3-agent"
Merge "Improve packet-filter test coverage in NEC Plugin"
Merge "modernize quantum config in proper place"
Merge "Improve lbaas haproxy plugin_driver test coverage"
Merge "LBaaS: update DB pool stats received from lbaas agent"
nvp plugin rxtx_factor readonly update port

The following change done in nova 7de916 started passing in the
rxtx_factor on update port rather than just on create_port which
is what we only originally supported. Therefore currently when
booting a vm and specifying --nic port-id it will fail to boot with:
Cannot update read-only attribute rxtx_factor. This patch is a work
around to allow the rxtx_factor value to be passed in on update port even
though we ignore the value. Later we'll implement updating rxtx_factor on
ports but this is a good work around for now.

Fixes bug: 1202406

Change-Id: Iedd488b7bdc9b1a1317000d249f03b0eafbea419
Merge "rename quantum into neutron"
Fixes Opt type of "topologyname"

Changed topologyname from IntOpt to StrOpt

Fixes bug #1202538

Change-Id: I8cabf1868d5eac04dd31271932d5c4fadae78935
Merge "Apply Oslo ModelBase to NeutronBase"