Skip to content

Commit

Permalink
[Docs] Clearer description for "addresses" param
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Sokolkov committed Feb 17, 2017
1 parent aeaee86 commit 339552a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/providers/libvirt/r/network.markdown
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion libvirt/resource_libvirt_network.go
Expand Up @@ -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 {
Expand Down

0 comments on commit 339552a

Please sign in to comment.