Flag/drop test_create_update_port_with_second_ip

In 2016.01 we introduced a new advisory test that involves creating
a Neutron port with a fixed IP address and then updating it to add
a second IP address to the same port.  However, the nunber of fixed
IP addresses that can be assigned to a port is dependent on the
plugin that Neutron is using--and not all plugins support more than
one IP address per port (the maximum number of IP's per port is
configurable in neutron.conf and clouds whose drivers do not support
multiple fixed addresses per port simply set it to 1).  Further,
some clouds limit the number of IP's per port for security reasons
to prevent malicious activity (e.g. spoofguard).

This patch adds an informational flag to the 2016.01 guideline
(where the test is advisory) and removes it from next.json.

Change-Id: Ie7d84d5d608bfc86501a5f7e097373c4565e4eb0
This commit is contained in:
Mark T. Voelker 2016-07-15 17:40:44 -07:00
parent 2d4f9649ed
commit 4f210354bc
3 changed files with 10 additions and 4 deletions

View File

@ -1921,7 +1921,12 @@
"idempotent_id": "id-c72c1c0c-2193-4aca-aaa4-b1442640f51c"
},
"tempest.api.network.test_ports.PortsTestJSON.test_create_update_port_with_second_ip": {
"idempotent_id": "id-63aeadd4-3b49-427f-a3b1-19ca81f06270"
"idempotent_id": "id-63aeadd4-3b49-427f-a3b1-19ca81f06270",
"flagged": {
"reason": "[D400] Some Neutron drivers support only a one fixed IP per port.",
"action": "This test will be removed from future guidelines.",
"date": "2016-07-15"
}
},
"tempest.api.network.test_networks.NetworksTestJSON.test_delete_network_with_subnet": {
"idempotent_id": "id-f04f61a9-b7f3-4194-90b2-9bcf660d1bfe",

View File

@ -2190,9 +2190,6 @@
"tempest.api.network.test_ports.PortsTestJSON.test_create_update_delete_port": {
"idempotent_id": "id-c72c1c0c-2193-4aca-aaa4-b1442640f51c"
},
"tempest.api.network.test_ports.PortsTestJSON.test_create_update_port_with_second_ip": {
"idempotent_id": "id-63aeadd4-3b49-427f-a3b1-19ca81f06270"
},
"tempest.api.network.test_networks.NetworksTest.test_delete_network_with_subnet": {
"idempotent_id": "id-f04f61a9-b7f3-4194-90b2-9bcf660d1bfe",
"aliases": ["tempest.api.network.test_networks.NetworksTestJSON.test_delete_network_with_subnet"]

View File

@ -111,6 +111,10 @@ Notes:
Mitaka cycle (https://review.openstack.org/#/c/279918/).
* Extended port attribute tests were not considered because the capability
generally requires admin privileges.
* tempest.api.network.test_ports.PortsTestJSON.test_create_update_port_with_second_ip
was considered but was removed because not all Neutron plugins support
more than one IP per port (and some providers limit the number of
IP's per port for security reasons, e.g. spoofguard).
Compute
-------