Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismarget-j committed Sep 29, 2023
1 parent df7a375 commit 4a1b96a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions apstra/blueprint/datacenter_virtual_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,10 @@ func (o DatacenterVirtualNetwork) ResourceAttributes() map[string]resourceSchema
Computed: true,
},
"reserve_vlan": resourceSchema.BoolAttribute{
MarkdownDescription: "For use only with `%s` type Virtual networks when all `bindings` " +
"use the same VLAN ID. This option reserves the VLAN fabric-wide, even on switches to which the" +
" Virtual Network has not yet been deployed. The only accepted values is `true`.",
MarkdownDescription: fmt.Sprintf("For use only with `%s` type Virtual networks "+
"when all `bindings` use the same VLAN ID. This option reserves the VLAN fabric-wide, "+
"even on switches to which the Virtual Network has not yet been deployed. The only "+
"accepted values is `true`.", apstra.VnTypeVxlan.String()),
Optional: true,
Computed: true,
Validators: []validator.Bool{
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/datacenter_virtual_network.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ resource "apstra_datacenter_virtual_network" "test" {
- `ipv6_subnet` (String) IPv6 subnet associated with the Virtual Network. When not specified, a prefix from within the IPv6 Resource Pool assigned to the `virtual_network_svi_subnets_ipv6` role will be automatically assigned by Apstra.
- `ipv6_virtual_gateway` (String) Specifies the IPv6 virtual gateway address within the Virtual Network. The configured value must be a valid IPv6 host address configured value within range specified by `ipv6_subnet`
- `ipv6_virtual_gateway_enabled` (Boolean) Controls and indicates whether the IPv6 gateway within the Virtual Network is enabled. Requires `ipv6_connectivity_enabled` to be `true`
- `reserve_vlan` (Boolean) For use only with `%s` type Virtual networks when all `bindings` use the same VLAN ID. This option reserves the VLAN fabric-wide, even on switches to which the Virtual Network has not yet been deployed. The only accepted values is `true`.
- `reserve_vlan` (Boolean) For use only with `vxlan` type Virtual networks when all `bindings` use the same VLAN ID. This option reserves the VLAN fabric-wide, even on switches to which the Virtual Network has not yet been deployed. The only accepted values is `true`.
- `routing_zone_id` (String) Routing Zone ID (required when `type == vxlan`
- `type` (String) Virtual Network Type
- `vni` (Number) EVPN Virtual Network ID to be associated with this Virtual Network. When omitted, Apstra chooses a VNI from the Resource Pool [allocated](../apstra_datacenter_resource_pool_allocation) to role `vni_virtual_network_ids`.
Expand Down

0 comments on commit 4a1b96a

Please sign in to comment.