neutron/neutron/objects
Kevin Benton 660946a921 Fix modify_fields_from_db for vif_details empty str
vif_details is represented as an empty string in our DB schema
when it's not defined. The 'modify_fields_from_db' method was
incorrectly attempting to feed this directly into the json decoder.

Closes-Bug: #1638703
Change-Id: I7b13fb30de71bb4dce4dbab4ffe430e1d0ef8f3a
2016-11-03 23:02:31 +00:00
..
db Introduce ovo objects for ports 2016-09-28 20:46:19 +00:00
extensions Introduce ovo objects for ports 2016-09-28 20:46:19 +00:00
port Introduce ovo objects for ports 2016-09-28 20:46:19 +00:00
qos Merge "Prevent use filter(lambda obj: test(obj), data)" 2016-09-14 15:45:35 +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 Relocate AddressScope DB model 2016-08-17 14:43:44 -07:00
base.py Merge "objects: Remove tenant_id from to_dict() when project_id is not set." 2016-10-21 16:54:16 +00:00
common_types.py Add 'to_primitive' for MACAddress and IPNetwork 2016-11-02 13:57:38 -07:00
network.py OVO for SegmentHostMapping 2016-10-21 15:05:47 +00:00
ports.py Fix modify_fields_from_db for vif_details empty str 2016-11-03 23:02:31 +00:00
rbac_db.py Refactor/prepare db common utils for neutron-lib 2016-10-28 10:53:11 -04:00
router.py OVO for Router Extra Attributes 2016-10-18 16:54:56 +00:00
securitygroup.py objects: remove support for multiple db models in from_db_object 2016-08-29 17:28:46 +00:00
subnet.py objects: Removed project_id/tenant_id field translation 2016-10-11 13:50:46 +02:00
subnetpool.py Merge "objects: expose database model for NeutronDbObject instances" 2016-09-14 11:43:03 +00:00
trunk.py Implement state management for trunks 2016-08-30 13:12:55 -07: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).