1. Packages
  2. Juniper Mist Provider
  3. API Docs
  4. site
  5. getEvpnTopologies
Juniper Mist v0.4.0 published on Wednesday, Apr 16, 2025 by Pulumi

junipermist.site.getEvpnTopologies

Explore with Pulumi AI

junipermist logo
Juniper Mist v0.4.0 published on Wednesday, Apr 16, 2025 by Pulumi

    This data source provides the list of Site Evpn Topologies

    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.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as junipermist from "@pulumi/junipermist";
    
    const siteEvpnTopologies = junipermist.site.getEvpnTopologies({
        siteId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
    });
    
    import pulumi
    import pulumi_junipermist as junipermist
    
    site_evpn_topologies = junipermist.site.get_evpn_topologies(site_id="15fca2ac-b1a6-47cc-9953-cc6906281550")
    
    package main
    
    import (
    	"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 {
    		_, err := site.GetEvpnTopologies(ctx, &site.GetEvpnTopologiesArgs{
    			SiteId: "15fca2ac-b1a6-47cc-9953-cc6906281550",
    		}, nil)
    		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 siteEvpnTopologies = JuniperMist.Site.GetEvpnTopologies.Invoke(new()
        {
            SiteId = "15fca2ac-b1a6-47cc-9953-cc6906281550",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.junipermist.site.SiteFunctions;
    import com.pulumi.junipermist.site.inputs.GetEvpnTopologiesArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            final var siteEvpnTopologies = SiteFunctions.getEvpnTopologies(GetEvpnTopologiesArgs.builder()
                .siteId("15fca2ac-b1a6-47cc-9953-cc6906281550")
                .build());
    
        }
    }
    
    variables:
      siteEvpnTopologies:
        fn::invoke:
          function: junipermist:site:getEvpnTopologies
          arguments:
            siteId: 15fca2ac-b1a6-47cc-9953-cc6906281550
    

    Using getEvpnTopologies

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getEvpnTopologies(args: GetEvpnTopologiesArgs, opts?: InvokeOptions): Promise<GetEvpnTopologiesResult>
    function getEvpnTopologiesOutput(args: GetEvpnTopologiesOutputArgs, opts?: InvokeOptions): Output<GetEvpnTopologiesResult>
    def get_evpn_topologies(site_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetEvpnTopologiesResult
    def get_evpn_topologies_output(site_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetEvpnTopologiesResult]
    func GetEvpnTopologies(ctx *Context, args *GetEvpnTopologiesArgs, opts ...InvokeOption) (*GetEvpnTopologiesResult, error)
    func GetEvpnTopologiesOutput(ctx *Context, args *GetEvpnTopologiesOutputArgs, opts ...InvokeOption) GetEvpnTopologiesResultOutput

    > Note: This function is named GetEvpnTopologies in the Go SDK.

    public static class GetEvpnTopologies 
    {
        public static Task<GetEvpnTopologiesResult> InvokeAsync(GetEvpnTopologiesArgs args, InvokeOptions? opts = null)
        public static Output<GetEvpnTopologiesResult> Invoke(GetEvpnTopologiesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEvpnTopologiesResult> getEvpnTopologies(GetEvpnTopologiesArgs args, InvokeOptions options)
    public static Output<GetEvpnTopologiesResult> getEvpnTopologies(GetEvpnTopologiesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: junipermist:site/getEvpnTopologies:getEvpnTopologies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SiteId string
    SiteId string
    siteId String
    siteId string
    siteId String

    getEvpnTopologies Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    SiteEvpnTopologies List<Pulumi.JuniperMist.Site.Outputs.GetEvpnTopologiesSiteEvpnTopology>
    SiteId string
    Id string
    The provider-assigned unique ID for this managed resource.
    SiteEvpnTopologies []GetEvpnTopologiesSiteEvpnTopology
    SiteId string
    id String
    The provider-assigned unique ID for this managed resource.
    siteEvpnTopologies List<GetEvpnTopologiesSiteEvpnTopology>
    siteId String
    id string
    The provider-assigned unique ID for this managed resource.
    siteEvpnTopologies GetEvpnTopologiesSiteEvpnTopology[]
    siteId string
    id str
    The provider-assigned unique ID for this managed resource.
    site_evpn_topologies Sequence[GetEvpnTopologiesSiteEvpnTopology]
    site_id str
    id String
    The provider-assigned unique ID for this managed resource.
    siteEvpnTopologies List<Property Map>
    siteId String

    Supporting Types

    GetEvpnTopologiesSiteEvpnTopology

    CreatedTime double
    When the object has been created, in epoch
    EvpnOptions Pulumi.JuniperMist.Site.Inputs.GetEvpnTopologiesSiteEvpnTopologyEvpnOptions
    EVPN Options
    Id string
    Unique ID of the object instance in the Mist Organization
    ModifiedTime double
    When the object has been modified for the last time, in epoch
    Name string
    PodNames Dictionary<string, string>
    Property key is the pod number
    SiteId string
    CreatedTime float64
    When the object has been created, in epoch
    EvpnOptions GetEvpnTopologiesSiteEvpnTopologyEvpnOptions
    EVPN Options
    Id string
    Unique ID of the object instance in the Mist Organization
    ModifiedTime float64
    When the object has been modified for the last time, in epoch
    Name string
    PodNames map[string]string
    Property key is the pod number
    SiteId string
    createdTime Double
    When the object has been created, in epoch
    evpnOptions GetEvpnTopologiesSiteEvpnTopologyEvpnOptions
    EVPN Options
    id String
    Unique ID of the object instance in the Mist Organization
    modifiedTime Double
    When the object has been modified for the last time, in epoch
    name String
    podNames Map<String,String>
    Property key is the pod number
    siteId String
    createdTime number
    When the object has been created, in epoch
    evpnOptions GetEvpnTopologiesSiteEvpnTopologyEvpnOptions
    EVPN Options
    id string
    Unique ID of the object instance in the Mist Organization
    modifiedTime number
    When the object has been modified for the last time, in epoch
    name string
    podNames {[key: string]: string}
    Property key is the pod number
    siteId string
    created_time float
    When the object has been created, in epoch
    evpn_options GetEvpnTopologiesSiteEvpnTopologyEvpnOptions
    EVPN Options
    id str
    Unique ID of the object instance in the Mist Organization
    modified_time float
    When the object has been modified for the last time, in epoch
    name str
    pod_names Mapping[str, str]
    Property key is the pod number
    site_id str
    createdTime Number
    When the object has been created, in epoch
    evpnOptions Property Map
    EVPN Options
    id String
    Unique ID of the object instance in the Mist Organization
    modifiedTime Number
    When the object has been modified for the last time, in epoch
    name String
    podNames Map<String>
    Property key is the pod number
    siteId String

    GetEvpnTopologiesSiteEvpnTopologyEvpnOptions

    AutoLoopbackSubnet string
    Optional, for dhcprelay, unique loopback IPs are required for ERB or IPClos where we can set option-82 serverid-overrides
    AutoLoopbackSubnet6 string
    Optional, for dhcprelay, unique loopback IPs are required for ERB or IPClos where we can set option-82 serverid-overrides
    AutoRouterIdSubnet string
    Optional, this generates router_id automatically, if specified, router_id_prefix is ignored
    AutoRouterIdSubnet6 string
    Optional, this generates router_id automatically, if specified, router_id_prefix 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 routed_at != core, whether to do virtual-gateway at core as well
    Overlay Pulumi.JuniperMist.Site.Inputs.GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsOverlay
    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 v4mac. If enabled, 00-00-5e-00-0X-YY will be used (where XX=vlanid/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 v6mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlanid/256, YY=vlan_id%256)
    RoutedAt string
    optional, where virtual-gateway should reside. enum: core, distribution, edge
    Underlay Pulumi.JuniperMist.Site.Inputs.GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsUnderlay
    VsInstances Dictionary<string, Pulumi.JuniperMist.Site.Inputs.GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsVsInstances>
    Optional, for EX9200 only to segregate virtual-switches
    AutoLoopbackSubnet string
    Optional, for dhcprelay, unique loopback IPs are required for ERB or IPClos where we can set option-82 serverid-overrides
    AutoLoopbackSubnet6 string
    Optional, for dhcprelay, unique loopback IPs are required for ERB or IPClos where we can set option-82 serverid-overrides
    AutoRouterIdSubnet string
    Optional, this generates router_id automatically, if specified, router_id_prefix is ignored
    AutoRouterIdSubnet6 string
    Optional, this generates router_id automatically, if specified, router_id_prefix 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 routed_at != core, whether to do virtual-gateway at core as well
    Overlay GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsOverlay
    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 v4mac. If enabled, 00-00-5e-00-0X-YY will be used (where XX=vlanid/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 v6mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlanid/256, YY=vlan_id%256)
    RoutedAt string
    optional, where virtual-gateway should reside. enum: core, distribution, edge
    Underlay GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsUnderlay
    VsInstances map[string]GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsVsInstances
    Optional, for EX9200 only to segregate virtual-switches
    autoLoopbackSubnet String
    Optional, for dhcprelay, unique loopback IPs are required for ERB or IPClos where we can set option-82 serverid-overrides
    autoLoopbackSubnet6 String
    Optional, for dhcprelay, unique loopback IPs are required for ERB or IPClos where we can set option-82 serverid-overrides
    autoRouterIdSubnet String
    Optional, this generates router_id automatically, if specified, router_id_prefix is ignored
    autoRouterIdSubnet6 String
    Optional, this generates router_id automatically, if specified, router_id_prefix 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 routed_at != core, whether to do virtual-gateway at core as well
    overlay GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsOverlay
    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 v4mac. If enabled, 00-00-5e-00-0X-YY will be used (where XX=vlanid/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 v6mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlanid/256, YY=vlan_id%256)
    routedAt String
    optional, where virtual-gateway should reside. enum: core, distribution, edge
    underlay GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsUnderlay
    vsInstances Map<String,GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsVsInstances>
    Optional, for EX9200 only to segregate virtual-switches
    autoLoopbackSubnet string
    Optional, for dhcprelay, unique loopback IPs are required for ERB or IPClos where we can set option-82 serverid-overrides
    autoLoopbackSubnet6 string
    Optional, for dhcprelay, unique loopback IPs are required for ERB or IPClos where we can set option-82 serverid-overrides
    autoRouterIdSubnet string
    Optional, this generates router_id automatically, if specified, router_id_prefix is ignored
    autoRouterIdSubnet6 string
    Optional, this generates router_id automatically, if specified, router_id_prefix 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 routed_at != core, whether to do virtual-gateway at core as well
    overlay GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsOverlay
    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 v4mac. If enabled, 00-00-5e-00-0X-YY will be used (where XX=vlanid/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 v6mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlanid/256, YY=vlan_id%256)
    routedAt string
    optional, where virtual-gateway should reside. enum: core, distribution, edge
    underlay GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsUnderlay
    vsInstances {[key: string]: GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsVsInstances}
    Optional, for EX9200 only to segregate virtual-switches
    auto_loopback_subnet str
    Optional, for dhcprelay, unique loopback IPs are required for ERB or IPClos where we can set option-82 serverid-overrides
    auto_loopback_subnet6 str
    Optional, for dhcprelay, unique loopback IPs are required for ERB or IPClos where we can set option-82 serverid-overrides
    auto_router_id_subnet str
    Optional, this generates router_id automatically, if specified, router_id_prefix is ignored
    auto_router_id_subnet6 str
    Optional, this generates router_id automatically, if specified, router_id_prefix 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 routed_at != core, whether to do virtual-gateway at core as well
    overlay GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsOverlay
    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 v4mac. If enabled, 00-00-5e-00-0X-YY will be used (where XX=vlanid/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 v6mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlanid/256, YY=vlan_id%256)
    routed_at str
    optional, where virtual-gateway should reside. enum: core, distribution, edge
    underlay GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsUnderlay
    vs_instances Mapping[str, GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsVsInstances]
    Optional, for EX9200 only to segregate virtual-switches
    autoLoopbackSubnet String
    Optional, for dhcprelay, unique loopback IPs are required for ERB or IPClos where we can set option-82 serverid-overrides
    autoLoopbackSubnet6 String
    Optional, for dhcprelay, unique loopback IPs are required for ERB or IPClos where we can set option-82 serverid-overrides
    autoRouterIdSubnet String
    Optional, this generates router_id automatically, if specified, router_id_prefix is ignored
    autoRouterIdSubnet6 String
    Optional, this generates router_id automatically, if specified, router_id_prefix 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 routed_at != core, whether to do virtual-gateway at core as well
    overlay Property Map
    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 v4mac. If enabled, 00-00-5e-00-0X-YY will be used (where XX=vlanid/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 v6mac. If enabled, 00-00-5e-00-1X-YY will be used (where XX=vlanid/256, YY=vlan_id%256)
    routedAt String
    optional, where virtual-gateway should reside. enum: core, distribution, edge
    underlay Property Map
    vsInstances Map<Property Map>
    Optional, for EX9200 only to segregate virtual-switches

    GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsOverlay

    As int
    Overlay BGP Local AS Number
    As int
    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

    GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsUnderlay

    AsBase int
    Underlay BGP Base AS Number
    RoutedIdPrefix string
    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
    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 Integer
    Underlay BGP Base AS Number
    routedIdPrefix String
    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
    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
    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
    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

    GetEvpnTopologiesSiteEvpnTopologyEvpnOptionsVsInstances

    Networks List<string>
    Networks []string
    networks List<String>
    networks string[]
    networks Sequence[str]
    networks List<String>

    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 v0.4.0 published on Wednesday, Apr 16, 2025 by Pulumi