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 OSPF configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetOspf.Invoke(new()
{
ProcessId = 1,
});
});
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.LookupOspf(ctx, &iosxe.LookupOspfArgs{
ProcessId: 1,
}, 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.GetOspfArgs;
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.getOspf(GetOspfArgs.builder()
.processId(1)
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getOspf({
processId: 1,
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_ospf(process_id=1)
variables:
example:
fn::invoke:
Function: iosxe:getOspf
Arguments:
processId: 1
Using getOspf
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 getOspf(args: GetOspfArgs, opts?: InvokeOptions): Promise<GetOspfResult>
function getOspfOutput(args: GetOspfOutputArgs, opts?: InvokeOptions): Output<GetOspfResult>def get_ospf(device: Optional[str] = None,
process_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetOspfResult
def get_ospf_output(device: Optional[pulumi.Input[str]] = None,
process_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOspfResult]func LookupOspf(ctx *Context, args *LookupOspfArgs, opts ...InvokeOption) (*LookupOspfResult, error)
func LookupOspfOutput(ctx *Context, args *LookupOspfOutputArgs, opts ...InvokeOption) LookupOspfResultOutput> Note: This function is named LookupOspf in the Go SDK.
public static class GetOspf
{
public static Task<GetOspfResult> InvokeAsync(GetOspfArgs args, InvokeOptions? opts = null)
public static Output<GetOspfResult> Invoke(GetOspfInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOspfResult> getOspf(GetOspfArgs args, InvokeOptions options)
public static Output<GetOspfResult> getOspf(GetOspfArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getOspf:getOspf
arguments:
# arguments dictionaryThe following arguments are supported:
- process_
id int - Process ID
- device str
- A device name from the provider configuration.
getOspf Result
The following output properties are available:
- Areas
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Ospf Area> - OSPF area parameters
- Bfd
All boolInterfaces - Enable BFD on all interfaces
- Default
Information boolOriginate - Distribute a default route
- Default
Information boolOriginate Always - Always advertise default route
- Default
Metric int - Set metric of redistributed routes
- Distance int
- Administrative distance
- Domain
Tag int - OSPF domain-tag
- Id string
- The path of the retrieved object.
- Mpls
Ldp boolAutoconfig - Configure LDP automatic configuration
- Mpls
Ldp boolSync - Configure LDP-IGP Synchronization
- Neighbors
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Ospf Neighbor> - Specify a neighbor router
- Networks
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Ospf Network> - Enable routing on an IP network
- Passive
Interface boolDefault - Suppress routing updates on all interfaces
- Priority int
- OSPF topology priority
- Process
Id int - Process ID
- Router
Id string - Override configured router identifier (peers will reset)
- Shutdown bool
- Shutdown the OSPF protocol under the current instance
- Summary
Addresses List<Lbrlabs.Pulumi Package. Iosxe. Outputs. Get Ospf Summary Address> - Configure IP address summaries
- Device string
- A device name from the provider configuration.
- Areas
[]Get
Ospf Area - OSPF area parameters
- Bfd
All boolInterfaces - Enable BFD on all interfaces
- Default
Information boolOriginate - Distribute a default route
- Default
Information boolOriginate Always - Always advertise default route
- Default
Metric int - Set metric of redistributed routes
- Distance int
- Administrative distance
- Domain
Tag int - OSPF domain-tag
- Id string
- The path of the retrieved object.
- Mpls
Ldp boolAutoconfig - Configure LDP automatic configuration
- Mpls
Ldp boolSync - Configure LDP-IGP Synchronization
- Neighbors
[]Get
Ospf Neighbor - Specify a neighbor router
- Networks
[]Get
Ospf Network - Enable routing on an IP network
- Passive
Interface boolDefault - Suppress routing updates on all interfaces
- Priority int
- OSPF topology priority
- Process
Id int - Process ID
- Router
Id string - Override configured router identifier (peers will reset)
- Shutdown bool
- Shutdown the OSPF protocol under the current instance
- Summary
Addresses []GetOspf Summary Address - Configure IP address summaries
- Device string
- A device name from the provider configuration.
- areas
List<Get
Ospf Area> - OSPF area parameters
- bfd
All BooleanInterfaces - Enable BFD on all interfaces
- default
Information BooleanOriginate - Distribute a default route
- default
Information BooleanOriginate Always - Always advertise default route
- default
Metric Integer - Set metric of redistributed routes
- distance Integer
- Administrative distance
- domain
Tag Integer - OSPF domain-tag
- id String
- The path of the retrieved object.
- mpls
Ldp BooleanAutoconfig - Configure LDP automatic configuration
- mpls
Ldp BooleanSync - Configure LDP-IGP Synchronization
- neighbors
List<Get
Ospf Neighbor> - Specify a neighbor router
- networks
List<Get
Ospf Network> - Enable routing on an IP network
- passive
Interface BooleanDefault - Suppress routing updates on all interfaces
- priority Integer
- OSPF topology priority
- process
Id Integer - Process ID
- router
Id String - Override configured router identifier (peers will reset)
- shutdown Boolean
- Shutdown the OSPF protocol under the current instance
- summary
Addresses List<GetOspf Summary Address> - Configure IP address summaries
- device String
- A device name from the provider configuration.
- areas
Get
Ospf Area[] - OSPF area parameters
- bfd
All booleanInterfaces - Enable BFD on all interfaces
- default
Information booleanOriginate - Distribute a default route
- default
Information booleanOriginate Always - Always advertise default route
- default
Metric number - Set metric of redistributed routes
- distance number
- Administrative distance
- domain
Tag number - OSPF domain-tag
- id string
- The path of the retrieved object.
- mpls
Ldp booleanAutoconfig - Configure LDP automatic configuration
- mpls
Ldp booleanSync - Configure LDP-IGP Synchronization
- neighbors
Get
Ospf Neighbor[] - Specify a neighbor router
- networks
Get
Ospf Network[] - Enable routing on an IP network
- passive
Interface booleanDefault - Suppress routing updates on all interfaces
- priority number
- OSPF topology priority
- process
Id number - Process ID
- router
Id string - Override configured router identifier (peers will reset)
- shutdown boolean
- Shutdown the OSPF protocol under the current instance
- summary
Addresses GetOspf Summary Address[] - Configure IP address summaries
- device string
- A device name from the provider configuration.
- areas
Sequence[Get
Ospf Area] - OSPF area parameters
- bfd_
all_ boolinterfaces - Enable BFD on all interfaces
- default_
information_ booloriginate - Distribute a default route
- default_
information_ booloriginate_ always - Always advertise default route
- default_
metric int - Set metric of redistributed routes
- distance int
- Administrative distance
- domain_
tag int - OSPF domain-tag
- id str
- The path of the retrieved object.
- mpls_
ldp_ boolautoconfig - Configure LDP automatic configuration
- mpls_
ldp_ boolsync - Configure LDP-IGP Synchronization
- neighbors
Sequence[Get
Ospf Neighbor] - Specify a neighbor router
- networks
Sequence[Get
Ospf Network] - Enable routing on an IP network
- passive_
interface_ booldefault - Suppress routing updates on all interfaces
- priority int
- OSPF topology priority
- process_
id int - Process ID
- router_
id str - Override configured router identifier (peers will reset)
- shutdown bool
- Shutdown the OSPF protocol under the current instance
- summary_
addresses Sequence[GetOspf Summary Address] - Configure IP address summaries
- device str
- A device name from the provider configuration.
- areas List<Property Map>
- OSPF area parameters
- bfd
All BooleanInterfaces - Enable BFD on all interfaces
- default
Information BooleanOriginate - Distribute a default route
- default
Information BooleanOriginate Always - Always advertise default route
- default
Metric Number - Set metric of redistributed routes
- distance Number
- Administrative distance
- domain
Tag Number - OSPF domain-tag
- id String
- The path of the retrieved object.
- mpls
Ldp BooleanAutoconfig - Configure LDP automatic configuration
- mpls
Ldp BooleanSync - Configure LDP-IGP Synchronization
- neighbors List<Property Map>
- Specify a neighbor router
- networks List<Property Map>
- Enable routing on an IP network
- passive
Interface BooleanDefault - Suppress routing updates on all interfaces
- priority Number
- OSPF topology priority
- process
Id Number - Process ID
- router
Id String - Override configured router identifier (peers will reset)
- shutdown Boolean
- Shutdown the OSPF protocol under the current instance
- summary
Addresses List<Property Map> - Configure IP address summaries
- device String
- A device name from the provider configuration.
Supporting Types
GetOspfArea
- Area
Id string - OSPF area ID
- Authentication
Message boolDigest - Use message-digest authentication
- Nssa bool
- Specify a NSSA area
- Nssa
Default boolInformation Originate - Originate Type 7 default into NSSA area
- Nssa
Default intInformation Originate Metric - OSPF default metric
- Nssa
Default intInformation Originate Metric Type - OSPF metric type for default routes
- Nssa
No boolRedistribution - No redistribution into this NSSA area
- Nssa
No boolSummary - Do not send summary LSA into NSSA
- Area
Id string - OSPF area ID
- Authentication
Message boolDigest - Use message-digest authentication
- Nssa bool
- Specify a NSSA area
- Nssa
Default boolInformation Originate - Originate Type 7 default into NSSA area
- Nssa
Default intInformation Originate Metric - OSPF default metric
- Nssa
Default intInformation Originate Metric Type - OSPF metric type for default routes
- Nssa
No boolRedistribution - No redistribution into this NSSA area
- Nssa
No boolSummary - Do not send summary LSA into NSSA
- area
Id String - OSPF area ID
- authentication
Message BooleanDigest - Use message-digest authentication
- nssa Boolean
- Specify a NSSA area
- nssa
Default BooleanInformation Originate - Originate Type 7 default into NSSA area
- nssa
Default IntegerInformation Originate Metric - OSPF default metric
- nssa
Default IntegerInformation Originate Metric Type - OSPF metric type for default routes
- nssa
No BooleanRedistribution - No redistribution into this NSSA area
- nssa
No BooleanSummary - Do not send summary LSA into NSSA
- area
Id string - OSPF area ID
- authentication
Message booleanDigest - Use message-digest authentication
- nssa boolean
- Specify a NSSA area
- nssa
Default booleanInformation Originate - Originate Type 7 default into NSSA area
- nssa
Default numberInformation Originate Metric - OSPF default metric
- nssa
Default numberInformation Originate Metric Type - OSPF metric type for default routes
- nssa
No booleanRedistribution - No redistribution into this NSSA area
- nssa
No booleanSummary - Do not send summary LSA into NSSA
- area_
id str - OSPF area ID
- authentication_
message_ booldigest - Use message-digest authentication
- nssa bool
- Specify a NSSA area
- nssa_
default_ boolinformation_ originate - Originate Type 7 default into NSSA area
- nssa_
default_ intinformation_ originate_ metric - OSPF default metric
- nssa_
default_ intinformation_ originate_ metric_ type - OSPF metric type for default routes
- nssa_
no_ boolredistribution - No redistribution into this NSSA area
- nssa_
no_ boolsummary - Do not send summary LSA into NSSA
- area
Id String - OSPF area ID
- authentication
Message BooleanDigest - Use message-digest authentication
- nssa Boolean
- Specify a NSSA area
- nssa
Default BooleanInformation Originate - Originate Type 7 default into NSSA area
- nssa
Default NumberInformation Originate Metric - OSPF default metric
- nssa
Default NumberInformation Originate Metric Type - OSPF metric type for default routes
- nssa
No BooleanRedistribution - No redistribution into this NSSA area
- nssa
No BooleanSummary - Do not send summary LSA into NSSA
GetOspfNeighbor
GetOspfNetwork
GetOspfSummaryAddress
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
