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 Interface OSPF configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetInterfaceOspf.Invoke(new()
{
Name = "1",
Type = "Loopback",
});
});
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.LookupInterfaceOspf(ctx, &iosxe.LookupInterfaceOspfArgs{
Name: "1",
Type: "Loopback",
}, 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.GetInterfaceOspfArgs;
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.getInterfaceOspf(GetInterfaceOspfArgs.builder()
.name("1")
.type("Loopback")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getInterfaceOspf({
name: "1",
type: "Loopback",
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_interface_ospf(name="1",
type="Loopback")
variables:
example:
fn::invoke:
Function: iosxe:getInterfaceOspf
Arguments:
name: '1'
type: Loopback
Using getInterfaceOspf
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 getInterfaceOspf(args: GetInterfaceOspfArgs, opts?: InvokeOptions): Promise<GetInterfaceOspfResult>
function getInterfaceOspfOutput(args: GetInterfaceOspfOutputArgs, opts?: InvokeOptions): Output<GetInterfaceOspfResult>def get_interface_ospf(device: Optional[str] = None,
name: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInterfaceOspfResult
def get_interface_ospf_output(device: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInterfaceOspfResult]func LookupInterfaceOspf(ctx *Context, args *LookupInterfaceOspfArgs, opts ...InvokeOption) (*LookupInterfaceOspfResult, error)
func LookupInterfaceOspfOutput(ctx *Context, args *LookupInterfaceOspfOutputArgs, opts ...InvokeOption) LookupInterfaceOspfResultOutput> Note: This function is named LookupInterfaceOspf in the Go SDK.
public static class GetInterfaceOspf
{
public static Task<GetInterfaceOspfResult> InvokeAsync(GetInterfaceOspfArgs args, InvokeOptions? opts = null)
public static Output<GetInterfaceOspfResult> Invoke(GetInterfaceOspfInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInterfaceOspfResult> getInterfaceOspf(GetInterfaceOspfArgs args, InvokeOptions options)
public static Output<GetInterfaceOspfResult> getInterfaceOspf(GetInterfaceOspfArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getInterfaceOspf:getInterfaceOspf
arguments:
# arguments dictionaryThe following arguments are supported:
getInterfaceOspf Result
The following output properties are available:
- Cost int
- Route cost of this interface
- Dead
Interval int - Interval after which a neighbor is declared dead
- Hello
Interval int - Time between HELLO packets
- Id string
- The path of the retrieved object.
- Message
Digest List<Lbrlabs.Keys Pulumi Package. Iosxe. Outputs. Get Interface Ospf Message Digest Key> - Message digest authentication password (key)
- Mtu
Ignore bool - Ignores the MTU in DBD packets
- Name string
- Network
Type boolBroadcast - Specify OSPF broadcast multi-access network
- Network
Type boolNon Broadcast - Specify OSPF NBMA network
- Network
Type boolPoint To Multipoint - Specify OSPF point-to-multipoint network
- Network
Type boolPoint To Point - Specify OSPF point-to-point network
- Priority int
- Router priority
- Process
Ids List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Interface Ospf Process Id> - Ttl
Security intHops - IP hops
- Type string
- Interface type
- Device string
- A device name from the provider configuration.
- Cost int
- Route cost of this interface
- Dead
Interval int - Interval after which a neighbor is declared dead
- Hello
Interval int - Time between HELLO packets
- Id string
- The path of the retrieved object.
- Message
Digest []GetKeys Interface Ospf Message Digest Key - Message digest authentication password (key)
- Mtu
Ignore bool - Ignores the MTU in DBD packets
- Name string
- Network
Type boolBroadcast - Specify OSPF broadcast multi-access network
- Network
Type boolNon Broadcast - Specify OSPF NBMA network
- Network
Type boolPoint To Multipoint - Specify OSPF point-to-multipoint network
- Network
Type boolPoint To Point - Specify OSPF point-to-point network
- Priority int
- Router priority
- Process
Ids []GetInterface Ospf Process Id - Ttl
Security intHops - IP hops
- Type string
- Interface type
- Device string
- A device name from the provider configuration.
- cost Integer
- Route cost of this interface
- dead
Interval Integer - Interval after which a neighbor is declared dead
- hello
Interval Integer - Time between HELLO packets
- id String
- The path of the retrieved object.
- message
Digest List<GetKeys Interface Ospf Message Digest Key> - Message digest authentication password (key)
- mtu
Ignore Boolean - Ignores the MTU in DBD packets
- name String
- network
Type BooleanBroadcast - Specify OSPF broadcast multi-access network
- network
Type BooleanNon Broadcast - Specify OSPF NBMA network
- network
Type BooleanPoint To Multipoint - Specify OSPF point-to-multipoint network
- network
Type BooleanPoint To Point - Specify OSPF point-to-point network
- priority Integer
- Router priority
- process
Ids List<GetInterface Ospf Process Id> - ttl
Security IntegerHops - IP hops
- type String
- Interface type
- device String
- A device name from the provider configuration.
- cost number
- Route cost of this interface
- dead
Interval number - Interval after which a neighbor is declared dead
- hello
Interval number - Time between HELLO packets
- id string
- The path of the retrieved object.
- message
Digest GetKeys Interface Ospf Message Digest Key[] - Message digest authentication password (key)
- mtu
Ignore boolean - Ignores the MTU in DBD packets
- name string
- network
Type booleanBroadcast - Specify OSPF broadcast multi-access network
- network
Type booleanNon Broadcast - Specify OSPF NBMA network
- network
Type booleanPoint To Multipoint - Specify OSPF point-to-multipoint network
- network
Type booleanPoint To Point - Specify OSPF point-to-point network
- priority number
- Router priority
- process
Ids GetInterface Ospf Process Id[] - ttl
Security numberHops - IP hops
- type string
- Interface type
- device string
- A device name from the provider configuration.
- cost int
- Route cost of this interface
- dead_
interval int - Interval after which a neighbor is declared dead
- hello_
interval int - Time between HELLO packets
- id str
- The path of the retrieved object.
- message_
digest_ Sequence[Getkeys Interface Ospf Message Digest Key] - Message digest authentication password (key)
- mtu_
ignore bool - Ignores the MTU in DBD packets
- name str
- network_
type_ boolbroadcast - Specify OSPF broadcast multi-access network
- network_
type_ boolnon_ broadcast - Specify OSPF NBMA network
- network_
type_ boolpoint_ to_ multipoint - Specify OSPF point-to-multipoint network
- network_
type_ boolpoint_ to_ point - Specify OSPF point-to-point network
- priority int
- Router priority
- process_
ids Sequence[GetInterface Ospf Process Id] - ttl_
security_ inthops - IP hops
- type str
- Interface type
- device str
- A device name from the provider configuration.
- cost Number
- Route cost of this interface
- dead
Interval Number - Interval after which a neighbor is declared dead
- hello
Interval Number - Time between HELLO packets
- id String
- The path of the retrieved object.
- message
Digest List<Property Map>Keys - Message digest authentication password (key)
- mtu
Ignore Boolean - Ignores the MTU in DBD packets
- name String
- network
Type BooleanBroadcast - Specify OSPF broadcast multi-access network
- network
Type BooleanNon Broadcast - Specify OSPF NBMA network
- network
Type BooleanPoint To Multipoint - Specify OSPF point-to-multipoint network
- network
Type BooleanPoint To Point - Specify OSPF point-to-point network
- priority Number
- Router priority
- process
Ids List<Property Map> - ttl
Security NumberHops - IP hops
- type String
- Interface type
- device String
- A device name from the provider configuration.
Supporting Types
GetInterfaceOspfMessageDigestKey
- Id int
- Key ID
- Md5Auth
Key string - The OSPF password (key) (only the first 16 characters are used)
- Md5Auth
Type int - Encryption type (0 for not yet encrypted, 7 for proprietary)
- Id int
- Key ID
- Md5Auth
Key string - The OSPF password (key) (only the first 16 characters are used)
- Md5Auth
Type int - Encryption type (0 for not yet encrypted, 7 for proprietary)
- id Integer
- Key ID
- md5Auth
Key String - The OSPF password (key) (only the first 16 characters are used)
- md5Auth
Type Integer - Encryption type (0 for not yet encrypted, 7 for proprietary)
- id number
- Key ID
- md5Auth
Key string - The OSPF password (key) (only the first 16 characters are used)
- md5Auth
Type number - Encryption type (0 for not yet encrypted, 7 for proprietary)
- id int
- Key ID
- md5_
auth_ strkey - The OSPF password (key) (only the first 16 characters are used)
- md5_
auth_ inttype - Encryption type (0 for not yet encrypted, 7 for proprietary)
- id Number
- Key ID
- md5Auth
Key String - The OSPF password (key) (only the first 16 characters are used)
- md5Auth
Type Number - Encryption type (0 for not yet encrypted, 7 for proprietary)
GetInterfaceOspfProcessId
- Areas
[]Get
Interface Ospf Process Id Area - Id int
- Process ID
- areas
List<Get
Interface Ospf Process Id Area> - id Integer
- Process ID
- areas
Get
Interface Ospf Process Id Area[] - id number
- Process ID
- areas
Sequence[Get
Interface Ospf Process Id Area] - id int
- Process ID
- areas List<Property Map>
- id Number
- Process ID
GetInterfaceOspfProcessIdArea
- Area
Id string
- Area
Id string
- area
Id String
- area
Id string
- area_
id str
- area
Id String
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
