neutron/neutron/extensions
LIU Yulong 20f8271b6b Prevent some L3 ports change IP address
Some L3 ports can directly modify the IP address now,
but there are some types of device_owner, for instance
network:router_centralized_snat, should not allow to
change the IP address, otherwise it will increase L3
agent code complexity.

Since router public gateway port is related to the
external network, and this port can be used for some
service, like VPN. So after this patch we will only
allow the gateway port to update the IP address
directly, aka device_owner network:router_gateway.

The following l3 router ports will not be allowed to
directly update the IP address:
  network:ha_router_replicated_interface
  network:router_centralized_snat
  network:router_ha_interface
  network:router_interface
  network:router_interface_distributed

Remove one unit test case since it will not occur in
neutron.

Change-Id: I2890a71abc82cb781b601afb879bdcca10e39257
Closes-Bug: #1796824
2018-12-13 14:24:23 +00:00
..
__init__.py Removing vim header lines 2014-04-01 10:38:31 -04:00
_availability_zone_filter_lib.py Adjust filters on listing availability zones 2018-06-29 19:15:29 +00:00
_filter_validation_lib.py Implement filter validation 2018-07-19 04:13:43 +00:00
_port_mac_address_regenerate_lib.py Implement filter validation 2018-07-19 04:13:43 +00:00
_segments_peer_subnet_host_routes_lib.py Routed Networks - peer-subnet/segment host-routes (2/2) 2018-06-28 10:48:06 +02:00
_standard_attr_segment_lib.py Add a shim extension standard-attr-segment 2018-04-18 19:25:57 +00:00
address_scope.py use neutron-lib address scope apidef 2017-09-20 10:58:12 -06:00
agent.py use agent api def from neutron-lib 2017-11-21 12:22:53 -07:00
allowedaddresspairs.py use addr pairs api def from lib 2017-11-13 11:56:32 -07:00
auto_allocated_topology.py use neutron-lib auto allocated topology apidef 2017-07-28 08:38:45 -06:00
availability_zone.py use availability zone api def from lib 2017-10-27 06:45:58 +00:00
availability_zone_filter.py Adjust filters on listing availability zones 2018-06-29 19:15:29 +00:00
data_plane_status.py use APIExtensionDescriptor for plugins with defs in lib 2017-07-20 20:42:56 +00:00
default_subnetpools.py use default subnetpool api def from lib 2017-10-20 14:44:10 -06:00
dhcpagentscheduler.py use dhcpagentscheduler api def from neutron-lib 2018-05-24 10:21:07 -06:00
dns.py use dns api def from neutron-lib 2017-10-20 16:38:33 -06:00
dns_domain_ports.py use dns domain ports api def from neutron-lib 2017-11-16 12:02:04 +00:00
dvr.py use DVRMacAddressNotFound exception from neutron-lib 2018-02-12 12:45:18 -07:00
empty_string_filtering.py Use extension 'empty-string-filtering' from neutron-lib 2018-09-25 15:16:14 +00:00
expose_port_forwarding_in_fip.py [server side] Expose port forwardings in FIP API 2018-07-27 17:25:10 +08:00
external_net.py use external net api def from lib 2017-10-30 11:16:33 -06:00
extra_dhcp_opt.py use extra_dhcp_opt api-def from neutron-lib 2017-05-31 15:06:35 +00:00
extraroute.py use extra route api def from lib 2017-11-02 13:11:25 -06:00
filter_validation.py Implement filter validation 2018-07-19 04:13:43 +00:00
fip_port_details.py Use extension fip-port-details from neutron-lib 2018-05-07 15:01:58 +00:00
flavors.py use flavors api def from neutron-lib 2017-11-17 10:21:28 -07:00
floating_ip_port_forwarding.py [server side] Floating IP port forwarding plugin 2018-07-26 11:43:34 +08:00
floatingip_pools.py Introduce floating IP pool resource 2018-10-04 15:53:53 +00:00
ip_allocation.py use ip allocation api def from neutron-lib 2017-11-09 13:02:01 -07:00
ip_substring_port_filtering.py Use ip_substring_port_filtering from neutron-lib 2018-02-13 22:47:15 +00:00
l2_adjacency.py use l2 adjacency api def from neutron-lib 2017-11-03 13:10:48 -06:00
l3.py use l3 api def from neutron-lib 2017-12-15 07:03:14 -07:00
l3_ext_gw_mode.py use l3 ext gw mode api def from neutron-lib 2017-11-17 07:02:45 -07:00
l3_ext_ha_mode.py use l3 ext ha mode api def from neutron-lib 2017-11-09 15:34:43 -07:00
l3_flavors.py use l3 flavors api def from neutron-lib 2017-11-13 11:15:08 -07:00
l3_port_ip_change_not_allowed.py Prevent some L3 ports change IP address 2018-12-13 14:24:23 +00:00
l3agentscheduler.py use agent api def from neutron-lib 2017-11-21 12:22:53 -07:00
logging.py use log api plugin const from neutron-lib 2017-11-30 11:07:06 -07:00
metering.py use metering api def from neutron-lib 2017-11-03 14:03:20 -06:00
multiprovidernet.py use multiprovidernet api definition from neutron-lib 2018-03-28 07:07:58 -06:00
netmtu.py use net mtu api def from neutron-lib 2017-11-14 14:47:47 -07:00
netmtu_writable.py use net mtu api writable def from neutron-lib 2017-11-14 15:28:28 -07:00
network_availability_zone.py use network az api def from neutron-lib 2017-11-13 13:06:50 -07:00
network_ip_availability.py Remove population of is_filter keyword 2018-10-02 20:45:19 +00:00
pagination.py use pagination api def from neutron-lib 2017-11-06 14:43:13 -07:00
port_mac_address_regenerate.py Add support to regenerate port mac_address 2018-06-27 00:22:35 +02:00
port_resource_request.py Introduce Port resource request extension 2018-10-17 07:34:36 +00:00
portbindings.py use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
portbindings_extended.py Remove population of is_filter keyword 2018-10-02 20:45:19 +00:00
portsecurity.py use neutron-lib port security api-def 2017-05-01 11:45:42 -06:00
project_id.py use project id api def from neutron-lib 2017-11-08 12:04:24 -07:00
providernet.py use APIExtensionDescriptor for plugins with defs in lib 2017-07-20 20:42:56 +00:00
qos.py use sub-resource API extension support 2018-04-13 09:55:38 -06:00
qos_bw_limit_direction.py Support that an extension extends a sub-resource 2017-11-15 08:59:45 +01:00
qos_bw_minimum_ingress.py Ingress direction for min bandwidth rule 2018-10-09 08:08:05 +00:00
qos_default.py use qos default api def from neutron-lib 2018-02-12 11:13:04 -07:00
qos_fip.py [L3][QoS] Neutron server side Floating IP QoS 2017-11-29 16:45:38 +08:00
qos_gateway_ip.py [L3][QoS] Neutron server side router gateway IP QoS 2018-12-01 17:45:46 +08:00
qos_rule_type_details.py use qos rule type details api def from neutron-lib 2018-02-22 11:41:13 -07:00
quotasv2.py use FAULT_MAP from neutron-lib 2017-11-02 12:16:31 -06:00
quotasv2_detail.py use FAULT_MAP from neutron-lib 2017-11-02 12:16:31 -06:00
rbac.py Implement filter validation 2018-07-19 04:13:43 +00:00
revisionifmatch.py use revision if match api def from neutron-lib 2018-03-01 09:20:22 -07:00
revisions.py Allow sub-resources to have standard attributes 2018-07-04 20:52:37 +00:00
router_availability_zone.py use router az api def from neutron-lib 2017-11-13 07:33:26 -07:00
routerservicetype.py use router service type api def from neutron-lib 2018-02-22 10:57:39 -07:00
security_groups_port_filtering.py use security_groups_port_filtering from neutron-lib 2018-08-30 08:49:40 -06:00
securitygroup.py Implement filter validation 2018-07-19 04:13:43 +00:00
segment.py Implement filter validation 2018-07-19 04:13:43 +00:00
segments_peer_subnet_host_routes.py Routed Networks - peer-subnet/segment host-routes (2/2) 2018-06-28 10:48:06 +02:00
servicetype.py use neutron-lib servicetype api def 2018-03-27 14:32:44 -06:00
sorting.py use sorting api def from neutron-lib 2018-02-20 14:35:07 -07:00
standard_attr_segment.py Add a shim extension standard-attr-segment 2018-04-18 19:25:57 +00:00
standardattrdescription.py Allow sub-resources to have standard attributes 2018-07-04 20:52:37 +00:00
stdattrs_common.py Allow sub-resources to have standard attributes 2018-07-04 20:52:37 +00:00
subnet_segmentid_writable.py Allow setting network-segment on subnet update 2018-05-24 01:09:02 +02:00
subnet_service_types.py use core resource attribute constants from neutron-lib 2017-06-30 06:25:36 -06:00
subnetallocation.py Use ExtensionDescriptor from neutron-lib 2016-12-02 14:16:06 -05:00
tagging.py Annotate filter parameters for tag attributes 2018-06-11 19:02:43 +00:00
timestamp.py Allow sub-resources to have standard attributes 2018-07-04 20:52:37 +00:00
trunk.py use APIExtensionDescriptor for plugins with defs in lib 2017-07-20 20:42:56 +00:00
trunk_details.py use APIExtensionDescriptor for plugins with defs in lib 2017-07-20 20:42:56 +00:00
uplink_status_propagation.py Add propagate_uplink_status to port 2018-11-29 19:33:16 +00:00
vlantransparent.py use vlantransparent api def from neutron-lib 2018-02-20 07:43:03 +00:00