1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. OspfVrf
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.OspfVrf

Explore with Pulumi AI

iosxe logo
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

    This resource can manage the OSPF VRF configuration.

    Example Usage

    Coming soon!

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.iosxe.OspfVrf;
    import com.pulumi.iosxe.OspfVrfArgs;
    import com.pulumi.iosxe.inputs.OspfVrfAreaArgs;
    import com.pulumi.iosxe.inputs.OspfVrfNeighborArgs;
    import com.pulumi.iosxe.inputs.OspfVrfNetworkArgs;
    import com.pulumi.iosxe.inputs.OspfVrfSummaryAddressArgs;
    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) {
            var example = new OspfVrf("example", OspfVrfArgs.builder()        
                .areas(OspfVrfAreaArgs.builder()
                    .area_id("5")
                    .authentication_message_digest(true)
                    .nssa(true)
                    .nssa_default_information_originate(true)
                    .nssa_default_information_originate_metric(100)
                    .nssa_default_information_originate_metric_type(1)
                    .nssa_no_redistribution(true)
                    .nssa_no_summary(true)
                    .build())
                .bfdAllInterfaces(true)
                .defaultInformationOriginate(true)
                .defaultInformationOriginateAlways(true)
                .defaultMetric(21)
                .distance(120)
                .domainTag(10)
                .neighbors(OspfVrfNeighborArgs.builder()
                    .cost(100)
                    .ip("2.2.2.2")
                    .priority(10)
                    .build())
                .networks(OspfVrfNetworkArgs.builder()
                    .area("0")
                    .ip("3.3.3.0")
                    .wildcard("0.0.0.255")
                    .build())
                .passiveInterfaceDefault(true)
                .priority(100)
                .processId(2)
                .routerId("1.2.3.4")
                .shutdown(false)
                .summaryAddresses(OspfVrfSummaryAddressArgs.builder()
                    .ip("3.3.3.0")
                    .mask("255.255.255.0")
                    .build())
                .vrf("VRF1")
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    resources:
      example:
        type: iosxe:OspfVrf
        properties:
          areas:
            - area_id: '5'
              authentication_message_digest: true
              nssa: true
              nssa_default_information_originate: true
              nssa_default_information_originate_metric: 100
              nssa_default_information_originate_metric_type: 1
              nssa_no_redistribution: true
              nssa_no_summary: true
          bfdAllInterfaces: true
          defaultInformationOriginate: true
          defaultInformationOriginateAlways: true
          defaultMetric: 21
          distance: 120
          domainTag: 10
          neighbors:
            - cost: 100
              ip: 2.2.2.2
              priority: 10
          networks:
            - area: '0'
              ip: 3.3.3.0
              wildcard: 0.0.0.255
          passiveInterfaceDefault: true
          priority: 100
          processId: 2
          routerId: 1.2.3.4
          shutdown: false
          summaryAddresses:
            - ip: 3.3.3.0
              mask: 255.255.255.0
          vrf: VRF1
    

    Create OspfVrf Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OspfVrf(name: string, args: OspfVrfArgs, opts?: CustomResourceOptions);
    @overload
    def OspfVrf(resource_name: str,
                args: OspfVrfArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def OspfVrf(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                process_id: Optional[int] = None,
                vrf: Optional[str] = None,
                delete_mode: Optional[str] = None,
                neighbors: Optional[Sequence[OspfVrfNeighborArgs]] = None,
                default_metric: Optional[int] = None,
                areas: Optional[Sequence[OspfVrfAreaArgs]] = None,
                device: Optional[str] = None,
                distance: Optional[int] = None,
                domain_tag: Optional[int] = None,
                mpls_ldp_autoconfig: Optional[bool] = None,
                mpls_ldp_sync: Optional[bool] = None,
                default_information_originate_always: Optional[bool] = None,
                networks: Optional[Sequence[OspfVrfNetworkArgs]] = None,
                passive_interface_default: Optional[bool] = None,
                priority: Optional[int] = None,
                default_information_originate: Optional[bool] = None,
                router_id: Optional[str] = None,
                shutdown: Optional[bool] = None,
                summary_addresses: Optional[Sequence[OspfVrfSummaryAddressArgs]] = None,
                bfd_all_interfaces: Optional[bool] = None)
    func NewOspfVrf(ctx *Context, name string, args OspfVrfArgs, opts ...ResourceOption) (*OspfVrf, error)
    public OspfVrf(string name, OspfVrfArgs args, CustomResourceOptions? opts = null)
    public OspfVrf(String name, OspfVrfArgs args)
    public OspfVrf(String name, OspfVrfArgs args, CustomResourceOptions options)
    
    type: iosxe:OspfVrf
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OspfVrfArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OspfVrfArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OspfVrfArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OspfVrfArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OspfVrfArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ospfVrfResource = new Iosxe.OspfVrf("ospfVrfResource", new()
    {
        ProcessId = 0,
        Vrf = "string",
        DeleteMode = "string",
        Neighbors = new[]
        {
            new Iosxe.Inputs.OspfVrfNeighborArgs
            {
                Ip = "string",
                Cost = 0,
                Priority = 0,
            },
        },
        DefaultMetric = 0,
        Areas = new[]
        {
            new Iosxe.Inputs.OspfVrfAreaArgs
            {
                AreaId = "string",
                AuthenticationMessageDigest = false,
                Nssa = false,
                NssaDefaultInformationOriginate = false,
                NssaDefaultInformationOriginateMetric = 0,
                NssaDefaultInformationOriginateMetricType = 0,
                NssaNoRedistribution = false,
                NssaNoSummary = false,
            },
        },
        Device = "string",
        Distance = 0,
        DomainTag = 0,
        MplsLdpAutoconfig = false,
        MplsLdpSync = false,
        DefaultInformationOriginateAlways = false,
        Networks = new[]
        {
            new Iosxe.Inputs.OspfVrfNetworkArgs
            {
                Ip = "string",
                Area = "string",
                Wildcard = "string",
            },
        },
        PassiveInterfaceDefault = false,
        Priority = 0,
        DefaultInformationOriginate = false,
        RouterId = "string",
        Shutdown = false,
        SummaryAddresses = new[]
        {
            new Iosxe.Inputs.OspfVrfSummaryAddressArgs
            {
                Ip = "string",
                Mask = "string",
            },
        },
        BfdAllInterfaces = false,
    });
    
    example, err := iosxe.NewOspfVrf(ctx, "ospfVrfResource", &iosxe.OspfVrfArgs{
    	ProcessId:  pulumi.Int(0),
    	Vrf:        pulumi.String("string"),
    	DeleteMode: pulumi.String("string"),
    	Neighbors: iosxe.OspfVrfNeighborArray{
    		&iosxe.OspfVrfNeighborArgs{
    			Ip:       pulumi.String("string"),
    			Cost:     pulumi.Int(0),
    			Priority: pulumi.Int(0),
    		},
    	},
    	DefaultMetric: pulumi.Int(0),
    	Areas: iosxe.OspfVrfAreaArray{
    		&iosxe.OspfVrfAreaArgs{
    			AreaId:                                pulumi.String("string"),
    			AuthenticationMessageDigest:           pulumi.Bool(false),
    			Nssa:                                  pulumi.Bool(false),
    			NssaDefaultInformationOriginate:       pulumi.Bool(false),
    			NssaDefaultInformationOriginateMetric: pulumi.Int(0),
    			NssaDefaultInformationOriginateMetricType: pulumi.Int(0),
    			NssaNoRedistribution:                      pulumi.Bool(false),
    			NssaNoSummary:                             pulumi.Bool(false),
    		},
    	},
    	Device:                            pulumi.String("string"),
    	Distance:                          pulumi.Int(0),
    	DomainTag:                         pulumi.Int(0),
    	MplsLdpAutoconfig:                 pulumi.Bool(false),
    	MplsLdpSync:                       pulumi.Bool(false),
    	DefaultInformationOriginateAlways: pulumi.Bool(false),
    	Networks: iosxe.OspfVrfNetworkArray{
    		&iosxe.OspfVrfNetworkArgs{
    			Ip:       pulumi.String("string"),
    			Area:     pulumi.String("string"),
    			Wildcard: pulumi.String("string"),
    		},
    	},
    	PassiveInterfaceDefault:     pulumi.Bool(false),
    	Priority:                    pulumi.Int(0),
    	DefaultInformationOriginate: pulumi.Bool(false),
    	RouterId:                    pulumi.String("string"),
    	Shutdown:                    pulumi.Bool(false),
    	SummaryAddresses: iosxe.OspfVrfSummaryAddressArray{
    		&iosxe.OspfVrfSummaryAddressArgs{
    			Ip:   pulumi.String("string"),
    			Mask: pulumi.String("string"),
    		},
    	},
    	BfdAllInterfaces: pulumi.Bool(false),
    })
    
    var ospfVrfResource = new OspfVrf("ospfVrfResource", OspfVrfArgs.builder()
        .processId(0)
        .vrf("string")
        .deleteMode("string")
        .neighbors(OspfVrfNeighborArgs.builder()
            .ip("string")
            .cost(0)
            .priority(0)
            .build())
        .defaultMetric(0)
        .areas(OspfVrfAreaArgs.builder()
            .areaId("string")
            .authenticationMessageDigest(false)
            .nssa(false)
            .nssaDefaultInformationOriginate(false)
            .nssaDefaultInformationOriginateMetric(0)
            .nssaDefaultInformationOriginateMetricType(0)
            .nssaNoRedistribution(false)
            .nssaNoSummary(false)
            .build())
        .device("string")
        .distance(0)
        .domainTag(0)
        .mplsLdpAutoconfig(false)
        .mplsLdpSync(false)
        .defaultInformationOriginateAlways(false)
        .networks(OspfVrfNetworkArgs.builder()
            .ip("string")
            .area("string")
            .wildcard("string")
            .build())
        .passiveInterfaceDefault(false)
        .priority(0)
        .defaultInformationOriginate(false)
        .routerId("string")
        .shutdown(false)
        .summaryAddresses(OspfVrfSummaryAddressArgs.builder()
            .ip("string")
            .mask("string")
            .build())
        .bfdAllInterfaces(false)
        .build());
    
    ospf_vrf_resource = iosxe.OspfVrf("ospfVrfResource",
        process_id=0,
        vrf="string",
        delete_mode="string",
        neighbors=[{
            "ip": "string",
            "cost": 0,
            "priority": 0,
        }],
        default_metric=0,
        areas=[{
            "area_id": "string",
            "authentication_message_digest": False,
            "nssa": False,
            "nssa_default_information_originate": False,
            "nssa_default_information_originate_metric": 0,
            "nssa_default_information_originate_metric_type": 0,
            "nssa_no_redistribution": False,
            "nssa_no_summary": False,
        }],
        device="string",
        distance=0,
        domain_tag=0,
        mpls_ldp_autoconfig=False,
        mpls_ldp_sync=False,
        default_information_originate_always=False,
        networks=[{
            "ip": "string",
            "area": "string",
            "wildcard": "string",
        }],
        passive_interface_default=False,
        priority=0,
        default_information_originate=False,
        router_id="string",
        shutdown=False,
        summary_addresses=[{
            "ip": "string",
            "mask": "string",
        }],
        bfd_all_interfaces=False)
    
    const ospfVrfResource = new iosxe.OspfVrf("ospfVrfResource", {
        processId: 0,
        vrf: "string",
        deleteMode: "string",
        neighbors: [{
            ip: "string",
            cost: 0,
            priority: 0,
        }],
        defaultMetric: 0,
        areas: [{
            areaId: "string",
            authenticationMessageDigest: false,
            nssa: false,
            nssaDefaultInformationOriginate: false,
            nssaDefaultInformationOriginateMetric: 0,
            nssaDefaultInformationOriginateMetricType: 0,
            nssaNoRedistribution: false,
            nssaNoSummary: false,
        }],
        device: "string",
        distance: 0,
        domainTag: 0,
        mplsLdpAutoconfig: false,
        mplsLdpSync: false,
        defaultInformationOriginateAlways: false,
        networks: [{
            ip: "string",
            area: "string",
            wildcard: "string",
        }],
        passiveInterfaceDefault: false,
        priority: 0,
        defaultInformationOriginate: false,
        routerId: "string",
        shutdown: false,
        summaryAddresses: [{
            ip: "string",
            mask: "string",
        }],
        bfdAllInterfaces: false,
    });
    
    type: iosxe:OspfVrf
    properties:
        areas:
            - areaId: string
              authenticationMessageDigest: false
              nssa: false
              nssaDefaultInformationOriginate: false
              nssaDefaultInformationOriginateMetric: 0
              nssaDefaultInformationOriginateMetricType: 0
              nssaNoRedistribution: false
              nssaNoSummary: false
        bfdAllInterfaces: false
        defaultInformationOriginate: false
        defaultInformationOriginateAlways: false
        defaultMetric: 0
        deleteMode: string
        device: string
        distance: 0
        domainTag: 0
        mplsLdpAutoconfig: false
        mplsLdpSync: false
        neighbors:
            - cost: 0
              ip: string
              priority: 0
        networks:
            - area: string
              ip: string
              wildcard: string
        passiveInterfaceDefault: false
        priority: 0
        processId: 0
        routerId: string
        shutdown: false
        summaryAddresses:
            - ip: string
              mask: string
        vrf: string
    

    OspfVrf Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The OspfVrf resource accepts the following input properties:

    ProcessId int
    Process ID - Range: 1-65535
    Vrf string
    VPN Routing/Forwarding Instance
    Areas List<Lbrlabs.PulumiPackage.Iosxe.Inputs.OspfVrfArea>
    OSPF area parameters
    BfdAllInterfaces bool
    Enable BFD on all interfaces
    DefaultInformationOriginate bool
    Distribute a default route
    DefaultInformationOriginateAlways bool
    Always advertise default route
    DefaultMetric int
    Set metric of redistributed routes - Range: 1-16777214
    DeleteMode string
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    Device string
    A device name from the provider configuration.
    Distance int
    Administrative distance - Range: 1-255
    DomainTag int
    OSPF domain-tag - Range: 1-4294967295
    MplsLdpAutoconfig bool
    Configure LDP automatic configuration
    MplsLdpSync bool
    Configure LDP-IGP Synchronization
    Neighbors List<Lbrlabs.PulumiPackage.Iosxe.Inputs.OspfVrfNeighbor>
    Specify a neighbor router
    Networks List<Lbrlabs.PulumiPackage.Iosxe.Inputs.OspfVrfNetwork>
    Enable routing on an IP network
    PassiveInterfaceDefault bool
    Suppress routing updates on all interfaces
    Priority int
    OSPF topology priority - Range: 0-127
    RouterId string
    Override configured router identifier (peers will reset)
    Shutdown bool
    Shutdown the OSPF protocol under the current instance
    SummaryAddresses List<Lbrlabs.PulumiPackage.Iosxe.Inputs.OspfVrfSummaryAddress>
    Configure IP address summaries
    ProcessId int
    Process ID - Range: 1-65535
    Vrf string
    VPN Routing/Forwarding Instance
    Areas []OspfVrfAreaArgs
    OSPF area parameters
    BfdAllInterfaces bool
    Enable BFD on all interfaces
    DefaultInformationOriginate bool
    Distribute a default route
    DefaultInformationOriginateAlways bool
    Always advertise default route
    DefaultMetric int
    Set metric of redistributed routes - Range: 1-16777214
    DeleteMode string
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    Device string
    A device name from the provider configuration.
    Distance int
    Administrative distance - Range: 1-255
    DomainTag int
    OSPF domain-tag - Range: 1-4294967295
    MplsLdpAutoconfig bool
    Configure LDP automatic configuration
    MplsLdpSync bool
    Configure LDP-IGP Synchronization
    Neighbors []OspfVrfNeighborArgs
    Specify a neighbor router
    Networks []OspfVrfNetworkArgs
    Enable routing on an IP network
    PassiveInterfaceDefault bool
    Suppress routing updates on all interfaces
    Priority int
    OSPF topology priority - Range: 0-127
    RouterId string
    Override configured router identifier (peers will reset)
    Shutdown bool
    Shutdown the OSPF protocol under the current instance
    SummaryAddresses []OspfVrfSummaryAddressArgs
    Configure IP address summaries
    processId Integer
    Process ID - Range: 1-65535
    vrf String
    VPN Routing/Forwarding Instance
    areas List<OspfVrfArea>
    OSPF area parameters
    bfdAllInterfaces Boolean
    Enable BFD on all interfaces
    defaultInformationOriginate Boolean
    Distribute a default route
    defaultInformationOriginateAlways Boolean
    Always advertise default route
    defaultMetric Integer
    Set metric of redistributed routes - Range: 1-16777214
    deleteMode String
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    device String
    A device name from the provider configuration.
    distance Integer
    Administrative distance - Range: 1-255
    domainTag Integer
    OSPF domain-tag - Range: 1-4294967295
    mplsLdpAutoconfig Boolean
    Configure LDP automatic configuration
    mplsLdpSync Boolean
    Configure LDP-IGP Synchronization
    neighbors List<OspfVrfNeighbor>
    Specify a neighbor router
    networks List<OspfVrfNetwork>
    Enable routing on an IP network
    passiveInterfaceDefault Boolean
    Suppress routing updates on all interfaces
    priority Integer
    OSPF topology priority - Range: 0-127
    routerId String
    Override configured router identifier (peers will reset)
    shutdown Boolean
    Shutdown the OSPF protocol under the current instance
    summaryAddresses List<OspfVrfSummaryAddress>
    Configure IP address summaries
    processId number
    Process ID - Range: 1-65535
    vrf string
    VPN Routing/Forwarding Instance
    areas OspfVrfArea[]
    OSPF area parameters
    bfdAllInterfaces boolean
    Enable BFD on all interfaces
    defaultInformationOriginate boolean
    Distribute a default route
    defaultInformationOriginateAlways boolean
    Always advertise default route
    defaultMetric number
    Set metric of redistributed routes - Range: 1-16777214
    deleteMode string
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    device string
    A device name from the provider configuration.
    distance number
    Administrative distance - Range: 1-255
    domainTag number
    OSPF domain-tag - Range: 1-4294967295
    mplsLdpAutoconfig boolean
    Configure LDP automatic configuration
    mplsLdpSync boolean
    Configure LDP-IGP Synchronization
    neighbors OspfVrfNeighbor[]
    Specify a neighbor router
    networks OspfVrfNetwork[]
    Enable routing on an IP network
    passiveInterfaceDefault boolean
    Suppress routing updates on all interfaces
    priority number
    OSPF topology priority - Range: 0-127
    routerId string
    Override configured router identifier (peers will reset)
    shutdown boolean
    Shutdown the OSPF protocol under the current instance
    summaryAddresses OspfVrfSummaryAddress[]
    Configure IP address summaries
    process_id int
    Process ID - Range: 1-65535
    vrf str
    VPN Routing/Forwarding Instance
    areas Sequence[OspfVrfAreaArgs]
    OSPF area parameters
    bfd_all_interfaces bool
    Enable BFD on all interfaces
    default_information_originate bool
    Distribute a default route
    default_information_originate_always bool
    Always advertise default route
    default_metric int
    Set metric of redistributed routes - Range: 1-16777214
    delete_mode str
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    device str
    A device name from the provider configuration.
    distance int
    Administrative distance - Range: 1-255
    domain_tag int
    OSPF domain-tag - Range: 1-4294967295
    mpls_ldp_autoconfig bool
    Configure LDP automatic configuration
    mpls_ldp_sync bool
    Configure LDP-IGP Synchronization
    neighbors Sequence[OspfVrfNeighborArgs]
    Specify a neighbor router
    networks Sequence[OspfVrfNetworkArgs]
    Enable routing on an IP network
    passive_interface_default bool
    Suppress routing updates on all interfaces
    priority int
    OSPF topology priority - Range: 0-127
    router_id str
    Override configured router identifier (peers will reset)
    shutdown bool
    Shutdown the OSPF protocol under the current instance
    summary_addresses Sequence[OspfVrfSummaryAddressArgs]
    Configure IP address summaries
    processId Number
    Process ID - Range: 1-65535
    vrf String
    VPN Routing/Forwarding Instance
    areas List<Property Map>
    OSPF area parameters
    bfdAllInterfaces Boolean
    Enable BFD on all interfaces
    defaultInformationOriginate Boolean
    Distribute a default route
    defaultInformationOriginateAlways Boolean
    Always advertise default route
    defaultMetric Number
    Set metric of redistributed routes - Range: 1-16777214
    deleteMode String
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    device String
    A device name from the provider configuration.
    distance Number
    Administrative distance - Range: 1-255
    domainTag Number
    OSPF domain-tag - Range: 1-4294967295
    mplsLdpAutoconfig Boolean
    Configure LDP automatic configuration
    mplsLdpSync Boolean
    Configure LDP-IGP Synchronization
    neighbors List<Property Map>
    Specify a neighbor router
    networks List<Property Map>
    Enable routing on an IP network
    passiveInterfaceDefault Boolean
    Suppress routing updates on all interfaces
    priority Number
    OSPF topology priority - Range: 0-127
    routerId String
    Override configured router identifier (peers will reset)
    shutdown Boolean
    Shutdown the OSPF protocol under the current instance
    summaryAddresses List<Property Map>
    Configure IP address summaries

    Outputs

    All input properties are implicitly available as output properties. Additionally, the OspfVrf resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing OspfVrf Resource

    Get an existing OspfVrf resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OspfVrfState, opts?: CustomResourceOptions): OspfVrf
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            areas: Optional[Sequence[OspfVrfAreaArgs]] = None,
            bfd_all_interfaces: Optional[bool] = None,
            default_information_originate: Optional[bool] = None,
            default_information_originate_always: Optional[bool] = None,
            default_metric: Optional[int] = None,
            delete_mode: Optional[str] = None,
            device: Optional[str] = None,
            distance: Optional[int] = None,
            domain_tag: Optional[int] = None,
            mpls_ldp_autoconfig: Optional[bool] = None,
            mpls_ldp_sync: Optional[bool] = None,
            neighbors: Optional[Sequence[OspfVrfNeighborArgs]] = None,
            networks: Optional[Sequence[OspfVrfNetworkArgs]] = None,
            passive_interface_default: Optional[bool] = None,
            priority: Optional[int] = None,
            process_id: Optional[int] = None,
            router_id: Optional[str] = None,
            shutdown: Optional[bool] = None,
            summary_addresses: Optional[Sequence[OspfVrfSummaryAddressArgs]] = None,
            vrf: Optional[str] = None) -> OspfVrf
    func GetOspfVrf(ctx *Context, name string, id IDInput, state *OspfVrfState, opts ...ResourceOption) (*OspfVrf, error)
    public static OspfVrf Get(string name, Input<string> id, OspfVrfState? state, CustomResourceOptions? opts = null)
    public static OspfVrf get(String name, Output<String> id, OspfVrfState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Areas List<Lbrlabs.PulumiPackage.Iosxe.Inputs.OspfVrfArea>
    OSPF area parameters
    BfdAllInterfaces bool
    Enable BFD on all interfaces
    DefaultInformationOriginate bool
    Distribute a default route
    DefaultInformationOriginateAlways bool
    Always advertise default route
    DefaultMetric int
    Set metric of redistributed routes - Range: 1-16777214
    DeleteMode string
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    Device string
    A device name from the provider configuration.
    Distance int
    Administrative distance - Range: 1-255
    DomainTag int
    OSPF domain-tag - Range: 1-4294967295
    MplsLdpAutoconfig bool
    Configure LDP automatic configuration
    MplsLdpSync bool
    Configure LDP-IGP Synchronization
    Neighbors List<Lbrlabs.PulumiPackage.Iosxe.Inputs.OspfVrfNeighbor>
    Specify a neighbor router
    Networks List<Lbrlabs.PulumiPackage.Iosxe.Inputs.OspfVrfNetwork>
    Enable routing on an IP network
    PassiveInterfaceDefault bool
    Suppress routing updates on all interfaces
    Priority int
    OSPF topology priority - Range: 0-127
    ProcessId int
    Process ID - Range: 1-65535
    RouterId string
    Override configured router identifier (peers will reset)
    Shutdown bool
    Shutdown the OSPF protocol under the current instance
    SummaryAddresses List<Lbrlabs.PulumiPackage.Iosxe.Inputs.OspfVrfSummaryAddress>
    Configure IP address summaries
    Vrf string
    VPN Routing/Forwarding Instance
    Areas []OspfVrfAreaArgs
    OSPF area parameters
    BfdAllInterfaces bool
    Enable BFD on all interfaces
    DefaultInformationOriginate bool
    Distribute a default route
    DefaultInformationOriginateAlways bool
    Always advertise default route
    DefaultMetric int
    Set metric of redistributed routes - Range: 1-16777214
    DeleteMode string
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    Device string
    A device name from the provider configuration.
    Distance int
    Administrative distance - Range: 1-255
    DomainTag int
    OSPF domain-tag - Range: 1-4294967295
    MplsLdpAutoconfig bool
    Configure LDP automatic configuration
    MplsLdpSync bool
    Configure LDP-IGP Synchronization
    Neighbors []OspfVrfNeighborArgs
    Specify a neighbor router
    Networks []OspfVrfNetworkArgs
    Enable routing on an IP network
    PassiveInterfaceDefault bool
    Suppress routing updates on all interfaces
    Priority int
    OSPF topology priority - Range: 0-127
    ProcessId int
    Process ID - Range: 1-65535
    RouterId string
    Override configured router identifier (peers will reset)
    Shutdown bool
    Shutdown the OSPF protocol under the current instance
    SummaryAddresses []OspfVrfSummaryAddressArgs
    Configure IP address summaries
    Vrf string
    VPN Routing/Forwarding Instance
    areas List<OspfVrfArea>
    OSPF area parameters
    bfdAllInterfaces Boolean
    Enable BFD on all interfaces
    defaultInformationOriginate Boolean
    Distribute a default route
    defaultInformationOriginateAlways Boolean
    Always advertise default route
    defaultMetric Integer
    Set metric of redistributed routes - Range: 1-16777214
    deleteMode String
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    device String
    A device name from the provider configuration.
    distance Integer
    Administrative distance - Range: 1-255
    domainTag Integer
    OSPF domain-tag - Range: 1-4294967295
    mplsLdpAutoconfig Boolean
    Configure LDP automatic configuration
    mplsLdpSync Boolean
    Configure LDP-IGP Synchronization
    neighbors List<OspfVrfNeighbor>
    Specify a neighbor router
    networks List<OspfVrfNetwork>
    Enable routing on an IP network
    passiveInterfaceDefault Boolean
    Suppress routing updates on all interfaces
    priority Integer
    OSPF topology priority - Range: 0-127
    processId Integer
    Process ID - Range: 1-65535
    routerId String
    Override configured router identifier (peers will reset)
    shutdown Boolean
    Shutdown the OSPF protocol under the current instance
    summaryAddresses List<OspfVrfSummaryAddress>
    Configure IP address summaries
    vrf String
    VPN Routing/Forwarding Instance
    areas OspfVrfArea[]
    OSPF area parameters
    bfdAllInterfaces boolean
    Enable BFD on all interfaces
    defaultInformationOriginate boolean
    Distribute a default route
    defaultInformationOriginateAlways boolean
    Always advertise default route
    defaultMetric number
    Set metric of redistributed routes - Range: 1-16777214
    deleteMode string
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    device string
    A device name from the provider configuration.
    distance number
    Administrative distance - Range: 1-255
    domainTag number
    OSPF domain-tag - Range: 1-4294967295
    mplsLdpAutoconfig boolean
    Configure LDP automatic configuration
    mplsLdpSync boolean
    Configure LDP-IGP Synchronization
    neighbors OspfVrfNeighbor[]
    Specify a neighbor router
    networks OspfVrfNetwork[]
    Enable routing on an IP network
    passiveInterfaceDefault boolean
    Suppress routing updates on all interfaces
    priority number
    OSPF topology priority - Range: 0-127
    processId number
    Process ID - Range: 1-65535
    routerId string
    Override configured router identifier (peers will reset)
    shutdown boolean
    Shutdown the OSPF protocol under the current instance
    summaryAddresses OspfVrfSummaryAddress[]
    Configure IP address summaries
    vrf string
    VPN Routing/Forwarding Instance
    areas Sequence[OspfVrfAreaArgs]
    OSPF area parameters
    bfd_all_interfaces bool
    Enable BFD on all interfaces
    default_information_originate bool
    Distribute a default route
    default_information_originate_always bool
    Always advertise default route
    default_metric int
    Set metric of redistributed routes - Range: 1-16777214
    delete_mode str
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    device str
    A device name from the provider configuration.
    distance int
    Administrative distance - Range: 1-255
    domain_tag int
    OSPF domain-tag - Range: 1-4294967295
    mpls_ldp_autoconfig bool
    Configure LDP automatic configuration
    mpls_ldp_sync bool
    Configure LDP-IGP Synchronization
    neighbors Sequence[OspfVrfNeighborArgs]
    Specify a neighbor router
    networks Sequence[OspfVrfNetworkArgs]
    Enable routing on an IP network
    passive_interface_default bool
    Suppress routing updates on all interfaces
    priority int
    OSPF topology priority - Range: 0-127
    process_id int
    Process ID - Range: 1-65535
    router_id str
    Override configured router identifier (peers will reset)
    shutdown bool
    Shutdown the OSPF protocol under the current instance
    summary_addresses Sequence[OspfVrfSummaryAddressArgs]
    Configure IP address summaries
    vrf str
    VPN Routing/Forwarding Instance
    areas List<Property Map>
    OSPF area parameters
    bfdAllInterfaces Boolean
    Enable BFD on all interfaces
    defaultInformationOriginate Boolean
    Distribute a default route
    defaultInformationOriginateAlways Boolean
    Always advertise default route
    defaultMetric Number
    Set metric of redistributed routes - Range: 1-16777214
    deleteMode String
    Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is all. - Choices: all, attributes
    device String
    A device name from the provider configuration.
    distance Number
    Administrative distance - Range: 1-255
    domainTag Number
    OSPF domain-tag - Range: 1-4294967295
    mplsLdpAutoconfig Boolean
    Configure LDP automatic configuration
    mplsLdpSync Boolean
    Configure LDP-IGP Synchronization
    neighbors List<Property Map>
    Specify a neighbor router
    networks List<Property Map>
    Enable routing on an IP network
    passiveInterfaceDefault Boolean
    Suppress routing updates on all interfaces
    priority Number
    OSPF topology priority - Range: 0-127
    processId Number
    Process ID - Range: 1-65535
    routerId String
    Override configured router identifier (peers will reset)
    shutdown Boolean
    Shutdown the OSPF protocol under the current instance
    summaryAddresses List<Property Map>
    Configure IP address summaries
    vrf String
    VPN Routing/Forwarding Instance

    Supporting Types

    OspfVrfArea, OspfVrfAreaArgs

    OspfVrfNeighbor, OspfVrfNeighborArgs

    Ip string
    Cost int
    Priority int
    Ip string
    Cost int
    Priority int
    ip String
    cost Integer
    priority Integer
    ip string
    cost number
    priority number
    ip str
    cost int
    priority int
    ip String
    cost Number
    priority Number

    OspfVrfNetwork, OspfVrfNetworkArgs

    Ip string
    Area string
    Wildcard string
    Ip string
    Area string
    Wildcard string
    ip String
    area String
    wildcard String
    ip string
    area string
    wildcard string
    ip str
    area str
    wildcard str
    ip String
    area String
    wildcard String

    OspfVrfSummaryAddress, OspfVrfSummaryAddressArgs

    Ip string
    Mask string
    Ip string
    Mask string
    ip String
    mask String
    ip string
    mask string
    ip str
    mask str
    ip String
    mask String

    Import

     $ pulumi import iosxe:index/ospfVrf:OspfVrf example "Cisco-IOS-XE-native:native/router/Cisco-IOS-XE-ospf:router-ospf/ospf/process-id-vrf=2,VRF1"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    iosxe lbrlabs/pulumi-iosxe
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the iosxe Terraform Provider.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs