
Neutron-interconnection project has no activity since very long time.
There is no any implementation done in the repo so far.
So during the Shanghai PTG, we agreed that we will drop
neutron-inteconnection project from stadium projects list and
remove its api-ref from neutron-lib.
This partially reverts commit 888a28d598
.
It don't rever original release note and adds new release note about
removal of interconnection API from neutron-lib.
Change-Id: I186a8f42e1d387bfb31025b0c5c224a86d00cd6e
189 lines
4.1 KiB
Python
189 lines
4.1 KiB
Python
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
from neutron_lib import constants
|
|
|
|
|
|
KNOWN_ATTRIBUTES = (
|
|
'admin_state_up',
|
|
'allocation_pools',
|
|
'cidr',
|
|
'default_prefixlen',
|
|
'default_quota',
|
|
'description',
|
|
'device_id',
|
|
'device_owner',
|
|
'dns_nameservers',
|
|
'enable_dhcp',
|
|
'fixed_ips',
|
|
'gateway_ip',
|
|
'host_routes',
|
|
'id',
|
|
'ip_version',
|
|
'ipv6_address_mode',
|
|
'ipv6_ra_mode',
|
|
'is_default',
|
|
'mac_address',
|
|
'max_prefixlen',
|
|
'min_prefixlen',
|
|
'name',
|
|
'network_id',
|
|
'port_id',
|
|
'prefixes',
|
|
'prefixlen',
|
|
'project_id',
|
|
'qos_policy_id',
|
|
'service_types',
|
|
constants.SHARED,
|
|
'status',
|
|
'subnets',
|
|
'subnetpool_id',
|
|
'tenant_id'
|
|
)
|
|
|
|
KNOWN_RESOURCES = (
|
|
'networks',
|
|
'ports',
|
|
'routers',
|
|
'subnets',
|
|
'subnetpools'
|
|
)
|
|
|
|
KNOWN_HTTP_ACTIONS = (
|
|
'DELETE',
|
|
'GET',
|
|
'POST',
|
|
'PUT',
|
|
)
|
|
|
|
KNOWN_ACTION_STATUSES = (
|
|
200,
|
|
201,
|
|
202,
|
|
203,
|
|
204,
|
|
205,
|
|
206,
|
|
)
|
|
|
|
KNOWN_EXTENSIONS = (
|
|
'address-scope',
|
|
'agent',
|
|
'agent-resources-synced',
|
|
'allowed-address-pairs',
|
|
'auto-allocated-topology',
|
|
'availability_zone',
|
|
'binding',
|
|
'data-plane-status',
|
|
'project-default-networks',
|
|
'default-subnetpools',
|
|
'dhcp_agent_scheduler',
|
|
'dns-domain-ports',
|
|
'dns-integration',
|
|
'dvr',
|
|
'empty-string-filtering',
|
|
'expose-l3-conntrack-helper',
|
|
'expose-port-forwarding-in-fip',
|
|
'ext-gw-mode',
|
|
'external-net',
|
|
'extra_dhcp_opt',
|
|
'extraroute',
|
|
'extraroute-atomic',
|
|
'filter-validation',
|
|
'fip-port-details',
|
|
'flavors',
|
|
'floating-ip-port-forwarding',
|
|
'floatingip-autodelete-internal',
|
|
'floatingip-pools',
|
|
'ip-substring-filtering',
|
|
'l3-conntrack-helper',
|
|
'l3-ha',
|
|
'l3_agent_scheduler',
|
|
'l3-port-ip-change-not-allowed',
|
|
'logging',
|
|
'metering',
|
|
'multi-provider',
|
|
'net-mtu',
|
|
'network-ip-availability',
|
|
'network-segment-range',
|
|
'network_availability_zone',
|
|
'pagination',
|
|
'port-resource-request',
|
|
'port-security',
|
|
'project-id',
|
|
'provider',
|
|
'qos',
|
|
'qos-bw-limit-direction',
|
|
'qos-gateway-ip',
|
|
'qos-rules-alias',
|
|
'quotas',
|
|
'rbac-policies',
|
|
'rbac-security-groups',
|
|
'router',
|
|
'router_availability_zone',
|
|
'security-group',
|
|
'segment',
|
|
'service-type',
|
|
'sort-key-validation',
|
|
'sorting',
|
|
'standard-attr-description',
|
|
'standard-attr-revisions',
|
|
'standard-attr-segment',
|
|
'standard-attr-timestamp',
|
|
'subnet',
|
|
'subnet_allocation',
|
|
'subnet_dns_publish_fixed_ip',
|
|
'subnet_onboard',
|
|
'subnetpool-prefix-ops',
|
|
'subnet-segmentid-enforce',
|
|
'subnet-segmentid-writable',
|
|
'tag',
|
|
'trunk',
|
|
'trunk-details',
|
|
# Add here list of extensions with pointers to the project repo, e.g.
|
|
# 'bgp', # https://opendev.org/openstack/neutron-dynamic-routing
|
|
|
|
# https://opendev.org/openstack/neutron-fwaas
|
|
'fwaas',
|
|
'fwaasrouterinsertion',
|
|
'fwaas_v2',
|
|
'bgpvpn', # https://opendev.org/openstack/networking-bgpvpn
|
|
'bgpvpn-routes-control',
|
|
'bgpvpn-vni',
|
|
|
|
# https://opendev.org/openstack/neutron-vpnaas
|
|
'vpnaas',
|
|
'vpn-endpoint-groups',
|
|
'vpn-flavors',
|
|
|
|
# https://opendev.org/openstack/networking-sfc:
|
|
'flow_classifier',
|
|
'sfc',
|
|
)
|
|
|
|
KNOWN_KEYWORDS = (
|
|
'allow_post',
|
|
'allow_put',
|
|
'convert_to',
|
|
'convert_list_to',
|
|
'default',
|
|
'enforce_policy',
|
|
'is_filter',
|
|
'is_sort_key',
|
|
'is_visible',
|
|
'primary_key',
|
|
'required_by_policy',
|
|
'validate',
|
|
'default_overrides_none',
|
|
'dict_populate_defaults',
|
|
)
|