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 VRF configuration.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Iosxe = Pulumi.Iosxe;
return await Deployment.RunAsync(() =>
{
var example = Iosxe.GetOspfVrf.Invoke(new()
{
ProcessId = 2,
Vrf = "VRF1",
});
});
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.LookupOspfVrf(ctx, &iosxe.LookupOspfVrfArgs{
ProcessId: 2,
Vrf: "VRF1",
}, 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.GetOspfVrfArgs;
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.getOspfVrf(GetOspfVrfArgs.builder()
.processId(2)
.vrf("VRF1")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getOspfVrf({
processId: 2,
vrf: "VRF1",
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_ospf_vrf(process_id=2,
vrf="VRF1")
variables:
example:
fn::invoke:
Function: iosxe:getOspfVrf
Arguments:
processId: 2
vrf: VRF1
Using getOspfVrf
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 getOspfVrf(args: GetOspfVrfArgs, opts?: InvokeOptions): Promise<GetOspfVrfResult>
function getOspfVrfOutput(args: GetOspfVrfOutputArgs, opts?: InvokeOptions): Output<GetOspfVrfResult>def get_ospf_vrf(device: Optional[str] = None,
process_id: Optional[int] = None,
vrf: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOspfVrfResult
def get_ospf_vrf_output(device: Optional[pulumi.Input[str]] = None,
process_id: Optional[pulumi.Input[int]] = None,
vrf: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOspfVrfResult]func LookupOspfVrf(ctx *Context, args *LookupOspfVrfArgs, opts ...InvokeOption) (*LookupOspfVrfResult, error)
func LookupOspfVrfOutput(ctx *Context, args *LookupOspfVrfOutputArgs, opts ...InvokeOption) LookupOspfVrfResultOutput> Note: This function is named LookupOspfVrf in the Go SDK.
public static class GetOspfVrf
{
public static Task<GetOspfVrfResult> InvokeAsync(GetOspfVrfArgs args, InvokeOptions? opts = null)
public static Output<GetOspfVrfResult> Invoke(GetOspfVrfInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOspfVrfResult> getOspfVrf(GetOspfVrfArgs args, InvokeOptions options)
public static Output<GetOspfVrfResult> getOspfVrf(GetOspfVrfArgs args, InvokeOptions options)
fn::invoke:
function: iosxe:index/getOspfVrf:getOspfVrf
arguments:
# arguments dictionaryThe following arguments are supported:
- process_
id int - Process ID
- vrf str
- VPN Routing/Forwarding Instance
- device str
- A device name from the provider configuration.
getOspfVrf Result
The following output properties are available:
- Areas
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Ospf Vrf 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 Vrf Neighbor> - Specify a neighbor router
- Networks
List<Lbrlabs.
Pulumi Package. Iosxe. Outputs. Get Ospf Vrf 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 Vrf Summary Address> - Configure IP address summaries
- Vrf string
- VPN Routing/Forwarding Instance
- Device string
- A device name from the provider configuration.
- Areas
[]Get
Ospf Vrf 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 Vrf Neighbor - Specify a neighbor router
- Networks
[]Get
Ospf Vrf 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 Vrf Summary Address - Configure IP address summaries
- Vrf string
- VPN Routing/Forwarding Instance
- Device string
- A device name from the provider configuration.
- areas
List<Get
Ospf Vrf 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 Vrf Neighbor> - Specify a neighbor router
- networks
List<Get
Ospf Vrf 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 Vrf Summary Address> - Configure IP address summaries
- vrf String
- VPN Routing/Forwarding Instance
- device String
- A device name from the provider configuration.
- areas
Get
Ospf Vrf 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 Vrf Neighbor[] - Specify a neighbor router
- networks
Get
Ospf Vrf 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 Vrf Summary Address[] - Configure IP address summaries
- vrf string
- VPN Routing/Forwarding Instance
- device string
- A device name from the provider configuration.
- areas
Sequence[Get
Ospf Vrf 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 Vrf Neighbor] - Specify a neighbor router
- networks
Sequence[Get
Ospf Vrf 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 Vrf Summary Address] - Configure IP address summaries
- vrf str
- VPN Routing/Forwarding Instance
- 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
- vrf String
- VPN Routing/Forwarding Instance
- device String
- A device name from the provider configuration.
Supporting Types
GetOspfVrfArea
- 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
GetOspfVrfNeighbor
GetOspfVrfNetwork
GetOspfVrfSummaryAddress
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
