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

iosxe.InterfaceOspf

Explore with Pulumi AI

This resource can manage the Interface OSPF 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.InterfaceOspf;
import com.pulumi.iosxe.InterfaceOspfArgs;
import com.pulumi.iosxe.inputs.InterfaceOspfMessageDigestKeyArgs;
import com.pulumi.iosxe.inputs.InterfaceOspfProcessIdArgs;
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 InterfaceOspf("example", InterfaceOspfArgs.builder()        
            .cost(10)
            .deadInterval(30)
            .helloInterval(5)
            .messageDigestKeys(InterfaceOspfMessageDigestKeyArgs.builder()
                .id(1)
                .md5_auth_key("mykey")
                .md5_auth_type(0)
                .build())
            .mtuIgnore(false)
            .networkTypeBroadcast(false)
            .networkTypeNonBroadcast(false)
            .networkTypePointToMultipoint(false)
            .networkTypePointToPoint(true)
            .priority(10)
            .processIds(InterfaceOspfProcessIdArgs.builder()
                .areas(InterfaceOspfProcessIdAreaArgs.builder()
                    .areaId("0")
                    .build())
                .id(1)
                .build())
            .ttlSecurityHops(2)
            .type("Loopback")
            .build());

    }
}
Copy

Coming soon!

Coming soon!

resources:
  example:
    type: iosxe:InterfaceOspf
    properties:
      cost: 10
      deadInterval: 30
      helloInterval: 5
      messageDigestKeys:
        - id: 1
          md5_auth_key: mykey
          md5_auth_type: 0
      mtuIgnore: false
      networkTypeBroadcast: false
      networkTypeNonBroadcast: false
      networkTypePointToMultipoint: false
      networkTypePointToPoint: true
      priority: 10
      processIds:
        - areas:
            - areaId: '0'
          id: 1
      ttlSecurityHops: 2
      type: Loopback
Copy

Create InterfaceOspf Resource

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

Constructor syntax

new InterfaceOspf(name: string, args: InterfaceOspfArgs, opts?: CustomResourceOptions);
@overload
def InterfaceOspf(resource_name: str,
                  args: InterfaceOspfArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def InterfaceOspf(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  type: Optional[str] = None,
                  network_type_broadcast: Optional[bool] = None,
                  network_type_point_to_point: Optional[bool] = None,
                  device: Optional[str] = None,
                  hello_interval: Optional[int] = None,
                  message_digest_keys: Optional[Sequence[InterfaceOspfMessageDigestKeyArgs]] = None,
                  mtu_ignore: Optional[bool] = None,
                  delete_mode: Optional[str] = None,
                  network_type_non_broadcast: Optional[bool] = None,
                  name: Optional[str] = None,
                  network_type_point_to_multipoint: Optional[bool] = None,
                  cost: Optional[int] = None,
                  priority: Optional[int] = None,
                  process_ids: Optional[Sequence[InterfaceOspfProcessIdArgs]] = None,
                  ttl_security_hops: Optional[int] = None,
                  dead_interval: Optional[int] = None)
func NewInterfaceOspf(ctx *Context, name string, args InterfaceOspfArgs, opts ...ResourceOption) (*InterfaceOspf, error)
public InterfaceOspf(string name, InterfaceOspfArgs args, CustomResourceOptions? opts = null)
public InterfaceOspf(String name, InterfaceOspfArgs args)
public InterfaceOspf(String name, InterfaceOspfArgs args, CustomResourceOptions options)
type: iosxe:InterfaceOspf
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. InterfaceOspfArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. InterfaceOspfArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. InterfaceOspfArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. InterfaceOspfArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. InterfaceOspfArgs
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 interfaceOspfResource = new Iosxe.InterfaceOspf("interfaceOspfResource", new()
{
    Type = "string",
    NetworkTypeBroadcast = false,
    NetworkTypePointToPoint = false,
    Device = "string",
    HelloInterval = 0,
    MessageDigestKeys = new[]
    {
        new Iosxe.Inputs.InterfaceOspfMessageDigestKeyArgs
        {
            Id = 0,
            Md5AuthKey = "string",
            Md5AuthType = 0,
        },
    },
    MtuIgnore = false,
    DeleteMode = "string",
    NetworkTypeNonBroadcast = false,
    Name = "string",
    NetworkTypePointToMultipoint = false,
    Cost = 0,
    Priority = 0,
    ProcessIds = new[]
    {
        new Iosxe.Inputs.InterfaceOspfProcessIdArgs
        {
            Id = 0,
            Areas = new[]
            {
                new Iosxe.Inputs.InterfaceOspfProcessIdAreaArgs
                {
                    AreaId = "string",
                },
            },
        },
    },
    TtlSecurityHops = 0,
    DeadInterval = 0,
});
Copy
example, err := iosxe.NewInterfaceOspf(ctx, "interfaceOspfResource", &iosxe.InterfaceOspfArgs{
	Type:                    pulumi.String("string"),
	NetworkTypeBroadcast:    pulumi.Bool(false),
	NetworkTypePointToPoint: pulumi.Bool(false),
	Device:                  pulumi.String("string"),
	HelloInterval:           pulumi.Int(0),
	MessageDigestKeys: iosxe.InterfaceOspfMessageDigestKeyArray{
		&iosxe.InterfaceOspfMessageDigestKeyArgs{
			Id:          pulumi.Int(0),
			Md5AuthKey:  pulumi.String("string"),
			Md5AuthType: pulumi.Int(0),
		},
	},
	MtuIgnore:                    pulumi.Bool(false),
	DeleteMode:                   pulumi.String("string"),
	NetworkTypeNonBroadcast:      pulumi.Bool(false),
	Name:                         pulumi.String("string"),
	NetworkTypePointToMultipoint: pulumi.Bool(false),
	Cost:                         pulumi.Int(0),
	Priority:                     pulumi.Int(0),
	ProcessIds: iosxe.InterfaceOspfProcessIdArray{
		&iosxe.InterfaceOspfProcessIdArgs{
			Id: pulumi.Int(0),
			Areas: iosxe.InterfaceOspfProcessIdAreaArray{
				&iosxe.InterfaceOspfProcessIdAreaArgs{
					AreaId: pulumi.String("string"),
				},
			},
		},
	},
	TtlSecurityHops: pulumi.Int(0),
	DeadInterval:    pulumi.Int(0),
})
Copy
var interfaceOspfResource = new InterfaceOspf("interfaceOspfResource", InterfaceOspfArgs.builder()
    .type("string")
    .networkTypeBroadcast(false)
    .networkTypePointToPoint(false)
    .device("string")
    .helloInterval(0)
    .messageDigestKeys(InterfaceOspfMessageDigestKeyArgs.builder()
        .id(0)
        .md5AuthKey("string")
        .md5AuthType(0)
        .build())
    .mtuIgnore(false)
    .deleteMode("string")
    .networkTypeNonBroadcast(false)
    .name("string")
    .networkTypePointToMultipoint(false)
    .cost(0)
    .priority(0)
    .processIds(InterfaceOspfProcessIdArgs.builder()
        .id(0)
        .areas(InterfaceOspfProcessIdAreaArgs.builder()
            .areaId("string")
            .build())
        .build())
    .ttlSecurityHops(0)
    .deadInterval(0)
    .build());
Copy
interface_ospf_resource = iosxe.InterfaceOspf("interfaceOspfResource",
    type="string",
    network_type_broadcast=False,
    network_type_point_to_point=False,
    device="string",
    hello_interval=0,
    message_digest_keys=[{
        "id": 0,
        "md5_auth_key": "string",
        "md5_auth_type": 0,
    }],
    mtu_ignore=False,
    delete_mode="string",
    network_type_non_broadcast=False,
    name="string",
    network_type_point_to_multipoint=False,
    cost=0,
    priority=0,
    process_ids=[{
        "id": 0,
        "areas": [{
            "area_id": "string",
        }],
    }],
    ttl_security_hops=0,
    dead_interval=0)
Copy
const interfaceOspfResource = new iosxe.InterfaceOspf("interfaceOspfResource", {
    type: "string",
    networkTypeBroadcast: false,
    networkTypePointToPoint: false,
    device: "string",
    helloInterval: 0,
    messageDigestKeys: [{
        id: 0,
        md5AuthKey: "string",
        md5AuthType: 0,
    }],
    mtuIgnore: false,
    deleteMode: "string",
    networkTypeNonBroadcast: false,
    name: "string",
    networkTypePointToMultipoint: false,
    cost: 0,
    priority: 0,
    processIds: [{
        id: 0,
        areas: [{
            areaId: "string",
        }],
    }],
    ttlSecurityHops: 0,
    deadInterval: 0,
});
Copy
type: iosxe:InterfaceOspf
properties:
    cost: 0
    deadInterval: 0
    deleteMode: string
    device: string
    helloInterval: 0
    messageDigestKeys:
        - id: 0
          md5AuthKey: string
          md5AuthType: 0
    mtuIgnore: false
    name: string
    networkTypeBroadcast: false
    networkTypeNonBroadcast: false
    networkTypePointToMultipoint: false
    networkTypePointToPoint: false
    priority: 0
    processIds:
        - areas:
            - areaId: string
          id: 0
    ttlSecurityHops: 0
    type: string
Copy

InterfaceOspf 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 InterfaceOspf resource accepts the following input properties:

Type This property is required. string
Interface type - Choices: GigabitEthernet, TwoGigabitEthernet, FiveGigabitEthernet, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigE, Loopback, Vlan, Port-channel
Cost int
Route cost of this interface - Range: 1-65535
DeadInterval int
Interval after which a neighbor is declared dead - Range: 1-65535
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.
HelloInterval int
Time between HELLO packets - Range: 1-65535
MessageDigestKeys List<Lbrlabs.PulumiPackage.Iosxe.Inputs.InterfaceOspfMessageDigestKey>
Message digest authentication password (key)
MtuIgnore bool
Ignores the MTU in DBD packets
Name string
NetworkTypeBroadcast bool
Specify OSPF broadcast multi-access network
NetworkTypeNonBroadcast bool
Specify OSPF NBMA network
NetworkTypePointToMultipoint bool
Specify OSPF point-to-multipoint network
NetworkTypePointToPoint bool
Specify OSPF point-to-point network
Priority int
Router priority - Range: 0-255
ProcessIds List<Lbrlabs.PulumiPackage.Iosxe.Inputs.InterfaceOspfProcessId>
TtlSecurityHops int
IP hops - Range: 1-254
Type This property is required. string
Interface type - Choices: GigabitEthernet, TwoGigabitEthernet, FiveGigabitEthernet, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigE, Loopback, Vlan, Port-channel
Cost int
Route cost of this interface - Range: 1-65535
DeadInterval int
Interval after which a neighbor is declared dead - Range: 1-65535
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.
HelloInterval int
Time between HELLO packets - Range: 1-65535
MessageDigestKeys []InterfaceOspfMessageDigestKeyArgs
Message digest authentication password (key)
MtuIgnore bool
Ignores the MTU in DBD packets
Name string
NetworkTypeBroadcast bool
Specify OSPF broadcast multi-access network
NetworkTypeNonBroadcast bool
Specify OSPF NBMA network
NetworkTypePointToMultipoint bool
Specify OSPF point-to-multipoint network
NetworkTypePointToPoint bool
Specify OSPF point-to-point network
Priority int
Router priority - Range: 0-255
ProcessIds []InterfaceOspfProcessIdArgs
TtlSecurityHops int
IP hops - Range: 1-254
type This property is required. String
Interface type - Choices: GigabitEthernet, TwoGigabitEthernet, FiveGigabitEthernet, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigE, Loopback, Vlan, Port-channel
cost Integer
Route cost of this interface - Range: 1-65535
deadInterval Integer
Interval after which a neighbor is declared dead - Range: 1-65535
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.
helloInterval Integer
Time between HELLO packets - Range: 1-65535
messageDigestKeys List<InterfaceOspfMessageDigestKey>
Message digest authentication password (key)
mtuIgnore Boolean
Ignores the MTU in DBD packets
name String
networkTypeBroadcast Boolean
Specify OSPF broadcast multi-access network
networkTypeNonBroadcast Boolean
Specify OSPF NBMA network
networkTypePointToMultipoint Boolean
Specify OSPF point-to-multipoint network
networkTypePointToPoint Boolean
Specify OSPF point-to-point network
priority Integer
Router priority - Range: 0-255
processIds List<InterfaceOspfProcessId>
ttlSecurityHops Integer
IP hops - Range: 1-254
type This property is required. string
Interface type - Choices: GigabitEthernet, TwoGigabitEthernet, FiveGigabitEthernet, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigE, Loopback, Vlan, Port-channel
cost number
Route cost of this interface - Range: 1-65535
deadInterval number
Interval after which a neighbor is declared dead - Range: 1-65535
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.
helloInterval number
Time between HELLO packets - Range: 1-65535
messageDigestKeys InterfaceOspfMessageDigestKey[]
Message digest authentication password (key)
mtuIgnore boolean
Ignores the MTU in DBD packets
name string
networkTypeBroadcast boolean
Specify OSPF broadcast multi-access network
networkTypeNonBroadcast boolean
Specify OSPF NBMA network
networkTypePointToMultipoint boolean
Specify OSPF point-to-multipoint network
networkTypePointToPoint boolean
Specify OSPF point-to-point network
priority number
Router priority - Range: 0-255
processIds InterfaceOspfProcessId[]
ttlSecurityHops number
IP hops - Range: 1-254
type This property is required. str
Interface type - Choices: GigabitEthernet, TwoGigabitEthernet, FiveGigabitEthernet, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigE, Loopback, Vlan, Port-channel
cost int
Route cost of this interface - Range: 1-65535
dead_interval int
Interval after which a neighbor is declared dead - Range: 1-65535
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.
hello_interval int
Time between HELLO packets - Range: 1-65535
message_digest_keys Sequence[InterfaceOspfMessageDigestKeyArgs]
Message digest authentication password (key)
mtu_ignore bool
Ignores the MTU in DBD packets
name str
network_type_broadcast bool
Specify OSPF broadcast multi-access network
network_type_non_broadcast bool
Specify OSPF NBMA network
network_type_point_to_multipoint bool
Specify OSPF point-to-multipoint network
network_type_point_to_point bool
Specify OSPF point-to-point network
priority int
Router priority - Range: 0-255
process_ids Sequence[InterfaceOspfProcessIdArgs]
ttl_security_hops int
IP hops - Range: 1-254
type This property is required. String
Interface type - Choices: GigabitEthernet, TwoGigabitEthernet, FiveGigabitEthernet, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigE, Loopback, Vlan, Port-channel
cost Number
Route cost of this interface - Range: 1-65535
deadInterval Number
Interval after which a neighbor is declared dead - Range: 1-65535
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.
helloInterval Number
Time between HELLO packets - Range: 1-65535
messageDigestKeys List<Property Map>
Message digest authentication password (key)
mtuIgnore Boolean
Ignores the MTU in DBD packets
name String
networkTypeBroadcast Boolean
Specify OSPF broadcast multi-access network
networkTypeNonBroadcast Boolean
Specify OSPF NBMA network
networkTypePointToMultipoint Boolean
Specify OSPF point-to-multipoint network
networkTypePointToPoint Boolean
Specify OSPF point-to-point network
priority Number
Router priority - Range: 0-255
processIds List<Property Map>
ttlSecurityHops Number
IP hops - Range: 1-254

Outputs

All input properties are implicitly available as output properties. Additionally, the InterfaceOspf 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 InterfaceOspf Resource

Get an existing InterfaceOspf 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?: InterfaceOspfState, opts?: CustomResourceOptions): InterfaceOspf
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cost: Optional[int] = None,
        dead_interval: Optional[int] = None,
        delete_mode: Optional[str] = None,
        device: Optional[str] = None,
        hello_interval: Optional[int] = None,
        message_digest_keys: Optional[Sequence[InterfaceOspfMessageDigestKeyArgs]] = None,
        mtu_ignore: Optional[bool] = None,
        name: Optional[str] = None,
        network_type_broadcast: Optional[bool] = None,
        network_type_non_broadcast: Optional[bool] = None,
        network_type_point_to_multipoint: Optional[bool] = None,
        network_type_point_to_point: Optional[bool] = None,
        priority: Optional[int] = None,
        process_ids: Optional[Sequence[InterfaceOspfProcessIdArgs]] = None,
        ttl_security_hops: Optional[int] = None,
        type: Optional[str] = None) -> InterfaceOspf
func GetInterfaceOspf(ctx *Context, name string, id IDInput, state *InterfaceOspfState, opts ...ResourceOption) (*InterfaceOspf, error)
public static InterfaceOspf Get(string name, Input<string> id, InterfaceOspfState? state, CustomResourceOptions? opts = null)
public static InterfaceOspf get(String name, Output<String> id, InterfaceOspfState state, CustomResourceOptions options)
resources:  _:    type: iosxe:InterfaceOspf    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Cost int
Route cost of this interface - Range: 1-65535
DeadInterval int
Interval after which a neighbor is declared dead - Range: 1-65535
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.
HelloInterval int
Time between HELLO packets - Range: 1-65535
MessageDigestKeys List<Lbrlabs.PulumiPackage.Iosxe.Inputs.InterfaceOspfMessageDigestKey>
Message digest authentication password (key)
MtuIgnore bool
Ignores the MTU in DBD packets
Name string
NetworkTypeBroadcast bool
Specify OSPF broadcast multi-access network
NetworkTypeNonBroadcast bool
Specify OSPF NBMA network
NetworkTypePointToMultipoint bool
Specify OSPF point-to-multipoint network
NetworkTypePointToPoint bool
Specify OSPF point-to-point network
Priority int
Router priority - Range: 0-255
ProcessIds List<Lbrlabs.PulumiPackage.Iosxe.Inputs.InterfaceOspfProcessId>
TtlSecurityHops int
IP hops - Range: 1-254
Type string
Interface type - Choices: GigabitEthernet, TwoGigabitEthernet, FiveGigabitEthernet, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigE, Loopback, Vlan, Port-channel
Cost int
Route cost of this interface - Range: 1-65535
DeadInterval int
Interval after which a neighbor is declared dead - Range: 1-65535
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.
HelloInterval int
Time between HELLO packets - Range: 1-65535
MessageDigestKeys []InterfaceOspfMessageDigestKeyArgs
Message digest authentication password (key)
MtuIgnore bool
Ignores the MTU in DBD packets
Name string
NetworkTypeBroadcast bool
Specify OSPF broadcast multi-access network
NetworkTypeNonBroadcast bool
Specify OSPF NBMA network
NetworkTypePointToMultipoint bool
Specify OSPF point-to-multipoint network
NetworkTypePointToPoint bool
Specify OSPF point-to-point network
Priority int
Router priority - Range: 0-255
ProcessIds []InterfaceOspfProcessIdArgs
TtlSecurityHops int
IP hops - Range: 1-254
Type string
Interface type - Choices: GigabitEthernet, TwoGigabitEthernet, FiveGigabitEthernet, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigE, Loopback, Vlan, Port-channel
cost Integer
Route cost of this interface - Range: 1-65535
deadInterval Integer
Interval after which a neighbor is declared dead - Range: 1-65535
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.
helloInterval Integer
Time between HELLO packets - Range: 1-65535
messageDigestKeys List<InterfaceOspfMessageDigestKey>
Message digest authentication password (key)
mtuIgnore Boolean
Ignores the MTU in DBD packets
name String
networkTypeBroadcast Boolean
Specify OSPF broadcast multi-access network
networkTypeNonBroadcast Boolean
Specify OSPF NBMA network
networkTypePointToMultipoint Boolean
Specify OSPF point-to-multipoint network
networkTypePointToPoint Boolean
Specify OSPF point-to-point network
priority Integer
Router priority - Range: 0-255
processIds List<InterfaceOspfProcessId>
ttlSecurityHops Integer
IP hops - Range: 1-254
type String
Interface type - Choices: GigabitEthernet, TwoGigabitEthernet, FiveGigabitEthernet, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigE, Loopback, Vlan, Port-channel
cost number
Route cost of this interface - Range: 1-65535
deadInterval number
Interval after which a neighbor is declared dead - Range: 1-65535
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.
helloInterval number
Time between HELLO packets - Range: 1-65535
messageDigestKeys InterfaceOspfMessageDigestKey[]
Message digest authentication password (key)
mtuIgnore boolean
Ignores the MTU in DBD packets
name string
networkTypeBroadcast boolean
Specify OSPF broadcast multi-access network
networkTypeNonBroadcast boolean
Specify OSPF NBMA network
networkTypePointToMultipoint boolean
Specify OSPF point-to-multipoint network
networkTypePointToPoint boolean
Specify OSPF point-to-point network
priority number
Router priority - Range: 0-255
processIds InterfaceOspfProcessId[]
ttlSecurityHops number
IP hops - Range: 1-254
type string
Interface type - Choices: GigabitEthernet, TwoGigabitEthernet, FiveGigabitEthernet, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigE, Loopback, Vlan, Port-channel
cost int
Route cost of this interface - Range: 1-65535
dead_interval int
Interval after which a neighbor is declared dead - Range: 1-65535
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.
hello_interval int
Time between HELLO packets - Range: 1-65535
message_digest_keys Sequence[InterfaceOspfMessageDigestKeyArgs]
Message digest authentication password (key)
mtu_ignore bool
Ignores the MTU in DBD packets
name str
network_type_broadcast bool
Specify OSPF broadcast multi-access network
network_type_non_broadcast bool
Specify OSPF NBMA network
network_type_point_to_multipoint bool
Specify OSPF point-to-multipoint network
network_type_point_to_point bool
Specify OSPF point-to-point network
priority int
Router priority - Range: 0-255
process_ids Sequence[InterfaceOspfProcessIdArgs]
ttl_security_hops int
IP hops - Range: 1-254
type str
Interface type - Choices: GigabitEthernet, TwoGigabitEthernet, FiveGigabitEthernet, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigE, Loopback, Vlan, Port-channel
cost Number
Route cost of this interface - Range: 1-65535
deadInterval Number
Interval after which a neighbor is declared dead - Range: 1-65535
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.
helloInterval Number
Time between HELLO packets - Range: 1-65535
messageDigestKeys List<Property Map>
Message digest authentication password (key)
mtuIgnore Boolean
Ignores the MTU in DBD packets
name String
networkTypeBroadcast Boolean
Specify OSPF broadcast multi-access network
networkTypeNonBroadcast Boolean
Specify OSPF NBMA network
networkTypePointToMultipoint Boolean
Specify OSPF point-to-multipoint network
networkTypePointToPoint Boolean
Specify OSPF point-to-point network
priority Number
Router priority - Range: 0-255
processIds List<Property Map>
ttlSecurityHops Number
IP hops - Range: 1-254
type String
Interface type - Choices: GigabitEthernet, TwoGigabitEthernet, FiveGigabitEthernet, TenGigabitEthernet, TwentyFiveGigE, FortyGigabitEthernet, HundredGigE, TwoHundredGigE, FourHundredGigE, Loopback, Vlan, Port-channel

Supporting Types

InterfaceOspfMessageDigestKey
, InterfaceOspfMessageDigestKeyArgs

Id This property is required. int
Md5AuthKey string
Md5AuthType int
Id This property is required. int
Md5AuthKey string
Md5AuthType int
id This property is required. Integer
md5AuthKey String
md5AuthType Integer
id This property is required. number
md5AuthKey string
md5AuthType number
id This property is required. int
md5_auth_key str
md5_auth_type int
id This property is required. Number
md5AuthKey String
md5AuthType Number

InterfaceOspfProcessId
, InterfaceOspfProcessIdArgs

Id This property is required. int
Areas []InterfaceOspfProcessIdArea
id This property is required. Integer
areas List<InterfaceOspfProcessIdArea>
id This property is required. number
areas InterfaceOspfProcessIdArea[]
id This property is required. int
areas Sequence[InterfaceOspfProcessIdArea]
id This property is required. Number
areas List<Property Map>

InterfaceOspfProcessIdArea
, InterfaceOspfProcessIdAreaArgs

AreaId This property is required. string
AreaId This property is required. string
areaId This property is required. String
areaId This property is required. string
area_id This property is required. str
areaId This property is required. String

Import

 $ pulumi import iosxe:index/interfaceOspf:InterfaceOspf example "Cisco-IOS-XE-native:native/interface/Loopback=1/ip/Cisco-IOS-XE-ospf:router-ospf/ospf"
Copy

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.