1. Registry
  2. Packages
  3. Juniper Mist Provider
  4. API Docs
  5. site
  6. EvpnTopology
Viewing docs for Juniper Mist v0.13.2
published on Thursday, Nov 12, 2026 by Pulumi
junipermist logo Juniper Mist
Viewing docs for Juniper Mist v0.13.2
published on Thursday, Nov 12, 2026 by Pulumi

    This resource manages the Site Evpn Topology.

    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.

    To create or manage your EVPN Topology with the Mist Provider, please refer to the How To - EVPN Topology Guide.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as junipermist from "@pulumi/juniper-mist";
    
    const evpnTopologySwitches = new junipermist.org.Inventory("evpn_topology_switches", {
        orgId: "c0c92f93-d702-4cb7-a661-aaca08cfcf74",
        inventory: {
            HY5BD8EVMSRQRCV: {
                siteId: "87e30472-720a-42c5-acd9-ac95213d08b3",
            },
            P9ZRN52RXQEQNH5: {
                siteId: "87e30472-720a-42c5-acd9-ac95213d08b3",
            },
            HNCNY3DWSAKJFPB: {
                siteId: "87e30472-720a-42c5-acd9-ac95213d08b3",
            },
            GSK46S5XKH657DG: {
                siteId: "87e30472-720a-42c5-acd9-ac95213d08b3",
            },
        },
    });
    const evpnOne = new junipermist.site.EvpnTopology("evpn_one", {
        siteId: "87e30472-720a-42c5-acd9-ac95213d08b3",
        name: "evpn_one",
        evpnOptions: {
            routedAt: "core",
            overlay: {
                as: 65000,
            },
            coreAsBorder: true,
            autoLoopbackSubnet: "172.16.192.0/24",
            autoLoopbackSubnet6: "fd33:ab00:2::/64",
            perVlanVgaV4Mac: false,
            underlay: {
                asBase: 65001,
                useIpv6: false,
                subnet: "10.255.240.0/20",
            },
            autoRouterIdSubnet: "172.16.254.0/23",
        },
        switches: {
            "0200030001fe": {
                role: "core",
            },
            "0200030001ff": {
                role: "core",
            },
            "020003000200": {
                role: "access",
            },
            "020003000201": {
                role: "access",
            },
        },
    }, {
        dependsOn: [evpnTopologySwitches],
    });
    
    import pulumi
    import pulumi_juniper_mist as junipermist
    
    evpn_topology_switches = junipermist.org.Inventory("evpn_topology_switches",
        org_id="c0c92f93-d702-4cb7-a661-aaca08cfcf74",
        inventory={
            "HY5BD8EVMSRQRCV": {
                "site_id": "87e30472-720a-42c5-acd9-ac95213d08b3",
            },
            "P9ZRN52RXQEQNH5": {
                "site_id": "87e30472-720a-42c5-acd9-ac95213d08b3",
            },
            "HNCNY3DWSAKJFPB": {
                "site_id": "87e30472-720a-42c5-acd9-ac95213d08b3",
            },
            "GSK46S5XKH657DG": {
                "site_id": "87e30472-720a-42c5-acd9-ac95213d08b3",
            },
        })
    evpn_one = junipermist.site.EvpnTopology("evpn_one",
        site_id="87e30472-720a-42c5-acd9-ac95213d08b3",
        name="evpn_one",
        evpn_options={
            "routed_at": "core",
            "overlay": {
                "as_": 65000,
            },
            "core_as_border": True,
            "auto_loopback_subnet": "172.16.192.0/24",
            "auto_loopback_subnet6": "fd33:ab00:2::/64",
            "per_vlan_vga_v4_mac": False,
            "underlay": {
                "as_base": 65001,
                "use_ipv6": False,
                "subnet": "10.255.240.0/20",
            },
            "auto_router_id_subnet": "172.16.254.0/23",
        },
        switches={
            "0200030001fe": {
                "role": "core",
            },
            "0200030001ff": {
                "role": "core",
            },
            "020003000200": {
                "role": "access",
            },
            "020003000201": {
                "role": "access",
            },
        },
        opts = pulumi.ResourceOptions(depends_on=[evpn_topology_switches]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist/org"
    	"github.com/pulumi/pulumi-junipermist/sdk/go/junipermist/site"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		evpnTopologySwitches, err := org.NewInventory(ctx, "evpn_topology_switches", &org.InventoryArgs{
    			OrgId: pulumi.String("c0c92f93-d702-4cb7-a661-aaca08cfcf74"),
    			Inventory: org.InventoryInventoryMap{
    				"HY5BD8EVMSRQRCV": &org.InventoryInventoryArgs{
    					SiteId: pulumi.String("87e30472-720a-42c5-acd9-ac95213d08b3"),
    				},
    				"P9ZRN52RXQEQNH5": &org.InventoryInventoryArgs{
    					SiteId: pulumi.String("87e30472-720a-42c5-acd9-ac95213d08b3"),
    				},
    				"HNCNY3DWSAKJFPB": &org.InventoryInventoryArgs{
    					SiteId: pulumi.String("87e30472-720a-42c5-acd9-ac95213d08b3"),
    				},
    				"GSK46S5XKH657DG": &org.InventoryInventoryArgs{
    					SiteId: pulumi.String("87e30472-720a-42c5-acd9-ac95213d08b3"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = site.NewEvpnTopology(ctx, "evpn_one", &site.EvpnTopologyArgs{
    			SiteId: pulumi.String("87e30472-720a-42c5-acd9-ac95213d08b3"),
    			Name:   pulumi.String("evpn_one"),
    			EvpnOptions: &site.EvpnTopologyEvpnOptionsArgs{
    				RoutedAt: pulumi.String("core"),
    				Overlay: &site.EvpnTopologyEvpnOptionsOverlayArgs{
    					As: pulumi.Int(65000),
    				},
    				CoreAsBorder:        pulumi.Bool(true),
    				AutoLoopbackSubnet:  pulumi.String("172.16.192.0/24"),
    				AutoLoopbackSubnet6: pulumi.String("fd33:ab00:2::/64"),
    				PerVlanVgaV4Mac:     pulumi.Bool(false),
    				Underlay: &site.EvpnTopologyEvpnOptionsUnderlayArgs{
    					AsBase:  pulumi.Int(65001),
    					UseIpv6: pulumi.Bool(false),
    					Subnet:  pulumi.String("10.255.240.0/20"),
    				},
    				AutoRouterIdSubnet: pulumi.String("172.16.254.0/23"),
    			},
    			Switches: site.EvpnTopologySwitchesMap{
    				"0200030001fe": &site.EvpnTopologySwitchesArgs{
    					Role: pulumi.String("core"),
    				},
    				"0200030001ff": &site.EvpnTopologySwitchesArgs{
    					Role: pulumi.String("core"),
    				},
    				"020003000200": &site.EvpnTopologySwitchesArgs{
    					Role: pulumi.String("access"),
    				},
    				"020003000201": &site.EvpnTopologySwitchesArgs{
    					Role: pulumi.String("access"),
    				},
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			evpnTopologySwitches,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using JuniperMist = Pulumi.JuniperMist;
    
    return await Deployment.RunAsync(() => 
    {
        var evpnTopologySwitches = new JuniperMist.Org.Inventory("evpn_topology_switches", new()
        {
            OrgId = "c0c92f93-d702-4cb7-a661-aaca08cfcf74",
            InventoryDetails = 
            {
                { "HY5BD8EVMSRQRCV", new JuniperMist.Org.Inputs.InventoryInventoryArgs
                {
                    SiteId = "87e30472-720a-42c5-acd9-ac95213d08b3",
                } },
                { "P9ZRN52RXQEQNH5", new JuniperMist.Org.Inputs.InventoryInventoryArgs
                {
                    SiteId = "87e30472-720a-42c5-acd9-ac95213d08b3",
                } },
                { "HNCNY3DWSAKJFPB", new JuniperMist.Org.Inputs.InventoryInventoryArgs
                {
                    SiteId = "87e30472-720a-42c5-acd9-ac95213d08b3",
                } },
                { "GSK46S5XKH657DG", new JuniperMist.Org.Inputs.InventoryInventoryArgs
                {
                    SiteId = "87e30472-720a-42c5-acd9-ac95213d08b3",
                } },
            },
        });
    
        var evpnOne = new JuniperMist.Site.EvpnTopology("evpn_one", new()
        {
            SiteId = "87e30472-720a-42c5-acd9-ac95213d08b3",
            Name = "evpn_one",
            EvpnOptions = new JuniperMist.Site.Inputs.EvpnTopologyEvpnOptionsArgs
            {
                RoutedAt = "core",
                Overlay = new JuniperMist.Site.Inputs.EvpnTopologyEvpnOptionsOverlayArgs
                {
                    As = 65000,
                },
                CoreAsBorder = true,
                AutoLoopbackSubnet = "172.16.192.0/24",
                AutoLoopbackSubnet6 = "fd33:ab00:2::/64",
                PerVlanVgaV4Mac = false,
                Underlay = new JuniperMist.Site.Inputs.EvpnTopologyEvpnOptionsUnderlayArgs
                {
                    AsBase = 65001,
                    UseIpv6 = false,
                    Subnet = "10.255.240.0/20",
                },
                AutoRouterIdSubnet = "172.16.254.0/23",
            },
            Switches = 
            {
                { "0200030001fe", new JuniperMist.Site.Inputs.EvpnTopologySwitchesArgs
                {
                    Role = "core",
                } },
                { "0200030001ff", new JuniperMist.Site.Inputs.EvpnTopologySwitchesArgs
                {
                    Role = "core",
                } },
                { "020003000200", new JuniperMist.Site.Inputs.EvpnTopologySwitchesArgs
                {
                    Role = "access",
                } },
                { "020003000201", new JuniperMist.Site.Inputs.EvpnTopologySwitchesArgs
                {
                    Role = "access",
                } },
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                evpnTopologySwitches,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.junipermist.org.Inventory;
    import com.pulumi.junipermist.org.InventoryArgs;
    import com.pulumi.junipermist.org.inputs.InventoryInventoryArgs;
    import com.pulumi.junipermist.site.EvpnTopology;
    import com.pulumi.junipermist.site.EvpnTopologyArgs;
    import com.pulumi.junipermist.site.inputs.EvpnTopologyEvpnOptionsArgs;
    import com.pulumi.junipermist.site.inputs.EvpnTopologyEvpnOptionsOverlayArgs;
    import com.pulumi.junipermist.site.inputs.EvpnTopologyEvpnOptionsUnderlayArgs;
    import com.pulumi.junipermist.site.inputs.EvpnTopologySwitchesArgs;
    import com.pulumi.resources.CustomResourceOptions;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var evpnTopologySwitches = new Inventory("evpnTopologySwitches", InventoryArgs.builder()
                .orgId("c0c92f93-d702-4cb7-a661-aaca08cfcf74")
                .inventory(Map.ofEntries(
                    Map.entry("HY5BD8EVMSRQRCV", InventoryInventoryArgs.builder()
                        .siteId("87e30472-720a-42c5-acd9-ac95213d08b3")
                        .build()),
                    Map.entry("P9ZRN52RXQEQNH5", InventoryInventoryArgs.builder()
                        .siteId("87e30472-720a-42c5-acd9-ac95213d08b3")
                        .build()),
                    Map.entry("HNCNY3DWSAKJFPB", InventoryInventoryArgs.builder()
                        .siteId("87e30472-720a-42c5-acd9-ac95213d08b3")
                        .build()),
                    Map.entry("GSK46S5XKH657DG", InventoryInventoryArgs.builder()
                        .siteId("87e30472-720a-42c5-acd9-ac95213d08b3")
                        .build())
                ))
                .build());
    
            var evpnOne = new EvpnTopology("evpnOne", EvpnTopologyArgs.builder()
                .siteId("87e30472-720a-42c5-acd9-ac95213d08b3")
                .name("evpn_one")
                .evpnOptions(EvpnTopologyEvpnOptionsArgs.builder()
                    .routedAt("core")
                    .overlay(EvpnTopologyEvpnOptionsOverlayArgs.builder()
                        .as(65000)
                        .build())
                    .coreAsBorder(true)
                    .autoLoopbackSubnet("172.16.192.0/24")
                    .autoLoopbackSubnet6("fd33:ab00:2::/64")
                    .perVlanVgaV4Mac(false)
                    .underlay(EvpnTopologyEvpnOptionsUnderlayArgs.builder()
                        .asBase(65001)
                        .useIpv6(false)
                        .subnet("10.255.240.0/20")
                        .build())
                    .autoRouterIdSubnet("172.16.254.0/23")
                    .build())
                .switches(Map.ofEntries(
                    Map.entry("0200030001fe", EvpnTopologySwitchesArgs.builder()
                        .role("core")
                        .build()),
                    Map.entry("0200030001ff", EvpnTopologySwitchesArgs.builder()
                        .role("core")
                        .build()),
                    Map.entry("020003000200", EvpnTopologySwitchesArgs.builder()
                        .role("access")
                        .build()),
                    Map.entry("020003000201", EvpnTopologySwitchesArgs.builder()
                        .role("access")
                        .build())
                ))
                .build(), CustomResourceOptions.builder()
                    .dependsOn(evpnTopologySwitches)
                    .build());
    
        }
    }
    
    resources:
      evpnTopologySwitches:
        type: junipermist:org:Inventory
        name: evpn_topology_switches
        properties:
          orgId: c0c92f93-d702-4cb7-a661-aaca08cfcf74
          inventory:
            HY5BD8EVMSRQRCV:
              siteId: 87e30472-720a-42c5-acd9-ac95213d08b3
            P9ZRN52RXQEQNH5:
              siteId: 87e30472-720a-42c5-acd9-ac95213d08b3
            HNCNY3DWSAKJFPB:
              siteId: 87e30472-720a-42c5-acd9-ac95213d08b3
            GSK46S5XKH657DG:
              siteId: 87e30472-720a-42c5-acd9-ac95213d08b3
      evpnOne:
        type: junipermist:site:EvpnTopology
        name: evpn_one
        properties:
          siteId: 87e30472-720a-42c5-acd9-ac95213d08b3
          name: evpn_one
          evpnOptions:
            routedAt: core
            overlay:
              as: 65000
            coreAsBorder: true
            autoLoopbackSubnet: 172.16.192.0/24
            autoLoopbackSubnet6: fd33:ab00:2::/64
            perVlanVgaV4Mac: false
            underlay:
              asBase: 65001
              useIpv6: false
              subnet: 10.255.240.0/20
            autoRouterIdSubnet: 172.16.254.0/23
          switches:
            0200030001fe:
              role: core
            0200030001ff:
              role: core
            '020003000200':
              role: access
            '020003000201':
              role: access
        options:
          dependsOn:
            - ${evpnTopologySwitches}
    
    terraform {
      required_providers {
        junipermist = {
          source = "pulumi/junipermist"
        }
      }
    }
    
    resource "junipermist_org_inventory" "evpn_topology_switches" {
      lifecycle {
        create_before_destroy = true
      }
      org_id = "c0c92f93-d702-4cb7-a661-aaca08cfcf74"
      inventory = {
        "HY5BD8EVMSRQRCV" = {
          site_id = "87e30472-720a-42c5-acd9-ac95213d08b3"
        }
        "P9ZRN52RXQEQNH5" = {
          site_id = "87e30472-720a-42c5-acd9-ac95213d08b3"
        }
        "HNCNY3DWSAKJFPB" = {
          site_id = "87e30472-720a-42c5-acd9-ac95213d08b3"
        }
        "GSK46S5XKH657DG" = {
          site_id = "87e30472-720a-42c5-acd9-ac95213d08b3"
        }
      }
    }
    resource "junipermist_site_evpn_topology" "evpn_one" {
      depends_on = [junipermist_org_inventory.evpn_topology_switches]
      lifecycle {
        create_before_destroy = true
      }
      site_id = "87e30472-720a-42c5-acd9-ac95213d08b3"
      name    = "evpn_one"
      evpn_options = {
        routed_at = "core"
        overlay = {
          as = 65000
        }
        core_as_border        = true
        auto_loopback_subnet  = "172.16.192.0/24"
        auto_loopback_subnet6 = "fd33:ab00:2::/64"
        per_vlan_vga_v4_mac   = false
        underlay = {
          as_base  = 65001
          use_ipv6 = false
          subnet   = "10.255.240.0/20"
        }
        auto_router_id_subnet = "172.16.254.0/23"
      }
      switches = {
        "0200030001fe" = {
          role = "core"
        }
        "0200030001ff" = {
          role = "core"
        }
        "020003000200" = {
          role = "access"
        }
        "020003000201" = {
          role = "access"
        }
      }
    }
    

    Create EvpnTopology Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EvpnTopology(name: string, args: EvpnTopologyArgs, opts?: CustomResourceOptions);
    @overload
    def EvpnTopology(resource_name: str,
                     args: EvpnTopologyArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def EvpnTopology(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     site_id: Optional[str] = None,
                     switches: Optional[Mapping[str, EvpnTopologySwitchesArgs]] = None,
                     evpn_options: Optional[EvpnTopologyEvpnOptionsArgs] = None,
                     name: Optional[str] = None,
                     pod_names: Optional[Mapping[str, str]] = None)
    func NewEvpnTopology(ctx *Context, name string, args EvpnTopologyArgs, opts ...ResourceOption) (*EvpnTopology, error)
    public EvpnTopology(string name, EvpnTopologyArgs args, CustomResourceOptions? opts = null)
    public EvpnTopology(String name, EvpnTopologyArgs args)
    public EvpnTopology(String name, EvpnTopologyArgs args, CustomResourceOptions options)
    
    type: junipermist:site:EvpnTopology
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "junipermist_site_evpn_topology" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EvpnTopologyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EvpnTopologyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EvpnTopologyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EvpnTopologyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EvpnTopologyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var junipermistEvpnTopologyResource = new JuniperMist.Site.EvpnTopology("junipermistEvpnTopologyResource", new()
    {
        SiteId = "string",
        Switches = 
        {
            { "string", new JuniperMist.Site.Inputs.EvpnTopologySwitchesArgs
            {
                Role = "string",
                Pod = 0,
                Pods = new[]
                {
                    0,
                },
            } },
        },
        EvpnOptions = new JuniperMist.Site.Inputs.EvpnTopologyEvpnOptionsArgs
        {
            AutoLoopbackSubnet = "string",
            AutoLoopbackSubnet6 = "string",
            AutoRouterIdSubnet = "string",
            AutoRouterIdSubnet6 = "string",
            CoreAsBorder = false,
            EnableInbandMgmt = false,
            EnableInbandZtp = false,
            Overlay = new JuniperMist.Site.Inputs.EvpnTopologyEvpnOptionsOverlayArgs
            {
                As = 0,
            },
            PerVlanVgaV4Mac = false,
            PerVlanVgaV6Mac = false,
            RoutedAt = "string",
            Underlay = new JuniperMist.Site.Inputs.EvpnTopologyEvpnOptionsUnderlayArgs
            {
                AsBase = 0,
                RoutedIdPrefix = "string",
                Subnet = "string",
                UseIpv6 = false,
            },
            VsInstances = 
            {
                { "string", new JuniperMist.Site.Inputs.EvpnTopologyEvpnOptionsVsInstancesArgs
                {
                    Networks = new[]
                    {
                        "string",
                    },
                } },
            },
        },
        Name = "string",
        PodNames = 
        {
            { "string", "string" },
        },
    });
    
    example, err := site.NewEvpnTopology(ctx, "junipermistEvpnTopologyResource", &site.EvpnTopologyArgs{
    	SiteId: pulumi.String("string"),
    	Switches: site.EvpnTopologySwitchesMap{
    		"string": &site.EvpnTopologySwitchesArgs{
    			Role: pulumi.String("string"),
    			Pod:  pulumi.Int(0),
    			Pods: pulumi.IntArray{
    				pulumi.Int(0),
    			},
    		},
    	},
    	EvpnOptions: &site.EvpnTopologyEvpnOptionsArgs{
    		AutoLoopbackSubnet:  pulumi.String("string"),
    		AutoLoopbackSubnet6: pulumi.String("string"),
    		AutoRouterIdSubnet:  pulumi.String("string"),
    		AutoRouterIdSubnet6: pulumi.String("string"),
    		CoreAsBorder:        pulumi.Bool(false),
    		EnableInbandMgmt:    pulumi.Bool(false),
    		EnableInbandZtp:     pulumi.Bool(false),
    		Overlay: &site.EvpnTopologyEvpnOptionsOverlayArgs{
    			As: pulumi.Int(0),
    		},
    		PerVlanVgaV4Mac: pulumi.Bool(false),
    		PerVlanVgaV6Mac: pulumi.Bool(false),
    		RoutedAt:        pulumi.String("string"),
    		Underlay: &site.EvpnTopologyEvpnOptionsUnderlayArgs{
    			AsBase:         pulumi.Int(0),
    			RoutedIdPrefix: pulumi.String("string"),
    			Subnet:         pulumi.String("string"),
    			UseIpv6:        pulumi.Bool(false),
    		},
    		VsInstances: site.EvpnTopologyEvpnOptionsVsInstancesMap{
    			"string": &site.EvpnTopologyEvpnOptionsVsInstancesArgs{
    				Networks: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Name: pulumi.String("string"),
    	PodNames: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "junipermist_site_evpn_topology" "junipermistEvpnTopologyResource" {
      lifecycle {
        create_before_destroy = true
      }
      site_id = "string"
      switches = {
        "string" = {
          role = "string"
          pod  = 0
          pods = [0]
        }
      }
      evpn_options = {
        auto_loopback_subnet   = "string"
        auto_loopback_subnet6  = "string"
        auto_router_id_subnet  = "string"
        auto_router_id_subnet6 = "string"
        core_as_border         = false
        enable_inband_mgmt     = false
        enable_inband_ztp      = false
        overlay = {
          as = 0
        }
        per_vlan_vga_v4_mac = false
        per_vlan_vga_v6_mac = false
        routed_at           = "string"
        underlay = {
          as_base          = 0
          routed_id_prefix = "string"
          subnet           = "string"
          use_ipv6         = false
        }
        vs_instances = {
          "string" = {
            networks = ["string"]
          }
        }
      }
      name = "string"
      pod_names = {
        "string" = "string"
      }
    }
    
    var junipermistEvpnTopologyResource = new com.pulumi.junipermist.site.EvpnTopology("junipermistEvpnTopologyResource", com.pulumi.junipermist.site.EvpnTopologyArgs.builder()
        .siteId("string")
        .switches(Map.of("string", com.pulumi.junipermist.site.inputs.EvpnTopologySwitchesArgs.builder()
            .role("string")
            .pod(0)
            .pods(0)
            .build()))
        .evpnOptions(com.pulumi.junipermist.site.inputs.EvpnTopologyEvpnOptionsArgs.builder()
            .autoLoopbackSubnet("string")
            .autoLoopbackSubnet6("string")
            .autoRouterIdSubnet("string")
            .autoRouterIdSubnet6("string")
            .coreAsBorder(false)
            .enableInbandMgmt(false)
            .enableInbandZtp(false)
            .overlay(com.pulumi.junipermist.site.inputs.EvpnTopologyEvpnOptionsOverlayArgs.builder()
                .as(0)
                .build())
            .perVlanVgaV4Mac(false)
            .perVlanVgaV6Mac(false)
            .routedAt("string")
            .underlay(com.pulumi.junipermist.site.inputs.EvpnTopologyEvpnOptionsUnderlayArgs.builder()
                .asBase(0)
                .routedIdPrefix("string")
                .subnet("string")
                .useIpv6(false)
                .build())
            .vsInstances(Map.of("string", com.pulumi.junipermist.site.inputs.EvpnTopologyEvpnOptionsVsInstancesArgs.builder()
                .networks("string")
                .build()))
            .build())
        .name("string")
        .podNames(Map.of("string", "string"))
        .build());
    
    junipermist_evpn_topology_resource = junipermist.site.EvpnTopology("junipermistEvpnTopologyResource",
        site_id="string",
        switches={
            "string": {
                "role": "string",
                "pod": 0,
                "pods": [0],
            },
        },
        evpn_options={
            "auto_loopback_subnet": "string",
            "auto_loopback_subnet6": "string",
            "auto_router_id_subnet": "string",
            "auto_router_id_subnet6": "string",
            "core_as_border": False,
            "enable_inband_mgmt": False,
            "enable_inband_ztp": False,
            "overlay": {
                "as_": 0,
            },
            "per_vlan_vga_v4_mac": False,
            "per_vlan_vga_v6_mac": False,
            "routed_at": "string",
            "underlay": {
                "as_base": 0,
                "routed_id_prefix": "string",
                "subnet": "string",
                "use_ipv6": False,
            },
            "vs_instances": {
                "string": {
                    "networks": ["string"],
                },
            },
        },
        name="string",
        pod_names={
            "string": "string",
        })
    
    const junipermistEvpnTopologyResource = new junipermist.site.EvpnTopology("junipermistEvpnTopologyResource", {
        siteId: "string",
        switches: {
            string: {
                role: "string",
                pod: 0,
                pods: [0],
            },
        },
        evpnOptions: {
            autoLoopbackSubnet: "string",
            autoLoopbackSubnet6: "string",
            autoRouterIdSubnet: "string",
            autoRouterIdSubnet6: "string",
            coreAsBorder: false,
            enableInbandMgmt: false,
            enableInbandZtp: false,
            overlay: {
                as: 0,
            },
            perVlanVgaV4Mac: false,
            perVlanVgaV6Mac: false,
            routedAt: "string",
            underlay: {
                asBase: 0,
                routedIdPrefix: "string",
                subnet: "string",
                useIpv6: false,
            },
            vsInstances: {
                string: {
                    networks: ["string"],
                },
            },
        },
        name: "string",
        podNames: {
            string: "string",
        },
    });
    
    type: junipermist:site:EvpnTopology
    properties:
        evpnOptions:
            autoLoopbackSubnet: string
            autoLoopbackSubnet6: string
            autoRouterIdSubnet: string
            autoRouterIdSubnet6: string
            coreAsBorder: false
            enableInbandMgmt: false
            enableInbandZtp: false
            overlay:
                as: 0
            perVlanVgaV4Mac: false
            perVlanVgaV6Mac: false
            routedAt: string
            underlay:
                asBase: 0
                routedIdPrefix: string
                subnet: string
                useIpv6: false
            vsInstances:
                string:
                    networks:
                        - string
        name: string
        podNames:
            string: string
        siteId: string
        switches:
            string:
                pod: 0
                pods:
                    - 0
                role: string
    

    EvpnTopology Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EvpnTopology resource accepts the following input properties:

    SiteId string
    Site associated with the EVPN topology
    Switches Dictionary<string, Pulumi.JuniperMist.Site.Inputs.EvpnTopologySwitchesArgs>
    Topology member switches, roles, and links
    EvpnOptions Pulumi.JuniperMist.Site.Inputs.EvpnTopologyEvpnOptions
    Generation options applied to the EVPN topology
    Name string
    Display name for the EVPN topology
    PodNames Dictionary<string, string>
    Property key is the pod number
    SiteId string
    Site associated with the EVPN topology
    Switches map[string]EvpnTopologySwitchesArgs
    Topology member switches, roles, and links
    EvpnOptions EvpnTopologyEvpnOptionsArgs
    Generation options applied to the EVPN topology
    Name string
    Display name for the EVPN topology
    PodNames map[string]string
    Property key is the pod number
    site_id string
    Site associated with the EVPN topology
    switches map(object)
    Topology member switches, roles, and links
    evpn_options object
    Generation options applied to the EVPN topology
    name string
    Display name for the EVPN topology
    pod_names map(string)
    Property key is the pod number
    siteId String
    Site associated with the EVPN topology
    switches Map<String,EvpnTopologySwitchesArgs>
    Topology member switches, roles, and links
    evpnOptions EvpnTopologyEvpnOptions
    Generation options applied to the EVPN topology
    name String
    Display name for the EVPN topology
    podNames Map<String,String>
    Property key is the pod number
    siteId string
    Site associated with the EVPN topology
    switches {[key: string]: EvpnTopologySwitchesArgs}
    Topology member switches, roles, and links
    evpnOptions EvpnTopologyEvpnOptions
    Generation options applied to the EVPN topology
    name string
    Display name for the EVPN topology
    podNames {[key: string]: string}
    Property key is the pod number
    site_id str
    Site associated with the EVPN topology
    switches Mapping[str, EvpnTopologySwitchesArgs]
    Topology member switches, roles, and links
    evpn_options EvpnTopologyEvpnOptionsArgs
    Generation options applied to the EVPN topology
    name str
    Display name for the EVPN topology
    pod_names Mapping[str, str]
    Property key is the pod number
    siteId String
    Site associated with the EVPN topology
    switches Map<Property Map>
    Topology member switches, roles, and links
    evpnOptions Property Map
    Generation options applied to the EVPN topology
    name String
    Display name for the EVPN topology
    podNames Map<String>
    Property key is the pod number

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EvpnTopology resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    Organization that owns the EVPN topology
    Id string
    The provider-assigned unique ID for this managed resource.
    OrgId string
    Organization that owns the EVPN topology
    id string
    The provider-assigned unique ID for this managed resource.
    org_id string
    Organization that owns the EVPN topology
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    Organization that owns the EVPN topology
    id string
    The provider-assigned unique ID for this managed resource.
    orgId string
    Organization that owns the EVPN topology
    id str
    The provider-assigned unique ID for this managed resource.
    org_id str
    Organization that owns the EVPN topology
    id String
    The provider-assigned unique ID for this managed resource.
    orgId String
    Organization that owns the EVPN topology

    Look up Existing EvpnTopology Resource

    Get an existing EvpnTopology resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EvpnTopologyState, opts?: CustomResourceOptions): EvpnTopology
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            evpn_options: Optional[EvpnTopologyEvpnOptionsArgs] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            pod_names: Optional[Mapping[str, str]] = None,
            site_id: Optional[str] = None,
            switches: Optional[Mapping[str, EvpnTopologySwitchesArgs]] = None) -> EvpnTopology
    func GetEvpnTopology(ctx *Context, name string, id IDInput, state *EvpnTopologyState, opts ...ResourceOption) (*EvpnTopology, error)
    public static EvpnTopology Get(string name, Input<string> id, EvpnTopologyState? state, CustomResourceOptions? opts = null)
    public static EvpnTopology get(String name, Output<String> id, EvpnTopologyState state, CustomResourceOptions options)
    resources:  existingEvpnTopology:    type: junipermist:site:EvpnTopology    get:      id: ${id}
    import {
      to = junipermist_site_evpn_topology.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state EvpnTopologyState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state EvpnTopologyState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state EvpnTopologyState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state EvpnTopologyState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    EvpnOptions Pulumi.JuniperMist.Site.Inputs.EvpnTopologyEvpnOptions
    Generation options applied to the EVPN topology
    Name string
    Display name for the EVPN topology
    OrgId string
    Organization that owns the EVPN topology
    PodNames Dictionary<string, string>
    Property key is the pod number
    SiteId string
    Site associated with the EVPN topology
    Switches Dictionary<string, Pulumi.JuniperMist.Site.Inputs.EvpnTopologySwitchesArgs>
    Topology member switches, roles, and links
    EvpnOptions EvpnTopologyEvpnOptionsArgs
    Generation options applied to the EVPN topology
    Name string
    Display name for the EVPN topology
    OrgId string
    Organization that owns the EVPN topology
    PodNames map[string]string
    Property key is the pod number
    SiteId string
    Site associated with the EVPN topology
    Switches map[string]EvpnTopologySwitchesArgs
    Topology member switches, roles, and links
    evpn_options object
    Generation options applied to the EVPN topology
    name string
    Display name for the EVPN topology
    org_id string
    Organization that owns the EVPN topology
    pod_names map(string)
    Property key is the pod number
    site_id string
    Site associated with the EVPN topology
    switches map(object)
    Topology member switches, roles, and links
    evpnOptions EvpnTopologyEvpnOptions
    Generation options applied to the EVPN topology
    name String
    Display name for the EVPN topology
    orgId String
    Organization that owns the EVPN topology
    podNames Map<String,String>
    Property key is the pod number
    siteId String
    Site associated with the EVPN topology
    switches Map<String,EvpnTopologySwitchesArgs>
    Topology member switches, roles, and links
    evpnOptions EvpnTopologyEvpnOptions
    Generation options applied to the EVPN topology
    name string
    Display name for the EVPN topology
    orgId string
    Organization that owns the EVPN topology
    podNames {[key: string]: string}
    Property key is the pod number
    siteId string
    Site associated with the EVPN topology
    switches {[key: string]: EvpnTopologySwitchesArgs}
    Topology member switches, roles, and links
    evpn_options EvpnTopologyEvpnOptionsArgs
    Generation options applied to the EVPN topology
    name str
    Display name for the EVPN topology
    org_id str
    Organization that owns the EVPN topology
    pod_names Mapping[str, str]
    Property key is the pod number
    site_id str
    Site associated with the EVPN topology
    switches Mapping[str, EvpnTopologySwitchesArgs]
    Topology member switches, roles, and links
    evpnOptions Property Map
    Generation options applied to the EVPN topology
    name String
    Display name for the EVPN topology
    orgId String
    Organization that owns the EVPN topology
    podNames Map<String>
    Property key is the pod number
    siteId String
    Site associated with the EVPN topology
    switches Map<Property Map>
    Topology member switches, roles, and links

    Supporting Types

    EvpnTopologyEvpnOptions, EvpnTopologyEvpnOptionsArgs

    AutoLoopbackSubnet string
    Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
    AutoLoopbackSubnet6 string
    Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
    AutoRouterIdSubnet string
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    AutoRouterIdSubnet6 string
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    CoreAsBorder bool
    Optional, for ERB or CLOS, you can either use esilag to upstream routers or to also be the virtual-gateway. When routedAt != core, whether to do virtual-gateway at core as well
    EnableInbandMgmt bool
    Whether to route management traffic inband; routes will be propagated to downstream switches
    EnableInbandZtp bool
    if the mangement traffic goes inbnd, during installation, only the border/core switches are connected to the Internet to allow initial configuration to be pushed down and leave the downstream access switches stay in the Factory Default state enabling inband-ztp allows upstream switches to use LLDP to assign IP and gives Internet to downstream switches in that state
    Overlay Pulumi.JuniperMist.Site.Inputs.EvpnTopologyEvpnOptionsOverlay
    EVPN overlay BGP settings for the topology
    PerVlanVgaV4Mac bool
    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-0X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    PerVlanVgaV6Mac bool
    Only for by Core-Distribution architecture when evpn_options.routed_at==core. By default, JUNOS uses 00-00-5e-00-02-01 as the virtual-gateway-address's v6_mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    RoutedAt string
    Topology tier where EVPN virtual gateway routing is placed. enum: core, distribution, edge.
    Underlay Pulumi.JuniperMist.Site.Inputs.EvpnTopologyEvpnOptionsUnderlay
    EVPN underlay BGP and subnet settings for the topology
    VsInstances Dictionary<string, Pulumi.JuniperMist.Site.Inputs.EvpnTopologyEvpnOptionsVsInstances>
    Virtual-switch instance mappings used to segregate EVPN networks
    AutoLoopbackSubnet string
    Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
    AutoLoopbackSubnet6 string
    Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
    AutoRouterIdSubnet string
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    AutoRouterIdSubnet6 string
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    CoreAsBorder bool
    Optional, for ERB or CLOS, you can either use esilag to upstream routers or to also be the virtual-gateway. When routedAt != core, whether to do virtual-gateway at core as well
    EnableInbandMgmt bool
    Whether to route management traffic inband; routes will be propagated to downstream switches
    EnableInbandZtp bool
    if the mangement traffic goes inbnd, during installation, only the border/core switches are connected to the Internet to allow initial configuration to be pushed down and leave the downstream access switches stay in the Factory Default state enabling inband-ztp allows upstream switches to use LLDP to assign IP and gives Internet to downstream switches in that state
    Overlay EvpnTopologyEvpnOptionsOverlay
    EVPN overlay BGP settings for the topology
    PerVlanVgaV4Mac bool
    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-0X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    PerVlanVgaV6Mac bool
    Only for by Core-Distribution architecture when evpn_options.routed_at==core. By default, JUNOS uses 00-00-5e-00-02-01 as the virtual-gateway-address's v6_mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    RoutedAt string
    Topology tier where EVPN virtual gateway routing is placed. enum: core, distribution, edge.
    Underlay EvpnTopologyEvpnOptionsUnderlay
    EVPN underlay BGP and subnet settings for the topology
    VsInstances map[string]EvpnTopologyEvpnOptionsVsInstances
    Virtual-switch instance mappings used to segregate EVPN networks
    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
    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
    auto_router_id_subnet string
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    auto_router_id_subnet6 string
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    core_as_border bool
    Optional, for ERB or CLOS, you can either use esilag to upstream routers or to also be the virtual-gateway. When routedAt != core, whether to do virtual-gateway at core as well
    enable_inband_mgmt bool
    Whether to route management traffic inband; routes will be propagated to downstream switches
    enable_inband_ztp bool
    if the mangement traffic goes inbnd, during installation, only the border/core switches are connected to the Internet to allow initial configuration to be pushed down and leave the downstream access switches stay in the Factory Default state enabling inband-ztp allows upstream switches to use LLDP to assign IP and gives Internet to downstream switches in that state
    overlay object
    EVPN overlay BGP settings for the topology
    per_vlan_vga_v4_mac bool
    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-0X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    per_vlan_vga_v6_mac bool
    Only for by Core-Distribution architecture when evpn_options.routed_at==core. By default, JUNOS uses 00-00-5e-00-02-01 as the virtual-gateway-address's v6_mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    routed_at string
    Topology tier where EVPN virtual gateway routing is placed. enum: core, distribution, edge.
    underlay object
    EVPN underlay BGP and subnet settings for the topology
    vs_instances map(object)
    Virtual-switch instance mappings used to segregate EVPN networks
    autoLoopbackSubnet String
    Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
    autoLoopbackSubnet6 String
    Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
    autoRouterIdSubnet String
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    autoRouterIdSubnet6 String
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    coreAsBorder Boolean
    Optional, for ERB or CLOS, you can either use esilag to upstream routers or to also be the virtual-gateway. When routedAt != core, whether to do virtual-gateway at core as well
    enableInbandMgmt Boolean
    Whether to route management traffic inband; routes will be propagated to downstream switches
    enableInbandZtp Boolean
    if the mangement traffic goes inbnd, during installation, only the border/core switches are connected to the Internet to allow initial configuration to be pushed down and leave the downstream access switches stay in the Factory Default state enabling inband-ztp allows upstream switches to use LLDP to assign IP and gives Internet to downstream switches in that state
    overlay EvpnTopologyEvpnOptionsOverlay
    EVPN overlay BGP settings for the topology
    perVlanVgaV4Mac 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-0X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    perVlanVgaV6Mac Boolean
    Only for by Core-Distribution architecture when evpn_options.routed_at==core. By default, JUNOS uses 00-00-5e-00-02-01 as the virtual-gateway-address's v6_mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    routedAt String
    Topology tier where EVPN virtual gateway routing is placed. enum: core, distribution, edge.
    underlay EvpnTopologyEvpnOptionsUnderlay
    EVPN underlay BGP and subnet settings for the topology
    vsInstances Map<String,EvpnTopologyEvpnOptionsVsInstances>
    Virtual-switch instance mappings used to segregate EVPN networks
    autoLoopbackSubnet string
    Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
    autoLoopbackSubnet6 string
    Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
    autoRouterIdSubnet string
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    autoRouterIdSubnet6 string
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    coreAsBorder boolean
    Optional, for ERB or CLOS, you can either use esilag to upstream routers or to also be the virtual-gateway. When routedAt != core, whether to do virtual-gateway at core as well
    enableInbandMgmt boolean
    Whether to route management traffic inband; routes will be propagated to downstream switches
    enableInbandZtp boolean
    if the mangement traffic goes inbnd, during installation, only the border/core switches are connected to the Internet to allow initial configuration to be pushed down and leave the downstream access switches stay in the Factory Default state enabling inband-ztp allows upstream switches to use LLDP to assign IP and gives Internet to downstream switches in that state
    overlay EvpnTopologyEvpnOptionsOverlay
    EVPN overlay BGP settings for the topology
    perVlanVgaV4Mac 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-0X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    perVlanVgaV6Mac boolean
    Only for by Core-Distribution architecture when evpn_options.routed_at==core. By default, JUNOS uses 00-00-5e-00-02-01 as the virtual-gateway-address's v6_mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    routedAt string
    Topology tier where EVPN virtual gateway routing is placed. enum: core, distribution, edge.
    underlay EvpnTopologyEvpnOptionsUnderlay
    EVPN underlay BGP and subnet settings for the topology
    vsInstances {[key: string]: EvpnTopologyEvpnOptionsVsInstances}
    Virtual-switch instance mappings used to segregate EVPN networks
    auto_loopback_subnet str
    Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
    auto_loopback_subnet6 str
    Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
    auto_router_id_subnet str
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    auto_router_id_subnet6 str
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    core_as_border bool
    Optional, for ERB or CLOS, you can either use esilag to upstream routers or to also be the virtual-gateway. When routedAt != core, whether to do virtual-gateway at core as well
    enable_inband_mgmt bool
    Whether to route management traffic inband; routes will be propagated to downstream switches
    enable_inband_ztp bool
    if the mangement traffic goes inbnd, during installation, only the border/core switches are connected to the Internet to allow initial configuration to be pushed down and leave the downstream access switches stay in the Factory Default state enabling inband-ztp allows upstream switches to use LLDP to assign IP and gives Internet to downstream switches in that state
    overlay EvpnTopologyEvpnOptionsOverlay
    EVPN overlay BGP settings for the topology
    per_vlan_vga_v4_mac bool
    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-0X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    per_vlan_vga_v6_mac bool
    Only for by Core-Distribution architecture when evpn_options.routed_at==core. By default, JUNOS uses 00-00-5e-00-02-01 as the virtual-gateway-address's v6_mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    routed_at str
    Topology tier where EVPN virtual gateway routing is placed. enum: core, distribution, edge.
    underlay EvpnTopologyEvpnOptionsUnderlay
    EVPN underlay BGP and subnet settings for the topology
    vs_instances Mapping[str, EvpnTopologyEvpnOptionsVsInstances]
    Virtual-switch instance mappings used to segregate EVPN networks
    autoLoopbackSubnet String
    Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
    autoLoopbackSubnet6 String
    Optional, for dhcp_relay, unique loopback IPs are required for ERB or IPClos where we can set option-82 server_id-overrides
    autoRouterIdSubnet String
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    autoRouterIdSubnet6 String
    Optional, this generates routerId automatically, if specified, routerIdPrefix is ignored
    coreAsBorder Boolean
    Optional, for ERB or CLOS, you can either use esilag to upstream routers or to also be the virtual-gateway. When routedAt != core, whether to do virtual-gateway at core as well
    enableInbandMgmt Boolean
    Whether to route management traffic inband; routes will be propagated to downstream switches
    enableInbandZtp Boolean
    if the mangement traffic goes inbnd, during installation, only the border/core switches are connected to the Internet to allow initial configuration to be pushed down and leave the downstream access switches stay in the Factory Default state enabling inband-ztp allows upstream switches to use LLDP to assign IP and gives Internet to downstream switches in that state
    overlay Property Map
    EVPN overlay BGP settings for the topology
    perVlanVgaV4Mac 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-0X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    perVlanVgaV6Mac Boolean
    Only for by Core-Distribution architecture when evpn_options.routed_at==core. By default, JUNOS uses 00-00-5e-00-02-01 as the virtual-gateway-address's v6_mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlan_id/256, YY=vlan_id%256)
    routedAt String
    Topology tier where EVPN virtual gateway routing is placed. enum: core, distribution, edge.
    underlay Property Map
    EVPN underlay BGP and subnet settings for the topology
    vsInstances Map<Property Map>
    Virtual-switch instance mappings used to segregate EVPN networks

    EvpnTopologyEvpnOptionsOverlay, EvpnTopologyEvpnOptionsOverlayArgs

    As int
    Overlay BGP Local AS Number
    As int
    Overlay BGP Local AS Number
    as number
    Overlay BGP Local AS Number
    as Integer
    Overlay BGP Local AS Number
    as number
    Overlay BGP Local AS Number
    as_ int
    Overlay BGP Local AS Number
    as Number
    Overlay BGP Local AS Number

    EvpnTopologyEvpnOptionsUnderlay, EvpnTopologyEvpnOptionsUnderlayArgs

    AsBase int
    Underlay BGP Base AS Number
    RoutedIdPrefix string
    Prefix length used for automatically derived underlay router identifiers
    Subnet string
    Underlay subnet, by default, 10.255.240.0/20, or fd31:5700::/64 for ipv6
    UseIpv6 bool
    If v6 is desired for underlay
    AsBase int
    Underlay BGP Base AS Number
    RoutedIdPrefix string
    Prefix length used for automatically derived underlay router identifiers
    Subnet string
    Underlay subnet, by default, 10.255.240.0/20, or fd31:5700::/64 for ipv6
    UseIpv6 bool
    If v6 is desired for underlay
    as_base number
    Underlay BGP Base AS Number
    routed_id_prefix string
    Prefix length used for automatically derived underlay router identifiers
    subnet string
    Underlay subnet, by default, 10.255.240.0/20, or fd31:5700::/64 for ipv6
    use_ipv6 bool
    If v6 is desired for underlay
    asBase Integer
    Underlay BGP Base AS Number
    routedIdPrefix String
    Prefix length used for automatically derived underlay router identifiers
    subnet String
    Underlay subnet, by default, 10.255.240.0/20, or fd31:5700::/64 for ipv6
    useIpv6 Boolean
    If v6 is desired for underlay
    asBase number
    Underlay BGP Base AS Number
    routedIdPrefix string
    Prefix length used for automatically derived underlay router identifiers
    subnet string
    Underlay subnet, by default, 10.255.240.0/20, or fd31:5700::/64 for ipv6
    useIpv6 boolean
    If v6 is desired for underlay
    as_base int
    Underlay BGP Base AS Number
    routed_id_prefix str
    Prefix length used for automatically derived underlay router identifiers
    subnet str
    Underlay subnet, by default, 10.255.240.0/20, or fd31:5700::/64 for ipv6
    use_ipv6 bool
    If v6 is desired for underlay
    asBase Number
    Underlay BGP Base AS Number
    routedIdPrefix String
    Prefix length used for automatically derived underlay router identifiers
    subnet String
    Underlay subnet, by default, 10.255.240.0/20, or fd31:5700::/64 for ipv6
    useIpv6 Boolean
    If v6 is desired for underlay

    EvpnTopologyEvpnOptionsVsInstances, EvpnTopologyEvpnOptionsVsInstancesArgs

    Networks List<string>
    List of network names included in this virtual-switch instance
    Networks []string
    List of network names included in this virtual-switch instance
    networks list(string)
    List of network names included in this virtual-switch instance
    networks List<String>
    List of network names included in this virtual-switch instance
    networks string[]
    List of network names included in this virtual-switch instance
    networks Sequence[str]
    List of network names included in this virtual-switch instance
    networks List<String>
    List of network names included in this virtual-switch instance

    EvpnTopologySwitches, EvpnTopologySwitchesArgs

    Role string
    EVPN topology role for this switch. enum: access, border, collapsed-core, core, distribution, esilag-access, none.
    Pod int
    Optionally, for distribution / access / esilag-access, they can be placed into different pods. e.g.

    • for CLOS, to group dist / access switches into pods
    • for ERB/CRB, to group dist / esilag-access into pods
    Pods List<int>
    List of pod numbers this switch participates in
    Role string
    EVPN topology role for this switch. enum: access, border, collapsed-core, core, distribution, esilag-access, none.
    Pod int
    Optionally, for distribution / access / esilag-access, they can be placed into different pods. e.g.

    • for CLOS, to group dist / access switches into pods
    • for ERB/CRB, to group dist / esilag-access into pods
    Pods []int
    List of pod numbers this switch participates in
    role string
    EVPN topology role for this switch. enum: access, border, collapsed-core, core, distribution, esilag-access, none.
    pod number
    Optionally, for distribution / access / esilag-access, they can be placed into different pods. e.g.

    • for CLOS, to group dist / access switches into pods
    • for ERB/CRB, to group dist / esilag-access into pods
    pods list(number)
    List of pod numbers this switch participates in
    role String
    EVPN topology role for this switch. enum: access, border, collapsed-core, core, distribution, esilag-access, none.
    pod Integer
    Optionally, for distribution / access / esilag-access, they can be placed into different pods. e.g.

    • for CLOS, to group dist / access switches into pods
    • for ERB/CRB, to group dist / esilag-access into pods
    pods List<Integer>
    List of pod numbers this switch participates in
    role string
    EVPN topology role for this switch. enum: access, border, collapsed-core, core, distribution, esilag-access, none.
    pod number
    Optionally, for distribution / access / esilag-access, they can be placed into different pods. e.g.

    • for CLOS, to group dist / access switches into pods
    • for ERB/CRB, to group dist / esilag-access into pods
    pods number[]
    List of pod numbers this switch participates in
    role str
    EVPN topology role for this switch. enum: access, border, collapsed-core, core, distribution, esilag-access, none.
    pod int
    Optionally, for distribution / access / esilag-access, they can be placed into different pods. e.g.

    • for CLOS, to group dist / access switches into pods
    • for ERB/CRB, to group dist / esilag-access into pods
    pods Sequence[int]
    List of pod numbers this switch participates in
    role String
    EVPN topology role for this switch. enum: access, border, collapsed-core, core, distribution, esilag-access, none.
    pod Number
    Optionally, for distribution / access / esilag-access, they can be placed into different pods. e.g.

    • for CLOS, to group dist / access switches into pods
    • for ERB/CRB, to group dist / esilag-access into pods
    pods List<Number>
    List of pod numbers this switch participates in

    Import

    Using pulumi import, import junipermist.site.EvpnTopology with: EVPN Topology can be imported by specifying the siteId and the evpnTopologyId

    $ pulumi import junipermist:site/evpnTopology:EvpnTopology evpn_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    junipermist pulumi/pulumi-junipermist
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mist Terraform Provider.
    junipermist logo Juniper Mist
    Viewing docs for Juniper Mist v0.13.2
    published on Thursday, Nov 12, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial