Test case name : def test_blank_update_clears_association
git location: https://github.com/openstack/neutron/blob/6f01617fc5a8c9e33693459d50702e3506ad2cc4/neutron/tests/tempest/api/test_floating_ips.py
[root@overcloud-controller-0 heat-admin]# curl -X PUT -H "X-Auth-Token: 9449f6538f9d48c28d007ba5c8f24bd1" http://10.87.67.18:9696/v2.0/floatingips/5c4f6bb2-c886-46b8-9bac-819f38dfe573 -d '{"floatingip": {}}'
{"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}[root@overcloud-controller-0 heat-admin]#
[root@overcloud-controller-0 heat-admin]#
[root@overcloud-controller-0 heat-admin]# curl -X POST -H "X-Auth-Token: 9449f6538f9d48c28d007ba5c8f24bd1" http://10.87.67.18:9696/v2.0/floatingips/5c4f6bb2-c8
86-46b8-9bac-819f38dfe573 -d '{"floatingip": {}}'
{"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}}[root@overcloud-controller-0 heat-admin]#
[root@overcloud-controller-0 heat-admin]# neutron floatingip-list
2017-04-21 16:45:28.576 135207 INFO neutron.wsgi [req-dd368dc4-64c5-42ec-adc4-8aba263cf3ba 63745b9a6fb049e3a81b0adf1032dfd5 e7849d28f2b54a54a6f5ff5d3fb23640 - - -] 10.0.0.22 - - [21/Apr/2017 16:45:28] "GET /v2.0/floatingips.json HTTP/1.1" 200 5566 1.367324
+--------------------------------------+------------------+---------------------+--------------------------------------+
| id | fixed_ip_address | floating_ip_address | port_id |
+--------------------------------------+------------------+---------------------+--------------------------------------+
| ab4de090-7f0b-4112-9625-da909c0ac822 | | 24.4.4.6 | |
| 4393bdfe-d742-4d58-a208-20044b0d3490 | | 24.4.4.7 | |
| 61aef724-9e16-4921-98b3-4256972043ac | | 24.4.4.8 | |
| 9f78cde8-bec8-448f-bafe-defc0bda77c3 | | 24.4.4.12 | |
| 8d6b1a9f-815f-4f53-84e2-7522c68b08a2 | | 24.4.4.17 | |
| 5c4f6bb2-c886-46b8-9bac-819f38dfe573 | 10.100.0.3 | 26.2.2.6 | 305d9e28-263d-46bc-b3ca-84dcb00cf10e |
| db0eff66-f068-422b-8d98-66afde59b246 | | 24.4.4.19 | |
| ca56977b-538a-42c9-ae43-38a56b39222c | | 26.2.2.5 | |
| 89cd0813-e60c-47d7-8c27-e5c81c8ef1ea | | 24.4.4.14 | |
| 50417d07-80c4-4823-9b4c-be2439449b5b | | 24.4.4.15 | |
| 26512410-cd83-4245-b1d0-aeab46a4539a | | 24.4.4.4 | |
| 20f55f91-df93-4632-85c6-8101d4f25bc6 | | 24.4.4.9 | |
| fd2175de-d60d-4d7d-9ddf-62693161a92c | | 24.4.4.18 | |
| 4c9fc0a4-d4d4-4b9b-b08b-f481b378e3fc | | 24.4.4.11 | |
| e09884bf-cbc8-4774-a67d-f48d374a07bf | | 24.4.4.5 | |
| c9fd5db6-4aa8-4f23-9be3-c17af616408a | | 24.4.4.20 | |
| b48f584c-6423-413b-9b21-6a8201c8980d | | 24.4.4.13 | |
| c6ba5c08-f367-4a63-8e73-8d26e836a68f | | 24.4.4.10 | |
| 5c00b3ed-80c0-4b2d-a628-6d0531eacbac | | 26.2.2.4 | |
+--------------------------------------+------------------+---------------------+--------------------------------------+
Review in progress for https:/ /review. opencontrail. org/30737
Submitter: Hampapur Ajay (<email address hidden>)