neutron/neutron/objects
Brian Haley 8442a144a2 Support protocol numbers in security group API
Somewhere along the way we broke supporting numbers in
the security group API that were not in our known list
of protocols.  In order to fix this properly we must
use the correct arguments when using iptables-save, as
it could use a name instead of a number, or vice-versa.
Determined the list of mappings by doing:

 for num in {0..255}; do iptables -A INPUT -p $num; done
 # iptables-save

Change-Id: I5895250b47ddf664d214cf085be693c3897e0c87
Closes-bug: #1716045
Closes-bug: #1716790
(cherry picked from commit 7ff492c5bb)
2018-01-10 09:29:23 +01:00
..
db objects: add delete_objects public method 2016-12-13 17:35:47 +00:00
extensions objects: exclude revision_number from updatable fields 2017-08-04 15:27:25 +00:00
plugins OVO for FlatAllocation 2016-12-22 13:25:50 +00:00
port Make UUIDField actually validate UUIDs 2016-12-07 15:11:43 +00:00
qos Make QoS policy object compatible with versions 1.2 and higher 2017-06-15 19:43:28 +00:00
README.rst Objects: Add README for neutron/objects directory tree 2016-10-07 15:12:20 +00:00
__init__.py First QoS versioned objects, ever 2015-07-02 09:21:45 +03:00
address_scope.py Use project_id instead of tenant_id in objects 2017-01-13 14:31:26 +00:00
agent.py Add DictOfMiscValuesField in OVO for dict usage 2017-01-05 07:57:06 +00:00
auto_allocate.py Add OVO for AutoAllocatedTopology 2017-01-17 14:24:10 -06:00
base.py Use project_id instead of tenant_id in objects 2017-01-13 14:31:26 +00:00
common_types.py Support protocol numbers in security group API 2018-01-10 09:29:23 +01:00
exceptions.py Move OVO exceptions to neutron/objects/exceptions 2016-11-10 10:25:06 -07:00
flavor.py Flavor and Service Profile to OVO 2017-01-05 16:59:36 -06:00
floatingip.py Make UUIDField actually validate UUIDs 2016-12-07 15:11:43 +00:00
ipam.py OVO for Ipam(Allocation,Subnet,Pool) 2017-01-19 19:25:01 +00:00
network.py Checks if net_dns is None and returns so that we don't attempt to load 2017-06-15 19:43:23 +00:00
ports.py [Live Migration] Extend ml2_port_binding table 2017-01-26 16:49:15 +00:00
provisioning_blocks.py OVO for Provisioning Block DB Model 2016-11-22 19:15:51 +00:00
rbac_db.py Fixes to allow OVO deserializion of ports/networks 2017-01-25 19:30:36 -08:00
router.py [TrivialFix] Fix comment typo error 2017-01-02 12:45:13 +08:00
securitygroup.py Allow 0 in port range for securitygrouprule object 2017-01-19 21:01:02 +00:00
servicetype.py Make UUIDField actually validate UUIDs 2016-12-07 15:11:43 +00:00
subnet.py Make UUIDField actually validate UUIDs 2016-12-07 15:11:43 +00:00
subnetpool.py Use project_id instead of tenant_id in objects 2017-01-13 14:31:26 +00:00
trunk.py Use project_id instead of tenant_id in objects 2017-01-13 14:31:26 +00:00
utils.py objects: introduce a util function to handle tenant_id filter 2016-08-03 08:42:38 +00:00

README.rst

Neutron Objects

Directory

This directory is designed to contain all modules which have objects definitions shipped with core Neutron. The files and directories located inside of this directory should follow the guidelines below.

Structure

The Neutron objects tree should have the following structure:

  • The expected directory structure is flat, except for the ML2 plugins. All ML2 plugin objects should fall under the plugins subdirectory (i.e. plugins/ml2/gre_allocation).
  • Module names should use singular forms for nouns (network.py, not networks.py).