foreman_subnet¶
Foreman representation of a subnetwork.
Example Usage¶
# Autogenerated example with required keys
data "foreman_subnet" "example" {
name = "public"
network = "10.228.247.0"
}
Argument Reference¶
The following arguments are supported:
name- (Optional) Name of a subnetwork.network- (Optional) Subnet network.
Attributes Reference¶
The following attributes are exported:
bmc_id- BMC Proxy ID to use within this subnetboot_mode- Default boot mode for instances assigned to this subnet. Values include:"Static","DHCP".description- Description of the subnetdhcp_id- DHCP Proxy ID to use within this subnetdns_primary- Primary DNS server for this subnet.dns_secondary- Secondary DNS sever for this subnet.domain_ids- Domains in which this subnet is partfrom- Start IP address for IP auto suggestion.gateway- Gateway server to use when connecting/communicating to anything not on the same network.httpboot_id- HTTPBoot Proxy ID to use within this subnetipam- IP address auto-suggestion for this subnet. Valid values include:"DHCP","Internal DB","Random DB","None".mask- Netmask for this subnet.mtu- MTU value for the subnet.name- Name of a subnetwork.network- Subnet network.network_address- The Subnets CIDR in the format 169.254.0.0/16network_type- Type or protocol, IPv4 or IPv6.template_id- Template HTTP(S) Proxy ID to use within this subnettftp_id- TFTP Proxy ID to use within this subnetto- Ending IP address for IP auto suggestion.vlanid- VLAN id that is in use in the subnet