-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
418 additions
and
40 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
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,67 @@ | ||
--- | ||
layout: "cloudstack" | ||
page_title: "CloudStack: cloudstack_cluster" | ||
sidebar_current: "docs-cloudstack-resource-cluster" | ||
description: |- | ||
Adds a new cluster | ||
--- | ||
|
||
# cloudstack_cluster | ||
|
||
Adds a new cluster | ||
|
||
## Example Usage | ||
|
||
Basic usage: | ||
|
||
```hcl | ||
resource "cloudstack_cluster" "example" { | ||
cluster_name = "example" | ||
cluster_type = "CloudManaged" | ||
hypervisor = "KVM" | ||
pod_id = cloudstack_pod.example.id | ||
zone_id = cloudstack_zone.example.id | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `allocation_state` - (Optional) Allocation state of this cluster for allocation of new resources. | ||
* `cluster_name` - (Required) the cluster name. | ||
* `cluster_type` - (Required) type of the cluster: CloudManaged, ExternalManaged. | ||
* `guest_vswitch_name` - (Optional) Name of virtual switch used for guest traffic in the cluster. This would override zone wide traffic label setting.. | ||
* `guest_vswitch_type` - (Optional) Type of virtual switch used for guest traffic in the cluster. Allowed values are, vmwaresvs (for VMware standard vSwitch) and vmwaredvs (for VMware distributed vSwitch). | ||
* `hypervisor` - (Required) hypervisor type of the cluster: XenServer,KVM,VMware,Hyperv,BareMetal,Simulator,Ovm3. | ||
* `ovm3_cluster` - (Optional) Ovm3 native OCFS2 clustering enabled for cluster. | ||
* `ovm3_pool` - (Optional) Ovm3 native pooling enabled for cluster. | ||
* `ovm3_vip` - (Optional) Ovm3 vip to use for pool (and cluster). | ||
* `password` - (Optional) the password for the host. | ||
* `public_vswitch_name` - (Optional) Name of virtual switch used for public traffic in the cluster. This would override zone wide traffic label setting.. | ||
* `public_vswitch_type` - (Optional) Type of virtual switch used for public traffic in the cluster. Allowed values are, vmwaresvs (for VMware standard vSwitch) and vmwaredvs (for VMware distributed vSwitch). | ||
* `pod_id` - (Required) the Pod ID for the host. | ||
* `url` - (Optional) the URL. | ||
* `username` - (Optional) the username for the cluster. | ||
* `vsm_ip_address` - (Optional) the ipaddress of the VSM associated with this cluster. | ||
* `vsm_password` - (Optional) the password for the VSM associated with this cluster. | ||
* `vsm_username` - (Optional) the username for the VSM associated with this cluster. | ||
* `zone_id` - (Required) the Zone ID for the cluster. | ||
|
||
|
||
## Attributes Reference | ||
|
||
The following attributes are exported: | ||
|
||
* `id` - The instance ID. | ||
|
||
|
||
|
||
## Import | ||
|
||
Clusters can be imported; use `<CLUSTER ID>` as the import ID. For | ||
example: | ||
|
||
```shell | ||
terraform import cloudstack_cluster.example 5cf69677-7e4b-4bf4-b868-f0b02bb72ee0 | ||
``` |
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,56 @@ | ||
--- | ||
layout: "cloudstack" | ||
page_title: "CloudStack: physical_network" | ||
sidebar_current: "docs-cloudstack-resource-physical-network" | ||
description: |- | ||
Creates a physical network | ||
--- | ||
|
||
# physical_network | ||
|
||
Creates a physical network | ||
|
||
## Example Usage | ||
|
||
Basic usage: | ||
|
||
```hcl | ||
resource "cloudstack_physical_network" "example" { | ||
broadcast_domain_range = "ZONE" | ||
isolation_methods = "VLAN" | ||
name = "example" | ||
network_speed = "10G" | ||
tags = "vlan" | ||
zone_id = cloudstack_zone.example.id | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `broadcast_domain_range` - (Optional) changeme. | ||
* `domain_id` - (Optional) changeme. | ||
* `isolation_methods` - (Optional) changeme. | ||
* `name` - (Required) changeme. | ||
* `network_speed` - (Optional) changeme. | ||
* `tags` - (Optional) changeme. | ||
* `vlan` - (Optional) changeme. | ||
* `zone_id` - (Required) changeme. | ||
|
||
|
||
## Attributes Reference | ||
|
||
The following attributes are exported: | ||
|
||
* `id` - The instance ID. | ||
|
||
|
||
## Import | ||
|
||
Physical networks can be imported; use `<PHYSICAL NETWORK ID>` as the import ID. For | ||
example: | ||
|
||
```shell | ||
terraform import physical_network.example 5cf69677-7e4b-4bf4-b868-f0b02bb72ee0 | ||
``` |
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,56 @@ | ||
--- | ||
layout: "cloudstack" | ||
page_title: "CloudStack: cloudstack_pod" | ||
sidebar_current: "docs-cloudstack-resource-pod" | ||
description: |- | ||
Creates a new Pod. | ||
--- | ||
|
||
# cloudstack_pod | ||
|
||
Creates a new Pod. | ||
|
||
## Example Usage | ||
|
||
Basic usage: | ||
|
||
```hcl | ||
resource "cloudstack_pod" "example" { | ||
allocation_state = "Disabled" | ||
gateway = "172.29.0.1" | ||
name = "example" | ||
netmask = "255.255.240.0" | ||
start_ip = "172.29.0.2" | ||
zone_id = cloudstack_zone.example.id | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `allocation_state` - (Optional) allocation state of this Pod for allocation of new resources. | ||
* `end_ip` - (Optional) the ending IP address for the Pod. | ||
* `gateway` - (Required) the gateway for the Pod. | ||
* `name` - (Required) the name of the Pod. | ||
* `netmask` - (Required) the netmask for the Pod. | ||
* `start_ip` - (Required) the starting IP address for the Pod. | ||
* `zone_id` - (Required) the Zone ID in which the Pod will be created. | ||
|
||
|
||
## Attributes Reference | ||
|
||
The following attributes are exported: | ||
|
||
* `id` - The instance ID. | ||
|
||
|
||
|
||
## Import | ||
|
||
A pod can be imported; use `<POD ID>` as the import ID. For | ||
example: | ||
|
||
```shell | ||
terraform import cloudstack_pod.example 5cf69677-7e4b-4bf4-b868-f0b02bb72ee0 | ||
``` |
Oops, something went wrong.