Skip to content

Commit

Permalink
Make release as 1.5.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
bhati-pradeep committed Mar 31, 2022
1 parent 2d98f06 commit 36f334c
Show file tree
Hide file tree
Showing 15 changed files with 44 additions and 43 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## 1.4.2 (April 1, 2022)
## 1.5.0-beta (April 1, 2022)

[Full Changelog](https://github.com/nutanix/terraform-provider-nutanix/compare/v1.4.1...v1.4.2)
[Full Changelog](https://github.com/nutanix/terraform-provider-nutanix/compare/v1.4.1...v1.5.0-beta)

**New Feature:**

- Add resources and data sources for Nutanix Foundation [\#413](https://github.com/nutanix/terraform-provider-nutanix/issues/413)

> For the 1.5.0-beta release of the provider it will have N-1 compatibility with the Nutanix Foundation. This release was tested against Foundation versions v5.2 and v5.1.1
**Merged pull requests:**

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Terraform provider plugin to integrate with Nutanix Enterprise Cloud

NOTE: The latest version of the Nutanix provider is [v1.4.2](https://github.com/nutanix/terraform-provider-nutanix/releases/tag/v1.4.2)
NOTE: The latest version of the Nutanix provider is [v1.5.0-beta](https://github.com/nutanix/terraform-provider-nutanix/releases/tag/v1.5.0-beta)

## Build, Quality Status

Expand Down Expand Up @@ -38,7 +38,7 @@ The Terraform Nutanix provider is designed to work with Nutanix Prism Central an
> For the 1.4.0 & 1.4.1 release of the provider it will have N-2 compatibility with the Prism Central APIs. This release was tested against Prism Central versions pc2022.1 pc.2021.9.0.4 and pc.2021.8.0.1.
### Foundation
> For the 1.4.2 release of the provider it will have N-1 compatibility with the Foundation. This release was tested against Foundation versions v5.2 and v5.1.1
> For the 1.5.0-beta release of the provider it will have N-1 compatibility with the Foundation. This release was tested against Foundation versions v5.2 and v5.1.1
## Example Usage

Expand Down Expand Up @@ -75,7 +75,7 @@ provider "nutanix" {
```

### Provider Configuration Requirements & Warnings
From foundation getting released in 1.4.2, provider configuration will accomodate prism central and foundation apis connection details. **It will show warnings for disabled api connections as per the attributes given in provider configuration in above mentioned format**. The below are the required attributes for corresponding provider componenets :
From foundation getting released in 1.5.0-beta, provider configuration will accomodate prism central and foundation apis connection details. **It will show warnings for disabled api connections as per the attributes given in provider configuration in above mentioned format**. The below are the required attributes for corresponding provider componenets :
* endpoint, username and password are required fields for using Prism Central & Karbon based resources and data sources
* foundation_endpoint is required field for using Foundation based resources and data sources

Expand Down
4 changes: 2 additions & 2 deletions examples/foundation/file_management/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// resources/datasources used in this file were introduced in nutanix/nutanix version >=1.4.2
// resources/datasources used in this file were introduced in nutanix/nutanix version 1.5.0-beta
terraform{
required_providers{
nutanix = {
source = "nutanix/nutanix"
version = "1.4.2"
version = "1.5.0-beta"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions examples/foundation/image_bare_metal_nodes/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// resources/data_sources used here were introduced in nutanix/nutanix version >=1.4.2
// resources/data_sources used here were introduced in nutanix/nutanix version 1.5.0-beta
terraform{
required_providers{
nutanix = {
source = "nutanix/nutanix"
version = "1.4.2"
version = "1.5.0-beta"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions examples/foundation/image_nutanix_imaged_node/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// resources/data_sources used here were introduced in nutanix/nutanix version >=1.4.2
// resources/data_sources used here were introduced in nutanix/nutanix version v1.5.0-beta
terraform{
required_providers{
nutanix = {
source = "nutanix/nutanix"
version = "1.4.2"
version = "1.5.0-beta"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions examples/foundation/ipmi_config/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// nutanix_foundation_ipmi_config resource was introduced in nutanix/nutanix version >=1.4.2
// nutanix_foundation_ipmi_config resource was introduced in nutanix/nutanix version 1.5.0-beta
terraform{
required_providers{
nutanix = {
source = "nutanix/nutanix"
version = "1.4.2"
version = "1.5.0-beta"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// resources/datasources used in this file were introduced in nutanix/nutanix version >=1.4.2
// resources/datasources used in this file were introduced in nutanix/nutanix version 1.5.0-beta
terraform{
required_providers{
nutanix = {
source = "nutanix/nutanix"
version = "1.4.2"
version = "1.5.0-beta"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The modules based on foundation data sources and resources are given below :

| Name | Description | Required Version|
|------|-------------|-----------------|
| aos-based-node-imaging/nod-serial-filter| This module can be used to image nutanix imaged node having cvm running by giving node serials and some required information. Internally it uses node network details and discover nodes data sources to discover & get network details those node serial corresponding nodes, which can be used as imaging input. | >1.4.1 |
| aos-based-node-imaging/nod-serial-filter| This module can be used to image nutanix imaged node having cvm running by giving node serials and some required information. Internally it uses node network details and discover nodes data sources to discover & get network details of those node serial corresponding nodes, which can be used as imaging input. | >1.4.1 |
|dos-based-node-imaging/nod-serial-filter| This module can be used to image nodes having discovery os running by giving node serials and some required information. Internally it uses node network details and discover nodes data sources to discover & get network details of those node serial corresponding nodes, which can be used as imaging input.| >1.4.1|
| manual-node-imaging | This module can be used to image nodes , which cannot be discovered, by providing defaults and node specific information. | >1.4.1 |
| discover-nodes-network-details | This module can be used to node discovery and get network details of nodes which are not part of cluster. This module is used by other foundatio modules as well | >1.4.1 |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
output "session_id" {
value = resource.nutanix_foundation_image_nodes.this.session_id

// this output will output image_nodes resource data
output "imaged_nodes" {
value = resource.nutanix_foundation_image_nodes.this
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
output "session_id" {
value = resource.nutanix_foundation_image_nodes.this.session_id

// this output will output image_nodes resource data
output "imaged_nodes" {
value = resource.nutanix_foundation_image_nodes.this
}
4 changes: 2 additions & 2 deletions modules/foundation/examples/image-bare-metal-nodes/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// resources/datasources used in this file were introduced in nutanix/nutanix version >1.4.1
// resources/datasources used in this file were introduced in nutanix/nutanix version 1.5.0-beta
terraform{
required_providers{
nutanix = {
source = "nutanix/nutanix"
version = "1.4.2"
version = "1.5.0-beta"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions modules/foundation/examples/image-cvm-running-nodes/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// resources/datasources used in this file were introduced in nutanix/nutanix version >1.4.1
// resources/datasources used in this file were introduced in nutanix/nutanix version 1.5.0-beta
terraform{
required_providers{
nutanix = {
source = "nutanix/nutanix"
version = "1.4.2"
version = "1.5.0-beta"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions modules/foundation/examples/image-dos-running-nodes/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// resources/datasources used in this file were introduced in nutanix/nutanix version >1.4.1
// resources/datasources used in this file were introduced in nutanix/nutanix version 1.5.0-beta
terraform{
required_providers{
nutanix = {
source = "nutanix/nutanix"
version = "1.4.2"
version = "1.5.0-beta"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions modules/foundation/manual-node-imaging/output.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
output "session_id" {
value = resource.nutanix_foundation_image_nodes.this.session_id

// this output will output image_nodes resource data
output "imaged_nodes" {
value = resource.nutanix_foundation_image_nodes.this
}
23 changes: 12 additions & 11 deletions website/docs/r/foundation_image_nodes.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -168,25 +168,30 @@ The following arguments are supported for each block:
The following arguments are supported for each node:
* `ipmi_netmask` :- (Required incase using IPMI based imaging either here or outside blocks) IPMI netmask for this node
* `ipmi_gateway` :- (Required incase using IPMI based imaging either here or outside blocks) IPMI gateway for this node
* `ipv6_address` :- IPV6 address.
* `ipmi_password` :- (Required incase using IPMI based imaging either here or outside blocks) IPMI username
* `ipmi_user` :- (Required incase using IPMI based imaging either here or outside blocks) IPMI password
* `ipmi_ip` :- (Required) IPMI IP address.
* `hypervisor_hostname` :- (Required) Hypervisor Hostname.
* `hypervisor_ip` :- (Required) Hypervisor IP address.
* `node_position` :- (Required) Position of the node in the block.
* `image_now` :- (Required) If the node should be imaged now.
* `bond_mode` :- (Required if node is capable) dynamic if using LACP, static for LAG
* `rdma_passthrough` :- (Required if node is capable) passthru RDMA nic to CVM if possible, default to false
* `bond_lacp_rate` :- (Required if node is lacp configured) slow or fast if lacp if being used at the switch
* `ipv6_address` :- (Required when device_hint = "vm_installer" for imaging using node's existing cvm for imaging) IPV6 address.
* `ipv6_interface` :- (Required when device_hint = "vm_installer" for imaging using node's existing cvm for imaging) ipv6 interface.
* `image_delay` :- Imaging delay.
* `ucsm_params` :- Object of UCSM parameters.
* `ucsm_params.native_vlan` :- If the vlan is native.
* `ucsm_params.keep_ucsm_settings` :- Whether UCSM settings should be kept.
* `ucsm_params.mac_pool` :- Mac address pool.
* `ucsm_params.vlan_name` :- Name of vlan.
* `hypervisor_hostname` :- (Required) Hypervisor Hostname.
* `cvm_gb_ram` :- RAM capacity of CVM in GB.
* `device_hint` :- use "vm_installer" to enable CVM imaging from standalone.
* `bond_mode` :- (Required if node is capable) dynamic if using LACP, static for LAG
* `rdma_passthrough` :- (Required if node is capable) passthru RDMA nic to CVM if possible, default to false
* `cluster_id` :- ID of cluster.
* `ucsm_node_serial` :- UCSM node serial.
* `hypervisor_ip` :- (Required) Hypervisor IP address.
* `node_serial` :- serial number of the node.
* `ipmi_configure_now` :- Whether IPMI should be configured.
* `ipv6_interface` :- ipv6 interface.
* `cvm_num_vcpus` :- Number of CVM vcpus.
* `ipmi_mac` :- IPMI MAC address.
* `rdma_mac_addr` :- mac address of nic to be used for rdma
Expand All @@ -199,15 +204,11 @@ The following arguments are supported for each node:
* `vswitches.uplinks` :- Terraform blocks of MAC Addresses of NICs in a team/bond.
* `vswitches.other_config` :- Terraform blocks of Auxiliary lacp configurations. Applicable only for AHV.
* `vswitches.mtu` :- MTU of the vswitch. Applicable only for AHV.
* `bond_lacp_rate` :- (Required if node is lacp configured) slow or fast if lacp if being used at the switch
* `image_now` :- (Required) If the node should be imaged now.
* `ucsm_managed_mode` :- UCSM Managed mode.
* `ipmi_ip` :- (Required) IPMI IP address.
* `current_cvm_vlan_tag` :- Current CVM vlan tag. 0 Value with remove vlan tag.
* `exlude_boot_serial` :- serial of boot device to be excluded (used by NX G6 platforms)
* `mitigate_low_boot_space` :- relocate bootbank files to make space for phoenix files.
* `ipmi_password` :- (Required incase using IPMI based imaging either here or outside blocks) IPMI username
* `ipmi_user` :- (Required incase using IPMI based imaging either here or outside blocks) IPMI password




Expand Down

0 comments on commit 36f334c

Please sign in to comment.