@@ -2,6 +2,7 @@ package blueprint
22
33import (
44 "context"
5+
56 "github.com/Juniper/apstra-go-sdk/apstra"
67 customtypes "github.com/Juniper/terraform-provider-apstra/apstra/custom_types"
78 "github.com/Juniper/terraform-provider-apstra/apstra/design"
@@ -19,7 +20,7 @@ import (
1920type VirtualNetworkBinding struct {
2021 LeafId customtypes.StringWithAltValues `tfsdk:"leaf_id"`
2122 VlanId types.Int64 `tfsdk:"vlan_id"`
22- //AccessIds types.Set `tfsdk:"access_ids"`
23+ // AccessIds types.Set `tfsdk:"access_ids"`
2324 AccessIds customtypes.SetWithSemanticEquals `tfsdk:"access_ids"`
2425}
2526
@@ -51,7 +52,7 @@ func (o VirtualNetworkBinding) ResourceAttributes() map[string]resourceSchema.At
5152 CustomType : customtypes .NewSetWithSemanticEqualsType (customtypes.StringWithAltValuesType {}),
5253 Optional : true ,
5354 ElementType : customtypes.StringWithAltValuesType {},
54- //ElementType: types.StringType,
55+ // ElementType: types.StringType,
5556 Validators : []validator.Set {setvalidator .SizeAtLeast (1 )},
5657 },
5758 }
@@ -75,7 +76,7 @@ func (o VirtualNetworkBinding) Request(ctx context.Context, rgInfo map[string]*a
7576 //utils.Uniq(accessSwitchNodeIds) // if the user specified both switches, we created dups. Clean em up.
7677
7778 return & apstra.VnBinding {
78- //AccessSwitchNodeIds: accessSwitchNodeIds,
79+ // AccessSwitchNodeIds: accessSwitchNodeIds,
7980 SystemId : apstra .ObjectId (o .LeafId .ValueString ()),
8081 VlanId : vlanId ,
8182 }
0 commit comments