nova/nova/objects
Dan Smith c741f98e04 Fix Enum field, which allows unrestricted values
For some reason, the Enum field allows valid_values to be None, which disables
all the is-this-a-valid-value checking, thus defeating the entire purpose of
the type. This patch removes that possibility so that we don't let anything
creep into the RPC-affecting API that would be unrestricted.

The change that introduced this was I7848f8b934c169a76b1cfd875f7905273f9f914b

Closes-Bug: #1441243
Change-Id: Ia33994402cca5b4569d72860ab5da675134f5a95
2015-04-07 10:29:05 -07:00
..
__init__.py Merge "Add CellMapping object" 2015-03-19 07:25:52 +00:00
agent.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
aggregate.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
bandwidth_usage.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
base.py Merge "Fix backporting objects with sub-objects that can look falsey" 2015-03-24 00:54:19 +00:00
block_device.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
cell_mapping.py Add CellMapping object 2015-03-18 15:19:54 -04:00
compute_node.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
dns_domain.py objects: remove dict compat support from all XXXList() objects 2014-12-12 14:06:12 +00:00
ec2.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
external_event.py objects: allow creation of objects without dict item compat 2014-12-12 14:01:04 +00:00
fields.py Fix Enum field, which allows unrestricted values 2015-04-07 10:29:05 -07:00
fixed_ip.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
flavor.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
floating_ip.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
hv_spec.py objects: allow creation of objects without dict item compat 2014-12-12 14:01:04 +00:00
instance.py Update check before migrating flavor 2015-03-31 17:26:30 -04:00
instance_action.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
instance_fault.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
instance_group.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
instance_info_cache.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
instance_mapping.py Add InstanceMapping object 2015-03-18 15:24:25 -04:00
instance_numa_topology.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
instance_pci_requests.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
keypair.py Adds Not Null constraint to KeyPair name 2015-03-20 04:53:45 -07:00
migration.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
network.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
network_request.py objects: remove dict compat support from all XXXList() objects 2014-12-12 14:06:12 +00:00
numa.py Merge "objects: introduce numa topology limits objects" 2015-03-13 09:45:23 +00:00
pci_device.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
pci_device_pool.py Fix PCIDevicePool.to_dict() when the object has no tags 2015-03-25 18:13:59 +01:00
quotas.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
security_group.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
security_group_rule.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
service.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
tag.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00
vcpu_model.py Revert : Switch off oslo.* namespace check temporarily 2015-02-25 08:56:34 -05:00
virt_cpu_topology.py objects: allow creation of objects without dict item compat 2014-12-12 14:01:04 +00:00
virtual_interface.py Remove context from remotable call signature 2015-03-18 06:53:38 -07:00