-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provider/openstack: fixed_ips implementation for ports
- Loading branch information
Kirill Shirinkin
committed
Nov 5, 2015
1 parent
bf11be8
commit 3a63b48
Showing
5 changed files
with
60 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,10 @@ func TestAccNetworkingV2Port_basic(t *testing.T) { | |
name = "port_1" | ||
network_id = "${openstack_networking_network_v2.foo.id}" | ||
admin_state_up = "true" | ||
fixed_ips { | ||
ip_address = "192.168.0.0" | ||
subnet_id = "008ba151-0b8c-4a67-98b5-0d2b87666062" | ||
This comment has been minimized.
Sorry, something went wrong.
jtopjian
Contributor
|
||
} | ||
}`, region, region) | ||
|
||
resource.Test(t, resource.TestCase{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This will need changed to
${openstack_networking_subnet_v2.foo.id}
as well.