Cisco NX-OS v0.0.2 published on Friday, Sep 29, 2023 by lbrlabs
nxos.getNveInterface
Explore with Pulumi AI
This data source can read the NVE interface configuration.
- API Documentation: nvoEp
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nxos = Pulumi.Nxos;
return await Deployment.RunAsync(() =>
{
var example = Nxos.GetNveInterface.Invoke();
});
package main
import (
"github.com/lbrlabs/pulumi-nxos/sdk/go/nxos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nxos.LookupNveInterface(ctx, nil, 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.nxos.NxosFunctions;
import com.pulumi.nxos.inputs.GetNveInterfaceArgs;
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 = NxosFunctions.getNveInterface();
}
}
import pulumi
import pulumi_nxos as nxos
example = nxos.get_nve_interface()
import * as pulumi from "@pulumi/pulumi";
import * as nxos from "@pulumi/nxos";
const example = nxos.getNveInterface({});
variables:
example:
fn::invoke:
Function: nxos:getNveInterface
Arguments: {}
Using getNveInterface
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 getNveInterface(args: GetNveInterfaceArgs, opts?: InvokeOptions): Promise<GetNveInterfaceResult>
function getNveInterfaceOutput(args: GetNveInterfaceOutputArgs, opts?: InvokeOptions): Output<GetNveInterfaceResult>
def get_nve_interface(device: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNveInterfaceResult
def get_nve_interface_output(device: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNveInterfaceResult]
func LookupNveInterface(ctx *Context, args *LookupNveInterfaceArgs, opts ...InvokeOption) (*LookupNveInterfaceResult, error)
func LookupNveInterfaceOutput(ctx *Context, args *LookupNveInterfaceOutputArgs, opts ...InvokeOption) LookupNveInterfaceResultOutput
> Note: This function is named LookupNveInterface
in the Go SDK.
public static class GetNveInterface
{
public static Task<GetNveInterfaceResult> InvokeAsync(GetNveInterfaceArgs args, InvokeOptions? opts = null)
public static Output<GetNveInterfaceResult> Invoke(GetNveInterfaceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNveInterfaceResult> getNveInterface(GetNveInterfaceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nxos:index/getNveInterface:getNveInterface
arguments:
# arguments dictionary
The following arguments are supported:
- Device string
- A device name from the provider configuration.
- Device string
- A device name from the provider configuration.
- device String
- A device name from the provider configuration.
- device string
- A device name from the provider configuration.
- device str
- A device name from the provider configuration.
- device String
- A device name from the provider configuration.
getNveInterface Result
The following output properties are available:
- Admin
State string - Administrative state.
- Advertise
Virtual boolMac - Enable or disable Virtual MAC Advertisement in VPC mode.
- Hold
Down intTime - Hold Down Time.
- Host
Reachability stringProtocol - Host Reachability Protocol.
- Id string
- The distinguished name of the object.
- Ingress
Replication boolProtocol Bgp - VxLAN Ingress Replication Protocol BGP.
- Multicast
Group stringL2 - Base multicast group address for L2.
- Multicast
Group stringL3 - Base multicast group address for L3.
- Multisite
Source stringInterface - Interface representing the Multisite Border Gateway. Must match first field in the output of
show int brief
. - Source
Interface string - Source Interface associated with the NVE. Must match first field in the output of
show int brief
. - Suppress
Arp bool - Suppress ARP.
- Suppress
Mac boolRoute - Suppress MAC Route.
- Device string
- A device name from the provider configuration.
- Admin
State string - Administrative state.
- Advertise
Virtual boolMac - Enable or disable Virtual MAC Advertisement in VPC mode.
- Hold
Down intTime - Hold Down Time.
- Host
Reachability stringProtocol - Host Reachability Protocol.
- Id string
- The distinguished name of the object.
- Ingress
Replication boolProtocol Bgp - VxLAN Ingress Replication Protocol BGP.
- Multicast
Group stringL2 - Base multicast group address for L2.
- Multicast
Group stringL3 - Base multicast group address for L3.
- Multisite
Source stringInterface - Interface representing the Multisite Border Gateway. Must match first field in the output of
show int brief
. - Source
Interface string - Source Interface associated with the NVE. Must match first field in the output of
show int brief
. - Suppress
Arp bool - Suppress ARP.
- Suppress
Mac boolRoute - Suppress MAC Route.
- Device string
- A device name from the provider configuration.
- admin
State String - Administrative state.
- advertise
Virtual BooleanMac - Enable or disable Virtual MAC Advertisement in VPC mode.
- hold
Down IntegerTime - Hold Down Time.
- host
Reachability StringProtocol - Host Reachability Protocol.
- id String
- The distinguished name of the object.
- ingress
Replication BooleanProtocol Bgp - VxLAN Ingress Replication Protocol BGP.
- multicast
Group StringL2 - Base multicast group address for L2.
- multicast
Group StringL3 - Base multicast group address for L3.
- multisite
Source StringInterface - Interface representing the Multisite Border Gateway. Must match first field in the output of
show int brief
. - source
Interface String - Source Interface associated with the NVE. Must match first field in the output of
show int brief
. - suppress
Arp Boolean - Suppress ARP.
- suppress
Mac BooleanRoute - Suppress MAC Route.
- device String
- A device name from the provider configuration.
- admin
State string - Administrative state.
- advertise
Virtual booleanMac - Enable or disable Virtual MAC Advertisement in VPC mode.
- hold
Down numberTime - Hold Down Time.
- host
Reachability stringProtocol - Host Reachability Protocol.
- id string
- The distinguished name of the object.
- ingress
Replication booleanProtocol Bgp - VxLAN Ingress Replication Protocol BGP.
- multicast
Group stringL2 - Base multicast group address for L2.
- multicast
Group stringL3 - Base multicast group address for L3.
- multisite
Source stringInterface - Interface representing the Multisite Border Gateway. Must match first field in the output of
show int brief
. - source
Interface string - Source Interface associated with the NVE. Must match first field in the output of
show int brief
. - suppress
Arp boolean - Suppress ARP.
- suppress
Mac booleanRoute - Suppress MAC Route.
- device string
- A device name from the provider configuration.
- admin_
state str - Administrative state.
- advertise_
virtual_ boolmac - Enable or disable Virtual MAC Advertisement in VPC mode.
- hold_
down_ inttime - Hold Down Time.
- host_
reachability_ strprotocol - Host Reachability Protocol.
- id str
- The distinguished name of the object.
- ingress_
replication_ boolprotocol_ bgp - VxLAN Ingress Replication Protocol BGP.
- multicast_
group_ strl2 - Base multicast group address for L2.
- multicast_
group_ strl3 - Base multicast group address for L3.
- multisite_
source_ strinterface - Interface representing the Multisite Border Gateway. Must match first field in the output of
show int brief
. - source_
interface str - Source Interface associated with the NVE. Must match first field in the output of
show int brief
. - suppress_
arp bool - Suppress ARP.
- suppress_
mac_ boolroute - Suppress MAC Route.
- device str
- A device name from the provider configuration.
- admin
State String - Administrative state.
- advertise
Virtual BooleanMac - Enable or disable Virtual MAC Advertisement in VPC mode.
- hold
Down NumberTime - Hold Down Time.
- host
Reachability StringProtocol - Host Reachability Protocol.
- id String
- The distinguished name of the object.
- ingress
Replication BooleanProtocol Bgp - VxLAN Ingress Replication Protocol BGP.
- multicast
Group StringL2 - Base multicast group address for L2.
- multicast
Group StringL3 - Base multicast group address for L3.
- multisite
Source StringInterface - Interface representing the Multisite Border Gateway. Must match first field in the output of
show int brief
. - source
Interface String - Source Interface associated with the NVE. Must match first field in the output of
show int brief
. - suppress
Arp Boolean - Suppress ARP.
- suppress
Mac BooleanRoute - Suppress MAC Route.
- device String
- A device name from the provider configuration.
Package Details
- Repository
- nxos lbrlabs/pulumi-nxos
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nxos
Terraform Provider.