Skip to content

Commit e5c3c61

Browse files
committed
add mist_org_evpn_topologies data source
1 parent a92a904 commit e5c3c61

File tree

13 files changed

+3414
-6
lines changed

13 files changed

+3414
-6
lines changed
+88
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
page_title: "mist_org_evpn_topologies Data Source - terraform-provider-mist"
3+
subcategory: "Wired Assurance"
4+
description: |-
5+
This data source provides the list of Org Evpn Topologies
6+
EVPN allows an alternative but more efficient LAN architecture utilizing VxLAN / MP-BGP to separate the control plane (MAC / IP Learning) from the forwarding plane.
7+
---
8+
9+
# mist_org_evpn_topologies (Data Source)
10+
11+
This data source provides the list of Org Evpn Topologies
12+
13+
EVPN allows an alternative but more efficient LAN architecture utilizing VxLAN / MP-BGP to separate the control plane (MAC / IP Learning) from the forwarding plane.
14+
15+
16+
## Example Usage
17+
18+
```terraform
19+
data "mist_org_evpn_topologies" "org_evpn_topologies" {
20+
org_id = "15fca2ac-b1a6-47cc-9953-cc6906281550"
21+
}
22+
```
23+
24+
<!-- schema generated by tfplugindocs -->
25+
## Schema
26+
27+
### Required
28+
29+
- `org_id` (String)
30+
31+
### Read-Only
32+
33+
- `evpn_topologies` (Attributes Set) (see [below for nested schema](#nestedatt--evpn_topologies))
34+
35+
<a id="nestedatt--evpn_topologies"></a>
36+
### Nested Schema for `evpn_topologies`
37+
38+
Read-Only:
39+
40+
- `created_time` (Number) when the object has been created, in epoch
41+
- `evpn_options` (Attributes) EVPN Options (see [below for nested schema](#nestedatt--evpn_topologies--evpn_options))
42+
- `id` (String) Unique ID of the object instance in the Mist Organnization
43+
- `modified_time` (Number) when the object has been modified for the last time, in epoch
44+
- `name` (String)
45+
- `org_id` (String)
46+
- `pod_names` (Map of String) Property key is the pod number
47+
48+
<a id="nestedatt--evpn_topologies--evpn_options"></a>
49+
### Nested Schema for `evpn_topologies.evpn_options`
50+
51+
Read-Only:
52+
53+
- `auto_loopback_subnet` (String) optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
54+
- `auto_loopback_subnet6` (String) optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
55+
- `auto_router_id_subnet` (String) optional, this generates router_id automatically, if specified, `router_id_prefix` is ignored
56+
- `auto_router_id_subnet6` (String) optional, this generates router_id automatically, if specified, `router_id_prefix` is ignored
57+
- `core_as_border` (Boolean) optional, for ERB or CLOS, you can either use esilag to upstream routers or to also be the virtual-gateway. When `routed_at` != `core`, whether to do virtual-gateway at core as well
58+
- `overlay` (Attributes) (see [below for nested schema](#nestedatt--evpn_topologies--evpn_options--overlay))
59+
- `per_vlan_vga_v4_mac` (Boolean) only for by Core-Distribution architecture when `evpn_options.routed_at`==`core`. By default, JUNOS uses 00-00-5e-00-01-01 as the virtual-gateway-address's v4_mac. If enabled, 00-00-5e-00-XX-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)'
60+
- `routed_at` (String) optional, where virtual-gateway should reside. enum: `core`, `distribution`, `edge`
61+
- `underlay` (Attributes) (see [below for nested schema](#nestedatt--evpn_topologies--evpn_options--underlay))
62+
- `vs_instances` (Attributes Map) optional, for EX9200 only to seggregate virtual-switches (see [below for nested schema](#nestedatt--evpn_topologies--evpn_options--vs_instances))
63+
64+
<a id="nestedatt--evpn_topologies--evpn_options--overlay"></a>
65+
### Nested Schema for `evpn_topologies.evpn_options.overlay`
66+
67+
Read-Only:
68+
69+
- `as` (Number) Overlay BGP Local AS Number
70+
71+
72+
<a id="nestedatt--evpn_topologies--evpn_options--underlay"></a>
73+
### Nested Schema for `evpn_topologies.evpn_options.underlay`
74+
75+
Read-Only:
76+
77+
- `as_base` (Number) Underlay BGP Base AS Number
78+
- `routed_id_prefix` (String)
79+
- `subnet` (String) underlay subnet, by default, `10.255.240.0/20`, or `fd31:5700::/64` for ipv6
80+
- `use_ipv6` (Boolean) if v6 is desired for underlay
81+
82+
83+
<a id="nestedatt--evpn_topologies--evpn_options--vs_instances"></a>
84+
### Nested Schema for `evpn_topologies.evpn_options.vs_instances`
85+
86+
Read-Only:
87+
88+
- `networks` (List of String)

docs/guides/release_note_0.2.xx.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ description: |-
1515

1616
### New Data Sources
1717
* `mist_org_alarmtemplates`
18+
* `mist_org_evpn_topologies`
1819
* `mist_org_nac_endpoints`
1920
* `mist_org_sso_roles`
2021

docs/resources/org_evpn_topology.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
page_title: "mist_org_evpn_topology Resource - terraform-provider-mist"
33
subcategory: "Wired Assurance"
44
description: |-
5-
This resource manages the Org Evpn Topologys.
5+
This resource manages the Org Evpn Topology.
66
EVPN allows an alternative but more efficient LAN architecture utilizing VxLAN / MP-BGP to separate the control plane (MAC / IP Learning) from the forwarding plane.
77
-> To create or manage your EVPN Topology with the Mist Provider, please refer to the How To - EVPN Topology Guide.
88
---
99

1010
# mist_org_evpn_topology (Resource)
1111

12-
This resource manages the Org Evpn Topologys.
12+
This resource manages the Org Evpn Topology.
1313

1414
EVPN allows an alternative but more efficient LAN architecture utilizing VxLAN / MP-BGP to separate the control plane (MAC / IP Learning) from the forwarding plane.
1515

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
data "mist_org_evpn_topologies" "org_evpn_topologies" {
2+
org_id = "15fca2ac-b1a6-47cc-9953-cc6906281550"
3+
}

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/hashicorp/terraform-plugin-go v0.25.0
1414
github.com/hashicorp/terraform-plugin-log v0.9.0
1515
github.com/stretchr/testify v1.10.0
16-
github.com/tmunzer/mistapi-go v0.4.30
16+
github.com/tmunzer/mistapi-go v0.4.32
1717
golang.org/x/net v0.32.0
1818
)
1919

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P
157157
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
158158
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
159159
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
160-
github.com/tmunzer/mistapi-go v0.4.30 h1:tTpDNkd3aWmsdlVJXMvoRtzGRKepono8OWEHH9D0NNM=
161-
github.com/tmunzer/mistapi-go v0.4.30/go.mod h1:CgNc2YwmwFaln85pz0Dno34ekBJidXYeigC/wPayfY8=
160+
github.com/tmunzer/mistapi-go v0.4.32 h1:qAZ0erm0dd4xtNBvj5IIQ6du7SQOgAOKWinqQOhwD+c=
161+
github.com/tmunzer/mistapi-go v0.4.32/go.mod h1:CgNc2YwmwFaln85pz0Dno34ekBJidXYeigC/wPayfY8=
162162
github.com/vmihailenco/msgpack/v5 v5.4.1 h1:cQriyiUvjTwOHg8QZaPihLWeRAAVoCpE00IUPn0Bjt8=
163163
github.com/vmihailenco/msgpack/v5 v5.4.1/go.mod h1:GaZTsDaehaPpQVyxrf5mtQlH+pc21PIudVV/E3rRQok=
164164
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=

0 commit comments

Comments
 (0)