-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add optional attribute tier in Create Virtual Device request fo…
…r C8000V and C8000V SDWAN
- Loading branch information
1 parent
9709376
commit c8d8b66
Showing
6 changed files
with
90 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -397,6 +397,36 @@ resource "equinix_network_device" "panw-cluster" { | |
} | ||
``` | ||
|
||
```terraform | ||
# Create C8000V BYOL device with bandwidth tier information | ||
data "equinix_network_account" "sv" { | ||
metro_code = "SV" | ||
} | ||
resource "equinix_network_device" "panw-cluster" { | ||
name = "tf-c8000v-byol" | ||
metro_code = data.equinix_network_account.sv.metro_code | ||
type_code = "C8000V" | ||
self_managed = true | ||
byol = true | ||
package_code = "VM100" | ||
notifications = ["[email protected]", "[email protected]", "[email protected]"] | ||
term_length = 12 | ||
account_number = data.equinix_network_account.sv.number | ||
version = "17.11.01a" | ||
interface_count = 10 | ||
core_count = 2 | ||
tier = 1 | ||
ssh_key { | ||
username = "test" | ||
key_name = "test-key" | ||
} | ||
acl_template_id = "0bff6e05-f0e7-44cd-804a-25b92b835f8b" | ||
} | ||
``` | ||
|
||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
@@ -406,8 +436,9 @@ The following arguments are supported: | |
* `metro_code` - (Required) Device location metro code. | ||
* `hostname` - (Optional) Device hostname prefix. | ||
* `package_code` - (Required) Device software package code. | ||
* `version` - (Required) Device software software version. | ||
* `version` - (Required) Device software version. | ||
* `core_count` - (Required) Number of CPU cores used by device. (**NOTE: Use this field to resize your device. When resizing your HA devices, primary device will be upgraded first. If the upgrade failed, device will be automatically rolled back to the previous state with original core number.**) | ||
* `tier` - (Optional) Select bandwidth tier for your own license, i.e., `0` or `1` or `2` or `3`. Tiers applicable only for C8000V Autonomous or C8000V SDWAN (controller) device types. | ||
* `term_length` - (Required) Device term length. | ||
* `self_managed` - (Optional) Boolean value that determines device management mode, i.e., `self-managed` or `Equinix-managed` (default). | ||
* `byol` - (Optional) Boolean value that determines device licensing mode, i.e., `bring your own license` or `subscription` (default). | ||
|
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,26 @@ | ||
# Create C8000V BYOL device with bandwidth tier information | ||
|
||
data "equinix_network_account" "sv" { | ||
metro_code = "SV" | ||
} | ||
|
||
resource "equinix_network_device" "panw-cluster" { | ||
name = "tf-c8000v-byol" | ||
metro_code = data.equinix_network_account.sv.metro_code | ||
type_code = "C8000V" | ||
self_managed = true | ||
byol = true | ||
package_code = "VM100" | ||
notifications = ["[email protected]", "[email protected]", "[email protected]"] | ||
term_length = 12 | ||
account_number = data.equinix_network_account.sv.number | ||
version = "17.11.01a" | ||
interface_count = 10 | ||
core_count = 2 | ||
tier = 1 | ||
ssh_key { | ||
username = "test" | ||
key_name = "test-key" | ||
} | ||
acl_template_id = "0bff6e05-f0e7-44cd-804a-25b92b835f8b" | ||
} |
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