neutron/neutron/tests/unit/objects
Rodolfo Alonso Hernandez 3053caaa02 Workaround in NetworkSegmentRange OVO until "project_id" migration
The "network_segment_range" service plugin API does not have
"tenant_id" as parameter. However, because the migration from
"tenant_id" to "project_id" did not finish, every OVO with
"project_id" will also have "tenant_id" as an extra field. This
extra field will be populated with the same value as the
"project_id" field.

If the Neutron API WSGI is used and "tenant_id" is not present in
the API (defined in neutron-lib), both "tenant_id" and "project_id"
parameters will be removed from the response.

This patch introduces a workaround for this OVO until the migration
is over.

More information about this patch can be found in the bug c#4.

Change-Id: I85a02d8b59e8a758826c110e00df84672fa93676
Closes-Bug: #1828205
2020-02-17 12:09:50 +00:00
..
db remove the neutron.db._model_query module 2019-01-25 08:55:25 -07:00
logapi Enable an update test in UT of logging 2017-07-07 12:01:49 +09:00
plugins OVO for FlatAllocation 2016-12-22 13:25:50 +00:00
port Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
qos Remove QoS related objects unneeded compatibility conversions 2019-09-27 12:06:07 +00:00
__init__.py objects.base: avoid db access if object does not have changes 2015-07-03 02:02:17 +03:00
test_address_scope.py Use BaseDbObjectTestCase in AddressScope UT 2016-10-12 14:17:15 -05:00
test_agent.py New agent attribute: resources_synced 2019-02-21 13:45:15 +01:00
test_auto_allocate.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_base.py Workaround in NetworkSegmentRange OVO until "project_id" migration 2020-02-17 12:09:50 +00:00
test_conntrack_helper.py Conntrack Helper - OVO and db script 2019-05-20 18:00:18 +02:00
test_flavor.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_floatingip.py Refactoring _create_test methods for OVO UTs 2017-04-17 12:05:19 -07:00
test_ipam.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_l3_hamode.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_l3agent.py Add specific values to specific fields in get_random_object_fields() 2017-07-25 15:16:25 +09:00
test_metering.py Metering to OVO 2017-04-26 11:44:58 -07:00
test_network.py Move migration to proper dir and fix objects tests 2019-11-04 17:44:44 +00:00
test_network_segment_range.py Workaround in NetworkSegmentRange OVO until "project_id" migration 2020-02-17 12:09:50 +00:00
test_objects.py Ensure there is always at most 1 dvr fip gw port per agent and network 2020-02-07 08:32:33 +00:00
test_port_forwarding.py Support fetching specific db column in OVO 2018-12-11 19:29:28 +00:00
test_ports.py Merge "Fix update of network's segmentation id for network with ports" 2019-07-09 22:49:23 +00:00
test_provisioning_blocks.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_quota.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_rbac.py Allow sharing of security groups via RBAC mechanism 2019-03-09 17:30:14 -06:00
test_rbac_db.py use objects common_types from neutron-lib 2019-11-26 15:34:18 +01:00
test_router.py Ensure there is always at most 1 dvr fip gw port per agent and network 2020-02-07 08:32:33 +00:00
test_securitygroup.py Allow sharing of security groups via RBAC mechanism 2019-03-09 17:30:14 -06:00
test_servicetype.py Start enforcing E125 flake8 directive 2019-07-19 23:39:41 -04:00
test_subnet.py Serialize subnet creating depending on the network ID 2019-12-02 17:19:03 +00:00
test_subnetpool.py Use constant IP_VERSION_4/6 in unit tests 2018-08-27 21:45:39 +00:00
test_tag.py Refactoring _create_test methods for OVO UTs 2017-04-17 12:05:19 -07:00
test_trunk.py use trunk constants from neutron-lib 2019-04-23 13:54:11 -06:00