This resource enables you to perform create, update, and delete operations on IP networks. Network resources support the next available network feature when you use the allocate_prefix_len parameter listed in the below table. The following table describes the parameters you can define in a network resource block: Parameter | Required/ Optional | Description |
---|
network_view | Optional | Specifies the network view in which to create the network. If a value is not specified, the name default is considered default will be used as the network view name. | cidr | Required only if parent_cidr is not set | Specifies the network block to use for the network, in CIDR notation. Do not use the IPv4 CIDR for an IPv6 network and IPv6 CIDR for an IPv4 network. If you configure both cidr and parent_cidr , the value of parent_cidr will be ignored. | parent_cidr | Required only if cidr is not set | Specifies the network container from which the network must be dynamically allocated. The network container must exist in the NIOS database, but not necessarily as a Terraform resource. | allocate_prefix_len | Required only if parent_cidr is set | Defines the length of the network part of the address for a network that should be allocated from a network container, which in turn is determined by parent_cidr . | gateway | Optional | Defines the IP address of the gateway within the network block. - If a value is not set, the first IP address of the allocated network will be assigned.
- If the value is set to
none , no value will be assigned.
For more information, see Limitations. | comment | Optional | Describes the network. | ext_attrs | Optional | Specifies the set of NIOS extensible attributes that will be attached to the network. |
|