Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
This data source can read the EVPN Instance configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetEvpnInstance.Invoke(new()
{
EvpnInstanceNum = 10,
});
});
package main
import (
"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iosxe.LookupEvpnInstance(ctx, &iosxe.LookupEvpnInstanceArgs{
EvpnInstanceNum: 10,
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.iosxe.IosxeFunctions;
import com.pulumi.iosxe.inputs.GetEvpnInstanceArgs;
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 example = IosxeFunctions.getEvpnInstance(GetEvpnInstanceArgs.builder()
.evpnInstanceNum(10)
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getEvpnInstance({
evpnInstanceNum: 10,
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_evpn_instance(evpn_instance_num=10)
variables:
example:
fn::invoke:
Function: iosxe:getEvpnInstance
Arguments:
evpnInstanceNum: 10
Using getEvpnInstance
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 getEvpnInstance(args: GetEvpnInstanceArgs, opts?: InvokeOptions): Promise<GetEvpnInstanceResult>
function getEvpnInstanceOutput(args: GetEvpnInstanceOutputArgs, opts?: InvokeOptions): Output<GetEvpnInstanceResult>def get_evpn_instance(device: Optional[str] = None,
evpn_instance_num: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetEvpnInstanceResult
def get_evpn_instance_output(device: Optional[pulumi.Input[str]] = None,
evpn_instance_num: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEvpnInstanceResult]func LookupEvpnInstance(ctx *Context, args *LookupEvpnInstanceArgs, opts ...InvokeOption) (*LookupEvpnInstanceResult, error)
func LookupEvpnInstanceOutput(ctx *Context, args *LookupEvpnInstanceOutputArgs, opts ...InvokeOption) LookupEvpnInstanceResultOutput> Note: This function is named LookupEvpnInstance in the Go SDK.
public static class GetEvpnInstance
{
public static Task<GetEvpnInstanceResult> InvokeAsync(GetEvpnInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetEvpnInstanceResult> Invoke(GetEvpnInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEvpnInstanceResult> getEvpnInstance(GetEvpnInstanceArgs args, InvokeOptions options)
public static Output<GetEvpnInstanceResult> getEvpnInstance(GetEvpnInstanceArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getEvpnInstance:getEvpnInstance
arguments:
# arguments dictionaryThe following arguments are supported:
- Evpn
Instance intNum - evpn instance number
- Device string
- A device name from the provider configuration.
- Evpn
Instance intNum - evpn instance number
- Device string
- A device name from the provider configuration.
- evpn
Instance IntegerNum - evpn instance number
- device String
- A device name from the provider configuration.
- evpn
Instance numberNum - evpn instance number
- device string
- A device name from the provider configuration.
- evpn_
instance_ intnum - evpn instance number
- device str
- A device name from the provider configuration.
- evpn
Instance NumberNum - evpn instance number
- device String
- A device name from the provider configuration.
getEvpnInstance Result
The following output properties are available:
- Evpn
Instance intNum - evpn instance number
- Id string
- The path of the retrieved object.
- Vlan
Based boolAuto Route Target - Automatically set a route-target
- Vlan
Based stringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes
- Vlan
Based stringEncapsulation - Data encapsulation method
- Vlan
Based boolIp Local Learning Disable - Disable IP local learning from dataplane
- Vlan
Based boolIp Local Learning Enable - Enable IP local learning from dataplane
- Vlan
Based stringRd - ASN:nn or IP-address:nn
- Vlan
Based boolRe Originate Route Type5 - Re-originate route-type 5
- Vlan
Based boolReplication Type Ingress - Ingress replication
- Vlan
Based boolReplication Type Mp2mp - mp2mp replication
- Vlan
Based boolReplication Type P2mp - p2mp replication
- Vlan
Based boolReplication Type Static - Static replication
- Vlan
Based stringRoute Target - ASN:nn or IP-address:nn
- Vlan
Based stringRoute Target Both - ASN:nn or IP-address:nn
- Vlan
Based stringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- Vlan
Based stringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- Device string
- A device name from the provider configuration.
- Evpn
Instance intNum - evpn instance number
- Id string
- The path of the retrieved object.
- Vlan
Based boolAuto Route Target - Automatically set a route-target
- Vlan
Based stringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes
- Vlan
Based stringEncapsulation - Data encapsulation method
- Vlan
Based boolIp Local Learning Disable - Disable IP local learning from dataplane
- Vlan
Based boolIp Local Learning Enable - Enable IP local learning from dataplane
- Vlan
Based stringRd - ASN:nn or IP-address:nn
- Vlan
Based boolRe Originate Route Type5 - Re-originate route-type 5
- Vlan
Based boolReplication Type Ingress - Ingress replication
- Vlan
Based boolReplication Type Mp2mp - mp2mp replication
- Vlan
Based boolReplication Type P2mp - p2mp replication
- Vlan
Based boolReplication Type Static - Static replication
- Vlan
Based stringRoute Target - ASN:nn or IP-address:nn
- Vlan
Based stringRoute Target Both - ASN:nn or IP-address:nn
- Vlan
Based stringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- Vlan
Based stringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- Device string
- A device name from the provider configuration.
- evpn
Instance IntegerNum - evpn instance number
- id String
- The path of the retrieved object.
- vlan
Based BooleanAuto Route Target - Automatically set a route-target
- vlan
Based StringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes
- vlan
Based StringEncapsulation - Data encapsulation method
- vlan
Based BooleanIp Local Learning Disable - Disable IP local learning from dataplane
- vlan
Based BooleanIp Local Learning Enable - Enable IP local learning from dataplane
- vlan
Based StringRd - ASN:nn or IP-address:nn
- vlan
Based BooleanRe Originate Route Type5 - Re-originate route-type 5
- vlan
Based BooleanReplication Type Ingress - Ingress replication
- vlan
Based BooleanReplication Type Mp2mp - mp2mp replication
- vlan
Based BooleanReplication Type P2mp - p2mp replication
- vlan
Based BooleanReplication Type Static - Static replication
- vlan
Based StringRoute Target - ASN:nn or IP-address:nn
- vlan
Based StringRoute Target Both - ASN:nn or IP-address:nn
- vlan
Based StringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- vlan
Based StringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- device String
- A device name from the provider configuration.
- evpn
Instance numberNum - evpn instance number
- id string
- The path of the retrieved object.
- vlan
Based booleanAuto Route Target - Automatically set a route-target
- vlan
Based stringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes
- vlan
Based stringEncapsulation - Data encapsulation method
- vlan
Based booleanIp Local Learning Disable - Disable IP local learning from dataplane
- vlan
Based booleanIp Local Learning Enable - Enable IP local learning from dataplane
- vlan
Based stringRd - ASN:nn or IP-address:nn
- vlan
Based booleanRe Originate Route Type5 - Re-originate route-type 5
- vlan
Based booleanReplication Type Ingress - Ingress replication
- vlan
Based booleanReplication Type Mp2mp - mp2mp replication
- vlan
Based booleanReplication Type P2mp - p2mp replication
- vlan
Based booleanReplication Type Static - Static replication
- vlan
Based stringRoute Target - ASN:nn or IP-address:nn
- vlan
Based stringRoute Target Both - ASN:nn or IP-address:nn
- vlan
Based stringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- vlan
Based stringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- device string
- A device name from the provider configuration.
- evpn_
instance_ intnum - evpn instance number
- id str
- The path of the retrieved object.
- vlan_
based_ boolauto_ route_ target - Automatically set a route-target
- vlan_
based_ strdefault_ gateway_ advertise - Advertise Default Gateway MAC/IP routes
- vlan_
based_ strencapsulation - Data encapsulation method
- vlan_
based_ boolip_ local_ learning_ disable - Disable IP local learning from dataplane
- vlan_
based_ boolip_ local_ learning_ enable - Enable IP local learning from dataplane
- vlan_
based_ strrd - ASN:nn or IP-address:nn
- vlan_
based_ boolre_ originate_ route_ type5 - Re-originate route-type 5
- vlan_
based_ boolreplication_ type_ ingress - Ingress replication
- vlan_
based_ boolreplication_ type_ mp2mp - mp2mp replication
- vlan_
based_ boolreplication_ type_ p2mp - p2mp replication
- vlan_
based_ boolreplication_ type_ static - Static replication
- vlan_
based_ strroute_ target - ASN:nn or IP-address:nn
- vlan_
based_ strroute_ target_ both - ASN:nn or IP-address:nn
- vlan_
based_ strroute_ target_ export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- vlan_
based_ strroute_ target_ import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- device str
- A device name from the provider configuration.
- evpn
Instance NumberNum - evpn instance number
- id String
- The path of the retrieved object.
- vlan
Based BooleanAuto Route Target - Automatically set a route-target
- vlan
Based StringDefault Gateway Advertise - Advertise Default Gateway MAC/IP routes
- vlan
Based StringEncapsulation - Data encapsulation method
- vlan
Based BooleanIp Local Learning Disable - Disable IP local learning from dataplane
- vlan
Based BooleanIp Local Learning Enable - Enable IP local learning from dataplane
- vlan
Based StringRd - ASN:nn or IP-address:nn
- vlan
Based BooleanRe Originate Route Type5 - Re-originate route-type 5
- vlan
Based BooleanReplication Type Ingress - Ingress replication
- vlan
Based BooleanReplication Type Mp2mp - mp2mp replication
- vlan
Based BooleanReplication Type P2mp - p2mp replication
- vlan
Based BooleanReplication Type Static - Static replication
- vlan
Based StringRoute Target - ASN:nn or IP-address:nn
- vlan
Based StringRoute Target Both - ASN:nn or IP-address:nn
- vlan
Based StringRoute Target Export - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- vlan
Based StringRoute Target Import - ASN:nn or IP-address:nn (DEPRECATED, use rt-value-entry)
- device String
- A device name from the provider configuration.
Package Details
- Repository
- iosxe lbrlabs/pulumi-iosxe
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
iosxeTerraform Provider.
Viewing docs for Cisco IOS XE v0.0.1
published on Friday, Sep 22, 2023 by lbrlabs
published on Friday, Sep 22, 2023 by lbrlabs
