neutron-lib/neutron_lib/api/definitions
Bence Romsics 4ef4b711b7 Introduce new member actions additively
In the 'extraroute-atomic' api-def as it was first merged [1]
some router member actions (PUT add/remove_extraroutes) were defined
in one api-def (extraroute_atomic.py), while others
(PUT add/remove_router_interface) were defined in another (l3.py).

This (in the subsequent neutron implementation change [2]) broke
functional test:

neutron.tests.functional.pecan_wsgi.test_controllers.\
TestRouterController.test_unsupported_method_member_action

This test sent POST/GET /v2.0/routers/router-id/add_router_interface,
and expected response 405 Method Not Allowed. Due to the split
definition it actually received 404 Not Found. In the meanwhile all
four PUT member actions were working properly.

This change sets the 'extraroute-atomic' api-def's ACTION_MAP to contain
the member actions of both the 'router' and the 'extraroute-atomic'
extensions' member actions in order to get all four member actions
properly defined.

[1] https://review.opendev.org/670849
[2] https://review.opendev.org/#/c/670851/6

Change-Id: I95927d61a3590ea3495bc2716c1fa5fd4feb2948
Partial-Bug: #1826396 (rfe)
Related-Change: https://review.opendev.org/655680 (spec)
2019-08-30 00:27:35 +00:00
..
__init__.py New api-def: extraroute-atomic 2019-08-09 13:24:22 +02:00
_dummy.py Merge "ut updates for extending sub-resources" 2018-04-05 14:58:38 +00:00
address_scope.py Annotate sort_key parameters for all resources 2018-05-14 21:01:39 +00:00
agent.py Annotate filter parameters for all resources 2018-05-14 20:56:59 +00:00
agent_resources_synced.py New agent attribute: resources_synced 2019-01-23 16:27:47 +01:00
allowedaddresspairs.py Remove LABEL from API definitions 2018-04-03 09:39:15 +02:00
auto_allocated_topology.py Merge "Annotate all the filter parameters for networks" 2018-04-11 23:37:17 +00:00
availability_zone.py Annotate filter parameters for all resources 2018-05-14 20:56:59 +00:00
availability_zone_filter.py Add a shim extension availability_zone_filter 2018-06-25 14:50:38 +00:00
base.py New api-def: extraroute-atomic 2019-08-09 13:24:22 +02:00
bgpvpn.py bgpvpn API definition: add API_PREFIX 2018-05-21 16:22:07 +00:00
bgpvpn_routes_control.py Remove LABEL from API definitions 2018-04-03 09:39:15 +02:00
bgpvpn_stdattrs.py Add API extensions to advertise support of std attributes for BGPVPN 2018-05-07 10:04:55 +02:00
bgpvpn_stdattrs_net_assoc.py Add API extensions to advertise support of std attributes for BGPVPN 2018-05-07 10:04:55 +02:00
bgpvpn_stdattrs_port_assoc.py Add API extensions to advertise support of std attributes for BGPVPN 2018-05-07 10:04:55 +02:00
bgpvpn_stdattrs_router_assoc.py Add API extensions to advertise support of std attributes for BGPVPN 2018-05-07 10:04:55 +02:00
bgpvpn_vni.py Remove LABEL from API definitions 2018-04-03 09:39:15 +02:00
constants.py rehome neutron's auto-allocated-topology extension API definition 2017-07-17 13:50:15 -06:00
data_plane_status.py use constants rather than static strings 2017-05-04 06:30:18 -06:00
default_subnetpools.py rehome default subnet pools API def 2017-08-07 07:35:37 -06:00
dhcpagentscheduler.py Remove LABEL from API definitions 2018-04-03 09:39:15 +02:00
dns.py Rehome dns-integration extension 2017-06-16 13:14:56 +09:00
dns_domain_ports.py Define dns-domain-ports extension 2017-06-27 19:21:01 +00:00
dvr.py Remove LABEL from API definitions 2018-04-03 09:39:15 +02:00
empty_string_filtering.py Add empty-string-filtering API extension 2018-05-01 15:26:22 +00:00
expose_l3_conntrack_helper.py L3 Conntrack Helper Extension 2019-04-11 03:19:21 +02:00
expose_port_forwarding_in_fip.py Extend port_forwardings field in Floatingip response 2018-07-09 09:47:24 +08:00
external_net.py Annotate all the filter parameters for networks 2018-04-09 17:01:20 +00:00
extra_dhcp_opt.py Add DHCP_OPT_CLIENT_ID_NUM 2018-05-22 15:35:58 +00:00
extraroute.py rehome extraroute api definition 2017-08-15 04:36:38 -06:00
extraroute_atomic.py Introduce new member actions additively 2019-08-30 00:27:35 +00:00
filter_validation.py Add shim extension filter-validation 2018-07-12 23:12:00 +00:00
fip64.py Add ACTION_STATUS to dummy of API definition 2017-03-28 12:43:51 +09:00
fip_port_details.py Add API extension fip-port-details 2018-04-20 23:21:37 +00:00
firewall.py rehome shared constant 2018-01-16 15:10:54 -07:00
firewall_v2.py rehome shared constant 2018-01-16 15:10:54 -07:00
firewallrouterinsertion.py use constants rather than static strings 2017-05-04 06:30:18 -06:00
flavors.py Annotate sort_key parameters for all resources 2018-05-14 21:01:39 +00:00
floating_ip_port_forwarding.py Disable port number 0 for floating IP port_forwarding 2018-11-02 23:06:28 +08:00
floatingip_autodelete_internal.py Remove ml2's accidental dependency on l3 2019-02-25 11:08:56 +01:00
floatingip_pools.py Add the floatingip pools extension 2018-06-08 18:10:07 +00:00
flowclassifier.py 'sfc' and 'flowclassifier' API extension definitions (networking-sfc) 2018-04-27 10:46:02 +02:00
interconnection.py 'interconnection' API extension definition (neutron-interconnection) 2019-02-22 10:29:13 +01:00
ip_allocation.py Annotate sort_key parameters for all resources 2018-05-14 21:01:39 +00:00
ip_substring_port_filtering.py Add the IP substring filter extension 2018-01-08 22:43:48 +00:00
l2_adjacency.py rehome l2 adjacency extension API definition 2017-08-15 15:19:45 -06:00
l3.py Merge "Cleanup unused key-value in the attribute of l3" 2018-07-02 14:53:11 +00:00
l3_conntrack_helper.py Fix - L3 Conntrack Helper validator 2019-07-19 02:15:58 +02:00
l3_ext_gw_mode.py Cleanup unused key-value in the attribute of l3 2018-06-20 16:23:30 +09:00
l3_ext_ha_mode.py rehome l3 ext ha mode extension api definition 2017-09-07 10:23:24 -06:00
l3_flavors.py Annotate sort_key parameters for all resources 2018-05-14 21:01:39 +00:00
l3_port_ip_change_not_allowed.py Add shim extension l3-port-ip-change-not-allowed 2018-11-06 23:15:47 +08:00
logging.py Annotate sort_key parameters for all resources 2018-05-14 21:01:39 +00:00
logging_resource.py Add ACTION_STATUS to dummy of API definition 2017-03-28 12:43:51 +09:00
metering.py Use QoS constants definitions 2018-10-19 11:44:32 -05:00
multiprovidernet.py rehome multi provider net extension api definition 2017-11-02 10:27:46 -06:00
network.py Annotate network parameters for sort_key 2018-04-09 17:04:50 +00:00
network_availability_zone.py Annotate network parameters for sort_key 2018-04-09 17:04:50 +00:00
network_ip_availability.py Add is_filter to network_ip_availability 2018-08-27 21:42:50 +00:00
network_mtu.py Merge "Annotate network parameters for sort_key" 2018-04-16 18:22:38 +00:00
network_mtu_writable.py Allow filtering/sorting by the 'mtu' field 2019-03-12 21:46:03 +00:00
network_segment_range.py Move network segment range types to lib constants 2019-01-21 22:04:32 +08:00
pagination.py rehome pagination api definition 2017-08-17 13:11:22 -06:00
port.py Add support to regenerate port mac_address 2018-06-22 16:14:49 +00:00
port_mac_address_regenerate.py Add is_filter to port_mac_address_regenerate 2018-07-19 04:47:14 +00:00
port_resource_request.py Introduce Port resource request extension 2018-08-21 17:40:32 +02:00
port_security.py Remove LABEL from API definitions 2018-04-03 09:39:15 +02:00
portbindings.py Add new vif_details parameters 2019-06-18 14:28:32 +00:00
portbindings_extended.py Add keyword 'is_filter' to binding extended 2018-07-19 22:00:29 +00:00
project_default_networks.py Add 'project_default' attribute to Network 2018-08-13 18:38:29 +00:00
project_id.py rehome project id api definition 2017-08-24 10:27:15 -06:00
provider_net.py Annotate all the filter parameters for networks 2018-04-09 17:01:20 +00:00
qos.py Use QoS constants definitions 2018-10-19 11:44:32 -05:00
qos_bw_limit_direction.py Use QoS constants definitions 2018-10-19 11:44:32 -05:00
qos_bw_minimum_ingress.py Ingress direction for min bandwidth rule 2018-07-17 11:38:17 +02:00
qos_default.py Annotate filter parameters for all resources 2018-05-14 20:56:59 +00:00
qos_gateway_ip.py Adds qos-gateway-ip extension api definition 2018-08-10 08:35:12 +08:00
qos_rule_type_details.py rehome the qos rule type details api def 2018-01-08 06:49:29 -07:00
qos_rules_alias.py Fix pep8 E126 2019-01-30 08:15:14 +01:00
rbac_security_groups.py Add security-group as parameter to RBAC api 2019-02-21 11:21:13 -07:00
revisionifmatch.py rehome revisionifmatch api def 2018-01-16 17:06:10 +00:00
router_admin_state_down_before_update.py Add shim extension admin_state_down_before_update 2019-07-08 09:34:07 +00:00
router_availability_zone.py rehome router availability zone extension api def 2017-08-18 13:31:31 -06:00
router_interface_fip.py Add ACTION_STATUS to dummy of API definition 2017-03-28 12:43:51 +09:00
routerservicetype.py rehome router service type api def 2018-01-08 06:51:11 -07:00
security_groups_port_filtering.py rehome port-security-groups-filtering api extension 2018-06-14 06:55:27 -06:00
segment.py Update the segment api extension 2018-08-13 15:45:43 +00:00
segments_peer_subnet_host_routes.py Shim extension - segments peer subnet host routes, and api-ref 2018-06-26 23:53:41 +02:00
servicetype.py rehome service type api def 2017-12-06 13:47:55 -07:00
sfc.py 'sfc' and 'flowclassifier' API extension definitions (networking-sfc) 2018-04-27 10:46:02 +02:00
sort_key_validation.py Add shim extension sort-key-validation 2018-07-12 14:46:47 +00:00
sorting.py rehome sorting api def 2018-01-08 06:45:51 -07:00
standard_attr_segment.py Add a shim extension standard-attr-segment 2018-05-29 22:57:33 +00:00
subnet.py Merge "Add ipv6 canonical address converter to API" 2018-11-19 15:35:56 +00:00
subnet_dns_publish_fixed_ip.py Fix subnet_dns_publish_fixed_ip extension 2019-06-17 12:44:46 +00:00
subnet_onboard.py Remove unnecessary attributes and specs from subnet_onboard API 2019-01-24 08:40:08 +00:00
subnet_segmentid_enforce.py Let Neutron enforce rule on create_subnet with segment_id [neutron-lib part] 2018-09-24 15:37:20 -05:00
subnet_segmentid_writable.py Remove LABEL from API definitions 2018-04-03 09:39:15 +02:00
subnet_service_types.py rehome subnet service types extension 2019-03-13 11:14:55 -06:00
subnetpool.py Annotate sort_key parameters for all resources 2018-05-14 21:01:39 +00:00
subnetpool_prefix_ops.py Introduce subnet pool prefix operations extension 2019-02-27 17:53:51 +00:00
trunk.py Annotate sort_key parameters for all resources 2018-05-14 21:01:39 +00:00
trunk_details.py Replace git.openstack.org URLs with opendev.org URLs 2019-04-22 11:23:33 +08:00
uplink_status_propagation.py Add attribute propagate_uplink_status to port 2018-06-05 18:17:29 +00:00
vlantransparent.py Annotate all the filter parameters for networks 2018-04-09 17:01:20 +00:00
vpn.py fix vpnaas subnet_list_or_none type 2018-04-23 09:53:44 -06:00
vpn_endpoint_groups.py Migrate neutron-vpnaas API definitions to neutron-lib 2018-01-26 09:14:42 +08:00
vpn_flavors.py Migrate neutron-vpnaas API definitions to neutron-lib 2018-01-26 09:14:42 +08:00