neutron/neutron/extensions
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
..
__init__.py Removing vim header lines 2014-04-01 10:38:31 -04:00
address_scope.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
agent.py Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
allowedaddresspairs.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
auto_allocated_topology.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
availability_zone.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
default_subnetpools.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
dhcpagentscheduler.py Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
dns.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
dvr.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
external_net.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
extra_dhcp_opt.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
extraroute.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
flavors.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
l3.py Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
l3_ext_gw_mode.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
l3_ext_ha_mode.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
l3agentscheduler.py Classes lack metaclass decoration 2016-05-05 13:31:15 -06:00
metering.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
multiprovidernet.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
netmtu.py Fixes typos Openstack -> OpenStack 2016-01-18 16:04:56 +00:00
network_availability_zone.py Use a joined relationship for AZ info on networks 2015-12-14 14:45:30 -08:00
network_ip_availability.py IP Availability: remove unused imports 2016-03-01 07:06:10 -08:00
portbindings.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
portsecurity.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
providernet.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
qos.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
quotasv2.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
rbac.py Use exceptions from neutron-lib 2016-04-21 21:29:44 -04:00
router_availability_zone.py Use a joined relationship for AZ info on routers 2015-12-15 23:29:47 -08:00
routerservicetype.py Merge "Remove get_namespace from API extensions" 2015-06-24 14:54:12 +00:00
securitygroup.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
servicetype.py Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
standardattrdescription.py Add a description field to all standard resources 2016-03-05 02:29:35 +00:00
subnetallocation.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
tag.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
timestamp_core.py Add timestamp for neutron core resources 2016-03-05 02:17:35 +00:00
vlantransparent.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00