neutron/neutron/objects
Brian Haley d16f69b3ae 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-09 14:28:49 +01:00
..
db Support object string field filtering on "LIKE" statement 2017-07-07 16:15:44 +00:00
extensions Tag mechanism supports resources with standard attribute 2017-07-25 08:14:04 +09:00
logapi [log]: implement logging plugin 2017-07-12 13:30:50 +07:00
plugins OVO for FlatAllocation 2016-12-22 13:25:50 +00:00
port objects: update fields_no_update to reflect models 2017-05-24 20:28:04 +00:00
qos Merge "Tag mechanism supports resources with standard attribute" 2017-07-25 10:31:40 +00:00
README.rst Objects: Add README for neutron/objects directory tree 2016-10-07 15:12:20 +00:00
__init__.py Use dirname in object recursive import 2017-04-20 04:35:10 -07:00
address_scope.py Use project_id instead of tenant_id in objects 2017-01-13 14:31:26 +00:00
agent.py Support object string field filtering on "LIKE" statement 2017-07-07 16:15:44 +00:00
auto_allocate.py objects: update fields_no_update to reflect models 2017-05-24 20:28:04 +00:00
base.py Tag mechanism supports resources with standard attribute 2017-07-25 08:14:04 +09:00
common_types.py Support protocol numbers in security group API 2018-01-09 14:28:49 +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 objects: update fields_no_update to reflect models 2017-05-24 20:28:04 +00:00
l3agent.py [OVO] Integration of RouterL3AgentBinding 2017-05-26 13:17:58 -07:00
metering.py objects: update fields_no_update to reflect models 2017-05-24 20:28:04 +00:00
network.py Allow to set/modify network mtu 2017-08-11 00:57:34 +00:00
ports.py Merge "RouterPort OVO integration" 2017-07-31 09:39:02 +00:00
provisioning_blocks.py OVO for Provisioning Block DB Model 2016-11-22 19:15:51 +00:00
quota.py OVO for Quotas and Reservation 2017-03-24 15:52:34 +00:00
rbac_db.py use neutron-lib callbacks 2017-04-26 12:12:53 -06:00
router.py Merge "RouterPort OVO integration" 2017-07-31 09:39:02 +00:00
securitygroup.py Integrate Security Groups OVO 2017-06-13 19:27:27 +00:00
servicetype.py Make UUIDField actually validate UUIDs 2016-12-07 15:11:43 +00:00
subnet.py objects: update fields_no_update to reflect models 2017-05-24 20:28:04 +00:00
subnetpool.py objects: added update_objects to OVO framework 2017-05-24 20:28:11 +00:00
tag.py OVO for Tag 2017-03-07 23:06:00 +00:00
trunk.py Tag mechanism supports resources with standard attribute 2017-07-25 08:14:04 +09:00
utils.py Support object string field filtering on "LIKE" statement 2017-07-07 16:15:44 +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).