-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: graysonwu <[email protected]>
- Loading branch information
Showing
4 changed files
with
74 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
subcategory: "EVPN" | ||
layout: "nsxt" | ||
page_title: "NSXT: nsxt_policy_vni_pool" | ||
description: A resource to configure VNI Pool on NSX Policy manager. | ||
--- | ||
|
||
# nsxt_policy_vni_pool | ||
|
||
This resource provides a method for the management of VNI Pools. | ||
|
||
This resource is applicable to NSX Policy Manager. | ||
|
||
This resource is supported with NSX 3.0.0 onwards. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "nsxt_policy_vni_pool" "test_vni_pool" { | ||
description = "vnipool1" | ||
display_name = "terraform provisioned VNI pool" | ||
start = 80000 | ||
end = 90000 | ||
tag { | ||
scope = "color" | ||
tag = "red" | ||
} | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `display_name` - (Required) Display name of the resource. | ||
* `description` - (Optional) Description of the resource. | ||
* `tag` - (Optional) A list of scope + tag pairs to associate with this resource. | ||
* `nsx_id` - (Optional) The NSX ID of this resource. If set, this ID will be used to create the policy resource. | ||
* `start` - (Required) Start value of VNI Pool range. Minimum: 75001, Maximum: 16777215. | ||
* `end` - (Required) End value of VNI Pool range. Minimum: 75001, Maximum: 16777215. | ||
|
||
## Attributes Reference | ||
|
||
In addition to arguments listed above, the following attributes are exported: | ||
|
||
* `revision` - Indicates current revision number of the object as seen by NSX-T API server. This attribute can be useful for debugging. | ||
* `path` - The NSX path of the policy resource. | ||
|
||
## Importing | ||
|
||
An existing VNI Pool can be [imported][docs-import] into this resource, via the following command: | ||
|
||
[docs-import]: https://www.terraform.io/cli/import | ||
|
||
``` | ||
terraform import nsxt_policy_vni_pool.vnipool1 ID | ||
``` | ||
|
||
The above command imports VNI Pool named `vnipool1` with the NSX Policy ID `ID`. |