neutron/neutron/tests/unit/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 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 constant IP_VERSION_4/6 in unit tests 2018-08-27 21:45:39 +00: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 shim neutron rpc with neutron-lib 2018-08-22 11:20:53 -06: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 Merge "Add protocol to port_forwarding uniq constraint" 2018-11-29 19:00:33 +00: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 use l3 api def from neutron-lib 2017-12-15 07:03:14 -07: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 test cases for port number 0 for port_forwarding 2018-11-17 12:31:27 +08:00
test_floatingip_pools.py Introduce floating IP pool resource 2018-10-04 15:53:53 +00:00
test_l3.py Prevent some L3 ports change IP address 2018-12-13 14:24:23 +00:00
test_l3_ext_gw_mode.py Use constant IP_VERSION_4/6 in unit tests 2018-08-27 21:45:39 +00:00
test_network_ip_availability.py Use constant IP_VERSION_4/6 in unit tests 2018-08-27 21:45:39 +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 [L3] Expunge context session during floating IP updating 2018-03-09 02:14:20 +00: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 use core resource api defs from lib 2017-11-08 09:48:50 -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 use context manager from neutron-lib 2018-10-24 07:18:46 -06:00
test_segment.py Merge "Only store segmenthostmapping when enable segment plugin" 2018-12-07 14:49:14 +00:00
test_servicetype.py Select service_provider on the basis of service_module 2018-04-28 17:30:21 +09: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 Add propagate_uplink_status to port 2018-11-29 19:33:16 +00: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