neutron/neutron/tests/unit/extensions
pandatt 874ffe0d6b Fix resource schemas and releated `get_sorts` test cases
When I'm trying to introduce a central sort-keys validation within
patch [1] to `get_sorts` method in `neutron.api.api_common` module,
I get blocked by some resource schemas and test cases. After reading
neutron API docs and some inspection, I believe there exists uses of
improper sort keys in test cases and some resource schemes need to
keep aligned with offical documents.

* Schemas of resource SecurityGroups/SG Rules/Segments don't provide
`is_sort_key` flag for their sort key properties claimed in offical
docs as neutron-lib does. See [2] for more details.

* Test cases of resource NetworkSegmentRange use unsupported sort keys,
e.g: physical_network. Replace it with `name` property. See [2] for more
details.

[1] https://review.opendev.org/#/c/653903/
[2] https://developer.openstack.org/api-ref/network/v2/index.html

Change-Id: I45a51736e4075e3dbc16827486869d70b659622d
(cherry picked from commit ed3f1087fa)
2020-01-31 17:30:08 +00:00
..
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
base.py remove _setUpExtension 2018-09-17 12:51:51 +00:00
extendedattribute.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00
extensionattribute.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00
foxinsocks.py Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
test_address_scope.py use payloads for all SUBNETPOOL_ADDRESS_SCOPE events 2019-01-30 14:32:08 -07:00
test_agent.py cleanup unit test usage of api extension maps 2017-10-24 10:38:52 -06:00
test_availability_zone.py Adjust filters on listing availability zones 2018-06-29 19:15:29 +00:00
test_data_plane_status.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
test_default_subnetpools.py Use constant IP_VERSION_4/6 in unit tests 2018-08-27 21:45:39 +00:00
test_dns.py Use constant IP_VERSION_4/6 in unit tests 2018-08-27 21:45:39 +00:00
test_expose_port_forwarding_in_fip.py Add dependency for service plugin 2019-02-16 00:17:53 +08:00
test_external_net.py use external net api def from lib 2017-10-30 11:16:33 -06:00
test_extra_dhcp_opt.py Use constant IP_VERSION_4/6 in unit tests 2018-08-27 21:45:39 +00:00
test_extraroute.py Add test cases: invalidate CIDR 2019-01-25 10:50:43 +08:00
test_fip_port_details.py Use extension fip-port-details from neutron-lib 2018-05-07 15:01:58 +00:00
test_flavors.py use context manager from neutron-lib 2018-10-24 07:18:46 -06:00
test_floating_ip_port_forwarding.py Add dependency for service plugin 2019-02-16 00:17:53 +08:00
test_floatingip_pools.py Introduce floating IP pool resource 2018-10-04 15:53:53 +00:00
test_l3.py Join on explcit relationship paths 2019-06-20 10:56:17 +00:00
test_l3_ext_gw_mode.py Update neutron files for new over-indentation hacking rule (E117) 2019-01-29 15:36:20 -05:00
test_network_ip_availability.py Use constant IP_VERSION_4/6 in unit tests 2018-08-27 21:45:39 +00:00
test_network_segment_range.py Fix resource schemas and releated `get_sorts` test cases 2020-01-31 17:30:08 +00:00
test_portsecurity.py use context manager from neutron-lib 2018-10-24 07:18:46 -06:00
test_providernet.py pecan.jsonify v1.3 adjustment 2018-04-18 15:37:20 +00:00
test_qos_fip.py remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
test_qos_gateway_ip.py [L3][QoS] Neutron server side router gateway IP QoS 2018-12-01 17:45:46 +08:00
test_quotasv2.py remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
test_quotasv2_detail.py use core resource api defs from lib 2017-11-08 09:48:50 -07:00
test_router_availability_zone.py use l3 api def from neutron-lib 2017-12-15 07:03:14 -07:00
test_securitygroup.py Better handle ports in security groups 2019-03-15 13:54:33 -04:00
test_segment.py fixed_configured=True when Add/Remove port IPs 2019-10-09 09:36:45 +00:00
test_servicetype.py Select service_provider on the basis of service_module 2018-04-28 17:30:21 +09:00
test_subnet_onboard.py Enable adoption of subnets into a subnet pool 2019-02-26 11:13:09 -06:00
test_subnet_service_types.py Renamed subnet_service_type_db_models module 2018-04-12 15:41:08 -07:00
test_timestamp.py Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
test_uplink_status_propagation.py remove the neutron.db._resource_extend module 2019-01-02 13:02:06 -07:00
test_vlantransparent.py use vlantransparent api def from neutron-lib 2018-02-20 07:43:03 +00:00
v2attributes.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00