fortios_router_ospf
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_router_ospf
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| router_ospf | dict | |||
| vdom | str | root |
Example
yaml
- fortinet.fortios.fortios_router_ospf:
router_ospf:
abr_type: cisco
area:
- authentication: none
default_cost: "10"
filter_list:
- direction: in
id: "10"
id: "12"
nssa_default_information_originate: enable
nssa_default_information_originate_metric: "10"
nssa_default_information_originate_metric_type: "1"
nssa_redistribution: enable
nssa_translator_role: candidate
range:
- advertise: disable
id: "20"
substitute_status: enable
shortcut: disable
stub_type: no-summary
type: regular
virtual_link:
- authentication: none
dead_interval: "40"
hello_interval: "10"
md5_keys:
- id: "36"
name: default_name_38
retransmit_interval: "5"
transmit_delay: "1"
auto_cost_ref_bandwidth: "1000"
bfd: enable
database_overflow: enable
database_overflow_max_lsas: "10000"
database_overflow_time_to_recover: "300"
default_information_metric: "10"
default_information_metric_type: "1"
default_information_originate: enable
default_metric: "10"
distance: "110"
distance_external: "110"
distance_inter_area: "110"
distance_intra_area: "110"
distribute_list:
- id: "58"
protocol: connected
log_neighbour_changes: enable
lsa_refresh_interval: "5"
neighbor:
- cost: "0"
id: "66"
poll_interval: "10"
priority: "1"
network:
- id: "73"
ospf_interface:
- authentication: none
bfd: global
cost: "0"
database_filter_out: enable
dead_interval: "0"
hello_interval: "0"
hello_multiplier: "0"
linkdown_fast_failover: enable
md5_keys:
- id: "92"
mtu: "0"
mtu_ignore: enable
name: default_name_96
network_type: broadcast
prefix_length: "0"
priority: "1"
resync_timeout: "40"
retransmit_interval: "5"
status: disable
transmit_delay: "1"
passive_interface:
- name: default_name_105 (source system.interface.name)
redistribute:
- metric: "0"
metric_type: "1"
name: default_name_109
status: enable
tag: "0"
restart_mode: none
restart_on_topology_change: enable
restart_period: "120"
rfc1583_compatible: enable
summary_address:
- advertise: disable
id: "121"
tag: "0"
vdom: root
name: Configure OSPF.