:source: fortios_system_np6.py
:orphan:
.. fortios_system_np6:
fortios_system_np6 -- Configure NP6 attributes in Fortinet's FortiOS and FortiGate.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.. versionadded:: 2.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the user to set and modify system feature and np6 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.16
Tips
----
Using member operation to add an element to an existing object.
FortiOS Version Compatibility
-----------------------------
Supported Version Ranges: v6.0.0 -> v7.4.1, v7.4.3 -> v7.6.6
Parameters
----------
.. raw:: html
- access_token - Token-based authentication. Generated from GUI of Fortigate. type: str required: false
- enable_log - Enable/Disable logging for task. type: bool required: false default: False
- vdom - 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 default: root
- member_path - Member attribute path to operate on. type: str
- member_state - Add or delete a member under specified attribute path. type: str choices: present, absent
- state - Indicates whether to create or remove the object. type: str required: true choices: present, absent
- system_np6 - Configure NP6 attributes. type: dict
more...
| Supported Version Ranges |
| system_np6 |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- fastpath - Enable/disable NP6 offloading (also called fast path). type: str choices: disable, enable
more...
|
Supported Version Ranges |
| fastpath |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [disable] |
v6.0.0 -> v7.4.1 |
| [enable] |
v6.0.0 -> v7.4.1 |
- fp_anomaly - NP6 IPv4 anomaly protection. trap-to-host forwards anomaly sessions to the CPU. type: dict
more...
| Supported Version Ranges |
| fp_anomaly |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- icmp_csum_err - Invalid IPv4 ICMP checksum anomalies. type: str choices: drop, trap-to-host
more...
|
Supported Version Ranges |
| icmp_csum_err |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- icmp_frag - Layer 3 fragmented packets that could be part of layer 4 ICMP anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| icmp_frag |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- icmp_land - ICMP land anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| icmp_land |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv4_csum_err - Invalid IPv4 IP checksum anomalies. type: str choices: drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv4_csum_err |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv4_land - Land anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv4_land |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv4_optlsrr - Loose source record route option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv4_optlsrr |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv4_optrr - Record route option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv4_optrr |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv4_optsecurity - Security option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv4_optsecurity |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv4_optssrr - Strict source record route option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv4_optssrr |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv4_optstream - Stream option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv4_optstream |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv4_opttimestamp - Timestamp option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv4_opttimestamp |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv4_proto_err - Invalid layer 4 protocol anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv4_proto_err |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv4_unknopt - Unknown option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv4_unknopt |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv6_daddr_err - Destination address as unspecified or loopback address anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv6_daddr_err |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv6_land - Land anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv6_land |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv6_optendpid - End point identification anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv6_optendpid |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv6_opthomeaddr - Home address option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv6_opthomeaddr |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv6_optinvld - Invalid option anomalies.Invalid option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv6_optinvld |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv6_optjumbo - Jumbo options anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv6_optjumbo |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv6_optnsap - Network service access point address option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv6_optnsap |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv6_optralert - Router alert option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv6_optralert |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv6_opttunnel - Tunnel encapsulation limit option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv6_opttunnel |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv6_proto_err - Layer 4 invalid protocol anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv6_proto_err |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv6_saddr_err - Source address as multicast anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv6_saddr_err |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- ipv6_unknopt - Unknown option anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| ipv6_unknopt |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- tcp_csum_err - Invalid IPv4 TCP checksum anomalies. type: str choices: drop, trap-to-host
more...
|
Supported Version Ranges |
| tcp_csum_err |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- tcp_fin_noack - TCP SYN flood with FIN flag set without ACK setting anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| tcp_fin_noack |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- tcp_fin_only - TCP SYN flood with only FIN flag set anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| tcp_fin_only |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- tcp_land - TCP land anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| tcp_land |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- tcp_no_flag - TCP SYN flood with no flag set anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| tcp_no_flag |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- tcp_syn_data - TCP SYN flood packets with data anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| tcp_syn_data |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- tcp_syn_fin - TCP SYN flood SYN/FIN flag set anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| tcp_syn_fin |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- tcp_winnuke - TCP WinNuke anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| tcp_winnuke |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- udp_csum_err - Invalid IPv4 UDP checksum anomalies. type: str choices: drop, trap-to-host
more...
|
Supported Version Ranges |
| udp_csum_err |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- udp_land - UDP land anomalies. type: str choices: allow, drop, trap-to-host
more...
|
Supported Version Ranges |
| udp_land |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [allow] |
v6.0.0 -> v7.4.1 |
| [drop] |
v6.0.0 -> v7.4.1 |
| [trap-to-host] |
v6.0.0 -> v7.4.1 |
- garbage_session_collector - Enable/disable garbage session collector. type: str choices: disable, enable
more...
|
Supported Version Ranges |
| garbage_session_collector |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [disable] |
v6.0.0 -> v7.4.1 |
| [enable] |
v6.0.0 -> v7.4.1 |
- hpe - HPE configuration. type: dict
more...
| Supported Version Ranges |
| hpe |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- arp_max - Maximum ARP packet rate (1K - 1G pps). type: int
more...
|
Supported Version Ranges |
| arp_max |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- enable_shaper - Enable/Disable NPU Host Protection Engine(HPE) for packet type shaper. type: str choices: disable, enable
more...
|
Supported Version Ranges |
| enable_shaper |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [disable] |
v6.0.0 -> v7.4.1 |
| [enable] |
v6.0.0 -> v7.4.1 |
- esp_max - Maximum ESP packet rate (1K - 1G pps). type: int
more...
|
Supported Version Ranges |
| esp_max |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- icmp_max - Maximum ICMP packet rate (1K - 1G pps). type: int
more...
|
Supported Version Ranges |
| icmp_max |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- ip_frag_max - Maximum fragmented IP packet rate (1K - 1G pps). type: int
more...
|
Supported Version Ranges |
| ip_frag_max |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- ip_others_max - Maximum IP packet rate for other packets (packet types that cannot be set with other options) (1K - 1G pps). type: int
more...
|
Supported Version Ranges |
| ip_others_max |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- l2_others_max - Maximum L2 packet rate for L2 packets that are not ARP packets (1K - 1G pps). type: int
more...
|
Supported Version Ranges |
| l2_others_max |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- pri_type_max - Maximum overflow rate of priority type traffic (1K - 1G pps). Includes L2: HA, 802.3ad LACP, heartbeats. L3: OSPF. L4_TCP: BGP. L4_UDP: IKE, SLBC, BFD. type: int
more...
|
Supported Version Ranges |
| pri_type_max |
v6.0.0 -> v6.0.0 |
v6.0.11 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- sctp_max - Maximum SCTP packet rate (1K - 1G pps). type: int
more...
|
Supported Version Ranges |
| sctp_max |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- tcp_max - Maximum TCP packet rate (1K - 1G pps). type: int
more...
|
Supported Version Ranges |
| tcp_max |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- tcpfin_rst_max - Maximum TCP carries FIN or RST flags packet rate (1K - 1G pps). type: int
more...
|
Supported Version Ranges |
| tcpfin_rst_max |
v7.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- tcpsyn_ack_max - Maximum TCP carries SYN and ACK flags packet rate (1K - 1G pps). type: int
more...
|
Supported Version Ranges |
| tcpsyn_ack_max |
v7.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- tcpsyn_max - Maximum TCP SYN packet rate (1K - 1G pps). type: int
more...
|
Supported Version Ranges |
| tcpsyn_max |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- udp_max - Maximum UDP packet rate (1K - 1G pps). type: int
more...
|
Supported Version Ranges |
| udp_max |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- ipsec_ob_hash_function - Set hash function for IPSec outbound. type: str choices: global-hash, round-robin-global
more...
|
Supported Version Ranges |
| ipsec_ob_hash_function |
v6.0.0 -> v6.2.7 |
v6.4.1 -> v7.0.12 |
v7.2.1 -> v7.2.4 |
| [global-hash] |
v6.0.0 -> v6.2.7 |
| [round-robin-global] |
v6.0.0 -> v6.2.7 |
- ipsec_outbound_hash - Enable/disable hash function for IPsec outbound traffic. type: str choices: disable, enable
more...
|
Supported Version Ranges |
| ipsec_outbound_hash |
v6.0.0 -> v6.2.7 |
v6.4.1 -> v7.0.12 |
v7.2.1 -> v7.2.4 |
| [disable] |
v6.0.0 -> v6.2.7 |
| [enable] |
v6.0.0 -> v6.2.7 |
- low_latency_mode - Enable/disable low latency mode. type: str choices: disable, enable
more...
|
Supported Version Ranges |
| low_latency_mode |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [disable] |
v6.0.0 -> v7.4.1 |
| [enable] |
v6.0.0 -> v7.4.1 |
- name - Device Name. type: str required: true
more...
|
Supported Version Ranges |
| name |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- per_session_accounting - Enable/disable per-session accounting. type: str choices: disable, traffic-log-only, enable
more...
|
Supported Version Ranges |
| per_session_accounting |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [disable] |
v6.0.0 -> v7.4.1 |
| [traffic-log-only] |
v6.0.0 -> v7.4.1 |
| [enable] |
v6.0.0 -> v7.4.1 |
- session_collector_interval - Set garbage session collection cleanup interval (1 - 100 sec). type: int
more...
|
Supported Version Ranges |
| session_collector_interval |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- session_timeout_fixed - {disable | enable} Toggle between using fixed or random timeouts for refreshing NP6 sessions. type: str choices: disable, enable
more...
|
Supported Version Ranges |
| session_timeout_fixed |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
| [disable] |
v6.0.0 -> v7.4.1 |
| [enable] |
v6.0.0 -> v7.4.1 |
- session_timeout_interval - Set the fixed timeout for refreshing NP6 sessions (0 - 1000 sec). type: int
more...
|
Supported Version Ranges |
| session_timeout_interval |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
- session_timeout_random_range - Set the random timeout range for refreshing NP6 sessions (0 - 1000 sec). type: int
more...
|
Supported Version Ranges |
| session_timeout_random_range |
v6.0.0 -> v7.4.1 |
v7.4.3 -> 7.6.6 |
Notes
-----
.. note::
- Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks
- The module supports check_mode.
Examples
--------
.. code-block:: yaml+jinja
- name: Configure NP6 attributes.
fortinet.fortios.fortios_system_np6:
vdom: "{{ vdom }}"
state: "present"
access_token: ""
system_np6:
fastpath: "disable"
fp_anomaly:
icmp_csum_err: "drop"
icmp_frag: "allow"
icmp_land: "allow"
ipv4_csum_err: "drop"
ipv4_land: "allow"
ipv4_optlsrr: "allow"
ipv4_optrr: "allow"
ipv4_optsecurity: "allow"
ipv4_optssrr: "allow"
ipv4_optstream: "allow"
ipv4_opttimestamp: "allow"
ipv4_proto_err: "allow"
ipv4_unknopt: "allow"
ipv6_daddr_err: "allow"
ipv6_land: "allow"
ipv6_optendpid: "allow"
ipv6_opthomeaddr: "allow"
ipv6_optinvld: "allow"
ipv6_optjumbo: "allow"
ipv6_optnsap: "allow"
ipv6_optralert: "allow"
ipv6_opttunnel: "allow"
ipv6_proto_err: "allow"
ipv6_saddr_err: "allow"
ipv6_unknopt: "allow"
tcp_csum_err: "drop"
tcp_fin_noack: "allow"
tcp_fin_only: "allow"
tcp_land: "allow"
tcp_no_flag: "allow"
tcp_syn_data: "allow"
tcp_syn_fin: "allow"
tcp_winnuke: "allow"
udp_csum_err: "drop"
udp_land: "allow"
garbage_session_collector: "disable"
hpe:
arp_max: "200000"
enable_shaper: "disable"
esp_max: "200000"
icmp_max: "200000"
ip_frag_max: "200000"
ip_others_max: "200000"
l2_others_max: "200000"
pri_type_max: "200000"
sctp_max: "200000"
tcp_max: "600000"
tcpfin_rst_max: "600000"
tcpsyn_ack_max: "600000"
tcpsyn_max: "600000"
udp_max: "600000"
ipsec_ob_hash_function: "global-hash"
ipsec_outbound_hash: "disable"
low_latency_mode: "disable"
name: "default_name_59"
per_session_accounting: "disable"
session_collector_interval: "64"
session_timeout_fixed: "disable"
session_timeout_interval: "40"
session_timeout_random_range: "8"
Return Values
-------------
Common return values are documented: https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values, the following are the fields unique to this module:
.. raw:: html
- build - Build number of the fortigate image returned: always type: str sample: 1547
- http_method - Last method used to provision the content into FortiGate returned: always type: str sample: PUT
- http_status - Last result given by FortiGate on last operation applied returned: always type: str sample: 200
- mkey - Master key (id) used in the last call to FortiGate returned: success type: str sample: id
- name - Name of the table used to fulfill the request returned: always type: str sample: urlfilter
- path - Path of the table used to fulfill the request returned: always type: str sample: webfilter
- revision - Internal revision number returned: always type: str sample: 17.0.2.10658
- serial - Serial number of the unit returned: always type: str sample: FGVMEVYYQT3AB5352
- status - Indication of the operation's result returned: always type: str sample: success
- vdom - Virtual domain used returned: always type: str sample: root
- version - Version of the FortiGate returned: always type: str sample: v5.6.3
Status
------
- This module is not guaranteed to have a backwards compatible interface.
Authors
-------
- Link Zheng (@chillancezen)
- Jie Xue (@JieX19)
- Hongbin Lu (@fgtdev-hblu)
- Frank Shen (@frankshen01)
- Miguel Angel Munoz (@mamunozgonzalez)
- Nicolas Thomas (@thomnico)
.. hint::
If you notice any issues in this documentation, you can create a pull request to improve it.