Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 2.24 KB

File metadata and controls

63 lines (51 loc) · 2.24 KB
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.

solidserver_ip6_subnet (Resource)

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.

Example Usage

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"
  }
}

Schema

Required

  • 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.

Optional

  • 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.

Read-Only

  • 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.