Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename ip_links_ids attribute to ip_link_ids #703

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apstra/blueprint/connectivity_template_assignments.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type ConnectivityTemplateAssignments struct {
ConnectivityTemplateId types.String `tfsdk:"connectivity_template_id"`
ApplicationPointIds types.Set `tfsdk:"application_point_ids"`
FetchIpLinkIds types.Bool `tfsdk:"fetch_ip_link_ids"`
IpLinkIds types.Map `tfsdk:"ip_links_ids"`
IpLinkIds types.Map `tfsdk:"ip_link_ids"`
}

func (o ConnectivityTemplateAssignments) ResourceAttributes() map[string]resourceSchema.Attribute {
Expand Down Expand Up @@ -55,7 +55,7 @@ func (o ConnectivityTemplateAssignments) ResourceAttributes() map[string]resourc
"is not needed.",
Optional: true,
},
"ip_links_ids": resourceSchema.MapAttribute{
"ip_link_ids": resourceSchema.MapAttribute{
MarkdownDescription: "New Logical Links are created when Connectivity Templates containing *IP Link* " +
"primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. " +
"This attribute is a two-dimensional map. The outer map is keyed by Application Point ID. The inner " +
Expand Down
4 changes: 2 additions & 2 deletions apstra/blueprint/connectivity_templates_assignment.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type ConnectivityTemplatesAssignment struct {
ConnectivityTemplateIds types.Set `tfsdk:"connectivity_template_ids"`
ApplicationPointId types.String `tfsdk:"application_point_id"`
FetchIpLinkIds types.Bool `tfsdk:"fetch_ip_link_ids"`
IpLinkIds types.Map `tfsdk:"ip_links_ids"`
IpLinkIds types.Map `tfsdk:"ip_link_ids"`
}

func (o ConnectivityTemplatesAssignment) ResourceAttributes() map[string]resourceSchema.Attribute {
Expand Down Expand Up @@ -56,7 +56,7 @@ func (o ConnectivityTemplatesAssignment) ResourceAttributes() map[string]resourc
"is not needed.",
Optional: true,
},
"ip_links_ids": resourceSchema.MapAttribute{
"ip_link_ids": resourceSchema.MapAttribute{
MarkdownDescription: "New Logical Links are created when Connectivity Templates containing *IP Link* " +
"primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. " +
"This attribute is a two-dimensional map. The outer map is keyed by Connectivity Template ID. The inner " +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ resource "apstra_datacenter_connectivity_template_assignment" "a" {

### Read-Only

- `ip_links_ids` (Map of Map of String) New Logical Links are created when Connectivity Templates containing *IP Link* primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. This attribute is a two-dimensional map. The outer map is keyed by Connectivity Template ID. The inner map is keyed by VLAN number. Untagged Logical Links are represented in the inner map by key `0`.
- `ip_link_ids` (Map of Map of String) New Logical Links are created when Connectivity Templates containing *IP Link* primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. This attribute is a two-dimensional map. The outer map is keyed by Connectivity Template ID. The inner map is keyed by VLAN number. Untagged Logical Links are represented in the inner map by key `0`.
**Note:** requires `fetch_iplink_ids = true`


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ resource "apstra_datacenter_connectivity_template_assignments" "a" {

### Read-Only

- `ip_links_ids` (Map of Map of String) New Logical Links are created when Connectivity Templates containing *IP Link* primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. This attribute is a two-dimensional map. The outer map is keyed by Application Point ID. The inner map is keyed by VLAN number. Untagged Logical Links are represented in the inner map by key `0`.
- `ip_link_ids` (Map of Map of String) New Logical Links are created when Connectivity Templates containing *IP Link* primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. This attribute is a two-dimensional map. The outer map is keyed by Application Point ID. The inner map is keyed by VLAN number. Untagged Logical Links are represented in the inner map by key `0`.
**Note:** requires `fetch_iplink_ids = true`


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ resource "apstra_datacenter_connectivity_template_assignment" "a" {

### Read-Only

- `ip_links_ids` (Map of Map of String) New Logical Links are created when Connectivity Templates containing *IP Link* primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. This attribute is a two-dimensional map. The outer map is keyed by Connectivity Template ID. The inner map is keyed by VLAN number. Untagged Logical Links are represented in the inner map by key `0`.
- `ip_link_ids` (Map of Map of String) New Logical Links are created when Connectivity Templates containing *IP Link* primitives are attached to a switch interface. These logical links may or may not be VLAN-tagged. This attribute is a two-dimensional map. The outer map is keyed by Connectivity Template ID. The inner map is keyed by VLAN number. Untagged Logical Links are represented in the inner map by key `0`.
**Note:** requires `fetch_iplink_ids = true`


Expand Down
Loading