Merge pull request #4850 from Sheile/f-openstack-optional-ipaddress

provider/openstack Changing the port resource to mark the ip_address as optional
This commit is contained in:
Joe Topjian 2016-01-28 22:11:27 +01:00
commit 5474d751ab
2 changed files with 4 additions and 3 deletions

View File

@ -89,7 +89,7 @@ func resourceNetworkingPortV2() *schema.Resource {
},
"ip_address": &schema.Schema{
Type: schema.TypeString,
Required: true,
Optional: true,
},
},
},

View File

@ -69,8 +69,9 @@ The `fixed_ip` block supports:
* `subnet_id` - (Required) Subnet in which to allocate IP address for
this port.
* `ip_address` - (Required) IP address desired in the subnet for this
port.
* `ip_address` - (Optional) IP address desired in the subnet for this
port. If you don't specify `ip_address`, OpenStack will be allocated an available
IP address to this port.
## Attributes Reference