Comment 2 for bug 1732890

Revision history for this message
Dongcan Ye (hellochosen) wrote : Re: floatingip-create:Ignore floating_ip_address when using floating_ip_address and subnet

@Brian Haley, the reproduce step is both specify subnet and floating-ip-address:

# neutron floatingip-create --floating-ip-address 172.24.4.101 --subnet 0c280593-3066-4393-bbdc-028b24139314 public

The result is:
Created a new floatingip:
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| created_at | 2017-11-20T02:22:07Z |
| description | |
| fixed_ip_address | |
| floating_ip_address | 172.24.4.3 |
| floating_network_id | 30c2a624-7c53-46a2-a733-b196e7d72b40 |
| id | c94e45c2-05a4-4c00-9cb1-4168db7de6e4 |
| port_id | |
| project_id | a349811205044d119b27a9f09a06bf3e |
| revision_number | 0 |
| router_id | |
| status | DOWN |
| tags | |
| tenant_id | a349811205044d119b27a9f09a06bf3e |
| updated_at | 2017-11-20T02:22:07Z |
+---------------------+--------------------------------------+

While using openstackclient it always using the floating-ip-address, so I think floating-ip-address and subnet is optional.