Skip to content

Commit

Permalink
Merge pull request #703 from Juniper/rename-ip-links-ids-attribute
Browse files Browse the repository at this point in the history
Rename `ip_links_ids` attribute to `ip_link_ids`
  • Loading branch information
chrismarget-j authored Jul 11, 2024
2 parents c066fdb + 9f94863 commit 9b38a57
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
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

0 comments on commit 9b38a57

Please sign in to comment.