fortinet.fortios.fortios_router_isis – Configure IS-IS in Fortinet’s FortiOS and FortiGate.
Note
This plugin is part of the fortinet.fortios collection (version 2.1.3).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install fortinet.fortios
.
To use it in a playbook, specify: fortinet.fortios.fortios_router_isis
.
New in version 2.10: of fortinet.fortios
Synopsis
This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the user to set and modify router feature and isis category. Examples include all parameters and values need to be adjusted to datasources before usage. Tested with FOS v6.0.0
Requirements
The below requirements are needed on the host that executes this module.
ansible>=2.9.0
Parameters
Parameter |
Comments |
---|---|
Token-based authentication. Generated from GUI of Fortigate. |
|
Enable/Disable logging for task. Choices:
|
|
Member attribute path to operate on. Delimited by a slash character if there are more than one attribute. Parameter marked with member_path is legitimate for doing member operation. |
|
Add or delete a member under specified attribute path. When member_state is specified, the state option is ignored. Choices:
|
|
Configure IS-IS. |
|
Enable/disable adjacency check. Choices:
|
|
Enable/disable IPv6 adjacency check. Choices:
|
|
Enable/disable IS-IS advertisement of passive interfaces only. Choices:
|
|
Enable/disable IPv6 IS-IS advertisement of passive interfaces only. Choices:
|
|
Authentication key-chain for level 1 PDUs. Source router.key-chain.name. |
|
Authentication key-chain for level 2 PDUs. Source router.key-chain.name. |
|
Level 1 authentication mode. Choices:
|
|
Level 2 authentication mode. Choices:
|
|
Authentication password for level 1 PDUs. |
|
Authentication password for level 2 PDUs. |
|
Enable/disable level 1 authentication send-only. Choices:
|
|
Enable/disable level 2 authentication send-only. Choices:
|
|
Enable/disable distribution of default route information. Choices:
|
|
Enable/disable distribution of default IPv6 route information. Choices:
|
|
Enable/disable dynamic hostname. Choices:
|
|
Enable/disable ignoring of LSP errors with bad checksums. Choices:
|
|
IS type. Choices:
|
|
IS-IS interface configuration. |
|
Authentication key-chain for level 1 PDUs. Source router.key-chain.name. |
|
Authentication key-chain for level 2 PDUs. Source router.key-chain.name. |
|
Level 1 authentication mode. Choices:
|
|
Level 2 authentication mode. Choices:
|
|
Authentication password for level 1 PDUs. |
|
Authentication password for level 2 PDUs. |
|
Enable/disable authentication send-only for level 1 PDUs. Choices:
|
|
Enable/disable authentication send-only for level 2 PDUs. Choices:
|
|
IS-IS interface”s circuit type Choices:
|
|
Level 1 CSNP interval. |
|
Level 2 CSNP interval. |
|
Level 1 hello interval. |
|
Level 2 hello interval. |
|
Level 1 multiplier for Hello holding time. |
|
Level 2 multiplier for Hello holding time. |
|
Enable/disable padding to IS-IS hello packets. Choices:
|
|
LSP transmission interval (milliseconds). |
|
LSP retransmission interval (sec). |
|
Enable/disable IS-IS mesh group. Choices:
|
|
Mesh group ID <0-4294967295>, 0: mesh-group blocked. |
|
Level 1 metric for interface. |
|
Level 2 metric for interface. |
|
IS-IS interface name. Source system.interface.name. |
|
IS-IS interface”s network type Choices:
|
|
Level 1 priority. |
|
Level 2 priority. |
|
Enable/disable interface for IS-IS. Choices:
|
|
Enable/disable IPv6 interface for IS-IS. Choices:
|
|
Level 1 wide metric for interface. |
|
Level 2 wide metric for interface. |
|
IS-IS net configuration. |
|
isis-net ID. |
|
IS-IS net xx.xxxx. … .xxxx.xx. |
|
Minimum interval for level 1 LSP regenerating. |
|
Minimum interval for level 2 LSP regenerating. |
|
LSP refresh time in seconds. |
|
Maximum LSP lifetime in seconds. |
|
Use old-style (ISO 10589) or new-style packet formats Choices:
|
|
Enable/disable signal other routers not to use us in SPF. Choices:
|
|
Overload-bit only temporarily after reboot. |
|
Suppress overload-bit for the specific prefixes. Choices:
|
|
IS-IS redistribute protocols. |
|
Level. Choices:
|
|
Metric. |
|
Metric type. Choices:
|
|
Protocol name. |
|
Route map name. Source router.route-map.name. |
|
Status. Choices:
|
|
IS-IS IPv6 redistribution for routing protocols. |
|
Level. Choices:
|
|
Metric. |
|
Metric type. Choices:
|
|
Protocol name. |
|
Route map name. Source router.route-map.name. |
|
Enable/disable redistribution. Choices:
|
|
Enable/disable redistribution of level 1 IPv6 routes into level 2. Choices:
|
|
Access-list for IPv6 route redistribution from l1 to l2. Source router.access-list6.name. |
|
Enable/disable redistribution of level 2 IPv6 routes into level 1. Choices:
|
|
Access-list for IPv6 route redistribution from l2 to l1. Source router.access-list6.name. |
|
Enable/disable redistribution of level 1 routes into level 2. Choices:
|
|
Access-list for route redistribution from l1 to l2. Source router.access-list.name. |
|
Enable/disable redistribution of level 2 routes into level 1. Choices:
|
|
Access-list for route redistribution from l2 to l1. Source router.access-list.name. |
|
Level 1 SPF calculation delay. |
|
Level 2 SPF calculation delay. |
|
IS-IS summary addresses. |
|
Summary address entry ID. |
|
Level. Choices:
|
|
Prefix. |
|
IS-IS IPv6 summary address. |
|
Prefix entry ID. |
|
Level. Choices:
|
|
IPv6 prefix. |
|
Virtual domain, among those defined previously. A vdom is a virtual instance of the FortiGate that can be configured and used as a different unit. Default: “root” |
Examples
- collections:
- fortinet.fortios
connection: httpapi
hosts: fortigate01
vars:
ansible_httpapi_port: 443
ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
vdom: root
tasks:
- name: fortios_router_isis
fortios_router_isis:
vdom: root
router_isis:
adjacency_check: disable
adjacency_check6: disable
adv_passive_only: disable
adv_passive_only6: disable
auth_mode_l1: password
auth_mode_l2: password
auth_sendonly_l1: disable
auth_sendonly_l2: disable
default_originate: disable
default_originate6: disable
dynamic_hostname: disable
ignore_lsp_errors: disable
is_type: level-1-2
lsp_gen_interval_l1: 30
lsp_gen_interval_l2: 30
lsp_refresh_interval: 900
max_lsp_lifetime: 1200
metric_style: narrow
overload_bit: disable
overload_bit_on_startup: 0
redistribute6_l1: disable
redistribute6_l2: disable
redistribute_l1: disable
redistribute_l2: disable
spf_interval_exp_l1: 500 50000
spf_interval_exp_l2: 500 50000
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Build number of the fortigate image Returned: always Sample: “1547” |
|
Last method used to provision the content into FortiGate Returned: always Sample: “PUT” |
|
Last result given by FortiGate on last operation applied Returned: always Sample: “200” |
|
Master key (id) used in the last call to FortiGate Returned: success Sample: “id” |
|
Name of the table used to fulfill the request Returned: always Sample: “urlfilter” |
|
Path of the table used to fulfill the request Returned: always Sample: “webfilter” |
|
Internal revision number Returned: always Sample: “17.0.2.10658” |
|
Serial number of the unit Returned: always Sample: “FGVMEVYYQT3AB5352” |
|
Indication of the operation’s result Returned: always Sample: “success” |
|
Virtual domain used Returned: always Sample: “root” |
|
Version of the FortiGate Returned: always Sample: “v5.6.3” |
Authors
Link Zheng (@chillancezen)
Jie Xue (@JieX19)
Hongbin Lu (@fgtdev-hblu)
Frank Shen (@frankshen01)
Miguel Angel Munoz (@mamunozgonzalez)
Nicolas Thomas (@thomnico)