fortinet / fortinet.fortios / 1.1.7 / module / fortios_router_ripng Configure RIPng in Fortinet's FortiOS and FortiGate. | "added in version" 2.9 of fortinet.fortios" Authors: Link Zheng (@chillancezen), Jie Xue (@JieX19), Hongbin Lu (@fgtdev-hblu), Frank Shen (@frankshen01), Miguel Angel Munoz (@mamunozgonzalez), Nicolas Thomas (@thomnico) preview | supported by communityfortinet.fortios.fortios_router_ripng (1.1.7) — module
Install with ansible-galaxy collection install fortinet.fortios:==1.1.7
collections: - name: fortinet.fortios version: 1.1.7
This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the user to set and modify router feature and ripng category. Examples include all parameters and values need to be adjusted to datasources before usage. Tested with FOS v6.4.0
- hosts: fortigates collections: - fortinet.fortios connection: httpapi vars: vdom: "root" ansible_httpapi_use_ssl: yes ansible_httpapi_validate_certs: no ansible_httpapi_port: 443 tasks: - name: Configure RIPng. fortios_router_ripng: vdom: "{{ vdom }}" router_ripng: aggregate_address: - id: "4" prefix6: "<your_own_value>" default_information_originate: "enable" default_metric: "7" distance: - access_list6: "<your_own_value> (source router.access-list6.name)" distance: "10" id: "11" prefix6: "<your_own_value>" distribute_list: - direction: "in" id: "15" interface: "<your_own_value> (source system.interface.name)" listname: "<your_own_value> (source router.access-list6.name router.prefix-list6.name)" status: "enable" garbage_timer: "19" interface: - flags: "21" name: "default_name_22 (source system.interface.name)" split_horizon: "poisoned" split_horizon_status: "enable" max_out_metric: "25" neighbor: - id: "27" interface: "<your_own_value> (source system.interface.name)" ip6: "<your_own_value>" network: - id: "31" prefix: "<your_own_value>" offset_list: - access_list6: "<your_own_value> (source router.access-list6.name)" direction: "in" id: "36" interface: "<your_own_value> (source system.interface.name)" offset: "38" status: "enable" passive_interface: - name: "default_name_41 (source system.interface.name)" redistribute: - metric: "43" name: "default_name_44" routemap: "<your_own_value> (source router.route-map.name)" status: "enable" timeout_timer: "47" update_timer: "48"
vdom: default: root description: - 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. type: str access_token: description: - Token-based authentication. Generated from GUI of Fortigate. required: false type: str router_ripng: default: null description: - Configure RIPng. suboptions: aggregate_address: description: - Aggregate address. suboptions: id: description: - Aggregate address entry ID. required: true type: int prefix6: description: - Aggregate address prefix. type: str type: list default_information_originate: choices: - enable - disable description: - Enable/disable generation of default route. type: str default_metric: description: - Default metric. type: int distance: description: - distance suboptions: access_list6: description: - Access list for route destination. Source router.access-list6.name. type: str distance: description: - Distance (1 - 255). type: int id: description: - Distance ID. required: true type: int prefix6: description: - Distance prefix6. type: str type: list distribute_list: description: - Distribute list. suboptions: direction: choices: - in - out description: - Distribute list direction. type: str id: description: - Distribute list ID. required: true type: int interface: description: - Distribute list interface name. Source system.interface.name. type: str listname: description: - Distribute access/prefix list name. Source router.access-list6.name router.prefix-list6.name. type: str status: choices: - enable - disable description: - status type: str type: list garbage_timer: description: - Garbage timer. type: int interface: description: - RIPng interface configuration. suboptions: flags: description: - Flags. type: int name: description: - Interface name. Source system.interface.name. required: true type: str split_horizon: choices: - poisoned - regular description: - Enable/disable split horizon. type: str split_horizon_status: choices: - enable - disable description: - Enable/disable split horizon. type: str type: list max_out_metric: description: - Maximum metric allowed to output(0 means "not set"). type: int neighbor: description: - neighbor suboptions: id: description: - Neighbor entry ID. required: true type: int interface: description: - Interface name. Source system.interface.name. type: str ip6: description: - IPv6 link-local address. type: str type: list network: description: - Network. suboptions: id: description: - Network entry ID. required: true type: int prefix: description: - Network IPv6 link-local prefix. type: str type: list offset_list: description: - Offset list. suboptions: access_list6: description: - IPv6 access list name. Source router.access-list6.name. type: str direction: choices: - in - out description: - Offset list direction. type: str id: description: - Offset-list ID. required: true type: int interface: description: - Interface name. Source system.interface.name. type: str offset: description: - offset type: int status: choices: - enable - disable description: - status type: str type: list passive_interface: description: - Passive interface configuration. suboptions: name: description: - Passive interface name. Source system.interface.name. required: true type: str type: list redistribute: description: - Redistribute configuration. suboptions: metric: description: - Redistribute metric setting. type: int name: description: - Redistribute name. required: true type: str routemap: description: - Route map name. Source router.route-map.name. type: str status: choices: - enable - disable description: - status type: str type: list timeout_timer: description: - Timeout timer. type: int update_timer: description: - Update timer. type: int type: dict
build: description: Build number of the fortigate image returned: always sample: '1547' type: str http_method: description: Last method used to provision the content into FortiGate returned: always sample: PUT type: str http_status: description: Last result given by FortiGate on last operation applied returned: always sample: '200' type: str mkey: description: Master key (id) used in the last call to FortiGate returned: success sample: id type: str name: description: Name of the table used to fulfill the request returned: always sample: urlfilter type: str path: description: Path of the table used to fulfill the request returned: always sample: webfilter type: str revision: description: Internal revision number returned: always sample: 17.0.2.10658 type: str serial: description: Serial number of the unit returned: always sample: FGVMEVYYQT3AB5352 type: str status: description: Indication of the operation's result returned: always sample: success type: str vdom: description: Virtual domain used returned: always sample: root type: str version: description: Version of the FortiGate returned: always sample: v5.6.3 type: str