Skip to content

Commit

Permalink
update nac endpoints documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tmunzer committed Jan 6, 2025
1 parent fe9e469 commit 23d5f22
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions docs/data-sources/org_nac_endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ page_title: "mist_org_nac_endpoints Data Source - terraform-provider-mist"
subcategory: "WAN Assurance"
description: |-
This data source provides the list of NAC Endpoints (User MACs).
NAC Endpoints (User MACs) provide a database of endpoints identified by their MAC addresses. They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. Once an endpoint is labeled, the label name can be used to create mist_org_nactag resource as match criteria.
NAC Endpoints (User MACs) provide a database of endpoints identified by their MAC addresses. They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. Once an endpoint is labeled, the label name can be used to create mist_org_nactag resource as match criteria.
---

# mist_org_nac_endpoints (Data Source)

This data source provides the list of NAC Endpoints (User MACs).
NAC Endpoints (User MACs) provide a database of endpoints identified by their MAC addresses. They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. Once an endpoint is labeled, the label name can be used to create `mist_org_nactag` resource as match criteria.

NAC Endpoints (User MACs) provide a database of endpoints identified by their MAC addresses. They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. Once an endpoint is labeled, the label name can be used to create `mist_org_nactag` resource as match criteria.


## Example Usage
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/org_nac_endpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ page_title: "mist_org_nac_endpoint Resource - terraform-provider-mist"
subcategory: "Access Assurance"
description: |-
This resource manages the NAC Endpoints (User MACs).
NAC Endpoints (User MACs) provide a database of endpoints identified by their MAC addresses. They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. Once an endpoint is labeled, the label name can be used to create mist_org_nactag resource as match criteria.
NAC Endpoints (User MACs) provide a database of endpoints identified by their MAC addresses. They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. Once an endpoint is labeled, the label name can be used to create mist_org_nactag resource as match criteria.
The mist_org_nactag resource can be used to create Tags regrouping one or multiple endpoint MAC Addresses, but the use of the User MACs provides additional features:
possitility to assign specific attributes, like a Name, a Radius Group, a VLAN ID, ...possibility to assign one or multiple Tags (Labels) to a User MACimproved management for large list of MAC Addresses
---
Expand All @@ -12,7 +12,7 @@ description: |-

This resource manages the NAC Endpoints (User MACs).

NAC Endpoints (User MACs) provide a database of endpoints identified by their MAC addresses. They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. Once an endpoint is labeled, the label name can be used to create `mist_org_nactag` resource as match criteria.
NAC Endpoints (User MACs) provide a database of endpoints identified by their MAC addresses. They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. Once an endpoint is labeled, the label name can be used to create `mist_org_nactag` resource as match criteria.

The `mist_org_nactag` resource can be used to create Tags regrouping one or multiple endpoint MAC Addresses, but the use of the User MACs provides additional features:
* possitility to assign specific attributes, like a Name, a Radius Group, a VLAN ID, ...
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/org_usermac_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (r *orgNacEndpointResource) Schema(ctx context.Context, req resource.Schema
resp.Schema = schema.Schema{
MarkdownDescription: docCategoryNac + "This resource manages the NAC Endpoints (User MACs).\n\n" +
"NAC Endpoints (User MACs) provide a database of endpoints identified by their MAC addresses. " +
"They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. " +
"They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. " +
"Once an endpoint is labeled, the label name can be used to create `mist_org_nactag` resource as match criteria.\n\n" +
"The `mist_org_nactag` resource can be used to create Tags regrouping one or multiple endpoint MAC Addresses, " +
"but the use of the User MACs provides additional features:\n" +
Expand Down
4 changes: 2 additions & 2 deletions internal/provider/org_usermacs_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ func (d *orgNacEndpointsDataSource) Metadata(ctx context.Context, req datasource

func (d *orgNacEndpointsDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse) {
resp.Schema = schema.Schema{
MarkdownDescription: docCategoryWan + "This data source provides the list of NAC Endpoints (User MACs).\n" +
MarkdownDescription: docCategoryWan + "This data source provides the list of NAC Endpoints (User MACs).\n\n" +
"NAC Endpoints (User MACs) provide a database of endpoints identified by their MAC addresses. " +
"They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. " +
"They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. " +
"Once an endpoint is labeled, the label name can be used to create `mist_org_nactag` resource as match criteria.",
Attributes: datasource_org_usermacs.OrgUsermacsDataSourceSchema(ctx).Attributes,
}
Expand Down

0 comments on commit 23d5f22

Please sign in to comment.