diff options
-rw-r--r-- | docs/providers/libvirt/r/network.markdown | 4 | ||||
-rw-r--r-- | libvirt/resource_libvirt_network.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/providers/libvirt/r/network.markdown b/docs/providers/libvirt/r/network.markdown index c27bdbcc..8db2366c 100644 --- a/docs/providers/libvirt/r/network.markdown +++ b/docs/providers/libvirt/r/network.markdown @@ -48,8 +48,8 @@ The following arguments are supported: * `name` - (Required) A unique name for the resource, required by libvirt. Changing this forces a new resource to be created. * `domain` - The domain used by the DNS server. -* `addresses` - A list of (0 or 1) ipv4 and (0 or 1) ipv6 ranges for being - served by the DHCP server. +* `addresses` - A list of (0 or 1) ipv4 and (0 or 1) ipv6 subnets in CIDR notation + format for being served by the DHCP server. Address of subnet should be used. * `mode` - One of: - `none`: the guests can talk to each other and the host OS, but cannot reach any other machines on the LAN. diff --git a/libvirt/resource_libvirt_network.go b/libvirt/resource_libvirt_network.go index 8456acfe..b7934150 100644 --- a/libvirt/resource_libvirt_network.go +++ b/libvirt/resource_libvirt_network.go @@ -30,7 +30,7 @@ const ( // addresses = ["10.17.3.0/24"] // } // -// "addresses" can contain (0 or 1) ipv4 and (0 or 1) ipv6 ranges +// "addresses" can contain (0 or 1) ipv4 and (0 or 1) ipv6 subnets // "mode" can be one of: "nat" (default), "isolated" // func resourceLibvirtNetwork() *schema.Resource { |