iosxe.OspfVrf
Explore with Pulumi AI
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=[iosxe.OspfVrfNeighborArgs(
ip="string",
cost=0,
priority=0,
)],
default_metric=0,
areas=[iosxe.OspfVrfAreaArgs(
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=[iosxe.OspfVrfNetworkArgs(
ip="string",
area="string",
wildcard="string",
)],
passive_interface_default=False,
priority=0,
default_information_originate=False,
router_id="string",
shutdown=False,
summary_addresses=[iosxe.OspfVrfSummaryAddressArgs(
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
The OspfVrf resource accepts the following input properties:
- Process
Id int - Process ID - Range:
1
-65535
- Vrf string
- VPN Routing/Forwarding Instance
- Areas
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. 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 - Range:
1
-16777214
- Delete
Mode 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
- Domain
Tag int - OSPF domain-tag - Range:
1
-4294967295
- Mpls
Ldp boolAutoconfig - Configure LDP automatic configuration
- Mpls
Ldp boolSync - Configure LDP-IGP Synchronization
- Neighbors
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Ospf Vrf Neighbor> - Specify a neighbor router
- Networks
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Ospf Vrf Network> - Enable routing on an IP network
- Passive
Interface boolDefault - Suppress routing updates on all interfaces
- Priority int
- OSPF topology priority - Range:
0
-127
- 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. Inputs. Ospf Vrf Summary Address> - Configure IP address summaries
- Process
Id int - Process ID - Range:
1
-65535
- Vrf string
- VPN Routing/Forwarding Instance
- Areas
[]Ospf
Vrf Area Args - 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 - Range:
1
-16777214
- Delete
Mode 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
- Domain
Tag int - OSPF domain-tag - Range:
1
-4294967295
- Mpls
Ldp boolAutoconfig - Configure LDP automatic configuration
- Mpls
Ldp boolSync - Configure LDP-IGP Synchronization
- Neighbors
[]Ospf
Vrf Neighbor Args - Specify a neighbor router
- Networks
[]Ospf
Vrf Network Args - Enable routing on an IP network
- Passive
Interface boolDefault - Suppress routing updates on all interfaces
- Priority int
- OSPF topology priority - Range:
0
-127
- Router
Id string - Override configured router identifier (peers will reset)
- Shutdown bool
- Shutdown the OSPF protocol under the current instance
- Summary
Addresses []OspfVrf Summary Address Args - Configure IP address summaries
- process
Id Integer - Process ID - Range:
1
-65535
- vrf String
- VPN Routing/Forwarding Instance
- areas
List<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 - Range:
1
-16777214
- delete
Mode 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
- domain
Tag Integer - OSPF domain-tag - Range:
1
-4294967295
- mpls
Ldp BooleanAutoconfig - Configure LDP automatic configuration
- mpls
Ldp BooleanSync - Configure LDP-IGP Synchronization
- neighbors
List<Ospf
Vrf Neighbor> - Specify a neighbor router
- networks
List<Ospf
Vrf Network> - Enable routing on an IP network
- passive
Interface BooleanDefault - Suppress routing updates on all interfaces
- priority Integer
- OSPF topology priority - Range:
0
-127
- router
Id String - Override configured router identifier (peers will reset)
- shutdown Boolean
- Shutdown the OSPF protocol under the current instance
- summary
Addresses List<OspfVrf Summary Address> - Configure IP address summaries
- process
Id number - Process ID - Range:
1
-65535
- vrf string
- VPN Routing/Forwarding Instance
- areas
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 - Range:
1
-16777214
- delete
Mode 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
- domain
Tag number - OSPF domain-tag - Range:
1
-4294967295
- mpls
Ldp booleanAutoconfig - Configure LDP automatic configuration
- mpls
Ldp booleanSync - Configure LDP-IGP Synchronization
- neighbors
Ospf
Vrf Neighbor[] - Specify a neighbor router
- networks
Ospf
Vrf Network[] - Enable routing on an IP network
- passive
Interface booleanDefault - Suppress routing updates on all interfaces
- priority number
- OSPF topology priority - Range:
0
-127
- router
Id string - Override configured router identifier (peers will reset)
- shutdown boolean
- Shutdown the OSPF protocol under the current instance
- summary
Addresses OspfVrf Summary Address[] - Configure IP address summaries
- process_
id int - Process ID - Range:
1
-65535
- vrf str
- VPN Routing/Forwarding Instance
- areas
Sequence[Ospf
Vrf Area Args] - 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 - 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_ boolautoconfig - Configure LDP automatic configuration
- mpls_
ldp_ boolsync - Configure LDP-IGP Synchronization
- neighbors
Sequence[Ospf
Vrf Neighbor Args] - Specify a neighbor router
- networks
Sequence[Ospf
Vrf Network Args] - Enable routing on an IP network
- passive_
interface_ booldefault - 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[OspfVrf Summary Address Args] - Configure IP address summaries
- process
Id Number - Process ID - Range:
1
-65535
- vrf String
- VPN Routing/Forwarding Instance
- 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 - Range:
1
-16777214
- delete
Mode 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
- domain
Tag Number - OSPF domain-tag - Range:
1
-4294967295
- 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 - Range:
0
-127
- 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
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.
- Areas
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. 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 - Range:
1
-16777214
- Delete
Mode 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
- Domain
Tag int - OSPF domain-tag - Range:
1
-4294967295
- Mpls
Ldp boolAutoconfig - Configure LDP automatic configuration
- Mpls
Ldp boolSync - Configure LDP-IGP Synchronization
- Neighbors
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Ospf Vrf Neighbor> - Specify a neighbor router
- Networks
List<Lbrlabs.
Pulumi Package. Iosxe. Inputs. Ospf Vrf Network> - Enable routing on an IP network
- Passive
Interface boolDefault - Suppress routing updates on all interfaces
- Priority int
- OSPF topology priority - Range:
0
-127
- Process
Id int - Process ID - Range:
1
-65535
- 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. Inputs. Ospf Vrf Summary Address> - Configure IP address summaries
- Vrf string
- VPN Routing/Forwarding Instance
- Areas
[]Ospf
Vrf Area Args - 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 - Range:
1
-16777214
- Delete
Mode 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
- Domain
Tag int - OSPF domain-tag - Range:
1
-4294967295
- Mpls
Ldp boolAutoconfig - Configure LDP automatic configuration
- Mpls
Ldp boolSync - Configure LDP-IGP Synchronization
- Neighbors
[]Ospf
Vrf Neighbor Args - Specify a neighbor router
- Networks
[]Ospf
Vrf Network Args - Enable routing on an IP network
- Passive
Interface boolDefault - Suppress routing updates on all interfaces
- Priority int
- OSPF topology priority - Range:
0
-127
- Process
Id int - Process ID - Range:
1
-65535
- Router
Id string - Override configured router identifier (peers will reset)
- Shutdown bool
- Shutdown the OSPF protocol under the current instance
- Summary
Addresses []OspfVrf Summary Address Args - Configure IP address summaries
- Vrf string
- VPN Routing/Forwarding Instance
- areas
List<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 - Range:
1
-16777214
- delete
Mode 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
- domain
Tag Integer - OSPF domain-tag - Range:
1
-4294967295
- mpls
Ldp BooleanAutoconfig - Configure LDP automatic configuration
- mpls
Ldp BooleanSync - Configure LDP-IGP Synchronization
- neighbors
List<Ospf
Vrf Neighbor> - Specify a neighbor router
- networks
List<Ospf
Vrf Network> - Enable routing on an IP network
- passive
Interface BooleanDefault - Suppress routing updates on all interfaces
- priority Integer
- OSPF topology priority - Range:
0
-127
- process
Id Integer - Process ID - Range:
1
-65535
- router
Id String - Override configured router identifier (peers will reset)
- shutdown Boolean
- Shutdown the OSPF protocol under the current instance
- summary
Addresses List<OspfVrf Summary Address> - Configure IP address summaries
- vrf String
- VPN Routing/Forwarding Instance
- areas
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 - Range:
1
-16777214
- delete
Mode 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
- domain
Tag number - OSPF domain-tag - Range:
1
-4294967295
- mpls
Ldp booleanAutoconfig - Configure LDP automatic configuration
- mpls
Ldp booleanSync - Configure LDP-IGP Synchronization
- neighbors
Ospf
Vrf Neighbor[] - Specify a neighbor router
- networks
Ospf
Vrf Network[] - Enable routing on an IP network
- passive
Interface booleanDefault - Suppress routing updates on all interfaces
- priority number
- OSPF topology priority - Range:
0
-127
- process
Id number - Process ID - Range:
1
-65535
- router
Id string - Override configured router identifier (peers will reset)
- shutdown boolean
- Shutdown the OSPF protocol under the current instance
- summary
Addresses OspfVrf Summary Address[] - Configure IP address summaries
- vrf string
- VPN Routing/Forwarding Instance
- areas
Sequence[Ospf
Vrf Area Args] - 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 - 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_ boolautoconfig - Configure LDP automatic configuration
- mpls_
ldp_ boolsync - Configure LDP-IGP Synchronization
- neighbors
Sequence[Ospf
Vrf Neighbor Args] - Specify a neighbor router
- networks
Sequence[Ospf
Vrf Network Args] - Enable routing on an IP network
- passive_
interface_ booldefault - 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[OspfVrf Summary Address Args] - Configure IP address summaries
- vrf str
- VPN Routing/Forwarding Instance
- 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 - Range:
1
-16777214
- delete
Mode 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
- domain
Tag Number - OSPF domain-tag - Range:
1
-4294967295
- 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 - Range:
0
-127
- process
Id Number - Process ID - Range:
1
-65535
- 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
Supporting Types
OspfVrfArea, OspfVrfAreaArgs
- area
Id String - authentication
Message BooleanDigest - nssa Boolean
- nssa
Default BooleanInformation Originate - nssa
Default IntegerInformation Originate Metric - nssa
Default IntegerInformation Originate Metric Type - nssa
No BooleanRedistribution - nssa
No BooleanSummary
- area
Id string - authentication
Message booleanDigest - nssa boolean
- nssa
Default booleanInformation Originate - nssa
Default numberInformation Originate Metric - nssa
Default numberInformation Originate Metric Type - nssa
No booleanRedistribution - nssa
No booleanSummary
- area
Id String - authentication
Message BooleanDigest - nssa Boolean
- nssa
Default BooleanInformation Originate - nssa
Default NumberInformation Originate Metric - nssa
Default NumberInformation Originate Metric Type - nssa
No BooleanRedistribution - nssa
No BooleanSummary
OspfVrfNeighbor, OspfVrfNeighborArgs
OspfVrfNetwork, OspfVrfNetworkArgs
OspfVrfSummaryAddress, OspfVrfSummaryAddressArgs
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.