| 1 |
# Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 2 |
# not use this file except in compliance with the License. You may obtain |
| 3 |
# a copy of the License at |
| 4 |
# |
| 5 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 6 |
# |
| 7 |
# Unless required by applicable law or agreed to in writing, software |
| 8 |
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 9 |
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 10 |
# License for the specific language governing permissions and limitations |
| 11 |
# under the License. |
| 12 |
|
| 13 |
from neutron_lib.api.definitions import address_group |
| 14 |
from neutron_lib.api.definitions import address_scope |
| 15 |
from neutron_lib.api.definitions import agent |
| 16 |
from neutron_lib.api.definitions import agent_resources_synced |
| 17 |
from neutron_lib.api.definitions import agent_sort_key |
| 18 |
from neutron_lib.api.definitions import allowedaddresspairs |
| 19 |
from neutron_lib.api.definitions import allowedaddresspairs_atomic |
| 20 |
from neutron_lib.api.definitions import auto_allocated_topology |
| 21 |
from neutron_lib.api.definitions import availability_zone |
| 22 |
from neutron_lib.api.definitions import availability_zone_filter |
| 23 |
from neutron_lib.api.definitions import bgp |
| 24 |
from neutron_lib.api.definitions import bgp_4byte_asn |
| 25 |
from neutron_lib.api.definitions import bgp_dragentscheduler |
| 26 |
from neutron_lib.api.definitions import bgpvpn |
| 27 |
from neutron_lib.api.definitions import bgpvpn_routes_control |
| 28 |
from neutron_lib.api.definitions import bgpvpn_stdattrs |
| 29 |
from neutron_lib.api.definitions import bgpvpn_stdattrs_net_assoc |
| 30 |
from neutron_lib.api.definitions import bgpvpn_stdattrs_port_assoc |
| 31 |
from neutron_lib.api.definitions import bgpvpn_stdattrs_router_assoc |
| 32 |
from neutron_lib.api.definitions import bgpvpn_vni |
| 33 |
from neutron_lib.api.definitions import data_plane_status |
| 34 |
from neutron_lib.api.definitions import default_subnetpools |
| 35 |
from neutron_lib.api.definitions import dhcpagentscheduler |
| 36 |
from neutron_lib.api.definitions import dns |
| 37 |
from neutron_lib.api.definitions import dns_domain_keywords |
| 38 |
from neutron_lib.api.definitions import dns_domain_ports |
| 39 |
from neutron_lib.api.definitions import dvr |
| 40 |
from neutron_lib.api.definitions import ecmp_routes |
| 41 |
from neutron_lib.api.definitions import empty_string_filtering |
| 42 |
from neutron_lib.api.definitions import expose_l3_conntrack_helper |
| 43 |
from neutron_lib.api.definitions import expose_port_forwarding_in_fip |
| 44 |
from neutron_lib.api.definitions import external_net |
| 45 |
from neutron_lib.api.definitions import extra_dhcp_opt |
| 46 |
from neutron_lib.api.definitions import extraroute |
| 47 |
from neutron_lib.api.definitions import extraroute_atomic |
| 48 |
from neutron_lib.api.definitions import filter_validation |
| 49 |
from neutron_lib.api.definitions import fip64 |
| 50 |
from neutron_lib.api.definitions import fip_distributed |
| 51 |
from neutron_lib.api.definitions import fip_pf_description |
| 52 |
from neutron_lib.api.definitions import fip_pf_detail |
| 53 |
from neutron_lib.api.definitions import fip_pf_port_range |
| 54 |
from neutron_lib.api.definitions import fip_port_details |
| 55 |
from neutron_lib.api.definitions import firewall_v2 |
| 56 |
from neutron_lib.api.definitions import firewall_v2_stdattrs |
| 57 |
from neutron_lib.api.definitions import flavors |
| 58 |
from neutron_lib.api.definitions import floating_ip_port_forwarding |
| 59 |
from neutron_lib.api.definitions import floatingip_autodelete_internal |
| 60 |
from neutron_lib.api.definitions import floatingip_pools |
| 61 |
from neutron_lib.api.definitions import flowclassifier |
| 62 |
from neutron_lib.api.definitions import ip_allocation |
| 63 |
from neutron_lib.api.definitions import ip_substring_port_filtering |
| 64 |
from neutron_lib.api.definitions import l2_adjacency |
| 65 |
from neutron_lib.api.definitions import l3 |
| 66 |
from neutron_lib.api.definitions import l3_conntrack_helper |
| 67 |
from neutron_lib.api.definitions import l3_enable_default_route_bfd |
| 68 |
from neutron_lib.api.definitions import l3_enable_default_route_ecmp |
| 69 |
from neutron_lib.api.definitions import l3_ext_gw_mode |
| 70 |
from neutron_lib.api.definitions import l3_ext_gw_multihoming |
| 71 |
from neutron_lib.api.definitions import l3_ext_ha_mode |
| 72 |
from neutron_lib.api.definitions import l3_ext_ndp_proxy |
| 73 |
from neutron_lib.api.definitions import l3_flavors |
| 74 |
from neutron_lib.api.definitions import l3_ndp_proxy |
| 75 |
from neutron_lib.api.definitions import l3_port_ip_change_not_allowed |
| 76 |
from neutron_lib.api.definitions import local_ip |
| 77 |
from neutron_lib.api.definitions import logging |
| 78 |
from neutron_lib.api.definitions import logging_resource |
| 79 |
from neutron_lib.api.definitions import metering |
| 80 |
from neutron_lib.api.definitions import metering_source_and_destination_filters |
| 81 |
from neutron_lib.api.definitions import multiprovidernet |
| 82 |
from neutron_lib.api.definitions import network |
| 83 |
from neutron_lib.api.definitions import network_availability_zone |
| 84 |
from neutron_lib.api.definitions import network_cascade_delete |
| 85 |
from neutron_lib.api.definitions import network_ha |
| 86 |
from neutron_lib.api.definitions import network_ip_availability |
| 87 |
from neutron_lib.api.definitions import network_ip_availability_details |
| 88 |
from neutron_lib.api.definitions import network_mtu |
| 89 |
from neutron_lib.api.definitions import network_mtu_writable |
| 90 |
from neutron_lib.api.definitions import network_segment_range |
| 91 |
from neutron_lib.api.definitions import pagination |
| 92 |
from neutron_lib.api.definitions import port |
| 93 |
from neutron_lib.api.definitions import port_device_profile |
| 94 |
from neutron_lib.api.definitions import port_hardware_offload_type |
| 95 |
from neutron_lib.api.definitions import port_hint_ovs_tx_steering |
| 96 |
from neutron_lib.api.definitions import port_hints |
| 97 |
from neutron_lib.api.definitions import port_mac_address_override |
| 98 |
from neutron_lib.api.definitions import port_mac_address_regenerate |
| 99 |
from neutron_lib.api.definitions import port_numa_affinity_policy |
| 100 |
from neutron_lib.api.definitions import port_numa_affinity_policy_socket |
| 101 |
from neutron_lib.api.definitions import port_resource_request |
| 102 |
from neutron_lib.api.definitions import port_resource_request_groups |
| 103 |
from neutron_lib.api.definitions import port_security |
| 104 |
from neutron_lib.api.definitions import port_trusted_vif |
| 105 |
from neutron_lib.api.definitions import portbindings |
| 106 |
from neutron_lib.api.definitions import portbindings_extended |
| 107 |
from neutron_lib.api.definitions import project_default_networks |
| 108 |
from neutron_lib.api.definitions import project_id |
| 109 |
from neutron_lib.api.definitions import provider_net |
| 110 |
from neutron_lib.api.definitions import qinq |
| 111 |
from neutron_lib.api.definitions import qos |
| 112 |
from neutron_lib.api.definitions import qos_bw_limit_direction |
| 113 |
from neutron_lib.api.definitions import qos_bw_minimum_ingress |
| 114 |
from neutron_lib.api.definitions import qos_default |
| 115 |
from neutron_lib.api.definitions import qos_fip |
| 116 |
from neutron_lib.api.definitions import qos_fip_network_policy |
| 117 |
from neutron_lib.api.definitions import qos_gateway_ip |
| 118 |
from neutron_lib.api.definitions import qos_port_network_policy |
| 119 |
from neutron_lib.api.definitions import qos_pps_minimum_rule |
| 120 |
from neutron_lib.api.definitions import qos_pps_minimum_rule_alias |
| 121 |
from neutron_lib.api.definitions import qos_pps_rule |
| 122 |
from neutron_lib.api.definitions import qos_rule_type_details |
| 123 |
from neutron_lib.api.definitions import qos_rule_type_filter |
| 124 |
from neutron_lib.api.definitions import qos_rules_alias |
| 125 |
from neutron_lib.api.definitions import quota_check_limit |
| 126 |
from neutron_lib.api.definitions import quota_check_limit_default |
| 127 |
from neutron_lib.api.definitions import rbac_address_groups |
| 128 |
from neutron_lib.api.definitions import rbac_address_scope |
| 129 |
from neutron_lib.api.definitions import rbac_bgpvpn |
| 130 |
from neutron_lib.api.definitions import rbac_security_groups |
| 131 |
from neutron_lib.api.definitions import rbac_subnetpool |
| 132 |
from neutron_lib.api.definitions import revisionifmatch |
| 133 |
from neutron_lib.api.definitions import router_admin_state_down_before_update |
| 134 |
from neutron_lib.api.definitions import router_availability_zone |
| 135 |
from neutron_lib.api.definitions import router_enable_snat |
| 136 |
from neutron_lib.api.definitions import router_interface_fip |
| 137 |
from neutron_lib.api.definitions import routerservicetype |
| 138 |
from neutron_lib.api.definitions import security_groups_normalized_cidr |
| 139 |
from neutron_lib.api.definitions import security_groups_port_filtering |
| 140 |
from neutron_lib.api.definitions import security_groups_remote_address_group |
| 141 |
from neutron_lib.api.definitions import \ |
| 142 |
security_groups_rules_belongs_to_default_sg |
| 143 |
from neutron_lib.api.definitions import security_groups_shared_filtering |
| 144 |
from neutron_lib.api.definitions import segment |
| 145 |
from neutron_lib.api.definitions import segments_peer_subnet_host_routes |
| 146 |
from neutron_lib.api.definitions import servicetype |
| 147 |
from neutron_lib.api.definitions import sfc |
| 148 |
from neutron_lib.api.definitions import sort_key_validation |
| 149 |
from neutron_lib.api.definitions import sorting |
| 150 |
from neutron_lib.api.definitions import standard_attr_segment |
| 151 |
from neutron_lib.api.definitions import stateful_security_group |
| 152 |
from neutron_lib.api.definitions import subnet |
| 153 |
from neutron_lib.api.definitions import subnet_dns_publish_fixed_ip |
| 154 |
from neutron_lib.api.definitions import subnet_external_network |
| 155 |
from neutron_lib.api.definitions import subnet_onboard |
| 156 |
from neutron_lib.api.definitions import subnet_segmentid_enforce |
| 157 |
from neutron_lib.api.definitions import subnet_segmentid_writable |
| 158 |
from neutron_lib.api.definitions import subnet_service_types |
| 159 |
from neutron_lib.api.definitions import subnetpool |
| 160 |
from neutron_lib.api.definitions import subnetpool_prefix_ops |
| 161 |
from neutron_lib.api.definitions import taas |
| 162 |
from neutron_lib.api.definitions import tag_creation |
| 163 |
from neutron_lib.api.definitions import tag_ports_during_bulk_creation |
| 164 |
from neutron_lib.api.definitions import tap_mirror |
| 165 |
from neutron_lib.api.definitions import tap_mirror_both_direction |
| 166 |
from neutron_lib.api.definitions import trunk |
| 167 |
from neutron_lib.api.definitions import trunk_details |
| 168 |
from neutron_lib.api.definitions import uplink_status_propagation |
| 169 |
from neutron_lib.api.definitions import uplink_status_propagation_updatable |
| 170 |
from neutron_lib.api.definitions import vlan_filter |
| 171 |
from neutron_lib.api.definitions import vlantransparent |
| 172 |
from neutron_lib.api.definitions import vpn |
| 173 |
from neutron_lib.api.definitions import vpn_aes_ccm_gcm |
| 174 |
from neutron_lib.api.definitions import vpn_aes_ctr |
| 175 |
from neutron_lib.api.definitions import vpn_endpoint_groups |
| 176 |
from neutron_lib.api.definitions import vpn_flavors |
| 177 |
|
| 178 |
|
| 179 |
_ALL_API_DEFINITIONS = { |
| 180 |
address_group, |
| 181 |
address_scope, |
| 182 |
agent, |
| 183 |
agent_resources_synced, |
| 184 |
agent_sort_key, |
| 185 |
allowedaddresspairs, |
| 186 |
allowedaddresspairs_atomic, |
| 187 |
auto_allocated_topology, |
| 188 |
availability_zone, |
| 189 |
availability_zone_filter, |
| 190 |
bgp, |
| 191 |
bgp_4byte_asn, |
| 192 |
bgp_dragentscheduler, |
| 193 |
bgpvpn, |
| 194 |
bgpvpn_routes_control, |
| 195 |
bgpvpn_stdattrs, |
| 196 |
bgpvpn_stdattrs_net_assoc, |
| 197 |
bgpvpn_stdattrs_port_assoc, |
| 198 |
bgpvpn_stdattrs_router_assoc, |
| 199 |
bgpvpn_vni, |
| 200 |
data_plane_status, |
| 201 |
default_subnetpools, |
| 202 |
dhcpagentscheduler, |
| 203 |
dns, |
| 204 |
dns_domain_keywords, |
| 205 |
dns_domain_ports, |
| 206 |
dvr, |
| 207 |
ecmp_routes, |
| 208 |
empty_string_filtering, |
| 209 |
expose_l3_conntrack_helper, |
| 210 |
expose_port_forwarding_in_fip, |
| 211 |
external_net, |
| 212 |
extra_dhcp_opt, |
| 213 |
extraroute, |
| 214 |
extraroute_atomic, |
| 215 |
filter_validation, |
| 216 |
fip64, |
| 217 |
firewall_v2, |
| 218 |
firewall_v2_stdattrs, |
| 219 |
fip_distributed, |
| 220 |
fip_pf_detail, |
| 221 |
fip_port_details, |
| 222 |
flavors, |
| 223 |
floating_ip_port_forwarding, |
| 224 |
fip_pf_port_range, |
| 225 |
fip_pf_description, |
| 226 |
floatingip_autodelete_internal, |
| 227 |
floatingip_pools, |
| 228 |
ip_allocation, |
| 229 |
ip_substring_port_filtering, |
| 230 |
l2_adjacency, |
| 231 |
flowclassifier, |
| 232 |
l3, |
| 233 |
l3_conntrack_helper, |
| 234 |
l3_ext_gw_mode, |
| 235 |
l3_ext_ha_mode, |
| 236 |
l3_ext_ndp_proxy, |
| 237 |
l3_flavors, |
| 238 |
l3_ext_gw_multihoming, |
| 239 |
l3_enable_default_route_bfd, |
| 240 |
l3_enable_default_route_ecmp, |
| 241 |
l3_ndp_proxy, |
| 242 |
l3_port_ip_change_not_allowed, |
| 243 |
local_ip, |
| 244 |
logging, |
| 245 |
logging_resource, |
| 246 |
metering, |
| 247 |
metering_source_and_destination_filters, |
| 248 |
multiprovidernet, |
| 249 |
network, |
| 250 |
network_availability_zone, |
| 251 |
network_cascade_delete, |
| 252 |
network_ha, |
| 253 |
network_ip_availability, |
| 254 |
network_ip_availability_details, |
| 255 |
network_mtu, |
| 256 |
network_mtu_writable, |
| 257 |
network_segment_range, |
| 258 |
pagination, |
| 259 |
port, |
| 260 |
port_device_profile, |
| 261 |
port_hardware_offload_type, |
| 262 |
port_hints, |
| 263 |
port_hint_ovs_tx_steering, |
| 264 |
port_mac_address_override, |
| 265 |
port_mac_address_regenerate, |
| 266 |
port_numa_affinity_policy, |
| 267 |
port_numa_affinity_policy_socket, |
| 268 |
port_resource_request, |
| 269 |
port_resource_request_groups, |
| 270 |
port_security, |
| 271 |
port_trusted_vif, |
| 272 |
portbindings, |
| 273 |
portbindings_extended, |
| 274 |
project_default_networks, |
| 275 |
project_id, |
| 276 |
provider_net, |
| 277 |
qinq, |
| 278 |
qos, |
| 279 |
qos_bw_limit_direction, |
| 280 |
qos_bw_minimum_ingress, |
| 281 |
qos_default, |
| 282 |
qos_fip, |
| 283 |
qos_fip_network_policy, |
| 284 |
qos_gateway_ip, |
| 285 |
qos_port_network_policy, |
| 286 |
qos_pps_minimum_rule, |
| 287 |
qos_pps_minimum_rule_alias, |
| 288 |
qos_pps_rule, |
| 289 |
qos_rule_type_details, |
| 290 |
qos_rule_type_filter, |
| 291 |
qos_rules_alias, |
| 292 |
quota_check_limit, |
| 293 |
quota_check_limit_default, |
| 294 |
rbac_address_groups, |
| 295 |
rbac_address_scope, |
| 296 |
rbac_bgpvpn, |
| 297 |
rbac_security_groups, |
| 298 |
rbac_subnetpool, |
| 299 |
revisionifmatch, |
| 300 |
router_admin_state_down_before_update, |
| 301 |
router_availability_zone, |
| 302 |
router_enable_snat, |
| 303 |
router_interface_fip, |
| 304 |
routerservicetype, |
| 305 |
security_groups_normalized_cidr, |
| 306 |
security_groups_port_filtering, |
| 307 |
security_groups_remote_address_group, |
| 308 |
security_groups_rules_belongs_to_default_sg, |
| 309 |
security_groups_shared_filtering, |
| 310 |
segment, |
| 311 |
segments_peer_subnet_host_routes, |
| 312 |
servicetype, |
| 313 |
sfc, |
| 314 |
sort_key_validation, |
| 315 |
sorting, |
| 316 |
standard_attr_segment, |
| 317 |
stateful_security_group, |
| 318 |
subnet, |
| 319 |
subnet_dns_publish_fixed_ip, |
| 320 |
subnet_external_network, |
| 321 |
subnet_onboard, |
| 322 |
subnet_segmentid_enforce, |
| 323 |
subnet_segmentid_writable, |
| 324 |
subnet_service_types, |
| 325 |
subnetpool, |
| 326 |
subnetpool_prefix_ops, |
| 327 |
taas, |
| 328 |
tag_creation, |
| 329 |
tag_ports_during_bulk_creation, |
| 330 |
tap_mirror, |
| 331 |
tap_mirror_both_direction, |
| 332 |
trunk, |
| 333 |
trunk_details, |
| 334 |
uplink_status_propagation, |
| 335 |
uplink_status_propagation_updatable, |
| 336 |
vlan_filter, |
| 337 |
vlantransparent, |
| 338 |
vpn, |
| 339 |
vpn_aes_ccm_gcm, |
| 340 |
vpn_aes_ctr, |
| 341 |
vpn_endpoint_groups, |
| 342 |
vpn_flavors, |
| 343 |
} |