page_title | subcategory | description |
---|---|---|
solidserver_ip6_subnet Resource - SOLIDserver |
IPv6 Subnet resource allows to create and manage IPAM networks that are key to organize the IP space
Subnet can be blocks or subnets. Blocks reflect the assigned IP ranges (RFC1918 or public prefixes).
Subnets reflect the internal sub-division of your network. |
IPv6 Subnet resource allows to create and manage IPAM networks that are key to organize the IP space Subnet can be blocks or subnets. Blocks reflect the assigned IP ranges (RFC1918 or public prefixes). Subnets reflect the internal sub-division of your network.
resource "solidserver_ip6_subnet" "myFirstIP6Block" {
space = "${solidserver_ip_space.myFirstSpace.name}"
request_ip = "2a00:2381:126d:0:0:0:0:0"
prefix_size = 48
name = "myFirstIP6Block"
terminal = false
}
resource "solidserver_ip6_subnet" "myFirstIP6Subnet" {
space = "${solidserver_ip_space.myFirstSpace.name}"
block = "${solidserver_ip6_subnet.myFirstIP6Block.name}"
prefix_size = 64
name = "myFirstIP6Subnet"
gateway_offset = 1
class = "VIRTUAL"
class_parameters = {
vnid = "12666"
}
}
name
(String) The name of the IPv6 subnet to create.prefix_size
(Number) The expected IPv6 subnet's prefix length (ex: 24 for a '/24').space
(String) The name of the space into which creating the IPv6 subnet.
block
(String) The name of the block intyo which creating the IPv6 subnet.class
(String) The class associated to the IPv6 subnet.class_parameters
(Map of String) The class parameters associated to the IPv6 subnet.gateway_offset
(Number) Offset for creating the gateway. Default is 0 (No gateway).request_ip
(String) The optionally requested subnet IPv6 address.terminal
(Boolean) The terminal property of the IPv6 subnet.
address
(String) The provisionned IPv6 network address.gateway
(String) The subnet's computed gateway.id
(String) The ID of this resource.prefix
(String) The provisionned IPv6 prefix.