Debian Codegraph @

ansible_collections/fortinet/fortimanager/plugins/modules/fmgr_firewall_vip6.py

raw symbols SCIP
1 #!/usr/bin/python
2 from __future__ import absolute_import, division, print_function
3 # Copyright 2019-2024 Fortinet, Inc.
4 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
5
6 __metaclass__ = type
7
8 ANSIBLE_METADATA = {'status': ['preview'],
9 'supported_by': 'community',
10 'metadata_version': '1.1'}
11
12 DOCUMENTATION = '''
13 ---
14 module: fmgr_firewall_vip6
15 short_description: Configure virtual IP for IPv6.
16 version_added: "2.0.0"
17 extends_documentation_fragment:
18 - fortinet.fortimanager.general
19 - fortinet.fortimanager.general.full_crud
20 options:
21 revision_note:
22 description: The change note that can be specified when an object is created or updated.
23 type: str
24 adom:
25 description: The parameter (adom) in requested url.
26 type: str
27 required: true
28 firewall_vip6:
29 description: The top level parameters set.
30 required: false
31 type: dict
32 suboptions:
33 arp_reply:
34 aliases: ['arp-reply']
35 type: str
36 description: Enable to respond to ARP requests for this virtual IP address.
37 choices: ['disable', 'enable']
38 color:
39 type: int
40 description: Color of icon on the GUI.
41 comment:
42 type: str
43 description: Comment.
44 dynamic_mapping:
45 type: list
46 elements: dict
47 description: Dynamic mapping.
48 suboptions:
49 _scope:
50 type: list
51 elements: dict
52 description: Scope.
53 suboptions:
54 name:
55 type: str
56 description: Name.
57 vdom:
58 type: str
59 description: Vdom.
60 arp_reply:
61 aliases: ['arp-reply']
62 type: str
63 description: Arp reply.
64 choices: ['disable', 'enable']
65 color:
66 type: int
67 description: Color.
68 comment:
69 type: str
70 description: Comment.
71 extip:
72 type: str
73 description: Extip.
74 extport:
75 type: str
76 description: Extport.
77 http_cookie_age:
78 aliases: ['http-cookie-age']
79 type: int
80 description: Http cookie age.
81 http_cookie_domain:
82 aliases: ['http-cookie-domain']
83 type: str
84 description: Http cookie domain.
85 http_cookie_domain_from_host:
86 aliases: ['http-cookie-domain-from-host']
87 type: str
88 description: Http cookie domain from host.
89 choices: ['disable', 'enable']
90 http_cookie_generation:
91 aliases: ['http-cookie-generation']
92 type: int
93 description: Http cookie generation.
94 http_cookie_path:
95 aliases: ['http-cookie-path']
96 type: str
97 description: Http cookie path.
98 http_cookie_share:
99 aliases: ['http-cookie-share']
100 type: str
101 description: Http cookie share.
102 choices: ['disable', 'same-ip']
103 http_ip_header:
104 aliases: ['http-ip-header']
105 type: str
106 description: Http ip header.
107 choices: ['disable', 'enable']
108 http_ip_header_name:
109 aliases: ['http-ip-header-name']
110 type: str
111 description: Http ip header name.
112 http_multiplex:
113 aliases: ['http-multiplex']
114 type: str
115 description: Http multiplex.
116 choices: ['disable', 'enable']
117 https_cookie_secure:
118 aliases: ['https-cookie-secure']
119 type: str
120 description: Https cookie secure.
121 choices: ['disable', 'enable']
122 id:
123 type: int
124 description: Id.
125 ldb_method:
126 aliases: ['ldb-method']
127 type: str
128 description: Ldb method.
129 choices: ['static', 'round-robin', 'weighted', 'least-session',
130 'least-rtt', 'first-alive', 'http-host']
131 mappedip:
132 type: str
133 description: Mappedip.
134 mappedport:
135 type: str
136 description: Mappedport.
137 max_embryonic_connections:
138 aliases: ['max-embryonic-connections']
139 type: int
140 description: Max embryonic connections.
141 monitor:
142 type: raw
143 description: (list or str) Monitor.
144 outlook_web_access:
145 aliases: ['outlook-web-access']
146 type: str
147 description: Outlook web access.
148 choices: ['disable', 'enable']
149 persistence:
150 type: str
151 description: Persistence.
152 choices: ['none', 'http-cookie', 'ssl-session-id']
153 portforward:
154 type: str
155 description: Portforward.
156 choices: ['disable', 'enable']
157 protocol:
158 type: str
159 description: Protocol.
160 choices: ['tcp', 'udp', 'sctp']
161 server_type:
162 aliases: ['server-type']
163 type: str
164 description: Server type.
165 choices: ['http', 'https', 'ssl', 'tcp', 'udp', 'ip', 'imaps', 'pop3s',
166 'smtps']
167 src_filter:
168 aliases: ['src-filter']
169 type: raw
170 description: (list) Src filter.
171 ssl_algorithm:
172 aliases: ['ssl-algorithm']
173 type: str
174 description: Ssl algorithm.
175 choices: ['high', 'low', 'medium', 'custom']
176 ssl_certificate:
177 aliases: ['ssl-certificate']
178 type: str
179 description: Ssl certificate.
180 ssl_client_fallback:
181 aliases: ['ssl-client-fallback']
182 type: str
183 description: Ssl client fallback.
184 choices: ['disable', 'enable']
185 ssl_client_renegotiation:
186 aliases: ['ssl-client-renegotiation']
187 type: str
188 description: Ssl client renegotiation.
189 choices: ['deny', 'allow', 'secure']
190 ssl_client_session_state_max:
191 aliases: ['ssl-client-session-state-max']
192 type: int
193 description: Ssl client session state max.
194 ssl_client_session_state_timeout:
195 aliases: ['ssl-client-session-state-timeout']
196 type: int
197 description: Ssl client session state timeout.
198 ssl_client_session_state_type:
199 aliases: ['ssl-client-session-state-type']
200 type: str
201 description: Ssl client session state type.
202 choices: ['disable', 'time', 'count', 'both']
203 ssl_dh_bits:
204 aliases: ['ssl-dh-bits']
205 type: str
206 description: Ssl dh bits.
207 choices: ['768', '1024', '1536', '2048', '3072', '4096']
208 ssl_hpkp:
209 aliases: ['ssl-hpkp']
210 type: str
211 description: Ssl hpkp.
212 choices: ['disable', 'enable', 'report-only']
213 ssl_hpkp_age:
214 aliases: ['ssl-hpkp-age']
215 type: int
216 description: Ssl hpkp age.
217 ssl_hpkp_backup:
218 aliases: ['ssl-hpkp-backup']
219 type: str
220 description: Ssl hpkp backup.
221 ssl_hpkp_include_subdomains:
222 aliases: ['ssl-hpkp-include-subdomains']
223 type: str
224 description: Ssl hpkp include subdomains.
225 choices: ['disable', 'enable']
226 ssl_hpkp_primary:
227 aliases: ['ssl-hpkp-primary']
228 type: str
229 description: Ssl hpkp primary.
230 ssl_hpkp_report_uri:
231 aliases: ['ssl-hpkp-report-uri']
232 type: str
233 description: Ssl hpkp report uri.
234 ssl_hsts:
235 aliases: ['ssl-hsts']
236 type: str
237 description: Ssl hsts.
238 choices: ['disable', 'enable']
239 ssl_hsts_age:
240 aliases: ['ssl-hsts-age']
241 type: int
242 description: Ssl hsts age.
243 ssl_hsts_include_subdomains:
244 aliases: ['ssl-hsts-include-subdomains']
245 type: str
246 description: Ssl hsts include subdomains.
247 choices: ['disable', 'enable']
248 ssl_http_location_conversion:
249 aliases: ['ssl-http-location-conversion']
250 type: str
251 description: Ssl http location conversion.
252 choices: ['disable', 'enable']
253 ssl_http_match_host:
254 aliases: ['ssl-http-match-host']
255 type: str
256 description: Ssl http match host.
257 choices: ['disable', 'enable']
258 ssl_max_version:
259 aliases: ['ssl-max-version']
260 type: str
261 description: Ssl max version.
262 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
263 ssl_min_version:
264 aliases: ['ssl-min-version']
265 type: str
266 description: Ssl min version.
267 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
268 ssl_mode:
269 aliases: ['ssl-mode']
270 type: str
271 description: Ssl mode.
272 choices: ['half', 'full']
273 ssl_pfs:
274 aliases: ['ssl-pfs']
275 type: str
276 description: Ssl pfs.
277 choices: ['require', 'deny', 'allow']
278 ssl_send_empty_frags:
279 aliases: ['ssl-send-empty-frags']
280 type: str
281 description: Ssl send empty frags.
282 choices: ['disable', 'enable']
283 ssl_server_algorithm:
284 aliases: ['ssl-server-algorithm']
285 type: str
286 description: Ssl server algorithm.
287 choices: ['high', 'low', 'medium', 'custom', 'client']
288 ssl_server_max_version:
289 aliases: ['ssl-server-max-version']
290 type: str
291 description: Ssl server max version.
292 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3']
293 ssl_server_min_version:
294 aliases: ['ssl-server-min-version']
295 type: str
296 description: Ssl server min version.
297 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3']
298 ssl_server_session_state_max:
299 aliases: ['ssl-server-session-state-max']
300 type: int
301 description: Ssl server session state max.
302 ssl_server_session_state_timeout:
303 aliases: ['ssl-server-session-state-timeout']
304 type: int
305 description: Ssl server session state timeout.
306 ssl_server_session_state_type:
307 aliases: ['ssl-server-session-state-type']
308 type: str
309 description: Ssl server session state type.
310 choices: ['disable', 'time', 'count', 'both']
311 type:
312 type: str
313 description: Type.
314 choices: ['static-nat', 'server-load-balance', 'access-proxy']
315 uuid:
316 type: str
317 description: Uuid.
318 weblogic_server:
319 aliases: ['weblogic-server']
320 type: str
321 description: Weblogic server.
322 choices: ['disable', 'enable']
323 websphere_server:
324 aliases: ['websphere-server']
325 type: str
326 description: Websphere server.
327 choices: ['disable', 'enable']
328 http_redirect:
329 aliases: ['http-redirect']
330 type: str
331 description: Http redirect.
332 choices: ['disable', 'enable']
333 ssl_client_rekey_count:
334 aliases: ['ssl-client-rekey-count']
335 type: int
336 description: Ssl client rekey count.
337 nat_source_vip:
338 aliases: ['nat-source-vip']
339 type: str
340 description: Nat source vip.
341 choices: ['disable', 'enable']
342 add_nat64_route:
343 aliases: ['add-nat64-route']
344 type: str
345 description: Enable/disable adding NAT64 route.
346 choices: ['disable', 'enable']
347 embedded_ipv4_address:
348 aliases: ['embedded-ipv4-address']
349 type: str
350 description: Enable/disable use of the lower 32 bits of the external IPv6 address as mapped IPv4 address.
351 choices: ['disable', 'enable']
352 ipv4_mappedip:
353 aliases: ['ipv4-mappedip']
354 type: str
355 description: Range of mapped IP addresses.
356 ipv4_mappedport:
357 aliases: ['ipv4-mappedport']
358 type: str
359 description: IPv4 port number range on the destination network to which the external port number range is mapped.
360 nat64:
361 type: str
362 description: Enable/disable DNAT64.
363 choices: ['disable', 'enable']
364 nat66:
365 type: str
366 description: Enable/disable DNAT66.
367 choices: ['disable', 'enable']
368 realservers:
369 type: list
370 elements: dict
371 description: Realservers.
372 suboptions:
373 client_ip:
374 aliases: ['client-ip']
375 type: str
376 description: Only clients in this IP range can connect to this real server.
377 healthcheck:
378 type: str
379 description: Enable to check the responsiveness of the real server before forwarding traffic.
380 choices: ['disable', 'enable', 'vip']
381 holddown_interval:
382 aliases: ['holddown-interval']
383 type: int
384 description: Time in seconds that the health check monitor continues to monitor an unresponsive server that should be a...
385 http_host:
386 aliases: ['http-host']
387 type: str
388 description: HTTP server domain name in HTTP header.
389 id:
390 type: int
391 description: Real server ID.
392 ip:
393 type: str
394 description: IP address of the real server.
395 max_connections:
396 aliases: ['max-connections']
397 type: int
398 description: Max number of active connections that can directed to the real server.
399 monitor:
400 type: raw
401 description: (list or str) Name of the health check monitor to use when polling to determine a virtual servers connecti...
402 port:
403 type: int
404 description: Port for communicating with the real server.
405 status:
406 type: str
407 description: Set the status of the real server to active so that it can accept traffic, or on standby or disabled so no...
408 choices: ['active', 'standby', 'disable']
409 weight:
410 type: int
411 description: Weight of the real server.
412 translate_host:
413 aliases: ['translate-host']
414 type: str
415 description: Enable/disable translation of hostname/IP from virtual server to real server.
416 choices: ['disable', 'enable']
417 verify_cert:
418 aliases: ['verify-cert']
419 type: str
420 description: Enable/disable certificate verification of the real server.
421 choices: ['disable', 'enable']
422 ssl_accept_ffdhe_groups:
423 aliases: ['ssl-accept-ffdhe-groups']
424 type: str
425 description: Enable/disable FFDHE cipher suite for SSL key exchange.
426 choices: ['disable', 'enable']
427 ssl_cipher_suites:
428 aliases: ['ssl-cipher-suites']
429 type: list
430 elements: dict
431 description: Ssl cipher suites.
432 suboptions:
433 cipher:
434 type: str
435 description: Cipher suite name.
436 choices: ['TLS-RSA-WITH-RC4-128-MD5', 'TLS-RSA-WITH-RC4-128-SHA',
437 'TLS-RSA-WITH-DES-CBC-SHA',
438 'TLS-RSA-WITH-3DES-EDE-CBC-SHA',
439 'TLS-RSA-WITH-AES-128-CBC-SHA',
440 'TLS-RSA-WITH-AES-256-CBC-SHA',
441 'TLS-RSA-WITH-AES-128-CBC-SHA256',
442 'TLS-RSA-WITH-AES-256-CBC-SHA256',
443 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA',
444 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA',
445 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256',
446 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256',
447 'TLS-RSA-WITH-SEED-CBC-SHA',
448 'TLS-RSA-WITH-ARIA-128-CBC-SHA256',
449 'TLS-RSA-WITH-ARIA-256-CBC-SHA384',
450 'TLS-DHE-RSA-WITH-DES-CBC-SHA',
451 'TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA',
452 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA',
453 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA',
454 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA256',
455 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA256',
456 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA',
457 'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA',
458 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256',
459 'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256',
460 'TLS-DHE-RSA-WITH-SEED-CBC-SHA',
461 'TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256',
462 'TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384',
463 'TLS-ECDHE-RSA-WITH-RC4-128-SHA',
464 'TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA',
465 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA',
466 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA',
467 'TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256',
468 'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256',
469 'TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256',
470 'TLS-DHE-RSA-WITH-AES-128-GCM-SHA256',
471 'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384',
472 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA',
473 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA',
474 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA256',
475 'TLS-DHE-DSS-WITH-AES-128-GCM-SHA256',
476 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA256',
477 'TLS-DHE-DSS-WITH-AES-256-GCM-SHA384',
478 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256',
479 'TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256',
480 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384',
481 'TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384',
482 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA',
483 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256',
484 'TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256',
485 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384',
486 'TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384',
487 'TLS-RSA-WITH-AES-128-GCM-SHA256',
488 'TLS-RSA-WITH-AES-256-GCM-SHA384',
489 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA',
490 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA',
491 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256',
492 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256',
493 'TLS-DHE-DSS-WITH-SEED-CBC-SHA',
494 'TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256',
495 'TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384',
496 'TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256',
497 'TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384',
498 'TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256',
499 'TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384',
500 'TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA',
501 'TLS-DHE-DSS-WITH-DES-CBC-SHA',
502 'TLS-AES-128-GCM-SHA256', 'TLS-AES-256-GCM-SHA384',
503 'TLS-CHACHA20-POLY1305-SHA256',
504 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA']
505 priority:
506 type: int
507 description: SSL/TLS cipher suites priority.
508 versions:
509 type: list
510 elements: str
511 description: SSL/TLS versions that the cipher suite can be used with.
512 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
513 ndp_reply:
514 aliases: ['ndp-reply']
515 type: str
516 description: Enable/disable this FortiGate units ability to respond to NDP requests for this virtual IP address
517 choices: ['disable', 'enable']
518 ssl_server_renegotiation:
519 aliases: ['ssl-server-renegotiation']
520 type: str
521 description: Enable/disable secure renegotiation to comply with RFC 5746.
522 choices: ['disable', 'enable']
523 h2_support:
524 aliases: ['h2-support']
525 type: str
526 description: Enable/disable HTTP2 support
527 choices: ['disable', 'enable']
528 h3_support:
529 aliases: ['h3-support']
530 type: str
531 description: Enable/disable HTTP3/QUIC support
532 choices: ['disable', 'enable']
533 src_vip_filter:
534 aliases: ['src-vip-filter']
535 type: str
536 description: Enable/disable use of src-filter to match destinations for the reverse SNAT rule.
537 choices: ['disable', 'enable']
538 client_cert:
539 aliases: ['client-cert']
540 type: str
541 description: Enable/disable requesting client certificate.
542 choices: ['disable', 'enable']
543 empty_cert_action:
544 aliases: ['empty-cert-action']
545 type: str
546 description: Action for an empty client certificate.
547 choices: ['accept', 'block', 'accept-unmanageable']
548 user_agent_detect:
549 aliases: ['user-agent-detect']
550 type: str
551 description: Enable/disable detecting device type by HTTP user-agent if no client certificate is provided.
552 choices: ['disable', 'enable']
553 vip_id:
554 aliases: ['vip-id']
555 type: int
556 description: Vip id.
557 extip:
558 type: str
559 description: IP address or address range on the external interface that you want to map to an address or address range on the destinati...
560 extport:
561 type: str
562 description: Incoming port number range that you want to map to a port number range on the destination network.
563 http_cookie_age:
564 aliases: ['http-cookie-age']
565 type: int
566 description: Time in minutes that client web browsers should keep a cookie.
567 http_cookie_domain:
568 aliases: ['http-cookie-domain']
569 type: str
570 description: Domain that HTTP cookie persistence should apply to.
571 http_cookie_domain_from_host:
572 aliases: ['http-cookie-domain-from-host']
573 type: str
574 description: Enable/disable use of HTTP cookie domain from host field in HTTP.
575 choices: ['disable', 'enable']
576 http_cookie_generation:
577 aliases: ['http-cookie-generation']
578 type: int
579 description: Generation of HTTP cookie to be accepted.
580 http_cookie_path:
581 aliases: ['http-cookie-path']
582 type: str
583 description: Limit HTTP cookie persistence to the specified path.
584 http_cookie_share:
585 aliases: ['http-cookie-share']
586 type: str
587 description: Control sharing of cookies across virtual servers.
588 choices: ['disable', 'same-ip']
589 http_ip_header:
590 aliases: ['http-ip-header']
591 type: str
592 description: For HTTP multiplexing, enable to add the original client IP address in the XForwarded-For HTTP header.
593 choices: ['disable', 'enable']
594 http_ip_header_name:
595 aliases: ['http-ip-header-name']
596 type: str
597 description: For HTTP multiplexing, enter a custom HTTPS header name.
598 http_multiplex:
599 aliases: ['http-multiplex']
600 type: str
601 description: Enable/disable HTTP multiplexing.
602 choices: ['disable', 'enable']
603 https_cookie_secure:
604 aliases: ['https-cookie-secure']
605 type: str
606 description: Enable/disable verification that inserted HTTPS cookies are secure.
607 choices: ['disable', 'enable']
608 id:
609 type: int
610 description: Custom defined ID.
611 ldb_method:
612 aliases: ['ldb-method']
613 type: str
614 description: Method used to distribute sessions to real servers.
615 choices: ['static', 'round-robin', 'weighted', 'least-session', 'least-rtt',
616 'first-alive', 'http-host']
617 mappedip:
618 type: str
619 description: Mapped IP address range in the format startIP-endIP.
620 mappedport:
621 type: str
622 description: Port number range on the destination network to which the external port number range is mapped.
623 max_embryonic_connections:
624 aliases: ['max-embryonic-connections']
625 type: int
626 description: Maximum number of incomplete connections.
627 monitor:
628 type: raw
629 description: (list or str) Name of the health check monitor to use when polling to determine a virtual servers connectivity status.
630 name:
631 type: str
632 description: Virtual ip6 name.
633 required: true
634 outlook_web_access:
635 aliases: ['outlook-web-access']
636 type: str
637 description: Enable to add the Front-End-Https header for Microsoft Outlook Web Access.
638 choices: ['disable', 'enable']
639 persistence:
640 type: str
641 description: Configure how to make sure that clients connect to the same server every time they make a request that is part of the same...
642 choices: ['none', 'http-cookie', 'ssl-session-id']
643 portforward:
644 type: str
645 description: Enable port forwarding.
646 choices: ['disable', 'enable']
647 protocol:
648 type: str
649 description: Protocol to use when forwarding packets.
650 choices: ['tcp', 'udp', 'sctp']
651 realservers:
652 type: list
653 elements: dict
654 description: Realservers.
655 suboptions:
656 client_ip:
657 aliases: ['client-ip']
658 type: str
659 description: Only clients in this IP range can connect to this real server.
660 healthcheck:
661 type: str
662 description: Enable to check the responsiveness of the real server before forwarding traffic.
663 choices: ['disable', 'enable', 'vip']
664 holddown_interval:
665 aliases: ['holddown-interval']
666 type: int
667 description: Time in seconds that the health check monitor continues to monitor an unresponsive server that should be active.
668 http_host:
669 aliases: ['http-host']
670 type: str
671 description: HTTP server domain name in HTTP header.
672 id:
673 type: int
674 description: Real server ID.
675 ip:
676 type: str
677 description: IPv6 address of the real server.
678 max_connections:
679 aliases: ['max-connections']
680 type: int
681 description: Max number of active connections that can directed to the real server.
682 monitor:
683 type: raw
684 description: (list or str) Name of the health check monitor to use when polling to determine a virtual servers connectivity status.
685 port:
686 type: int
687 description: Port for communicating with the real server.
688 status:
689 type: str
690 description: Set the status of the real server to active so that it can accept traffic, or on standby or disabled so no traffic...
691 choices: ['active', 'standby', 'disable']
692 weight:
693 type: int
694 description: Weight of the real server.
695 translate_host:
696 aliases: ['translate-host']
697 type: str
698 description: Enable/disable translation of hostname/IP from virtual server to real server.
699 choices: ['disable', 'enable']
700 verify_cert:
701 aliases: ['verify-cert']
702 type: str
703 description: Enable/disable certificate verification of the real server.
704 choices: ['disable', 'enable']
705 server_type:
706 aliases: ['server-type']
707 type: str
708 description: Protocol to be load balanced by the virtual server
709 choices: ['http', 'https', 'ssl', 'tcp', 'udp', 'ip', 'imaps', 'pop3s', 'smtps']
710 src_filter:
711 aliases: ['src-filter']
712 type: raw
713 description: (list) Source IP6 filter
714 ssl_algorithm:
715 aliases: ['ssl-algorithm']
716 type: str
717 description: Permitted encryption algorithms for SSL sessions according to encryption strength.
718 choices: ['high', 'low', 'medium', 'custom']
719 ssl_certificate:
720 aliases: ['ssl-certificate']
721 type: str
722 description: The name of the SSL certificate to use for SSL acceleration.
723 ssl_cipher_suites:
724 aliases: ['ssl-cipher-suites']
725 type: list
726 elements: dict
727 description: Ssl cipher suites.
728 suboptions:
729 cipher:
730 type: str
731 description: Cipher suite name.
732 choices: ['TLS-RSA-WITH-RC4-128-MD5', 'TLS-RSA-WITH-RC4-128-SHA',
733 'TLS-RSA-WITH-DES-CBC-SHA', 'TLS-RSA-WITH-3DES-EDE-CBC-SHA',
734 'TLS-RSA-WITH-AES-128-CBC-SHA', 'TLS-RSA-WITH-AES-256-CBC-SHA',
735 'TLS-RSA-WITH-AES-128-CBC-SHA256',
736 'TLS-RSA-WITH-AES-256-CBC-SHA256',
737 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA',
738 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA',
739 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256',
740 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256',
741 'TLS-RSA-WITH-SEED-CBC-SHA', 'TLS-RSA-WITH-ARIA-128-CBC-SHA256',
742 'TLS-RSA-WITH-ARIA-256-CBC-SHA384',
743 'TLS-DHE-RSA-WITH-DES-CBC-SHA',
744 'TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA',
745 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA',
746 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA',
747 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA256',
748 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA256',
749 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA',
750 'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA',
751 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256',
752 'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256',
753 'TLS-DHE-RSA-WITH-SEED-CBC-SHA',
754 'TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256',
755 'TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384',
756 'TLS-ECDHE-RSA-WITH-RC4-128-SHA',
757 'TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA',
758 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA',
759 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA',
760 'TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256',
761 'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256',
762 'TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256',
763 'TLS-DHE-RSA-WITH-AES-128-GCM-SHA256',
764 'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384',
765 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA',
766 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA',
767 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA256',
768 'TLS-DHE-DSS-WITH-AES-128-GCM-SHA256',
769 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA256',
770 'TLS-DHE-DSS-WITH-AES-256-GCM-SHA384',
771 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256',
772 'TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256',
773 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384',
774 'TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384',
775 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA',
776 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256',
777 'TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256',
778 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384',
779 'TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384',
780 'TLS-RSA-WITH-AES-128-GCM-SHA256',
781 'TLS-RSA-WITH-AES-256-GCM-SHA384',
782 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA',
783 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA',
784 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256',
785 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256',
786 'TLS-DHE-DSS-WITH-SEED-CBC-SHA',
787 'TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256',
788 'TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384',
789 'TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256',
790 'TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384',
791 'TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256',
792 'TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384',
793 'TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA',
794 'TLS-DHE-DSS-WITH-DES-CBC-SHA', 'TLS-AES-128-GCM-SHA256',
795 'TLS-AES-256-GCM-SHA384', 'TLS-CHACHA20-POLY1305-SHA256',
796 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA']
797 priority:
798 type: int
799 description: SSL/TLS cipher suites priority.
800 versions:
801 type: list
802 elements: str
803 description: SSL/TLS versions that the cipher suite can be used with.
804 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
805 ssl_client_fallback:
806 aliases: ['ssl-client-fallback']
807 type: str
808 description: Enable/disable support for preventing Downgrade Attacks on client connections
809 choices: ['disable', 'enable']
810 ssl_client_renegotiation:
811 aliases: ['ssl-client-renegotiation']
812 type: str
813 description: Allow, deny, or require secure renegotiation of client sessions to comply with RFC 5746.
814 choices: ['deny', 'allow', 'secure']
815 ssl_client_session_state_max:
816 aliases: ['ssl-client-session-state-max']
817 type: int
818 description: Maximum number of client to FortiGate SSL session states to keep.
819 ssl_client_session_state_timeout:
820 aliases: ['ssl-client-session-state-timeout']
821 type: int
822 description: Number of minutes to keep client to FortiGate SSL session state.
823 ssl_client_session_state_type:
824 aliases: ['ssl-client-session-state-type']
825 type: str
826 description: How to expire SSL sessions for the segment of the SSL connection between the client and the FortiGate.
827 choices: ['disable', 'time', 'count', 'both']
828 ssl_dh_bits:
829 aliases: ['ssl-dh-bits']
830 type: str
831 description: Number of bits to use in the Diffie-Hellman exchange for RSA encryption of SSL sessions.
832 choices: ['768', '1024', '1536', '2048', '3072', '4096']
833 ssl_hpkp:
834 aliases: ['ssl-hpkp']
835 type: str
836 description: Enable/disable including HPKP header in response.
837 choices: ['disable', 'enable', 'report-only']
838 ssl_hpkp_age:
839 aliases: ['ssl-hpkp-age']
840 type: int
841 description: Number of minutes the web browser should keep HPKP.
842 ssl_hpkp_backup:
843 aliases: ['ssl-hpkp-backup']
844 type: str
845 description: Certificate to generate backup HPKP pin from.
846 ssl_hpkp_include_subdomains:
847 aliases: ['ssl-hpkp-include-subdomains']
848 type: str
849 description: Indicate that HPKP header applies to all subdomains.
850 choices: ['disable', 'enable']
851 ssl_hpkp_primary:
852 aliases: ['ssl-hpkp-primary']
853 type: str
854 description: Certificate to generate primary HPKP pin from.
855 ssl_hpkp_report_uri:
856 aliases: ['ssl-hpkp-report-uri']
857 type: str
858 description: URL to report HPKP violations to.
859 ssl_hsts:
860 aliases: ['ssl-hsts']
861 type: str
862 description: Enable/disable including HSTS header in response.
863 choices: ['disable', 'enable']
864 ssl_hsts_age:
865 aliases: ['ssl-hsts-age']
866 type: int
867 description: Number of seconds the client should honour the HSTS setting.
868 ssl_hsts_include_subdomains:
869 aliases: ['ssl-hsts-include-subdomains']
870 type: str
871 description: Indicate that HSTS header applies to all subdomains.
872 choices: ['disable', 'enable']
873 ssl_http_location_conversion:
874 aliases: ['ssl-http-location-conversion']
875 type: str
876 description: Enable to replace HTTP with HTTPS in the replys Location HTTP header field.
877 choices: ['disable', 'enable']
878 ssl_http_match_host:
879 aliases: ['ssl-http-match-host']
880 type: str
881 description: Enable/disable HTTP host matching for location conversion.
882 choices: ['disable', 'enable']
883 ssl_max_version:
884 aliases: ['ssl-max-version']
885 type: str
886 description: Highest SSL/TLS version acceptable from a client.
887 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
888 ssl_min_version:
889 aliases: ['ssl-min-version']
890 type: str
891 description: Lowest SSL/TLS version acceptable from a client.
892 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
893 ssl_mode:
894 aliases: ['ssl-mode']
895 type: str
896 description: Apply SSL offloading between the client and the FortiGate
897 choices: ['half', 'full']
898 ssl_pfs:
899 aliases: ['ssl-pfs']
900 type: str
901 description: Select the cipher suites that can be used for SSL perfect forward secrecy
902 choices: ['require', 'deny', 'allow']
903 ssl_send_empty_frags:
904 aliases: ['ssl-send-empty-frags']
905 type: str
906 description: Enable/disable sending empty fragments to avoid CBC IV attacks
907 choices: ['disable', 'enable']
908 ssl_server_algorithm:
909 aliases: ['ssl-server-algorithm']
910 type: str
911 description: Permitted encryption algorithms for the server side of SSL full mode sessions according to encryption strength.
912 choices: ['high', 'low', 'medium', 'custom', 'client']
913 ssl_server_cipher_suites:
914 aliases: ['ssl-server-cipher-suites']
915 type: list
916 elements: dict
917 description: Ssl server cipher suites.
918 suboptions:
919 cipher:
920 type: str
921 description: Cipher suite name.
922 choices: ['TLS-RSA-WITH-RC4-128-MD5', 'TLS-RSA-WITH-RC4-128-SHA',
923 'TLS-RSA-WITH-DES-CBC-SHA', 'TLS-RSA-WITH-3DES-EDE-CBC-SHA',
924 'TLS-RSA-WITH-AES-128-CBC-SHA', 'TLS-RSA-WITH-AES-256-CBC-SHA',
925 'TLS-RSA-WITH-AES-128-CBC-SHA256',
926 'TLS-RSA-WITH-AES-256-CBC-SHA256',
927 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA',
928 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA',
929 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256',
930 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256',
931 'TLS-RSA-WITH-SEED-CBC-SHA', 'TLS-RSA-WITH-ARIA-128-CBC-SHA256',
932 'TLS-RSA-WITH-ARIA-256-CBC-SHA384',
933 'TLS-DHE-RSA-WITH-DES-CBC-SHA',
934 'TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA',
935 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA',
936 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA',
937 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA256',
938 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA256',
939 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA',
940 'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA',
941 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256',
942 'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256',
943 'TLS-DHE-RSA-WITH-SEED-CBC-SHA',
944 'TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256',
945 'TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384',
946 'TLS-ECDHE-RSA-WITH-RC4-128-SHA',
947 'TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA',
948 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA',
949 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA',
950 'TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256',
951 'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256',
952 'TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256',
953 'TLS-DHE-RSA-WITH-AES-128-GCM-SHA256',
954 'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384',
955 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA',
956 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA',
957 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA256',
958 'TLS-DHE-DSS-WITH-AES-128-GCM-SHA256',
959 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA256',
960 'TLS-DHE-DSS-WITH-AES-256-GCM-SHA384',
961 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256',
962 'TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256',
963 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384',
964 'TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384',
965 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA',
966 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256',
967 'TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256',
968 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384',
969 'TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384',
970 'TLS-RSA-WITH-AES-128-GCM-SHA256',
971 'TLS-RSA-WITH-AES-256-GCM-SHA384',
972 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA',
973 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA',
974 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256',
975 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256',
976 'TLS-DHE-DSS-WITH-SEED-CBC-SHA',
977 'TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256',
978 'TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384',
979 'TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256',
980 'TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384',
981 'TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256',
982 'TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384',
983 'TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA',
984 'TLS-DHE-DSS-WITH-DES-CBC-SHA', 'TLS-AES-128-GCM-SHA256',
985 'TLS-AES-256-GCM-SHA384', 'TLS-CHACHA20-POLY1305-SHA256',
986 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA']
987 priority:
988 type: int
989 description: SSL/TLS cipher suites priority.
990 versions:
991 type: list
992 elements: str
993 description: SSL/TLS versions that the cipher suite can be used with.
994 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3']
995 ssl_server_max_version:
996 aliases: ['ssl-server-max-version']
997 type: str
998 description: Highest SSL/TLS version acceptable from a server.
999 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3']
1000 ssl_server_min_version:
1001 aliases: ['ssl-server-min-version']
1002 type: str
1003 description: Lowest SSL/TLS version acceptable from a server.
1004 choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3']
1005 ssl_server_session_state_max:
1006 aliases: ['ssl-server-session-state-max']
1007 type: int
1008 description: Maximum number of FortiGate to Server SSL session states to keep.
1009 ssl_server_session_state_timeout:
1010 aliases: ['ssl-server-session-state-timeout']
1011 type: int
1012 description: Number of minutes to keep FortiGate to Server SSL session state.
1013 ssl_server_session_state_type:
1014 aliases: ['ssl-server-session-state-type']
1015 type: str
1016 description: How to expire SSL sessions for the segment of the SSL connection between the server and the FortiGate.
1017 choices: ['disable', 'time', 'count', 'both']
1018 type:
1019 type: str
1020 description: Configure a static NAT VIP.
1021 choices: ['static-nat', 'server-load-balance', 'access-proxy']
1022 uuid:
1023 type: str
1024 description: Universally Unique Identifier
1025 weblogic_server:
1026 aliases: ['weblogic-server']
1027 type: str
1028 description: Enable to add an HTTP header to indicate SSL offloading for a WebLogic server.
1029 choices: ['disable', 'enable']
1030 websphere_server:
1031 aliases: ['websphere-server']
1032 type: str
1033 description: Enable to add an HTTP header to indicate SSL offloading for a WebSphere server.
1034 choices: ['disable', 'enable']
1035 http_redirect:
1036 aliases: ['http-redirect']
1037 type: str
1038 description: Enable/disable redirection of HTTP to HTTPS
1039 choices: ['disable', 'enable']
1040 ssl_client_rekey_count:
1041 aliases: ['ssl-client-rekey-count']
1042 type: int
1043 description: Maximum length of data in MB before triggering a client rekey
1044 nat_source_vip:
1045 aliases: ['nat-source-vip']
1046 type: str
1047 description: Enable to perform SNAT on traffic from mappedip to the extip for all egress interfaces.
1048 choices: ['disable', 'enable']
1049 add_nat64_route:
1050 aliases: ['add-nat64-route']
1051 type: str
1052 description: Enable/disable adding NAT64 route.
1053 choices: ['disable', 'enable']
1054 embedded_ipv4_address:
1055 aliases: ['embedded-ipv4-address']
1056 type: str
1057 description: Enable/disable use of the lower 32 bits of the external IPv6 address as mapped IPv4 address.
1058 choices: ['disable', 'enable']
1059 ipv4_mappedip:
1060 aliases: ['ipv4-mappedip']
1061 type: str
1062 description: Range of mapped IP addresses.
1063 ipv4_mappedport:
1064 aliases: ['ipv4-mappedport']
1065 type: str
1066 description: IPv4 port number range on the destination network to which the external port number range is mapped.
1067 nat64:
1068 type: str
1069 description: Enable/disable DNAT64.
1070 choices: ['disable', 'enable']
1071 nat66:
1072 type: str
1073 description: Enable/disable DNAT66.
1074 choices: ['disable', 'enable']
1075 ssl_accept_ffdhe_groups:
1076 aliases: ['ssl-accept-ffdhe-groups']
1077 type: str
1078 description: Enable/disable FFDHE cipher suite for SSL key exchange.
1079 choices: ['disable', 'enable']
1080 ndp_reply:
1081 aliases: ['ndp-reply']
1082 type: str
1083 description: Enable/disable this FortiGate units ability to respond to NDP requests for this virtual IP address
1084 choices: ['disable', 'enable']
1085 ssl_server_renegotiation:
1086 aliases: ['ssl-server-renegotiation']
1087 type: str
1088 description: Enable/disable secure renegotiation to comply with RFC 5746.
1089 choices: ['disable', 'enable']
1090 h2_support:
1091 aliases: ['h2-support']
1092 type: str
1093 description: Enable/disable HTTP2 support
1094 choices: ['disable', 'enable']
1095 h3_support:
1096 aliases: ['h3-support']
1097 type: str
1098 description: Enable/disable HTTP3/QUIC support
1099 choices: ['disable', 'enable']
1100 quic:
1101 type: dict
1102 description: Quic.
1103 suboptions:
1104 ack_delay_exponent:
1105 aliases: ['ack-delay-exponent']
1106 type: int
1107 description:
1108 - Support meta variable
1109 - ACK delay exponent
1110 active_connection_id_limit:
1111 aliases: ['active-connection-id-limit']
1112 type: int
1113 description:
1114 - Support meta variable
1115 - Active connection ID limit
1116 active_migration:
1117 aliases: ['active-migration']
1118 type: str
1119 description: Enable/disable active migration
1120 choices: ['disable', 'enable']
1121 grease_quic_bit:
1122 aliases: ['grease-quic-bit']
1123 type: str
1124 description: Enable/disable grease QUIC bit
1125 choices: ['disable', 'enable']
1126 max_ack_delay:
1127 aliases: ['max-ack-delay']
1128 type: int
1129 description:
1130 - Support meta variable
1131 - Maximum ACK delay in milliseconds
1132 max_datagram_frame_size:
1133 aliases: ['max-datagram-frame-size']
1134 type: int
1135 description:
1136 - Support meta variable
1137 - Maximum datagram frame size in bytes
1138 max_idle_timeout:
1139 aliases: ['max-idle-timeout']
1140 type: int
1141 description:
1142 - Support meta variable
1143 - Maximum idle timeout milliseconds
1144 max_udp_payload_size:
1145 aliases: ['max-udp-payload-size']
1146 type: int
1147 description:
1148 - Support meta variable
1149 - Maximum UDP payload size in bytes
1150 src_vip_filter:
1151 aliases: ['src-vip-filter']
1152 type: str
1153 description: Enable/disable use of src-filter to match destinations for the reverse SNAT rule.
1154 choices: ['disable', 'enable']
1155 client_cert:
1156 aliases: ['client-cert']
1157 type: str
1158 description: Enable/disable requesting client certificate.
1159 choices: ['disable', 'enable']
1160 empty_cert_action:
1161 aliases: ['empty-cert-action']
1162 type: str
1163 description: Action for an empty client certificate.
1164 choices: ['accept', 'block', 'accept-unmanageable']
1165 user_agent_detect:
1166 aliases: ['user-agent-detect']
1167 type: str
1168 description: Enable/disable detecting device type by HTTP user-agent if no client certificate is provided.
1169 choices: ['disable', 'enable']
1170 vip_id:
1171 aliases: ['vip-id']
1172 type: int
1173 description: Vip id.
1174 '''
1175
1176 EXAMPLES = '''
1177 - name: Example playbook
1178 hosts: fortimanagers
1179 gather_facts: false
1180 connection: httpapi
1181 vars:
1182 ansible_httpapi_use_ssl: true
1183 ansible_httpapi_validate_certs: false
1184 ansible_httpapi_port: 443
1185 tasks:
1186 - name: Configure virtual IP for IPv6.
1187 fortinet.fortimanager.fmgr_firewall_vip6:
1188 bypass_validation: false
1189 adom: ansible
1190 state: present
1191 firewall_vip6:
1192 arp_reply: disable
1193 color: 1
1194 comment: "ansible-comment"
1195 id: 1
1196 name: "ansible-test-vip6"
1197
1198 - name: Gathering fortimanager facts
1199 hosts: fortimanagers
1200 gather_facts: false
1201 connection: httpapi
1202 vars:
1203 ansible_httpapi_use_ssl: true
1204 ansible_httpapi_validate_certs: false
1205 ansible_httpapi_port: 443
1206 tasks:
1207 - name: Retrieve all the scripts
1208 fortinet.fortimanager.fmgr_fact:
1209 facts:
1210 selector: "firewall_vip6"
1211 params:
1212 adom: "ansible"
1213 vip6: "your_value"
1214 '''
1215
1216 RETURN = '''
1217 meta:
1218 description: The result of the request.
1219 type: dict
1220 returned: always
1221 contains:
1222 request_url:
1223 description: The full url requested.
1224 returned: always
1225 type: str
1226 sample: /sys/login/user
1227 response_code:
1228 description: The status of api request.
1229 returned: always
1230 type: int
1231 sample: 0
1232 response_data:
1233 description: The api response.
1234 type: list
1235 returned: always
1236 response_message:
1237 description: The descriptive message of the api response.
1238 type: str
1239 returned: always
1240 sample: OK.
1241 system_information:
1242 description: The information of the target system.
1243 type: dict
1244 returned: always
1245 rc:
1246 description: The status the request.
1247 type: int
1248 returned: always
1249 sample: 0
1250 version_check_warning:
1251 description: Warning if the parameters used in the playbook are not supported by the current FortiManager version.
1252 type: list
1253 returned: complex
1254 '''
1255 from ansible.module_utils.basic import AnsibleModule
1256 from ansible.module_utils.connection import Connection
1257 from ansible_collections.fortinet.fortimanager.plugins.module_utils.napi import NAPIManager, check_galaxy_version, check_parameter_bypass
1258 from ansible_collections.fortinet.fortimanager.plugins.module_utils.common import get_module_arg_spec
1259
1260
1261 def main():
1262 urls_list = [
1263 '/pm/config/adom/{adom}/obj/firewall/vip6',
1264 '/pm/config/global/obj/firewall/vip6'
1265 ]
1266 module_arg_spec = {
1267 'adom': {'required': True, 'type': 'str'},
1268 'revision_note': {'type': 'str'},
1269 'firewall_vip6': {
1270 'type': 'dict', 'v_range': [['6.0.0', '']],
1271 'options': {
1272 'arp-reply': {'choices': ['disable', 'enable'], 'type': 'str'},
1273 'color': {'type': 'int'},
1274 'comment': {'type': 'str'},
1275 'dynamic_mapping': {
1276 'type': 'list',
1277 'options': {
1278 '_scope': {'type': 'list', 'options': {'name': {'type': 'str'}, 'vdom': {'type': 'str'}}, 'elements': 'dict'},
1279 'arp-reply': {'choices': ['disable', 'enable'], 'type': 'str'},
1280 'color': {'type': 'int'},
1281 'comment': {'type': 'str'},
1282 'extip': {'type': 'str'},
1283 'extport': {'type': 'str'},
1284 'http-cookie-age': {'type': 'int'},
1285 'http-cookie-domain': {'type': 'str'},
1286 'http-cookie-domain-from-host': {'choices': ['disable', 'enable'], 'type': 'str'},
1287 'http-cookie-generation': {'type': 'int'},
1288 'http-cookie-path': {'type': 'str'},
1289 'http-cookie-share': {'choices': ['disable', 'same-ip'], 'type': 'str'},
1290 'http-ip-header': {'choices': ['disable', 'enable'], 'type': 'str'},
1291 'http-ip-header-name': {'type': 'str'},
1292 'http-multiplex': {'choices': ['disable', 'enable'], 'type': 'str'},
1293 'https-cookie-secure': {'choices': ['disable', 'enable'], 'type': 'str'},
1294 'id': {'type': 'int'},
1295 'ldb-method': {
1296 'choices': ['static', 'round-robin', 'weighted', 'least-session', 'least-rtt', 'first-alive', 'http-host'],
1297 'type': 'str'
1298 },
1299 'mappedip': {'type': 'str'},
1300 'mappedport': {'type': 'str'},
1301 'max-embryonic-connections': {'type': 'int'},
1302 'monitor': {'type': 'raw'},
1303 'outlook-web-access': {'choices': ['disable', 'enable'], 'type': 'str'},
1304 'persistence': {'choices': ['none', 'http-cookie', 'ssl-session-id'], 'type': 'str'},
1305 'portforward': {'choices': ['disable', 'enable'], 'type': 'str'},
1306 'protocol': {'choices': ['tcp', 'udp', 'sctp'], 'type': 'str'},
1307 'server-type': {'choices': ['http', 'https', 'ssl', 'tcp', 'udp', 'ip', 'imaps', 'pop3s', 'smtps'], 'type': 'str'},
1308 'src-filter': {'type': 'raw'},
1309 'ssl-algorithm': {'choices': ['high', 'low', 'medium', 'custom'], 'type': 'str'},
1310 'ssl-certificate': {'type': 'str'},
1311 'ssl-client-fallback': {'choices': ['disable', 'enable'], 'type': 'str'},
1312 'ssl-client-renegotiation': {'choices': ['deny', 'allow', 'secure'], 'type': 'str'},
1313 'ssl-client-session-state-max': {'type': 'int'},
1314 'ssl-client-session-state-timeout': {'type': 'int'},
1315 'ssl-client-session-state-type': {'choices': ['disable', 'time', 'count', 'both'], 'type': 'str'},
1316 'ssl-dh-bits': {'choices': ['768', '1024', '1536', '2048', '3072', '4096'], 'type': 'str'},
1317 'ssl-hpkp': {'choices': ['disable', 'enable', 'report-only'], 'type': 'str'},
1318 'ssl-hpkp-age': {'type': 'int'},
1319 'ssl-hpkp-backup': {'type': 'str'},
1320 'ssl-hpkp-include-subdomains': {'choices': ['disable', 'enable'], 'type': 'str'},
1321 'ssl-hpkp-primary': {'type': 'str'},
1322 'ssl-hpkp-report-uri': {'type': 'str'},
1323 'ssl-hsts': {'choices': ['disable', 'enable'], 'type': 'str'},
1324 'ssl-hsts-age': {'type': 'int'},
1325 'ssl-hsts-include-subdomains': {'choices': ['disable', 'enable'], 'type': 'str'},
1326 'ssl-http-location-conversion': {'choices': ['disable', 'enable'], 'type': 'str'},
1327 'ssl-http-match-host': {'choices': ['disable', 'enable'], 'type': 'str'},
1328 'ssl-max-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'type': 'str'},
1329 'ssl-min-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'type': 'str'},
1330 'ssl-mode': {'choices': ['half', 'full'], 'type': 'str'},
1331 'ssl-pfs': {'choices': ['require', 'deny', 'allow'], 'type': 'str'},
1332 'ssl-send-empty-frags': {'choices': ['disable', 'enable'], 'type': 'str'},
1333 'ssl-server-algorithm': {'choices': ['high', 'low', 'medium', 'custom', 'client'], 'type': 'str'},
1334 'ssl-server-max-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3'], 'type': 'str'},
1335 'ssl-server-min-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3'], 'type': 'str'},
1336 'ssl-server-session-state-max': {'type': 'int'},
1337 'ssl-server-session-state-timeout': {'type': 'int'},
1338 'ssl-server-session-state-type': {'choices': ['disable', 'time', 'count', 'both'], 'type': 'str'},
1339 'type': {'choices': ['static-nat', 'server-load-balance', 'access-proxy'], 'type': 'str'},
1340 'uuid': {'type': 'str'},
1341 'weblogic-server': {'choices': ['disable', 'enable'], 'type': 'str'},
1342 'websphere-server': {'choices': ['disable', 'enable'], 'type': 'str'},
1343 'http-redirect': {'v_range': [['6.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1344 'ssl-client-rekey-count': {'v_range': [['6.2.1', '']], 'no_log': True, 'type': 'int'},
1345 'nat-source-vip': {'v_range': [['6.4.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1346 'add-nat64-route': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1347 'embedded-ipv4-address': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1348 'ipv4-mappedip': {'v_range': [['7.0.1', '']], 'type': 'str'},
1349 'ipv4-mappedport': {'v_range': [['7.0.1', '']], 'type': 'str'},
1350 'nat64': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1351 'nat66': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1352 'realservers': {
1353 'v_range': [['7.0.2', '']],
1354 'type': 'list',
1355 'options': {
1356 'client-ip': {'v_range': [['7.0.2', '']], 'type': 'str'},
1357 'healthcheck': {'v_range': [['7.0.2', '']], 'choices': ['disable', 'enable', 'vip'], 'type': 'str'},
1358 'holddown-interval': {'v_range': [['7.0.2', '']], 'type': 'int'},
1359 'http-host': {'v_range': [['7.0.2', '']], 'type': 'str'},
1360 'id': {'v_range': [['7.0.2', '']], 'type': 'int'},
1361 'ip': {'v_range': [['7.0.2', '']], 'type': 'str'},
1362 'max-connections': {'v_range': [['7.0.2', '']], 'type': 'int'},
1363 'monitor': {'v_range': [['7.0.2', '']], 'type': 'raw'},
1364 'port': {'v_range': [['7.0.2', '']], 'type': 'int'},
1365 'status': {'v_range': [['7.0.2', '']], 'choices': ['active', 'standby', 'disable'], 'type': 'str'},
1366 'weight': {'v_range': [['7.0.2', '']], 'type': 'int'},
1367 'translate-host': {'v_range': [['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1368 'verify-cert': {'v_range': [['7.6.4', '']], 'choices': ['disable', 'enable'], 'type': 'str'}
1369 },
1370 'elements': 'dict'
1371 },
1372 'ssl-accept-ffdhe-groups': {'v_range': [['7.0.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1373 'ssl-cipher-suites': {
1374 'v_range': [['7.0.2', '']],
1375 'type': 'list',
1376 'options': {
1377 'cipher': {
1378 'v_range': [['7.0.2', '']],
1379 'choices': [
1380 'TLS-RSA-WITH-RC4-128-MD5', 'TLS-RSA-WITH-RC4-128-SHA', 'TLS-RSA-WITH-DES-CBC-SHA',
1381 'TLS-RSA-WITH-3DES-EDE-CBC-SHA', 'TLS-RSA-WITH-AES-128-CBC-SHA', 'TLS-RSA-WITH-AES-256-CBC-SHA',
1382 'TLS-RSA-WITH-AES-128-CBC-SHA256', 'TLS-RSA-WITH-AES-256-CBC-SHA256', 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA',
1383 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA', 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256',
1384 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-RSA-WITH-SEED-CBC-SHA', 'TLS-RSA-WITH-ARIA-128-CBC-SHA256',
1385 'TLS-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-DHE-RSA-WITH-DES-CBC-SHA', 'TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA',
1386 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA', 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA', 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA256',
1387 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA256', 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA',
1388 'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA', 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256',
1389 'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-DHE-RSA-WITH-SEED-CBC-SHA',
1390 'TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256', 'TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-RC4-128-SHA',
1391 'TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA', 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA',
1392 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA', 'TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256',
1393 'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256', 'TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256',
1394 'TLS-DHE-RSA-WITH-AES-128-GCM-SHA256', 'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384', 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA',
1395 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA', 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-AES-128-GCM-SHA256',
1396 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA256', 'TLS-DHE-DSS-WITH-AES-256-GCM-SHA384',
1397 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256', 'TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256',
1398 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384',
1399 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA', 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256',
1400 'TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256', 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384',
1401 'TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384', 'TLS-RSA-WITH-AES-128-GCM-SHA256', 'TLS-RSA-WITH-AES-256-GCM-SHA384',
1402 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA', 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA',
1403 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256',
1404 'TLS-DHE-DSS-WITH-SEED-CBC-SHA', 'TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384',
1405 'TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256', 'TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384',
1406 'TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256', 'TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384',
1407 'TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA', 'TLS-DHE-DSS-WITH-DES-CBC-SHA', 'TLS-AES-128-GCM-SHA256',
1408 'TLS-AES-256-GCM-SHA384', 'TLS-CHACHA20-POLY1305-SHA256', 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA'
1409 ],
1410 'type': 'str'
1411 },
1412 'priority': {'v_range': [['7.0.2', '']], 'type': 'int'},
1413 'versions': {
1414 'v_range': [['7.0.2', '']],
1415 'type': 'list',
1416 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'],
1417 'elements': 'str'
1418 }
1419 },
1420 'elements': 'dict'
1421 },
1422 'ndp-reply': {'v_range': [['7.0.5', '7.0.16'], ['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1423 'ssl-server-renegotiation': {'v_range': [['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1424 'h2-support': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1425 'h3-support': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1426 'src-vip-filter': {'v_range': [['7.4.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1427 'client-cert': {'v_range': [['7.6.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1428 'empty-cert-action': {'v_range': [['7.6.2', '']], 'choices': ['accept', 'block', 'accept-unmanageable'], 'type': 'str'},
1429 'user-agent-detect': {'v_range': [['7.6.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1430 'vip-id': {'v_range': [['7.6.5', '']], 'type': 'int'}
1431 },
1432 'elements': 'dict'
1433 },
1434 'extip': {'type': 'str'},
1435 'extport': {'type': 'str'},
1436 'http-cookie-age': {'type': 'int'},
1437 'http-cookie-domain': {'type': 'str'},
1438 'http-cookie-domain-from-host': {'choices': ['disable', 'enable'], 'type': 'str'},
1439 'http-cookie-generation': {'type': 'int'},
1440 'http-cookie-path': {'type': 'str'},
1441 'http-cookie-share': {'choices': ['disable', 'same-ip'], 'type': 'str'},
1442 'http-ip-header': {'choices': ['disable', 'enable'], 'type': 'str'},
1443 'http-ip-header-name': {'type': 'str'},
1444 'http-multiplex': {'choices': ['disable', 'enable'], 'type': 'str'},
1445 'https-cookie-secure': {'choices': ['disable', 'enable'], 'type': 'str'},
1446 'id': {'type': 'int'},
1447 'ldb-method': {'choices': ['static', 'round-robin', 'weighted', 'least-session', 'least-rtt', 'first-alive', 'http-host'], 'type': 'str'},
1448 'mappedip': {'type': 'str'},
1449 'mappedport': {'type': 'str'},
1450 'max-embryonic-connections': {'type': 'int'},
1451 'monitor': {'type': 'raw'},
1452 'name': {'required': True, 'type': 'str'},
1453 'outlook-web-access': {'choices': ['disable', 'enable'], 'type': 'str'},
1454 'persistence': {'choices': ['none', 'http-cookie', 'ssl-session-id'], 'type': 'str'},
1455 'portforward': {'choices': ['disable', 'enable'], 'type': 'str'},
1456 'protocol': {'choices': ['tcp', 'udp', 'sctp'], 'type': 'str'},
1457 'realservers': {
1458 'type': 'list',
1459 'options': {
1460 'client-ip': {'type': 'str'},
1461 'healthcheck': {'choices': ['disable', 'enable', 'vip'], 'type': 'str'},
1462 'holddown-interval': {'type': 'int'},
1463 'http-host': {'type': 'str'},
1464 'id': {'type': 'int'},
1465 'ip': {'type': 'str'},
1466 'max-connections': {'type': 'int'},
1467 'monitor': {'type': 'raw'},
1468 'port': {'type': 'int'},
1469 'status': {'choices': ['active', 'standby', 'disable'], 'type': 'str'},
1470 'weight': {'type': 'int'},
1471 'translate-host': {'v_range': [['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1472 'verify-cert': {'v_range': [['7.6.4', '']], 'choices': ['disable', 'enable'], 'type': 'str'}
1473 },
1474 'elements': 'dict'
1475 },
1476 'server-type': {'choices': ['http', 'https', 'ssl', 'tcp', 'udp', 'ip', 'imaps', 'pop3s', 'smtps'], 'type': 'str'},
1477 'src-filter': {'type': 'raw'},
1478 'ssl-algorithm': {'choices': ['high', 'low', 'medium', 'custom'], 'type': 'str'},
1479 'ssl-certificate': {'type': 'str'},
1480 'ssl-cipher-suites': {
1481 'type': 'list',
1482 'options': {
1483 'cipher': {
1484 'choices': [
1485 'TLS-RSA-WITH-RC4-128-MD5', 'TLS-RSA-WITH-RC4-128-SHA', 'TLS-RSA-WITH-DES-CBC-SHA', 'TLS-RSA-WITH-3DES-EDE-CBC-SHA',
1486 'TLS-RSA-WITH-AES-128-CBC-SHA', 'TLS-RSA-WITH-AES-256-CBC-SHA', 'TLS-RSA-WITH-AES-128-CBC-SHA256',
1487 'TLS-RSA-WITH-AES-256-CBC-SHA256', 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA', 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA',
1488 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256', 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-RSA-WITH-SEED-CBC-SHA',
1489 'TLS-RSA-WITH-ARIA-128-CBC-SHA256', 'TLS-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-DHE-RSA-WITH-DES-CBC-SHA',
1490 'TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA', 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA', 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA',
1491 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA256', 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA256', 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA',
1492 'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA', 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256',
1493 'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-DHE-RSA-WITH-SEED-CBC-SHA', 'TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256',
1494 'TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-RC4-128-SHA', 'TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA',
1495 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA', 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA',
1496 'TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256', 'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256',
1497 'TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256', 'TLS-DHE-RSA-WITH-AES-128-GCM-SHA256',
1498 'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384', 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA', 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA',
1499 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-AES-128-GCM-SHA256', 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA256',
1500 'TLS-DHE-DSS-WITH-AES-256-GCM-SHA384', 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256', 'TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256',
1501 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384', 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA',
1502 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256', 'TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256',
1503 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384', 'TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384', 'TLS-RSA-WITH-AES-128-GCM-SHA256',
1504 'TLS-RSA-WITH-AES-256-GCM-SHA384', 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA', 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA',
1505 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-DHE-DSS-WITH-SEED-CBC-SHA',
1506 'TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256',
1507 'TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256',
1508 'TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384', 'TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA', 'TLS-DHE-DSS-WITH-DES-CBC-SHA',
1509 'TLS-AES-128-GCM-SHA256', 'TLS-AES-256-GCM-SHA384', 'TLS-CHACHA20-POLY1305-SHA256',
1510 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA'
1511 ],
1512 'type': 'str'
1513 },
1514 'priority': {'type': 'int'},
1515 'versions': {'type': 'list', 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'elements': 'str'}
1516 },
1517 'elements': 'dict'
1518 },
1519 'ssl-client-fallback': {'choices': ['disable', 'enable'], 'type': 'str'},
1520 'ssl-client-renegotiation': {'choices': ['deny', 'allow', 'secure'], 'type': 'str'},
1521 'ssl-client-session-state-max': {'type': 'int'},
1522 'ssl-client-session-state-timeout': {'type': 'int'},
1523 'ssl-client-session-state-type': {'choices': ['disable', 'time', 'count', 'both'], 'type': 'str'},
1524 'ssl-dh-bits': {'choices': ['768', '1024', '1536', '2048', '3072', '4096'], 'type': 'str'},
1525 'ssl-hpkp': {'choices': ['disable', 'enable', 'report-only'], 'type': 'str'},
1526 'ssl-hpkp-age': {'type': 'int'},
1527 'ssl-hpkp-backup': {'type': 'str'},
1528 'ssl-hpkp-include-subdomains': {'choices': ['disable', 'enable'], 'type': 'str'},
1529 'ssl-hpkp-primary': {'type': 'str'},
1530 'ssl-hpkp-report-uri': {'type': 'str'},
1531 'ssl-hsts': {'choices': ['disable', 'enable'], 'type': 'str'},
1532 'ssl-hsts-age': {'type': 'int'},
1533 'ssl-hsts-include-subdomains': {'choices': ['disable', 'enable'], 'type': 'str'},
1534 'ssl-http-location-conversion': {'choices': ['disable', 'enable'], 'type': 'str'},
1535 'ssl-http-match-host': {'choices': ['disable', 'enable'], 'type': 'str'},
1536 'ssl-max-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'type': 'str'},
1537 'ssl-min-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'type': 'str'},
1538 'ssl-mode': {'choices': ['half', 'full'], 'type': 'str'},
1539 'ssl-pfs': {'choices': ['require', 'deny', 'allow'], 'type': 'str'},
1540 'ssl-send-empty-frags': {'choices': ['disable', 'enable'], 'type': 'str'},
1541 'ssl-server-algorithm': {'choices': ['high', 'low', 'medium', 'custom', 'client'], 'type': 'str'},
1542 'ssl-server-cipher-suites': {
1543 'type': 'list',
1544 'options': {
1545 'cipher': {
1546 'choices': [
1547 'TLS-RSA-WITH-RC4-128-MD5', 'TLS-RSA-WITH-RC4-128-SHA', 'TLS-RSA-WITH-DES-CBC-SHA', 'TLS-RSA-WITH-3DES-EDE-CBC-SHA',
1548 'TLS-RSA-WITH-AES-128-CBC-SHA', 'TLS-RSA-WITH-AES-256-CBC-SHA', 'TLS-RSA-WITH-AES-128-CBC-SHA256',
1549 'TLS-RSA-WITH-AES-256-CBC-SHA256', 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA', 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA',
1550 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256', 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-RSA-WITH-SEED-CBC-SHA',
1551 'TLS-RSA-WITH-ARIA-128-CBC-SHA256', 'TLS-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-DHE-RSA-WITH-DES-CBC-SHA',
1552 'TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA', 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA', 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA',
1553 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA256', 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA256', 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA',
1554 'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA', 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256',
1555 'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-DHE-RSA-WITH-SEED-CBC-SHA', 'TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256',
1556 'TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-RC4-128-SHA', 'TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA',
1557 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA', 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA',
1558 'TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256', 'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256',
1559 'TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256', 'TLS-DHE-RSA-WITH-AES-128-GCM-SHA256',
1560 'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384', 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA', 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA',
1561 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-AES-128-GCM-SHA256', 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA256',
1562 'TLS-DHE-DSS-WITH-AES-256-GCM-SHA384', 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256', 'TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256',
1563 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384', 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA',
1564 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256', 'TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256',
1565 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384', 'TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384', 'TLS-RSA-WITH-AES-128-GCM-SHA256',
1566 'TLS-RSA-WITH-AES-256-GCM-SHA384', 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA', 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA',
1567 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-DHE-DSS-WITH-SEED-CBC-SHA',
1568 'TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256',
1569 'TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256',
1570 'TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384', 'TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA', 'TLS-DHE-DSS-WITH-DES-CBC-SHA',
1571 'TLS-AES-128-GCM-SHA256', 'TLS-AES-256-GCM-SHA384', 'TLS-CHACHA20-POLY1305-SHA256',
1572 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA'
1573 ],
1574 'type': 'str'
1575 },
1576 'priority': {'type': 'int'},
1577 'versions': {'type': 'list', 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'elements': 'str'}
1578 },
1579 'elements': 'dict'
1580 },
1581 'ssl-server-max-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3'], 'type': 'str'},
1582 'ssl-server-min-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3'], 'type': 'str'},
1583 'ssl-server-session-state-max': {'type': 'int'},
1584 'ssl-server-session-state-timeout': {'type': 'int'},
1585 'ssl-server-session-state-type': {'choices': ['disable', 'time', 'count', 'both'], 'type': 'str'},
1586 'type': {'choices': ['static-nat', 'server-load-balance', 'access-proxy'], 'type': 'str'},
1587 'uuid': {'type': 'str'},
1588 'weblogic-server': {'choices': ['disable', 'enable'], 'type': 'str'},
1589 'websphere-server': {'choices': ['disable', 'enable'], 'type': 'str'},
1590 'http-redirect': {'v_range': [['6.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1591 'ssl-client-rekey-count': {'v_range': [['6.2.1', '']], 'no_log': True, 'type': 'int'},
1592 'nat-source-vip': {'v_range': [['6.4.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1593 'add-nat64-route': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1594 'embedded-ipv4-address': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1595 'ipv4-mappedip': {'v_range': [['7.0.1', '']], 'type': 'str'},
1596 'ipv4-mappedport': {'v_range': [['7.0.1', '']], 'type': 'str'},
1597 'nat64': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1598 'nat66': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1599 'ssl-accept-ffdhe-groups': {'v_range': [['7.0.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1600 'ndp-reply': {'v_range': [['7.0.5', '7.0.16'], ['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1601 'ssl-server-renegotiation': {'v_range': [['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1602 'h2-support': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1603 'h3-support': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1604 'quic': {
1605 'v_range': [['7.4.2', '']],
1606 'type': 'dict',
1607 'options': {
1608 'ack-delay-exponent': {'v_range': [['7.4.2', '']], 'type': 'int'},
1609 'active-connection-id-limit': {'v_range': [['7.4.2', '']], 'type': 'int'},
1610 'active-migration': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1611 'grease-quic-bit': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1612 'max-ack-delay': {'v_range': [['7.4.2', '']], 'type': 'int'},
1613 'max-datagram-frame-size': {'v_range': [['7.4.2', '']], 'type': 'int'},
1614 'max-idle-timeout': {'v_range': [['7.4.2', '']], 'type': 'int'},
1615 'max-udp-payload-size': {'v_range': [['7.4.2', '']], 'type': 'int'}
1616 }
1617 },
1618 'src-vip-filter': {'v_range': [['7.4.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1619 'client-cert': {'v_range': [['7.6.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1620 'empty-cert-action': {'v_range': [['7.6.2', '']], 'choices': ['accept', 'block', 'accept-unmanageable'], 'type': 'str'},
1621 'user-agent-detect': {'v_range': [['7.6.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
1622 'vip-id': {'v_range': [['7.6.5', '']], 'type': 'int'}
1623 }
1624 }
1625 }
1626
1627 module_option_spec = get_module_arg_spec('full crud')
1628 module_arg_spec.update(module_option_spec)
1629 check_galaxy_version(module_arg_spec)
1630 module = AnsibleModule(argument_spec=check_parameter_bypass(module_arg_spec, 'firewall_vip6'),
1631 supports_check_mode=True)
1632 if not module._socket_path:
1633 module.fail_json(msg='MUST RUN IN HTTPAPI MODE')
1634 connection = Connection(module._socket_path)
1635 fmgr = NAPIManager('full crud', module_arg_spec, urls_list,
1636 'name', 'data', module, connection)
1637 fmgr.process_crud()
1638 module.exit_json(meta=module.params)
1639
1640
1641 if __name__ == '__main__':
1642 main()