1. Packages
  2. Fortios
  3. API Docs
  4. router
  5. router/ospf
  6. Ospfinterface
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.router/ospf.Ospfinterface

Explore with Pulumi AI

OSPF interface configuration.

The provider supports the definition of Ospf-Interface in Router Ospf fortios.router.Ospf, and also allows the definition of separate Ospf-Interface resources fortios.router/ospf.Ospfinterface, but do not use a fortios.router.Ospf with in-line Ospf-Interface in conjunction with any fortios.router/ospf.Ospfinterface resources, otherwise conflicts and overwrite will occur.

Create Ospfinterface Resource

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

Constructor syntax

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

@overload
def Ospfinterface(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  authentication: Optional[str] = None,
                  authentication_key: Optional[str] = None,
                  bfd: Optional[str] = None,
                  comments: Optional[str] = None,
                  cost: Optional[int] = None,
                  database_filter_out: Optional[str] = None,
                  dead_interval: Optional[int] = None,
                  dynamic_sort_subtable: Optional[str] = None,
                  get_all_tables: Optional[str] = None,
                  hello_interval: Optional[int] = None,
                  hello_multiplier: Optional[int] = None,
                  interface: Optional[str] = None,
                  ip: Optional[str] = None,
                  keychain: Optional[str] = None,
                  md5_key: Optional[str] = None,
                  md5_keychain: Optional[str] = None,
                  md5_keys: Optional[Sequence[OspfinterfaceMd5KeyArgs]] = None,
                  mtu: Optional[int] = None,
                  mtu_ignore: Optional[str] = None,
                  name: Optional[str] = None,
                  network_type: Optional[str] = None,
                  prefix_length: Optional[int] = None,
                  priority: Optional[int] = None,
                  resync_timeout: Optional[int] = None,
                  retransmit_interval: Optional[int] = None,
                  status: Optional[str] = None,
                  transmit_delay: Optional[int] = None,
                  vdomparam: Optional[str] = None)
func NewOspfinterface(ctx *Context, name string, args *OspfinterfaceArgs, opts ...ResourceOption) (*Ospfinterface, error)
public Ospfinterface(string name, OspfinterfaceArgs? args = null, CustomResourceOptions? opts = null)
public Ospfinterface(String name, OspfinterfaceArgs args)
public Ospfinterface(String name, OspfinterfaceArgs args, CustomResourceOptions options)
type: fortios:router/ospf/ospfinterface:Ospfinterface
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 OspfinterfaceArgs
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 OspfinterfaceArgs
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 OspfinterfaceArgs
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 OspfinterfaceArgs
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. OspfinterfaceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

Authentication string
Authentication type.
AuthenticationKey string
Authentication key.
Bfd string
Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
Comments string
Comment.
Cost int
Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
DatabaseFilterOut string
Enable/disable control of flooding out LSAs. Valid values: enable, disable.
DeadInterval int
Dead interval.
DynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
GetAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
HelloInterval int
Hello interval.
HelloMultiplier int
Number of hello packets within dead interval.
Interface string
Configuration interface name.
Ip string
IP address.
Keychain string
Message-digest key-chain name.
Md5Key string
MD5 key.
Md5Keychain string
Authentication MD5 key-chain name.
Md5Keys List<Pulumiverse.Fortios.Router.Ospf.Inputs.OspfinterfaceMd5Key>
MD5 key. The structure of md5_keys block is documented below.
Mtu int
MTU for database description packets.
MtuIgnore string
Enable/disable ignore MTU. Valid values: enable, disable.
Name Changes to this property will trigger replacement. string
Interface entry name.
NetworkType string
Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
PrefixLength int
Prefix length.
Priority int
Priority.
ResyncTimeout int
Graceful restart neighbor resynchronization timeout.
RetransmitInterval int
Retransmit interval.
Status string
Enable/disable status. Valid values: disable, enable.
TransmitDelay int
Transmit delay.
Vdomparam Changes to this property will trigger replacement. string

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

The md5_keys block supports:

Authentication string
Authentication type.
AuthenticationKey string
Authentication key.
Bfd string
Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
Comments string
Comment.
Cost int
Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
DatabaseFilterOut string
Enable/disable control of flooding out LSAs. Valid values: enable, disable.
DeadInterval int
Dead interval.
DynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
GetAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
HelloInterval int
Hello interval.
HelloMultiplier int
Number of hello packets within dead interval.
Interface string
Configuration interface name.
Ip string
IP address.
Keychain string
Message-digest key-chain name.
Md5Key string
MD5 key.
Md5Keychain string
Authentication MD5 key-chain name.
Md5Keys []OspfinterfaceMd5KeyArgs
MD5 key. The structure of md5_keys block is documented below.
Mtu int
MTU for database description packets.
MtuIgnore string
Enable/disable ignore MTU. Valid values: enable, disable.
Name Changes to this property will trigger replacement. string
Interface entry name.
NetworkType string
Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
PrefixLength int
Prefix length.
Priority int
Priority.
ResyncTimeout int
Graceful restart neighbor resynchronization timeout.
RetransmitInterval int
Retransmit interval.
Status string
Enable/disable status. Valid values: disable, enable.
TransmitDelay int
Transmit delay.
Vdomparam Changes to this property will trigger replacement. string

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

The md5_keys block supports:

authentication String
Authentication type.
authenticationKey String
Authentication key.
bfd String
Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
comments String
Comment.
cost Integer
Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
databaseFilterOut String
Enable/disable control of flooding out LSAs. Valid values: enable, disable.
deadInterval Integer
Dead interval.
dynamicSortSubtable String
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
getAllTables String
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
helloInterval Integer
Hello interval.
helloMultiplier Integer
Number of hello packets within dead interval.
interface_ String
Configuration interface name.
ip String
IP address.
keychain String
Message-digest key-chain name.
md5Key String
MD5 key.
md5Keychain String
Authentication MD5 key-chain name.
md5Keys List<OspfinterfaceMd5Key>
MD5 key. The structure of md5_keys block is documented below.
mtu Integer
MTU for database description packets.
mtuIgnore String
Enable/disable ignore MTU. Valid values: enable, disable.
name Changes to this property will trigger replacement. String
Interface entry name.
networkType String
Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
prefixLength Integer
Prefix length.
priority Integer
Priority.
resyncTimeout Integer
Graceful restart neighbor resynchronization timeout.
retransmitInterval Integer
Retransmit interval.
status String
Enable/disable status. Valid values: disable, enable.
transmitDelay Integer
Transmit delay.
vdomparam Changes to this property will trigger replacement. String

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

The md5_keys block supports:

authentication string
Authentication type.
authenticationKey string
Authentication key.
bfd string
Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
comments string
Comment.
cost number
Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
databaseFilterOut string
Enable/disable control of flooding out LSAs. Valid values: enable, disable.
deadInterval number
Dead interval.
dynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
getAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
helloInterval number
Hello interval.
helloMultiplier number
Number of hello packets within dead interval.
interface string
Configuration interface name.
ip string
IP address.
keychain string
Message-digest key-chain name.
md5Key string
MD5 key.
md5Keychain string
Authentication MD5 key-chain name.
md5Keys OspfinterfaceMd5Key[]
MD5 key. The structure of md5_keys block is documented below.
mtu number
MTU for database description packets.
mtuIgnore string
Enable/disable ignore MTU. Valid values: enable, disable.
name Changes to this property will trigger replacement. string
Interface entry name.
networkType string
Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
prefixLength number
Prefix length.
priority number
Priority.
resyncTimeout number
Graceful restart neighbor resynchronization timeout.
retransmitInterval number
Retransmit interval.
status string
Enable/disable status. Valid values: disable, enable.
transmitDelay number
Transmit delay.
vdomparam Changes to this property will trigger replacement. string

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

The md5_keys block supports:

authentication str
Authentication type.
authentication_key str
Authentication key.
bfd str
Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
comments str
Comment.
cost int
Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
database_filter_out str
Enable/disable control of flooding out LSAs. Valid values: enable, disable.
dead_interval int
Dead interval.
dynamic_sort_subtable str
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
get_all_tables str
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
hello_interval int
Hello interval.
hello_multiplier int
Number of hello packets within dead interval.
interface str
Configuration interface name.
ip str
IP address.
keychain str
Message-digest key-chain name.
md5_key str
MD5 key.
md5_keychain str
Authentication MD5 key-chain name.
md5_keys Sequence[OspfinterfaceMd5KeyArgs]
MD5 key. The structure of md5_keys block is documented below.
mtu int
MTU for database description packets.
mtu_ignore str
Enable/disable ignore MTU. Valid values: enable, disable.
name Changes to this property will trigger replacement. str
Interface entry name.
network_type str
Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
prefix_length int
Prefix length.
priority int
Priority.
resync_timeout int
Graceful restart neighbor resynchronization timeout.
retransmit_interval int
Retransmit interval.
status str
Enable/disable status. Valid values: disable, enable.
transmit_delay int
Transmit delay.
vdomparam Changes to this property will trigger replacement. str

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

The md5_keys block supports:

authentication String
Authentication type.
authenticationKey String
Authentication key.
bfd String
Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
comments String
Comment.
cost Number
Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
databaseFilterOut String
Enable/disable control of flooding out LSAs. Valid values: enable, disable.
deadInterval Number
Dead interval.
dynamicSortSubtable String
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
getAllTables String
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
helloInterval Number
Hello interval.
helloMultiplier Number
Number of hello packets within dead interval.
interface String
Configuration interface name.
ip String
IP address.
keychain String
Message-digest key-chain name.
md5Key String
MD5 key.
md5Keychain String
Authentication MD5 key-chain name.
md5Keys List<Property Map>
MD5 key. The structure of md5_keys block is documented below.
mtu Number
MTU for database description packets.
mtuIgnore String
Enable/disable ignore MTU. Valid values: enable, disable.
name Changes to this property will trigger replacement. String
Interface entry name.
networkType String
Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
prefixLength Number
Prefix length.
priority Number
Priority.
resyncTimeout Number
Graceful restart neighbor resynchronization timeout.
retransmitInterval Number
Retransmit interval.
status String
Enable/disable status. Valid values: disable, enable.
transmitDelay Number
Transmit delay.
vdomparam Changes to this property will trigger replacement. String

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

The md5_keys block supports:

Outputs

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

Get an existing Ospfinterface 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?: OspfinterfaceState, opts?: CustomResourceOptions): Ospfinterface
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authentication: Optional[str] = None,
        authentication_key: Optional[str] = None,
        bfd: Optional[str] = None,
        comments: Optional[str] = None,
        cost: Optional[int] = None,
        database_filter_out: Optional[str] = None,
        dead_interval: Optional[int] = None,
        dynamic_sort_subtable: Optional[str] = None,
        get_all_tables: Optional[str] = None,
        hello_interval: Optional[int] = None,
        hello_multiplier: Optional[int] = None,
        interface: Optional[str] = None,
        ip: Optional[str] = None,
        keychain: Optional[str] = None,
        md5_key: Optional[str] = None,
        md5_keychain: Optional[str] = None,
        md5_keys: Optional[Sequence[OspfinterfaceMd5KeyArgs]] = None,
        mtu: Optional[int] = None,
        mtu_ignore: Optional[str] = None,
        name: Optional[str] = None,
        network_type: Optional[str] = None,
        prefix_length: Optional[int] = None,
        priority: Optional[int] = None,
        resync_timeout: Optional[int] = None,
        retransmit_interval: Optional[int] = None,
        status: Optional[str] = None,
        transmit_delay: Optional[int] = None,
        vdomparam: Optional[str] = None) -> Ospfinterface
func GetOspfinterface(ctx *Context, name string, id IDInput, state *OspfinterfaceState, opts ...ResourceOption) (*Ospfinterface, error)
public static Ospfinterface Get(string name, Input<string> id, OspfinterfaceState? state, CustomResourceOptions? opts = null)
public static Ospfinterface get(String name, Output<String> id, OspfinterfaceState state, CustomResourceOptions options)
resources:  _:    type: fortios:router/ospf/ospfinterface:Ospfinterface    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:
Authentication string
Authentication type.
AuthenticationKey string
Authentication key.
Bfd string
Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
Comments string
Comment.
Cost int
Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
DatabaseFilterOut string
Enable/disable control of flooding out LSAs. Valid values: enable, disable.
DeadInterval int
Dead interval.
DynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
GetAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
HelloInterval int
Hello interval.
HelloMultiplier int
Number of hello packets within dead interval.
Interface string
Configuration interface name.
Ip string
IP address.
Keychain string
Message-digest key-chain name.
Md5Key string
MD5 key.
Md5Keychain string
Authentication MD5 key-chain name.
Md5Keys List<Pulumiverse.Fortios.Router.Ospf.Inputs.OspfinterfaceMd5Key>
MD5 key. The structure of md5_keys block is documented below.
Mtu int
MTU for database description packets.
MtuIgnore string
Enable/disable ignore MTU. Valid values: enable, disable.
Name Changes to this property will trigger replacement. string
Interface entry name.
NetworkType string
Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
PrefixLength int
Prefix length.
Priority int
Priority.
ResyncTimeout int
Graceful restart neighbor resynchronization timeout.
RetransmitInterval int
Retransmit interval.
Status string
Enable/disable status. Valid values: disable, enable.
TransmitDelay int
Transmit delay.
Vdomparam Changes to this property will trigger replacement. string

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

The md5_keys block supports:

Authentication string
Authentication type.
AuthenticationKey string
Authentication key.
Bfd string
Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
Comments string
Comment.
Cost int
Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
DatabaseFilterOut string
Enable/disable control of flooding out LSAs. Valid values: enable, disable.
DeadInterval int
Dead interval.
DynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
GetAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
HelloInterval int
Hello interval.
HelloMultiplier int
Number of hello packets within dead interval.
Interface string
Configuration interface name.
Ip string
IP address.
Keychain string
Message-digest key-chain name.
Md5Key string
MD5 key.
Md5Keychain string
Authentication MD5 key-chain name.
Md5Keys []OspfinterfaceMd5KeyArgs
MD5 key. The structure of md5_keys block is documented below.
Mtu int
MTU for database description packets.
MtuIgnore string
Enable/disable ignore MTU. Valid values: enable, disable.
Name Changes to this property will trigger replacement. string
Interface entry name.
NetworkType string
Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
PrefixLength int
Prefix length.
Priority int
Priority.
ResyncTimeout int
Graceful restart neighbor resynchronization timeout.
RetransmitInterval int
Retransmit interval.
Status string
Enable/disable status. Valid values: disable, enable.
TransmitDelay int
Transmit delay.
Vdomparam Changes to this property will trigger replacement. string

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

The md5_keys block supports:

authentication String
Authentication type.
authenticationKey String
Authentication key.
bfd String
Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
comments String
Comment.
cost Integer
Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
databaseFilterOut String
Enable/disable control of flooding out LSAs. Valid values: enable, disable.
deadInterval Integer
Dead interval.
dynamicSortSubtable String
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
getAllTables String
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
helloInterval Integer
Hello interval.
helloMultiplier Integer
Number of hello packets within dead interval.
interface_ String
Configuration interface name.
ip String
IP address.
keychain String
Message-digest key-chain name.
md5Key String
MD5 key.
md5Keychain String
Authentication MD5 key-chain name.
md5Keys List<OspfinterfaceMd5Key>
MD5 key. The structure of md5_keys block is documented below.
mtu Integer
MTU for database description packets.
mtuIgnore String
Enable/disable ignore MTU. Valid values: enable, disable.
name Changes to this property will trigger replacement. String
Interface entry name.
networkType String
Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
prefixLength Integer
Prefix length.
priority Integer
Priority.
resyncTimeout Integer
Graceful restart neighbor resynchronization timeout.
retransmitInterval Integer
Retransmit interval.
status String
Enable/disable status. Valid values: disable, enable.
transmitDelay Integer
Transmit delay.
vdomparam Changes to this property will trigger replacement. String

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

The md5_keys block supports:

authentication string
Authentication type.
authenticationKey string
Authentication key.
bfd string
Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
comments string
Comment.
cost number
Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
databaseFilterOut string
Enable/disable control of flooding out LSAs. Valid values: enable, disable.
deadInterval number
Dead interval.
dynamicSortSubtable string
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
getAllTables string
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
helloInterval number
Hello interval.
helloMultiplier number
Number of hello packets within dead interval.
interface string
Configuration interface name.
ip string
IP address.
keychain string
Message-digest key-chain name.
md5Key string
MD5 key.
md5Keychain string
Authentication MD5 key-chain name.
md5Keys OspfinterfaceMd5Key[]
MD5 key. The structure of md5_keys block is documented below.
mtu number
MTU for database description packets.
mtuIgnore string
Enable/disable ignore MTU. Valid values: enable, disable.
name Changes to this property will trigger replacement. string
Interface entry name.
networkType string
Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
prefixLength number
Prefix length.
priority number
Priority.
resyncTimeout number
Graceful restart neighbor resynchronization timeout.
retransmitInterval number
Retransmit interval.
status string
Enable/disable status. Valid values: disable, enable.
transmitDelay number
Transmit delay.
vdomparam Changes to this property will trigger replacement. string

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

The md5_keys block supports:

authentication str
Authentication type.
authentication_key str
Authentication key.
bfd str
Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
comments str
Comment.
cost int
Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
database_filter_out str
Enable/disable control of flooding out LSAs. Valid values: enable, disable.
dead_interval int
Dead interval.
dynamic_sort_subtable str
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
get_all_tables str
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
hello_interval int
Hello interval.
hello_multiplier int
Number of hello packets within dead interval.
interface str
Configuration interface name.
ip str
IP address.
keychain str
Message-digest key-chain name.
md5_key str
MD5 key.
md5_keychain str
Authentication MD5 key-chain name.
md5_keys Sequence[OspfinterfaceMd5KeyArgs]
MD5 key. The structure of md5_keys block is documented below.
mtu int
MTU for database description packets.
mtu_ignore str
Enable/disable ignore MTU. Valid values: enable, disable.
name Changes to this property will trigger replacement. str
Interface entry name.
network_type str
Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
prefix_length int
Prefix length.
priority int
Priority.
resync_timeout int
Graceful restart neighbor resynchronization timeout.
retransmit_interval int
Retransmit interval.
status str
Enable/disable status. Valid values: disable, enable.
transmit_delay int
Transmit delay.
vdomparam Changes to this property will trigger replacement. str

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

The md5_keys block supports:

authentication String
Authentication type.
authenticationKey String
Authentication key.
bfd String
Bidirectional Forwarding Detection (BFD). Valid values: global, enable, disable.
comments String
Comment.
cost Number
Cost of the interface, value range from 0 to 65535, 0 means auto-cost.
databaseFilterOut String
Enable/disable control of flooding out LSAs. Valid values: enable, disable.
deadInterval Number
Dead interval.
dynamicSortSubtable String
Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
getAllTables String
Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
helloInterval Number
Hello interval.
helloMultiplier Number
Number of hello packets within dead interval.
interface String
Configuration interface name.
ip String
IP address.
keychain String
Message-digest key-chain name.
md5Key String
MD5 key.
md5Keychain String
Authentication MD5 key-chain name.
md5Keys List<Property Map>
MD5 key. The structure of md5_keys block is documented below.
mtu Number
MTU for database description packets.
mtuIgnore String
Enable/disable ignore MTU. Valid values: enable, disable.
name Changes to this property will trigger replacement. String
Interface entry name.
networkType String
Network type. Valid values: broadcast, non-broadcast, point-to-point, point-to-multipoint, point-to-multipoint-non-broadcast.
prefixLength Number
Prefix length.
priority Number
Priority.
resyncTimeout Number
Graceful restart neighbor resynchronization timeout.
retransmitInterval Number
Retransmit interval.
status String
Enable/disable status. Valid values: disable, enable.
transmitDelay Number
Transmit delay.
vdomparam Changes to this property will trigger replacement. String

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

The md5_keys block supports:

Supporting Types

OspfinterfaceMd5Key
, OspfinterfaceMd5KeyArgs

Id int
Key ID (1 - 255).
KeyString string
Password for the key.
Id int
Key ID (1 - 255).
KeyString string
Password for the key.
id Integer
Key ID (1 - 255).
keyString String
Password for the key.
id number
Key ID (1 - 255).
keyString string
Password for the key.
id int
Key ID (1 - 255).
key_string str
Password for the key.
id Number
Key ID (1 - 255).
keyString String
Password for the key.

Import

Routerospf OspfInterface can be imported using any of these accepted formats:

$ pulumi import fortios:router/ospf/ospfinterface:Ospfinterface labelname {{name}}
Copy

If you do not want to import arguments of block:

$ export “FORTIOS_IMPORT_TABLE”=“false”

$ pulumi import fortios:router/ospf/ospfinterface:Ospfinterface labelname {{name}}
Copy

$ unset “FORTIOS_IMPORT_TABLE”

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

Package Details

Repository
fortios pulumiverse/pulumi-fortios
License
Apache-2.0
Notes
This Pulumi package is based on the fortios Terraform Provider.