neutron/neutron/agent
John Perkins 972cdef50c Classes lack metaclass decoration
Add decorations where required.

There are roughly a dozen classes in Neutron that define abstract
methods or properties but are not decorated with
@six.add_metaclass(abc.ABCMeta). Without this decoration, children
can be created without defining the required methods or properties.

Decorating RBACColumns in db/rbac_db_models.py causes failures and will
be reported separately.

Decorating unit tests is of dubious benifit and should be addressed
separately (if at all).

There are also several more places where metaclassing isn't correct, to
be taken care of in follow-on patches.

For example, BaseScheduler is using the fact the None doesn't have a
filter_agents() method, which gives developers confusing error messages
when they incorrectly implement the interface, and they won't see any
error until schedule() is called. As an aside, the docstring for this
base class is also incorrect.

Change-Id: I2b2cce37d9b0d40559a715a7d510a969b8ba9963
Closes-Bug: #1577648
2016-05-05 13:31:15 -06:00
..
common Use exceptions from neutron-lib 2016-04-21 21:29:44 -04:00
dhcp Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
l2 Use exceptions from neutron-lib 2016-04-21 21:29:44 -04:00
l3 Remove old fwaas remnants from neutron 2016-04-27 16:48:29 -05:00
linux Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
metadata Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
ovsdb Merge "Allow OVSDB Connection to register certain tables" 2016-04-30 21:54:26 +00:00
windows Merge "Reuse to_utf8() and jsonutils.dump_as_bytes()" 2016-04-15 23:40:59 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
dhcp_agent.py Remove deprecated use_namespaces option 2015-11-18 19:17:29 +01:00
firewall.py Adds Enum fields for different types 2016-03-23 12:47:23 +01:00
l3_agent.py Register RA and PD config options in l3-agent 2016-01-12 21:03:54 -05:00
metadata_agent.py Allow metadata proxy running with nobody user/group 2015-04-06 18:31:37 +02:00
rpc.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
securitygroups_rpc.py firewall: don't warn about a driver that does not accept bridge 2016-03-24 17:55:29 +00:00