Skip to content

Commit

Permalink
Fix HostTN doc issue
Browse files Browse the repository at this point in the history
Signed-off-by: graysonwu <[email protected]>
  • Loading branch information
GraysonWu committed Jan 16, 2024
1 parent 664d914 commit 84ebc86
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion nsxt/resource_nsxt_policy_host_transport_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func getFabricHostNodeSchema() *schema.Schema {
},
"thumbprint": {
Type: schema.TypeString,
Optional: true,
Required: true,
Description: "ESXi thumbprint or SSH key fingerprint of the host node",
},
"username": {
Expand Down
66 changes: 33 additions & 33 deletions website/docs/r/policy_host_transport_node.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -65,50 +65,50 @@ The following arguments are supported:
* `fqdn` - (Optional) Fully qualified domain name of the fabric node.
* `ip_addresses` - (Required) IP Addresses of the Node, version 4 or 6.
* `host_credential` - (Optional) Host login credentials.
* `password` - (Required) The authentication password of the host node.
* `thumbprint` - (Optional) ESXi thumbprint or SSH key fingerprint of the host node.
* `username` - (Required) The username of the account on the host node.
* `password` - (Required) The authentication password of the host node.
* `thumbprint` - (Required) ESXi thumbprint or SSH key fingerprint of the host node.
* `username` - (Required) The username of the account on the host node.
* `standard_host_switch` - (Required) Standard host switch specification.
* `host_switch_id` - (Optional) The host switch id. This ID will be used to reference a host switch.
* `host_switch_mode` - (Optional) Operational mode of a HostSwitch. Accepted values - 'STANDARD', 'ENS', 'ENS_INTERRUPT' or 'LEGACY'. The default value is 'STANDARD'.
* `host_switch_profile` - (Optional) Policy path of host switch profiles to be associated with this host switch.
* `ip_assignment` - (Required) - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
* `assigned_by_dhcp` - (Optional) Enables DHCP assignment.
* `static_ip` - (Optional) IP assignment specification for Static IP List.
* `ip_addresses` - (Required) List of IPs for transport node host switch virtual tunnel endpoints.
* `subnet_mask` - (Required) Subnet mask.
* `default_gateway` - (Required) Gateway IP.
* `static_ip_pool` - (Optional) Policy path of Static IP Pool used for IP assignment specification.
* `is_migrate_pnics` - (Optional) Migrate any pnics which are in use.
* `pnic` - (Optional) Physical NICs connected to the host switch.
* `device_name` - (Required) Device name or key.
* `uplink_name` - (Required) Uplink name for this Pnic.
* `transport_node_profile_sub_config` - (Optional) Transport Node Profile sub-configuration Options.
* `host_switch_config_option` - (Required) Subset of the host switch configuration.
* `host_switch_id` - (Optional) The host switch id. This ID will be used to reference a host switch.
* `host_switch_profile` - (Optional) Identifiers of host switch profiles to be associated with this host switch.
* `ip_assignment` - (Required) - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
* `assigned_by_dhcp` - (Optional) Enables DHCP assignment.
* `static_ip` - (Optional) IP assignment specification for Static IP List.
* `assigned_by_dhcp` - (Optional) Enables DHCP assignment.
* `static_ip` - (Optional) IP assignment specification for Static IP List.
* `ip_addresses` - (Required) List of IPs for transport node host switch virtual tunnel endpoints.
* `subnet_mask` - (Required) Subnet mask.
* `default_gateway` - (Required) Gateway IP.
* `static_ip_pool` - (Optional) IP assignment specification for Static IP Pool.
* `uplink` - (Optional) Uplink/LAG of VMware vSphere Distributed Switch connected to the HostSwitch.
* `uplink_name` - (Required) Uplink name from UplinkHostSwitch profile.
* `vds_lag_name` - (Optional) Link Aggregation Group (LAG) name of Virtual Distributed Switch.
* `vds_uplink_name` - (Optional) Uplink name of VMware vSphere Distributed Switch (VDS).
* `name` - (Required) Name of the transport node profile config option.
* `static_ip_pool` - (Optional) Policy path of Static IP Pool used for IP assignment specification.
* `is_migrate_pnics` - (Optional) Migrate any pnics which are in use.
* `pnic` - (Optional) Physical NICs connected to the host switch.
* `device_name` - (Required) Device name or key.
* `uplink_name` - (Required) Uplink name for this Pnic.
* `transport_node_profile_sub_config` - (Optional) Transport Node Profile sub-configuration Options.
* `host_switch_config_option` - (Required) Subset of the host switch configuration.
* `host_switch_id` - (Optional) The host switch id. This ID will be used to reference a host switch.
* `host_switch_profile` - (Optional) Identifiers of host switch profiles to be associated with this host switch.
* `ip_assignment` - (Required) - Specification for IPs to be used with host switch virtual tunnel endpoints. Should contain exatly one of the below:
* `assigned_by_dhcp` - (Optional) Enables DHCP assignment.
* `static_ip` - (Optional) IP assignment specification for Static IP List.
* `ip_addresses` - (Required) List of IPs for transport node host switch virtual tunnel endpoints.
* `subnet_mask` - (Required) Subnet mask.
* `default_gateway` - (Required) Gateway IP.
* `static_ip_pool` - (Optional) IP assignment specification for Static IP Pool.
* `uplink` - (Optional) Uplink/LAG of VMware vSphere Distributed Switch connected to the HostSwitch.
* `uplink_name` - (Required) Uplink name from UplinkHostSwitch profile.
* `vds_lag_name` - (Optional) Link Aggregation Group (LAG) name of Virtual Distributed Switch.
* `vds_uplink_name` - (Optional) Uplink name of VMware vSphere Distributed Switch (VDS).
* `name` - (Required) Name of the transport node profile config option.
* `transport_zone_endpoint` - (Optional) Transport zone endpoints
* `transport_zone` - (Required) Unique ID identifying the transport zone for this endpoint.
* `transport_zone_profiles` - (Optional) Identifiers of the transport zone profiles associated with this transport zone endpoint on this transport node.
* `transport_zone` - (Required) Unique ID identifying the transport zone for this endpoint.
* `transport_zone_profiles` - (Optional) Identifiers of the transport zone profiles associated with this transport zone endpoint on this transport node.
* `uplink` - (Optional) Uplink/LAG of VMware vSphere Distributed Switch connected to the HostSwitch.
* `uplink_name` - (Required) Uplink name from UplinkHostSwitch profile.
* `vds_lag_name` - (Optional) Link Aggregation Group (LAG) name of Virtual Distributed Switch.
* `vds_uplink_name` - (Optional) Uplink name of VMware vSphere Distributed Switch (VDS).
* `uplink_name` - (Required) Uplink name from UplinkHostSwitch profile.
* `vds_lag_name` - (Optional) Link Aggregation Group (LAG) name of Virtual Distributed Switch.
* `vds_uplink_name` - (Optional) Uplink name of VMware vSphere Distributed Switch (VDS).
* `vmk_install_migration` - (Optional) The vmknic and logical switch mappings.
* `destination_network` - (Required) The network id to which the ESX vmk interface will be migrated.
* `device_name` - (Required) ESX vmk interface name.
* `destination_network` - (Required) The network id to which the ESX vmk interface will be migrated.
* `device_name` - (Required) ESX vmk interface name.

## Attributes Reference

Expand Down

0 comments on commit 84ebc86

Please sign in to comment.