Skip to content

Commit 8503d2c

Browse files
committed
@ANS-TF-BMS: Overhaul the BMS guide and update the examples throughout the resource documentation.
Significantly expand docs/guides/baremetal_server_management.md with a resources/data-sources reference table, a comprehensive Known Limitations section (platform, firewall, and group constraints), and a restructured workflow overview. Fix BMS group examples in policy_security_policy, policy_parent_security_policy, and policy_security_policy_rule docs to include the required group_type = "BareMetalServer" attribute. Remove unsupported mixed BMS/VM policy examples that incorrectly implied cross-type grouping. Apply minor wording and formatting corrections across all BMS data-source and resource doc pages. Testing Environment: NSX-T Version: 9.0.0+ Provider Version: >=3.12.1 Infrastructure: Local Manager only (Federation and Multi-tenancy not supported for BMS) JIRA: #NSEC-14099
1 parent 990c0d5 commit 8503d2c

17 files changed

Lines changed: 870 additions & 513 deletions

docs/data-sources/policy_baremetal_server.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
subcategory: "Beta"
3-
page_title: "NSXT: policy_baremetal_server"
3+
page_title: "NSXT: nsxt_policy_baremetal_server"
44
description: A bare metal server inventory data source.
55
---
66

@@ -50,6 +50,7 @@ output "server_os" {
5050
In addition to arguments listed above, the following attributes are exported:
5151

5252
* `id` - ID of the data source.
53+
* `display_name` - Display name of the bare metal server.
5354
* `source_id` - Source ID of the bare metal server.
5455
* `cpu_cores` - Number of CPU cores.
5556
* `os_name` - Operating system name.

docs/data-sources/policy_baremetal_server_group_associations.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
subcategory: "Beta"
3-
page_title: "NSXT: policy_baremetal_server_group_associations"
3+
page_title: "NSXT: nsxt_policy_baremetal_server_group_associations"
44
description: Groups a bare metal server is a member of.
55
---
66

@@ -41,6 +41,7 @@ resource "nsxt_policy_service" "https" {
4141
resource "nsxt_policy_group" "web-servers" {
4242
display_name = "Web-Servers-Group"
4343
description = "Group containing web server bare metal resources"
44+
group_type = "BareMetalServer"
4445
4546
criteria {
4647
condition {

docs/data-sources/policy_baremetal_server_interface.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
subcategory: "Beta"
3-
page_title: "NSXT: policy_baremetal_server_interface"
3+
page_title: "NSXT: nsxt_policy_baremetal_server_interface"
44
description: A bare metal server interface inventory data source.
55
---
66

@@ -50,6 +50,7 @@ output "interface_ips" {
5050
In addition to arguments listed above, the following attributes are exported:
5151

5252
* `id` - ID of the data source.
53+
* `display_name` - Display name of the bare metal server interface.
5354
* `bms_external_id` - External ID of the parent bare metal server.
5455
* `source_id` - Source ID of the bare metal server interface.
5556
* `is_mgmt_interface` - Whether this is a management interface.

docs/data-sources/policy_baremetal_server_interface_group_associations.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
subcategory: "Beta"
3-
page_title: "NSXT: policy_baremetal_server_interface_group_associations"
3+
page_title: "NSXT: nsxt_policy_baremetal_server_interface_group_associations"
44
description: Groups a bare metal server interface is a member of.
55
---
66

@@ -22,6 +22,7 @@ data "nsxt_policy_baremetal_server_interface_group_associations" "if1_groups" {
2222
resource "nsxt_policy_group" "data-network" {
2323
display_name = "Data-Network-Group"
2424
description = "Group containing data network interfaces"
25+
group_type = "BareMetalServer"
2526
2627
criteria {
2728
condition {

docs/data-sources/policy_baremetal_server_interface_tags.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
subcategory: "Beta"
3-
page_title: "NSXT: policy_baremetal_server_interface_tags"
3+
page_title: "NSXT: nsxt_policy_baremetal_server_interface_tags"
44
description: A Bare Metal Server Interface Tags data source.
55
---
66

@@ -44,6 +44,7 @@ resource "nsxt_policy_group" "data_plane_interfaces" {
4444
count = local.network_type == "data-plane" ? 1 : 0
4545
4646
display_name = "Data-Plane-Interfaces"
47+
group_type = "BareMetalServer"
4748
4849
criteria {
4950
condition {

docs/data-sources/policy_baremetal_server_interfaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
subcategory: "Beta"
3-
page_title: "NSXT: policy_baremetal_server_interfaces"
3+
page_title: "NSXT: nsxt_policy_baremetal_server_interfaces"
44
description: List of bare metal server interfaces in NSX inventory with advanced filtering.
55
---
66

docs/data-sources/policy_baremetal_server_tags.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
subcategory: "Beta"
3-
page_title: "NSXT: policy_baremetal_server_tags"
3+
page_title: "NSXT: nsxt_policy_baremetal_server_tags"
44
description: A Bare Metal Server Tags data source.
55
---
66

docs/data-sources/policy_baremetal_servers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
subcategory: "Beta"
3-
page_title: "NSXT: policy_baremetal_servers"
3+
page_title: "NSXT: nsxt_policy_baremetal_servers"
44
description: List of bare metal servers discovered by NSX with advanced filtering.
55
---
66

docs/data-sources/policy_group_baremetal_server_interface_members.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
subcategory: "Beta"
3-
page_title: "NSXT: policy_group_baremetal_server_interface_members"
3+
page_title: "NSXT: nsxt_policy_group_baremetal_server_interface_members"
44
description: A policy data source to list bare metal server interface members in a group.
55
---
66

docs/data-sources/policy_group_baremetal_server_members.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
subcategory: "Beta"
3-
page_title: "NSXT: policy_group_baremetal_server_members"
3+
page_title: "NSXT: nsxt_policy_group_baremetal_server_members"
44
description: A policy data source to list bare metal server members in a group.
55
---
66

0 commit comments

Comments
 (0)