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());
}
}
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
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_non_broadcast: 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,
cost: Optional[int] = None,
name: Optional[str] = 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,
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 string
- The unique name of the resource.
- args InterfaceOspfArgs
- 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 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 string
- The unique name of the resource.
- args InterfaceOspfArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InterfaceOspfArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
NetworkTypeNonBroadcast = false,
Device = "string",
HelloInterval = 0,
MessageDigestKeys = new[]
{
new Iosxe.Inputs.InterfaceOspfMessageDigestKeyArgs
{
Id = 0,
Md5AuthKey = "string",
Md5AuthType = 0,
},
},
MtuIgnore = false,
DeleteMode = "string",
Cost = 0,
Name = "string",
NetworkTypePointToMultipoint = false,
NetworkTypePointToPoint = false,
Priority = 0,
ProcessIds = new[]
{
new Iosxe.Inputs.InterfaceOspfProcessIdArgs
{
Id = 0,
Areas = new[]
{
new Iosxe.Inputs.InterfaceOspfProcessIdAreaArgs
{
AreaId = "string",
},
},
},
},
TtlSecurityHops = 0,
DeadInterval = 0,
});
example, err := iosxe.NewInterfaceOspf(ctx, "interfaceOspfResource", &iosxe.InterfaceOspfArgs{
Type: pulumi.String("string"),
NetworkTypeBroadcast: pulumi.Bool(false),
NetworkTypeNonBroadcast: 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"),
Cost: pulumi.Int(0),
Name: pulumi.String("string"),
NetworkTypePointToMultipoint: pulumi.Bool(false),
NetworkTypePointToPoint: pulumi.Bool(false),
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),
})
var interfaceOspfResource = new InterfaceOspf("interfaceOspfResource", InterfaceOspfArgs.builder()
.type("string")
.networkTypeBroadcast(false)
.networkTypeNonBroadcast(false)
.device("string")
.helloInterval(0)
.messageDigestKeys(InterfaceOspfMessageDigestKeyArgs.builder()
.id(0)
.md5AuthKey("string")
.md5AuthType(0)
.build())
.mtuIgnore(false)
.deleteMode("string")
.cost(0)
.name("string")
.networkTypePointToMultipoint(false)
.networkTypePointToPoint(false)
.priority(0)
.processIds(InterfaceOspfProcessIdArgs.builder()
.id(0)
.areas(InterfaceOspfProcessIdAreaArgs.builder()
.areaId("string")
.build())
.build())
.ttlSecurityHops(0)
.deadInterval(0)
.build());
interface_ospf_resource = iosxe.InterfaceOspf("interfaceOspfResource",
type="string",
network_type_broadcast=False,
network_type_non_broadcast=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",
cost=0,
name="string",
network_type_point_to_multipoint=False,
network_type_point_to_point=False,
priority=0,
process_ids=[{
"id": 0,
"areas": [{
"area_id": "string",
}],
}],
ttl_security_hops=0,
dead_interval=0)
const interfaceOspfResource = new iosxe.InterfaceOspf("interfaceOspfResource", {
type: "string",
networkTypeBroadcast: false,
networkTypeNonBroadcast: false,
device: "string",
helloInterval: 0,
messageDigestKeys: [{
id: 0,
md5AuthKey: "string",
md5AuthType: 0,
}],
mtuIgnore: false,
deleteMode: "string",
cost: 0,
name: "string",
networkTypePointToMultipoint: false,
networkTypePointToPoint: false,
priority: 0,
processIds: [{
id: 0,
areas: [{
areaId: "string",
}],
}],
ttlSecurityHops: 0,
deadInterval: 0,
});
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
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 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 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.
- Hello
Interval int - Time between HELLO packets - Range:
1
-65535
- Message
Digest List<Lbrlabs.Keys Pulumi Package. Iosxe. Inputs. Interface Ospf Message Digest Key> - Message digest authentication password (key)
- Mtu
Ignore bool - Ignores the MTU in DBD packets
- Name string
- Network
Type boolBroadcast - Specify OSPF broadcast multi-access network
- Network
Type boolNon Broadcast - Specify OSPF NBMA network
- Network
Type boolPoint To Multipoint - Specify OSPF point-to-multipoint network
- Network
Type boolPoint To Point - Specify OSPF point-to-point network
- Priority int
- Router priority - Range:
0
-255
- Process
Ids List<Lbrlabs.Pulumi Package. Iosxe. Inputs. Interface Ospf Process Id> - Ttl
Security intHops - 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 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.
- Hello
Interval int - Time between HELLO packets - Range:
1
-65535
- Message
Digest []InterfaceKeys Ospf Message Digest Key Args - Message digest authentication password (key)
- Mtu
Ignore bool - Ignores the MTU in DBD packets
- Name string
- Network
Type boolBroadcast - Specify OSPF broadcast multi-access network
- Network
Type boolNon Broadcast - Specify OSPF NBMA network
- Network
Type boolPoint To Multipoint - Specify OSPF point-to-multipoint network
- Network
Type boolPoint To Point - Specify OSPF point-to-point network
- Priority int
- Router priority - Range:
0
-255
- Process
Ids []InterfaceOspf Process Id Args - Ttl
Security intHops - 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
- dead
Interval Integer - Interval after which a neighbor is declared dead - Range:
1
-65535
- 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.
- hello
Interval Integer - Time between HELLO packets - Range:
1
-65535
- message
Digest List<InterfaceKeys Ospf Message Digest Key> - Message digest authentication password (key)
- mtu
Ignore Boolean - Ignores the MTU in DBD packets
- name String
- network
Type BooleanBroadcast - Specify OSPF broadcast multi-access network
- network
Type BooleanNon Broadcast - Specify OSPF NBMA network
- network
Type BooleanPoint To Multipoint - Specify OSPF point-to-multipoint network
- network
Type BooleanPoint To Point - Specify OSPF point-to-point network
- priority Integer
- Router priority - Range:
0
-255
- process
Ids List<InterfaceOspf Process Id> - ttl
Security IntegerHops - 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
- dead
Interval number - Interval after which a neighbor is declared dead - Range:
1
-65535
- 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.
- hello
Interval number - Time between HELLO packets - Range:
1
-65535
- message
Digest InterfaceKeys Ospf Message Digest Key[] - Message digest authentication password (key)
- mtu
Ignore boolean - Ignores the MTU in DBD packets
- name string
- network
Type booleanBroadcast - Specify OSPF broadcast multi-access network
- network
Type booleanNon Broadcast - Specify OSPF NBMA network
- network
Type booleanPoint To Multipoint - Specify OSPF point-to-multipoint network
- network
Type booleanPoint To Point - Specify OSPF point-to-point network
- priority number
- Router priority - Range:
0
-255
- process
Ids InterfaceOspf Process Id[] - ttl
Security numberHops - IP hops - Range:
1
-254
- type 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_ Sequence[Interfacekeys Ospf Message Digest Key Args] - Message digest authentication password (key)
- mtu_
ignore bool - Ignores the MTU in DBD packets
- name str
- network_
type_ boolbroadcast - Specify OSPF broadcast multi-access network
- network_
type_ boolnon_ broadcast - Specify OSPF NBMA network
- network_
type_ boolpoint_ to_ multipoint - Specify OSPF point-to-multipoint network
- network_
type_ boolpoint_ to_ point - Specify OSPF point-to-point network
- priority int
- Router priority - Range:
0
-255
- process_
ids Sequence[InterfaceOspf Process Id Args] - ttl_
security_ inthops - 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
- dead
Interval Number - Interval after which a neighbor is declared dead - Range:
1
-65535
- 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.
- hello
Interval Number - Time between HELLO packets - Range:
1
-65535
- message
Digest List<Property Map>Keys - Message digest authentication password (key)
- mtu
Ignore Boolean - Ignores the MTU in DBD packets
- name String
- network
Type BooleanBroadcast - Specify OSPF broadcast multi-access network
- network
Type BooleanNon Broadcast - Specify OSPF NBMA network
- network
Type BooleanPoint To Multipoint - Specify OSPF point-to-multipoint network
- network
Type BooleanPoint To Point - Specify OSPF point-to-point network
- priority Number
- Router priority - Range:
0
-255
- process
Ids List<Property Map> - ttl
Security NumberHops - 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)
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.
- 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 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.
- Hello
Interval int - Time between HELLO packets - Range:
1
-65535
- Message
Digest List<Lbrlabs.Keys Pulumi Package. Iosxe. Inputs. Interface Ospf Message Digest Key> - Message digest authentication password (key)
- Mtu
Ignore bool - Ignores the MTU in DBD packets
- Name string
- Network
Type boolBroadcast - Specify OSPF broadcast multi-access network
- Network
Type boolNon Broadcast - Specify OSPF NBMA network
- Network
Type boolPoint To Multipoint - Specify OSPF point-to-multipoint network
- Network
Type boolPoint To Point - Specify OSPF point-to-point network
- Priority int
- Router priority - Range:
0
-255
- Process
Ids List<Lbrlabs.Pulumi Package. Iosxe. Inputs. Interface Ospf Process Id> - Ttl
Security intHops - 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 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.
- Hello
Interval int - Time between HELLO packets - Range:
1
-65535
- Message
Digest []InterfaceKeys Ospf Message Digest Key Args - Message digest authentication password (key)
- Mtu
Ignore bool - Ignores the MTU in DBD packets
- Name string
- Network
Type boolBroadcast - Specify OSPF broadcast multi-access network
- Network
Type boolNon Broadcast - Specify OSPF NBMA network
- Network
Type boolPoint To Multipoint - Specify OSPF point-to-multipoint network
- Network
Type boolPoint To Point - Specify OSPF point-to-point network
- Priority int
- Router priority - Range:
0
-255
- Process
Ids []InterfaceOspf Process Id Args - Ttl
Security intHops - 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
- dead
Interval Integer - Interval after which a neighbor is declared dead - Range:
1
-65535
- 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.
- hello
Interval Integer - Time between HELLO packets - Range:
1
-65535
- message
Digest List<InterfaceKeys Ospf Message Digest Key> - Message digest authentication password (key)
- mtu
Ignore Boolean - Ignores the MTU in DBD packets
- name String
- network
Type BooleanBroadcast - Specify OSPF broadcast multi-access network
- network
Type BooleanNon Broadcast - Specify OSPF NBMA network
- network
Type BooleanPoint To Multipoint - Specify OSPF point-to-multipoint network
- network
Type BooleanPoint To Point - Specify OSPF point-to-point network
- priority Integer
- Router priority - Range:
0
-255
- process
Ids List<InterfaceOspf Process Id> - ttl
Security IntegerHops - 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
- dead
Interval number - Interval after which a neighbor is declared dead - Range:
1
-65535
- 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.
- hello
Interval number - Time between HELLO packets - Range:
1
-65535
- message
Digest InterfaceKeys Ospf Message Digest Key[] - Message digest authentication password (key)
- mtu
Ignore boolean - Ignores the MTU in DBD packets
- name string
- network
Type booleanBroadcast - Specify OSPF broadcast multi-access network
- network
Type booleanNon Broadcast - Specify OSPF NBMA network
- network
Type booleanPoint To Multipoint - Specify OSPF point-to-multipoint network
- network
Type booleanPoint To Point - Specify OSPF point-to-point network
- priority number
- Router priority - Range:
0
-255
- process
Ids InterfaceOspf Process Id[] - ttl
Security numberHops - 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_ Sequence[Interfacekeys Ospf Message Digest Key Args] - Message digest authentication password (key)
- mtu_
ignore bool - Ignores the MTU in DBD packets
- name str
- network_
type_ boolbroadcast - Specify OSPF broadcast multi-access network
- network_
type_ boolnon_ broadcast - Specify OSPF NBMA network
- network_
type_ boolpoint_ to_ multipoint - Specify OSPF point-to-multipoint network
- network_
type_ boolpoint_ to_ point - Specify OSPF point-to-point network
- priority int
- Router priority - Range:
0
-255
- process_
ids Sequence[InterfaceOspf Process Id Args] - ttl_
security_ inthops - 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
- dead
Interval Number - Interval after which a neighbor is declared dead - Range:
1
-65535
- 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.
- hello
Interval Number - Time between HELLO packets - Range:
1
-65535
- message
Digest List<Property Map>Keys - Message digest authentication password (key)
- mtu
Ignore Boolean - Ignores the MTU in DBD packets
- name String
- network
Type BooleanBroadcast - Specify OSPF broadcast multi-access network
- network
Type BooleanNon Broadcast - Specify OSPF NBMA network
- network
Type BooleanPoint To Multipoint - Specify OSPF point-to-multipoint network
- network
Type BooleanPoint To Point - Specify OSPF point-to-point network
- priority Number
- Router priority - Range:
0
-255
- process
Ids List<Property Map> - ttl
Security NumberHops - 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 int
- Md5Auth
Key string - Md5Auth
Type int
- Id int
- Md5Auth
Key string - Md5Auth
Type int
- id Integer
- md5Auth
Key String - md5Auth
Type Integer
- id number
- md5Auth
Key string - md5Auth
Type number
- id int
- md5_
auth_ strkey - md5_
auth_ inttype
- id Number
- md5Auth
Key String - md5Auth
Type Number
InterfaceOspfProcessId, InterfaceOspfProcessIdArgs
- id Number
- areas List<Property Map>
InterfaceOspfProcessIdArea, InterfaceOspfProcessIdAreaArgs
- Area
Id string
- Area
Id string
- area
Id String
- area
Id string
- area_
id str
- area
Id 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"
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.