Debian Codegraph @

ansible_collections/fortinet/fortimanager/plugins/modules/fmgr_fsp_vlan_interface.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_fsp_vlan_interface
15 short_description: Configure interfaces.
16 version_added: "2.0.0"
17 extends_documentation_fragment:
18 - fortinet.fortimanager.general
19 - fortinet.fortimanager.general.partial_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 vlan:
29 description: The parameter (vlan) in requested url.
30 type: str
31 required: true
32 fsp_vlan_interface:
33 description: The top level parameters set.
34 required: false
35 type: dict
36 suboptions:
37 ac_name:
38 aliases: ['ac-name']
39 type: str
40 description: Ac name.
41 aggregate:
42 type: str
43 description: Aggregate.
44 algorithm:
45 type: str
46 description: Algorithm.
47 choices: ['L2', 'L3', 'L4', 'LB', 'Source-MAC', 'NPU-GRE']
48 alias:
49 type: str
50 description: Alias.
51 allowaccess:
52 type: list
53 elements: str
54 description: Allowaccess.
55 choices: ['https', 'ping', 'ssh', 'snmp', 'http', 'telnet', 'fgfm', 'auto-ipsec',
56 'radius-acct', 'probe-response', 'capwap', 'dnp', 'ftm', 'fabric',
57 'speed-test']
58 ap_discover:
59 aliases: ['ap-discover']
60 type: str
61 description: Ap discover.
62 choices: ['disable', 'enable']
63 arpforward:
64 type: str
65 description: Arpforward.
66 choices: ['disable', 'enable']
67 atm_protocol:
68 aliases: ['atm-protocol']
69 type: str
70 description: Atm protocol.
71 choices: ['none', 'ipoa']
72 auth_type:
73 aliases: ['auth-type']
74 type: str
75 description: Auth type.
76 choices: ['auto', 'pap', 'chap', 'mschapv1', 'mschapv2']
77 auto_auth_extension_device:
78 aliases: ['auto-auth-extension-device']
79 type: str
80 description: Auto auth extension device.
81 choices: ['disable', 'enable']
82 bfd:
83 type: str
84 description: Bfd.
85 choices: ['global', 'enable', 'disable']
86 bfd_desired_min_tx:
87 aliases: ['bfd-desired-min-tx']
88 type: int
89 description: Bfd desired min tx.
90 bfd_detect_mult:
91 aliases: ['bfd-detect-mult']
92 type: int
93 description: Bfd detect mult.
94 bfd_required_min_rx:
95 aliases: ['bfd-required-min-rx']
96 type: int
97 description: Bfd required min rx.
98 broadcast_forticlient_discovery:
99 aliases: ['broadcast-forticlient-discovery']
100 type: str
101 description: Broadcast forticlient discovery.
102 choices: ['disable', 'enable']
103 broadcast_forward:
104 aliases: ['broadcast-forward']
105 type: str
106 description: Broadcast forward.
107 choices: ['disable', 'enable']
108 captive_portal:
109 aliases: ['captive-portal']
110 type: int
111 description: Captive portal.
112 cli_conn_status:
113 aliases: ['cli-conn-status']
114 type: int
115 description: Cli conn status.
116 color:
117 type: int
118 description: Color.
119 ddns:
120 type: str
121 description: Ddns.
122 choices: ['disable', 'enable']
123 ddns_auth:
124 aliases: ['ddns-auth']
125 type: str
126 description: Ddns auth.
127 choices: ['disable', 'tsig']
128 ddns_domain:
129 aliases: ['ddns-domain']
130 type: str
131 description: Ddns domain.
132 ddns_key:
133 aliases: ['ddns-key']
134 type: raw
135 description: (list or str) Ddns key.
136 ddns_keyname:
137 aliases: ['ddns-keyname']
138 type: str
139 description: Ddns keyname.
140 ddns_password:
141 aliases: ['ddns-password']
142 type: raw
143 description: (list) Ddns password.
144 ddns_server:
145 aliases: ['ddns-server']
146 type: str
147 description: Ddns server.
148 choices: ['dhs.org', 'dyndns.org', 'dyns.net', 'tzo.com', 'ods.org', 'vavic.com',
149 'now.net.cn', 'dipdns.net', 'easydns.com', 'genericDDNS']
150 ddns_server_ip:
151 aliases: ['ddns-server-ip']
152 type: str
153 description: Ddns server ip.
154 ddns_sn:
155 aliases: ['ddns-sn']
156 type: str
157 description: Ddns sn.
158 ddns_ttl:
159 aliases: ['ddns-ttl']
160 type: int
161 description: Ddns ttl.
162 ddns_username:
163 aliases: ['ddns-username']
164 type: str
165 description: Ddns username.
166 ddns_zone:
167 aliases: ['ddns-zone']
168 type: str
169 description: Ddns zone.
170 dedicated_to:
171 aliases: ['dedicated-to']
172 type: str
173 description: Dedicated to.
174 choices: ['none', 'management']
175 defaultgw:
176 type: str
177 description: Defaultgw.
178 choices: ['disable', 'enable']
179 description:
180 type: str
181 description: Description.
182 detected_peer_mtu:
183 aliases: ['detected-peer-mtu']
184 type: int
185 description: Detected peer mtu.
186 detectprotocol:
187 type: list
188 elements: str
189 description: Detectprotocol.
190 choices: ['ping', 'tcp-echo', 'udp-echo']
191 detectserver:
192 type: str
193 description: Detectserver.
194 device_access_list:
195 aliases: ['device-access-list']
196 type: raw
197 description: (list or str) Device access list.
198 device_identification:
199 aliases: ['device-identification']
200 type: str
201 description: Device identification.
202 choices: ['disable', 'enable']
203 device_identification_active_scan:
204 aliases: ['device-identification-active-scan']
205 type: str
206 description: Device identification active scan.
207 choices: ['disable', 'enable']
208 device_netscan:
209 aliases: ['device-netscan']
210 type: str
211 description: Device netscan.
212 choices: ['disable', 'enable']
213 device_user_identification:
214 aliases: ['device-user-identification']
215 type: str
216 description: Device user identification.
217 choices: ['disable', 'enable']
218 devindex:
219 type: int
220 description: Devindex.
221 dhcp_client_identifier:
222 aliases: ['dhcp-client-identifier']
223 type: str
224 description: Dhcp client identifier.
225 dhcp_relay_agent_option:
226 aliases: ['dhcp-relay-agent-option']
227 type: str
228 description: Dhcp relay agent option.
229 choices: ['disable', 'enable']
230 dhcp_relay_ip:
231 aliases: ['dhcp-relay-ip']
232 type: raw
233 description: (list) Dhcp relay ip.
234 dhcp_relay_service:
235 aliases: ['dhcp-relay-service']
236 type: str
237 description: Dhcp relay service.
238 choices: ['disable', 'enable']
239 dhcp_relay_type:
240 aliases: ['dhcp-relay-type']
241 type: str
242 description: Dhcp relay type.
243 choices: ['regular', 'ipsec']
244 dhcp_renew_time:
245 aliases: ['dhcp-renew-time']
246 type: int
247 description: Dhcp renew time.
248 disc_retry_timeout:
249 aliases: ['disc-retry-timeout']
250 type: int
251 description: Disc retry timeout.
252 disconnect_threshold:
253 aliases: ['disconnect-threshold']
254 type: int
255 description: Disconnect threshold.
256 distance:
257 type: int
258 description: Distance.
259 dns_query:
260 aliases: ['dns-query']
261 type: str
262 description: Dns query.
263 choices: ['disable', 'recursive', 'non-recursive']
264 dns_server_override:
265 aliases: ['dns-server-override']
266 type: str
267 description: Dns server override.
268 choices: ['disable', 'enable']
269 drop_fragment:
270 aliases: ['drop-fragment']
271 type: str
272 description: Drop fragment.
273 choices: ['disable', 'enable']
274 drop_overlapped_fragment:
275 aliases: ['drop-overlapped-fragment']
276 type: str
277 description: Drop overlapped fragment.
278 choices: ['disable', 'enable']
279 egress_cos:
280 aliases: ['egress-cos']
281 type: str
282 description: Egress cos.
283 choices: ['disable', 'cos0', 'cos1', 'cos2', 'cos3', 'cos4', 'cos5', 'cos6', 'cos7']
284 egress_shaping_profile:
285 aliases: ['egress-shaping-profile']
286 type: str
287 description: Egress shaping profile.
288 endpoint_compliance:
289 aliases: ['endpoint-compliance']
290 type: str
291 description: Endpoint compliance.
292 choices: ['disable', 'enable']
293 estimated_downstream_bandwidth:
294 aliases: ['estimated-downstream-bandwidth']
295 type: int
296 description: Estimated downstream bandwidth.
297 estimated_upstream_bandwidth:
298 aliases: ['estimated-upstream-bandwidth']
299 type: int
300 description: Estimated upstream bandwidth.
301 explicit_ftp_proxy:
302 aliases: ['explicit-ftp-proxy']
303 type: str
304 description: Explicit ftp proxy.
305 choices: ['disable', 'enable']
306 explicit_web_proxy:
307 aliases: ['explicit-web-proxy']
308 type: str
309 description: Explicit web proxy.
310 choices: ['disable', 'enable']
311 external:
312 type: str
313 description: External.
314 choices: ['disable', 'enable']
315 fail_action_on_extender:
316 aliases: ['fail-action-on-extender']
317 type: str
318 description: Fail action on extender.
319 choices: ['soft-restart', 'hard-restart', 'reboot']
320 fail_alert_interfaces:
321 aliases: ['fail-alert-interfaces']
322 type: raw
323 description: (list or str) Fail alert interfaces.
324 fail_alert_method:
325 aliases: ['fail-alert-method']
326 type: str
327 description: Fail alert method.
328 choices: ['link-failed-signal', 'link-down']
329 fail_detect:
330 aliases: ['fail-detect']
331 type: str
332 description: Fail detect.
333 choices: ['disable', 'enable']
334 fail_detect_option:
335 aliases: ['fail-detect-option']
336 type: list
337 elements: str
338 description: Fail detect option.
339 choices: ['detectserver', 'link-down']
340 fdp:
341 type: str
342 description: Fdp.
343 choices: ['disable', 'enable']
344 fortiheartbeat:
345 type: str
346 description: Fortiheartbeat.
347 choices: ['disable', 'enable']
348 fortilink:
349 type: str
350 description: Fortilink.
351 choices: ['disable', 'enable']
352 fortilink_backup_link:
353 aliases: ['fortilink-backup-link']
354 type: int
355 description: Fortilink backup link.
356 fortilink_split_interface:
357 aliases: ['fortilink-split-interface']
358 type: str
359 description: Fortilink split interface.
360 choices: ['disable', 'enable']
361 fortilink_stacking:
362 aliases: ['fortilink-stacking']
363 type: str
364 description: Fortilink stacking.
365 choices: ['disable', 'enable']
366 forward_domain:
367 aliases: ['forward-domain']
368 type: int
369 description: Forward domain.
370 forward_error_correction:
371 aliases: ['forward-error-correction']
372 type: str
373 description: Forward error correction.
374 choices: ['disable', 'enable', 'rs-fec', 'base-r-fec', 'fec-cl91', 'fec-cl74',
375 'rs-544', 'none', 'cl91-rs-fec', 'cl74-fc-fec', 'auto', 'rs-fec544']
376 fp_anomaly:
377 aliases: ['fp-anomaly']
378 type: list
379 elements: str
380 description: Fp anomaly.
381 choices: ['drop_tcp_fin_noack', 'pass_winnuke', 'pass_tcpland', 'pass_udpland',
382 'pass_icmpland', 'pass_ipland', 'pass_iprr', 'pass_ipssrr',
383 'pass_iplsrr', 'pass_ipstream', 'pass_ipsecurity', 'pass_iptimestamp',
384 'pass_ipunknown_option', 'pass_ipunknown_prot', 'pass_icmp_frag',
385 'pass_tcp_no_flag', 'pass_tcp_fin_noack', 'drop_winnuke',
386 'drop_tcpland', 'drop_udpland', 'drop_icmpland', 'drop_ipland',
387 'drop_iprr', 'drop_ipssrr', 'drop_iplsrr', 'drop_ipstream',
388 'drop_ipsecurity', 'drop_iptimestamp', 'drop_ipunknown_option',
389 'drop_ipunknown_prot', 'drop_icmp_frag', 'drop_tcp_no_flag']
390 fp_disable:
391 aliases: ['fp-disable']
392 type: list
393 elements: str
394 description: Fp disable.
395 choices: ['all', 'ipsec', 'none']
396 gateway_address:
397 aliases: ['gateway-address']
398 type: str
399 description: Gateway address.
400 gi_gk:
401 aliases: ['gi-gk']
402 type: str
403 description: Gi gk.
404 choices: ['disable', 'enable']
405 gwaddr:
406 type: str
407 description: Gwaddr.
408 gwdetect:
409 type: str
410 description: Gwdetect.
411 choices: ['disable', 'enable']
412 ha_priority:
413 aliases: ['ha-priority']
414 type: int
415 description: Ha priority.
416 icmp_accept_redirect:
417 aliases: ['icmp-accept-redirect']
418 type: str
419 description: Icmp accept redirect.
420 choices: ['disable', 'enable']
421 icmp_redirect:
422 aliases: ['icmp-redirect']
423 type: str
424 description: Icmp redirect.
425 choices: ['disable', 'enable']
426 icmp_send_redirect:
427 aliases: ['icmp-send-redirect']
428 type: str
429 description: Icmp send redirect.
430 choices: ['disable', 'enable']
431 ident_accept:
432 aliases: ['ident-accept']
433 type: str
434 description: Ident accept.
435 choices: ['disable', 'enable']
436 idle_timeout:
437 aliases: ['idle-timeout']
438 type: int
439 description: Idle timeout.
440 if_mdix:
441 aliases: ['if-mdix']
442 type: str
443 description: If mdix.
444 choices: ['auto', 'normal', 'crossover']
445 if_media:
446 aliases: ['if-media']
447 type: str
448 description: If media.
449 choices: ['auto', 'copper', 'fiber']
450 in_force_vlan_cos:
451 aliases: ['in-force-vlan-cos']
452 type: int
453 description: In force vlan cos.
454 inbandwidth:
455 type: int
456 description: Inbandwidth.
457 ingress_cos:
458 aliases: ['ingress-cos']
459 type: str
460 description: Ingress cos.
461 choices: ['disable', 'cos0', 'cos1', 'cos2', 'cos3', 'cos4', 'cos5', 'cos6', 'cos7']
462 ingress_spillover_threshold:
463 aliases: ['ingress-spillover-threshold']
464 type: int
465 description: Ingress spillover threshold.
466 internal:
467 type: int
468 description: Internal.
469 ip:
470 type: str
471 description: Ip.
472 ipmac:
473 type: str
474 description: Ipmac.
475 choices: ['disable', 'enable']
476 ips_sniffer_mode:
477 aliases: ['ips-sniffer-mode']
478 type: str
479 description: Ips sniffer mode.
480 choices: ['disable', 'enable']
481 ipunnumbered:
482 type: str
483 description: Ipunnumbered.
484 ipv6:
485 type: dict
486 description: Ipv6.
487 suboptions:
488 autoconf:
489 type: str
490 description: Autoconf.
491 choices: ['disable', 'enable']
492 dhcp6_client_options:
493 aliases: ['dhcp6-client-options']
494 type: list
495 elements: str
496 description: Dhcp6 client options.
497 choices: ['rapid', 'iapd', 'iana', 'dns', 'dnsname']
498 dhcp6_information_request:
499 aliases: ['dhcp6-information-request']
500 type: str
501 description: Dhcp6 information request.
502 choices: ['disable', 'enable']
503 dhcp6_prefix_delegation:
504 aliases: ['dhcp6-prefix-delegation']
505 type: str
506 description: Dhcp6 prefix delegation.
507 choices: ['disable', 'enable']
508 dhcp6_prefix_hint:
509 aliases: ['dhcp6-prefix-hint']
510 type: str
511 description: Dhcp6 prefix hint.
512 dhcp6_prefix_hint_plt:
513 aliases: ['dhcp6-prefix-hint-plt']
514 type: int
515 description: Dhcp6 prefix hint plt.
516 dhcp6_prefix_hint_vlt:
517 aliases: ['dhcp6-prefix-hint-vlt']
518 type: int
519 description: Dhcp6 prefix hint vlt.
520 dhcp6_relay_ip:
521 aliases: ['dhcp6-relay-ip']
522 type: str
523 description: Dhcp6 relay ip.
524 dhcp6_relay_service:
525 aliases: ['dhcp6-relay-service']
526 type: str
527 description: Dhcp6 relay service.
528 choices: ['disable', 'enable']
529 dhcp6_relay_type:
530 aliases: ['dhcp6-relay-type']
531 type: str
532 description: Dhcp6 relay type.
533 choices: ['regular']
534 ip6_address:
535 aliases: ['ip6-address']
536 type: str
537 description: Ip6 address.
538 ip6_allowaccess:
539 aliases: ['ip6-allowaccess']
540 type: list
541 elements: str
542 description: Ip6 allowaccess.
543 choices: ['https', 'ping', 'ssh', 'snmp', 'http', 'telnet', 'fgfm',
544 'capwap', 'fabric']
545 ip6_default_life:
546 aliases: ['ip6-default-life']
547 type: int
548 description: Ip6 default life.
549 ip6_dns_server_override:
550 aliases: ['ip6-dns-server-override']
551 type: str
552 description: Ip6 dns server override.
553 choices: ['disable', 'enable']
554 ip6_hop_limit:
555 aliases: ['ip6-hop-limit']
556 type: int
557 description: Ip6 hop limit.
558 ip6_link_mtu:
559 aliases: ['ip6-link-mtu']
560 type: int
561 description: Ip6 link mtu.
562 ip6_manage_flag:
563 aliases: ['ip6-manage-flag']
564 type: str
565 description: Ip6 manage flag.
566 choices: ['disable', 'enable']
567 ip6_max_interval:
568 aliases: ['ip6-max-interval']
569 type: int
570 description: Ip6 max interval.
571 ip6_min_interval:
572 aliases: ['ip6-min-interval']
573 type: int
574 description: Ip6 min interval.
575 ip6_mode:
576 aliases: ['ip6-mode']
577 type: str
578 description: Ip6 mode.
579 choices: ['static', 'dhcp', 'pppoe', 'delegated']
580 ip6_other_flag:
581 aliases: ['ip6-other-flag']
582 type: str
583 description: Ip6 other flag.
584 choices: ['disable', 'enable']
585 ip6_reachable_time:
586 aliases: ['ip6-reachable-time']
587 type: int
588 description: Ip6 reachable time.
589 ip6_retrans_time:
590 aliases: ['ip6-retrans-time']
591 type: int
592 description: Ip6 retrans time.
593 ip6_send_adv:
594 aliases: ['ip6-send-adv']
595 type: str
596 description: Ip6 send adv.
597 choices: ['disable', 'enable']
598 ip6_subnet:
599 aliases: ['ip6-subnet']
600 type: str
601 description: Ip6 subnet.
602 ip6_upstream_interface:
603 aliases: ['ip6-upstream-interface']
604 type: str
605 description: Ip6 upstream interface.
606 nd_cert:
607 aliases: ['nd-cert']
608 type: str
609 description: Nd cert.
610 nd_cga_modifier:
611 aliases: ['nd-cga-modifier']
612 type: str
613 description: Nd cga modifier.
614 nd_mode:
615 aliases: ['nd-mode']
616 type: str
617 description: Nd mode.
618 choices: ['basic', 'SEND-compatible']
619 nd_security_level:
620 aliases: ['nd-security-level']
621 type: int
622 description: Nd security level.
623 nd_timestamp_delta:
624 aliases: ['nd-timestamp-delta']
625 type: int
626 description: Nd timestamp delta.
627 nd_timestamp_fuzz:
628 aliases: ['nd-timestamp-fuzz']
629 type: int
630 description: Nd timestamp fuzz.
631 vrip6_link_local:
632 type: str
633 description: Vrip6 link local.
634 vrrp_virtual_mac6:
635 aliases: ['vrrp-virtual-mac6']
636 type: str
637 description: Vrrp virtual mac6.
638 choices: ['disable', 'enable']
639 ip6_delegated_prefix_list:
640 aliases: ['ip6-delegated-prefix-list']
641 type: list
642 elements: dict
643 description: Ip6 delegated prefix list.
644 suboptions:
645 autonomous_flag:
646 aliases: ['autonomous-flag']
647 type: str
648 description: Autonomous flag.
649 choices: ['disable', 'enable']
650 onlink_flag:
651 aliases: ['onlink-flag']
652 type: str
653 description: Onlink flag.
654 choices: ['disable', 'enable']
655 prefix_id:
656 aliases: ['prefix-id']
657 type: int
658 description: Prefix id.
659 rdnss:
660 type: raw
661 description: (list) Rdnss.
662 rdnss_service:
663 aliases: ['rdnss-service']
664 type: str
665 description: Rdnss service.
666 choices: ['delegated', 'default', 'specify']
667 subnet:
668 type: str
669 description: Subnet.
670 upstream_interface:
671 aliases: ['upstream-interface']
672 type: str
673 description: Upstream interface.
674 delegated_prefix_iaid:
675 aliases: ['delegated-prefix-iaid']
676 type: int
677 description: IAID of obtained delegated-prefix from the upstream interface.
678 dnssl_service:
679 aliases: ['dnssl-service']
680 type: str
681 description: Enable/disable use of domain from delegated prefix for DNSSL.
682 choices: ['disable', 'enable']
683 ip6_extra_addr:
684 aliases: ['ip6-extra-addr']
685 type: list
686 elements: dict
687 description: Ip6 extra addr.
688 suboptions:
689 prefix:
690 type: str
691 description: Prefix.
692 ip6_prefix_list:
693 aliases: ['ip6-prefix-list']
694 type: list
695 elements: dict
696 description: Ip6 prefix list.
697 suboptions:
698 autonomous_flag:
699 aliases: ['autonomous-flag']
700 type: str
701 description: Autonomous flag.
702 choices: ['disable', 'enable']
703 dnssl:
704 type: raw
705 description: (list) Dnssl.
706 onlink_flag:
707 aliases: ['onlink-flag']
708 type: str
709 description: Onlink flag.
710 choices: ['disable', 'enable']
711 preferred_life_time:
712 aliases: ['preferred-life-time']
713 type: int
714 description: Preferred life time.
715 prefix:
716 type: str
717 description: Prefix.
718 rdnss:
719 type: raw
720 description: (list) Rdnss.
721 valid_life_time:
722 aliases: ['valid-life-time']
723 type: int
724 description: Valid life time.
725 vrrp6:
726 type: list
727 elements: dict
728 description: Vrrp6.
729 suboptions:
730 accept_mode:
731 aliases: ['accept-mode']
732 type: str
733 description: Accept mode.
734 choices: ['disable', 'enable']
735 adv_interval:
736 aliases: ['adv-interval']
737 type: int
738 description: Adv interval.
739 preempt:
740 type: str
741 description: Preempt.
742 choices: ['disable', 'enable']
743 priority:
744 type: int
745 description: Priority.
746 start_time:
747 aliases: ['start-time']
748 type: int
749 description: Start time.
750 status:
751 type: str
752 description: Status.
753 choices: ['disable', 'enable']
754 vrdst6:
755 type: str
756 description: Vrdst6.
757 vrgrp:
758 type: int
759 description: Vrgrp.
760 vrid:
761 type: int
762 description: Vrid.
763 vrip6:
764 type: str
765 description: Vrip6.
766 ignore_default_route:
767 aliases: ['ignore-default-route']
768 type: str
769 description: Enable/disable ignoring of default route when checking destination.
770 choices: ['disable', 'enable']
771 vrdst_priority:
772 aliases: ['vrdst-priority']
773 type: int
774 description: Priority of the virtual router when the virtual router destination becomes unreachable
775 interface_identifier:
776 aliases: ['interface-identifier']
777 type: str
778 description: Interface identifier.
779 unique_autoconf_addr:
780 aliases: ['unique-autoconf-addr']
781 type: str
782 description: Unique autoconf addr.
783 choices: ['disable', 'enable']
784 icmp6_send_redirect:
785 aliases: ['icmp6-send-redirect']
786 type: str
787 description: Enable/disable sending of ICMPv6 redirects.
788 choices: ['disable', 'enable']
789 cli_conn6_status:
790 aliases: ['cli-conn6-status']
791 type: int
792 description: Cli conn6 status.
793 ip6_prefix_mode:
794 aliases: ['ip6-prefix-mode']
795 type: str
796 description: Assigning a prefix from DHCP or RA.
797 choices: ['dhcp6', 'ra']
798 ra_send_mtu:
799 aliases: ['ra-send-mtu']
800 type: str
801 description: Enable/disable sending link MTU in RA packet.
802 choices: ['disable', 'enable']
803 ip6_delegated_prefix_iaid:
804 aliases: ['ip6-delegated-prefix-iaid']
805 type: int
806 description: IAID of obtained delegated-prefix from the upstream interface.
807 dhcp6_relay_source_interface:
808 aliases: ['dhcp6-relay-source-interface']
809 type: str
810 description: Enable/disable use of address on this interface as the source address of the relay message.
811 choices: ['disable', 'enable']
812 dhcp6_relay_interface_id:
813 aliases: ['dhcp6-relay-interface-id']
814 type: str
815 description: DHCP6 relay interface ID.
816 dhcp6_relay_source_ip:
817 aliases: ['dhcp6-relay-source-ip']
818 type: str
819 description: IPv6 address used by the DHCP6 relay as its source IP.
820 ip6_adv_rio:
821 aliases: ['ip6-adv-rio']
822 type: str
823 description: Enable/disable sending advertisements with route information option.
824 choices: ['disable', 'enable']
825 ip6_route_pref:
826 aliases: ['ip6-route-pref']
827 type: str
828 description: Set route preference to the interface
829 choices: ['medium', 'high', 'low']
830 l2forward:
831 type: str
832 description: L2forward.
833 choices: ['disable', 'enable']
834 l2tp_client:
835 aliases: ['l2tp-client']
836 type: str
837 description: L2tp client.
838 choices: ['disable', 'enable']
839 lacp_ha_slave:
840 aliases: ['lacp-ha-slave']
841 type: str
842 description: Lacp ha slave.
843 choices: ['disable', 'enable']
844 lacp_mode:
845 aliases: ['lacp-mode']
846 type: str
847 description: Lacp mode.
848 choices: ['static', 'passive', 'active']
849 lacp_speed:
850 aliases: ['lacp-speed']
851 type: str
852 description: Lacp speed.
853 choices: ['slow', 'fast']
854 lcp_echo_interval:
855 aliases: ['lcp-echo-interval']
856 type: int
857 description: Lcp echo interval.
858 lcp_max_echo_fails:
859 aliases: ['lcp-max-echo-fails']
860 type: int
861 description: Lcp max echo fails.
862 link_up_delay:
863 aliases: ['link-up-delay']
864 type: int
865 description: Link up delay.
866 listen_forticlient_connection:
867 aliases: ['listen-forticlient-connection']
868 type: str
869 description: Listen forticlient connection.
870 choices: ['disable', 'enable']
871 lldp_network_policy:
872 aliases: ['lldp-network-policy']
873 type: str
874 description: Lldp network policy.
875 lldp_reception:
876 aliases: ['lldp-reception']
877 type: str
878 description: Lldp reception.
879 choices: ['disable', 'enable', 'vdom']
880 lldp_transmission:
881 aliases: ['lldp-transmission']
882 type: str
883 description: Lldp transmission.
884 choices: ['enable', 'disable', 'vdom']
885 log:
886 type: str
887 description: Log.
888 choices: ['disable', 'enable']
889 macaddr:
890 type: str
891 description: Macaddr.
892 management_ip:
893 aliases: ['management-ip']
894 type: str
895 description: Management ip.
896 max_egress_burst_rate:
897 aliases: ['max-egress-burst-rate']
898 type: int
899 description: Max egress burst rate.
900 max_egress_rate:
901 aliases: ['max-egress-rate']
902 type: int
903 description: Max egress rate.
904 mediatype:
905 type: str
906 description: Mediatype.
907 choices: ['serdes-sfp', 'sgmii-sfp', 'cfp2-sr10', 'cfp2-lr4', 'serdes-copper-sfp',
908 'sr', 'cr', 'lr', 'qsfp28-sr4', 'qsfp28-lr4', 'qsfp28-cr4', 'sr4',
909 'cr4', 'lr4', 'none', 'gmii', 'sgmii', 'sr2', 'lr2', 'cr2', 'sr8',
910 'lr8', 'cr8', 'dr', 'sr-lr', 'kr']
911 member:
912 type: raw
913 description: (list or str) Member.
914 min_links:
915 aliases: ['min-links']
916 type: int
917 description: Min links.
918 min_links_down:
919 aliases: ['min-links-down']
920 type: str
921 description: Min links down.
922 choices: ['operational', 'administrative']
923 mode:
924 type: str
925 description: Mode.
926 choices: ['static', 'dhcp', 'pppoe', 'pppoa', 'ipoa', 'eoa']
927 mtu:
928 type: int
929 description: Mtu.
930 mtu_override:
931 aliases: ['mtu-override']
932 type: str
933 description: Mtu override.
934 choices: ['disable', 'enable']
935 mux_type:
936 aliases: ['mux-type']
937 type: str
938 description: Mux type.
939 choices: ['llc-encaps', 'vc-encaps']
940 name:
941 type: str
942 description: Name.
943 ndiscforward:
944 type: str
945 description: Ndiscforward.
946 choices: ['disable', 'enable']
947 netbios_forward:
948 aliases: ['netbios-forward']
949 type: str
950 description: Netbios forward.
951 choices: ['disable', 'enable']
952 netflow_sampler:
953 aliases: ['netflow-sampler']
954 type: str
955 description: Netflow sampler.
956 choices: ['disable', 'tx', 'rx', 'both']
957 npu_fastpath:
958 aliases: ['npu-fastpath']
959 type: str
960 description: Npu fastpath.
961 choices: ['disable', 'enable']
962 nst:
963 type: str
964 description: Nst.
965 choices: ['disable', 'enable']
966 out_force_vlan_cos:
967 aliases: ['out-force-vlan-cos']
968 type: int
969 description: Out force vlan cos.
970 outbandwidth:
971 type: int
972 description: Outbandwidth.
973 padt_retry_timeout:
974 aliases: ['padt-retry-timeout']
975 type: int
976 description: Padt retry timeout.
977 password:
978 type: raw
979 description: (list) Password.
980 peer_interface:
981 aliases: ['peer-interface']
982 type: raw
983 description: (list or str) Peer interface.
984 phy_mode:
985 aliases: ['phy-mode']
986 type: str
987 description: Phy mode.
988 choices: ['auto', 'adsl', 'vdsl', 'adsl-auto', 'vdsl2', 'adsl2+', 'adsl2',
989 'g.dmt', 't1.413', 'g.lite', 'g-dmt', 't1-413', 'g-lite']
990 ping_serv_status:
991 aliases: ['ping-serv-status']
992 type: int
993 description: Ping serv status.
994 poe:
995 type: str
996 description: Poe.
997 choices: ['disable', 'enable']
998 polling_interval:
999 aliases: ['polling-interval']
1000 type: int
1001 description: Polling interval.
1002 pppoe_unnumbered_negotiate:
1003 aliases: ['pppoe-unnumbered-negotiate']
1004 type: str
1005 description: Pppoe unnumbered negotiate.
1006 choices: ['disable', 'enable']
1007 pptp_auth_type:
1008 aliases: ['pptp-auth-type']
1009 type: str
1010 description: Pptp auth type.
1011 choices: ['auto', 'pap', 'chap', 'mschapv1', 'mschapv2']
1012 pptp_client:
1013 aliases: ['pptp-client']
1014 type: str
1015 description: Pptp client.
1016 choices: ['disable', 'enable']
1017 pptp_password:
1018 aliases: ['pptp-password']
1019 type: raw
1020 description: (list) Pptp password.
1021 pptp_server_ip:
1022 aliases: ['pptp-server-ip']
1023 type: str
1024 description: Pptp server ip.
1025 pptp_timeout:
1026 aliases: ['pptp-timeout']
1027 type: int
1028 description: Pptp timeout.
1029 pptp_user:
1030 aliases: ['pptp-user']
1031 type: str
1032 description: Pptp user.
1033 preserve_session_route:
1034 aliases: ['preserve-session-route']
1035 type: str
1036 description: Preserve session route.
1037 choices: ['disable', 'enable']
1038 priority:
1039 type: int
1040 description: Priority.
1041 priority_override:
1042 aliases: ['priority-override']
1043 type: str
1044 description: Priority override.
1045 choices: ['disable', 'enable']
1046 proxy_captive_portal:
1047 aliases: ['proxy-captive-portal']
1048 type: str
1049 description: Proxy captive portal.
1050 choices: ['disable', 'enable']
1051 redundant_interface:
1052 aliases: ['redundant-interface']
1053 type: str
1054 description: Redundant interface.
1055 remote_ip:
1056 aliases: ['remote-ip']
1057 type: str
1058 description: Remote ip.
1059 replacemsg_override_group:
1060 aliases: ['replacemsg-override-group']
1061 type: str
1062 description: Replacemsg override group.
1063 retransmission:
1064 type: str
1065 description: Retransmission.
1066 choices: ['disable', 'enable']
1067 role:
1068 type: str
1069 description: Role.
1070 choices: ['lan', 'wan', 'dmz', 'undefined']
1071 sample_direction:
1072 aliases: ['sample-direction']
1073 type: str
1074 description: Sample direction.
1075 choices: ['rx', 'tx', 'both']
1076 sample_rate:
1077 aliases: ['sample-rate']
1078 type: int
1079 description: Sample rate.
1080 scan_botnet_connections:
1081 aliases: ['scan-botnet-connections']
1082 type: str
1083 description: Scan botnet connections.
1084 choices: ['disable', 'block', 'monitor']
1085 secondary_IP:
1086 aliases: ['secondary-IP']
1087 type: str
1088 description: Secondary IP.
1089 choices: ['disable', 'enable']
1090 secondaryip:
1091 type: list
1092 elements: dict
1093 description: Secondaryip.
1094 suboptions:
1095 allowaccess:
1096 type: list
1097 elements: str
1098 description: Allowaccess.
1099 choices: ['https', 'ping', 'ssh', 'snmp', 'http', 'telnet', 'fgfm',
1100 'auto-ipsec', 'radius-acct', 'probe-response', 'capwap', 'dnp',
1101 'ftm', 'fabric', 'speed-test', 'icond', 'scim']
1102 detectprotocol:
1103 type: list
1104 elements: str
1105 description: Detectprotocol.
1106 choices: ['ping', 'tcp-echo', 'udp-echo']
1107 detectserver:
1108 type: str
1109 description: Detectserver.
1110 gwdetect:
1111 type: str
1112 description: Gwdetect.
1113 choices: ['disable', 'enable']
1114 ha_priority:
1115 aliases: ['ha-priority']
1116 type: int
1117 description: Ha priority.
1118 id:
1119 type: int
1120 description: Id.
1121 ip:
1122 type: str
1123 description: Ip.
1124 ping_serv_status:
1125 aliases: ['ping-serv-status']
1126 type: int
1127 description: Ping serv status.
1128 seq:
1129 type: int
1130 description: Seq.
1131 secip_relay_ip:
1132 aliases: ['secip-relay-ip']
1133 type: str
1134 description: DHCP relay IP address.
1135 security_8021x_dynamic_vlan_id:
1136 aliases: ['security-8021x-dynamic-vlan-id']
1137 type: int
1138 description: Security 8021x dynamic vlan id.
1139 security_8021x_master:
1140 aliases: ['security-8021x-master']
1141 type: str
1142 description: Security 8021x master.
1143 security_8021x_mode:
1144 aliases: ['security-8021x-mode']
1145 type: str
1146 description: Security 8021x mode.
1147 choices: ['default', 'dynamic-vlan', 'fallback', 'slave']
1148 security_exempt_list:
1149 aliases: ['security-exempt-list']
1150 type: str
1151 description: Security exempt list.
1152 security_external_logout:
1153 aliases: ['security-external-logout']
1154 type: str
1155 description: Security external logout.
1156 security_external_web:
1157 aliases: ['security-external-web']
1158 type: str
1159 description: Security external web.
1160 security_groups:
1161 aliases: ['security-groups']
1162 type: raw
1163 description: (list or str) Security groups.
1164 security_mac_auth_bypass:
1165 aliases: ['security-mac-auth-bypass']
1166 type: str
1167 description: Security mac auth bypass.
1168 choices: ['disable', 'enable', 'mac-auth-only']
1169 security_mode:
1170 aliases: ['security-mode']
1171 type: str
1172 description: Security mode.
1173 choices: ['none', 'captive-portal', '802.1X']
1174 security_redirect_url:
1175 aliases: ['security-redirect-url']
1176 type: str
1177 description: Security redirect url.
1178 service_name:
1179 aliases: ['service-name']
1180 type: str
1181 description: Service name.
1182 sflow_sampler:
1183 aliases: ['sflow-sampler']
1184 type: str
1185 description: Sflow sampler.
1186 choices: ['disable', 'enable']
1187 speed:
1188 type: str
1189 description: Speed.
1190 choices: ['auto', '10full', '10half', '100full', '100half', '1000full',
1191 '1000half', '10000full', '1000auto', '10000auto', '40000full',
1192 '100Gfull', '25000full', '40000auto', '25000auto', '100Gauto',
1193 '400Gfull', '400Gauto', '50000full', '2500auto', '5000auto',
1194 '50000auto', '200Gfull', '200Gauto', '100auto']
1195 spillover_threshold:
1196 aliases: ['spillover-threshold']
1197 type: int
1198 description: Spillover threshold.
1199 src_check:
1200 aliases: ['src-check']
1201 type: str
1202 description: Src check.
1203 choices: ['disable', 'enable']
1204 status:
1205 type: str
1206 description: Status.
1207 choices: ['down', 'up']
1208 stp:
1209 type: str
1210 description: Stp.
1211 choices: ['disable', 'enable']
1212 stp_ha_slave:
1213 aliases: ['stp-ha-slave']
1214 type: str
1215 description: Stp ha slave.
1216 choices: ['disable', 'enable', 'priority-adjust']
1217 stpforward:
1218 type: str
1219 description: Stpforward.
1220 choices: ['disable', 'enable']
1221 stpforward_mode:
1222 aliases: ['stpforward-mode']
1223 type: str
1224 description: Stpforward mode.
1225 choices: ['rpl-all-ext-id', 'rpl-bridge-ext-id', 'rpl-nothing']
1226 strip_priority_vlan_tag:
1227 aliases: ['strip-priority-vlan-tag']
1228 type: str
1229 description: Strip priority vlan tag.
1230 choices: ['disable', 'enable']
1231 subst:
1232 type: str
1233 description: Subst.
1234 choices: ['disable', 'enable']
1235 substitute_dst_mac:
1236 aliases: ['substitute-dst-mac']
1237 type: str
1238 description: Substitute dst mac.
1239 switch:
1240 type: str
1241 description: Switch.
1242 switch_controller_access_vlan:
1243 aliases: ['switch-controller-access-vlan']
1244 type: str
1245 description: Switch controller access vlan.
1246 choices: ['disable', 'enable']
1247 switch_controller_arp_inspection:
1248 aliases: ['switch-controller-arp-inspection']
1249 type: str
1250 description: Switch controller arp inspection.
1251 choices: ['disable', 'enable', 'monitor']
1252 switch_controller_auth:
1253 aliases: ['switch-controller-auth']
1254 type: str
1255 description: Switch controller auth.
1256 choices: ['radius', 'usergroup']
1257 switch_controller_dhcp_snooping:
1258 aliases: ['switch-controller-dhcp-snooping']
1259 type: str
1260 description: Switch controller dhcp snooping.
1261 choices: ['disable', 'enable']
1262 switch_controller_dhcp_snooping_option82:
1263 aliases: ['switch-controller-dhcp-snooping-option82']
1264 type: str
1265 description: Switch controller dhcp snooping option82.
1266 choices: ['disable', 'enable']
1267 switch_controller_dhcp_snooping_verify_mac:
1268 aliases: ['switch-controller-dhcp-snooping-verify-mac']
1269 type: str
1270 description: Switch controller dhcp snooping verify mac.
1271 choices: ['disable', 'enable']
1272 switch_controller_igmp_snooping:
1273 aliases: ['switch-controller-igmp-snooping']
1274 type: str
1275 description: Switch controller igmp snooping.
1276 choices: ['disable', 'enable']
1277 switch_controller_learning_limit:
1278 aliases: ['switch-controller-learning-limit']
1279 type: int
1280 description: Switch controller learning limit.
1281 switch_controller_radius_server:
1282 aliases: ['switch-controller-radius-server']
1283 type: str
1284 description: Switch controller radius server.
1285 switch_controller_traffic_policy:
1286 aliases: ['switch-controller-traffic-policy']
1287 type: str
1288 description: Switch controller traffic policy.
1289 tc_mode:
1290 aliases: ['tc-mode']
1291 type: str
1292 description: Tc mode.
1293 choices: ['ptm', 'atm']
1294 tcp_mss:
1295 aliases: ['tcp-mss']
1296 type: int
1297 description: Tcp mss.
1298 trunk:
1299 type: str
1300 description: Trunk.
1301 choices: ['disable', 'enable']
1302 trust_ip_1:
1303 aliases: ['trust-ip-1']
1304 type: str
1305 description: Trust ip 1.
1306 trust_ip_2:
1307 aliases: ['trust-ip-2']
1308 type: str
1309 description: Trust ip 2.
1310 trust_ip_3:
1311 aliases: ['trust-ip-3']
1312 type: str
1313 description: Trust ip 3.
1314 trust_ip6_1:
1315 aliases: ['trust-ip6-1']
1316 type: str
1317 description: Trust ip6 1.
1318 trust_ip6_2:
1319 aliases: ['trust-ip6-2']
1320 type: str
1321 description: Trust ip6 2.
1322 trust_ip6_3:
1323 aliases: ['trust-ip6-3']
1324 type: str
1325 description: Trust ip6 3.
1326 type:
1327 type: str
1328 description: Type.
1329 choices: ['physical', 'vlan', 'aggregate', 'redundant', 'tunnel', 'wireless',
1330 'vdom-link', 'loopback', 'switch', 'hard-switch', 'hdlc', 'vap-switch',
1331 'wl-mesh', 'fortilink', 'switch-vlan', 'fctrl-trunk', 'tdm', 'fext-wan',
1332 'vxlan', 'emac-vlan', 'geneve', 'ssl', 'lan-extension']
1333 username:
1334 type: str
1335 description: Username.
1336 vci:
1337 type: int
1338 description: Vci.
1339 vectoring:
1340 type: str
1341 description: Vectoring.
1342 choices: ['disable', 'enable']
1343 vindex:
1344 type: int
1345 description: Vindex.
1346 vlanforward:
1347 type: str
1348 description: Vlanforward.
1349 choices: ['disable', 'enable']
1350 vlanid:
1351 type: int
1352 description: Vlanid.
1353 vpi:
1354 type: int
1355 description: Vpi.
1356 vrf:
1357 type: int
1358 description: Vrf.
1359 vrrp:
1360 type: list
1361 elements: dict
1362 description: Vrrp.
1363 suboptions:
1364 accept_mode:
1365 aliases: ['accept-mode']
1366 type: str
1367 description: Accept mode.
1368 choices: ['disable', 'enable']
1369 adv_interval:
1370 aliases: ['adv-interval']
1371 type: int
1372 description: Adv interval.
1373 ignore_default_route:
1374 aliases: ['ignore-default-route']
1375 type: str
1376 description: Ignore default route.
1377 choices: ['disable', 'enable']
1378 preempt:
1379 type: str
1380 description: Preempt.
1381 choices: ['disable', 'enable']
1382 priority:
1383 type: int
1384 description: Priority.
1385 start_time:
1386 aliases: ['start-time']
1387 type: int
1388 description: Start time.
1389 status:
1390 type: str
1391 description: Status.
1392 choices: ['disable', 'enable']
1393 version:
1394 type: str
1395 description: Version.
1396 choices: ['2', '3']
1397 vrdst:
1398 type: raw
1399 description: (list) Vrdst.
1400 vrdst_priority:
1401 aliases: ['vrdst-priority']
1402 type: int
1403 description: Vrdst priority.
1404 vrgrp:
1405 type: int
1406 description: Vrgrp.
1407 vrid:
1408 type: int
1409 description: Vrid.
1410 vrip:
1411 type: str
1412 description: Vrip.
1413 proxy_arp:
1414 aliases: ['proxy-arp']
1415 type: list
1416 elements: dict
1417 description: Proxy arp.
1418 suboptions:
1419 id:
1420 type: int
1421 description: ID.
1422 ip:
1423 type: str
1424 description: Set IP addresses of proxy ARP.
1425 vrrp_virtual_mac:
1426 aliases: ['vrrp-virtual-mac']
1427 type: str
1428 description: Vrrp virtual mac.
1429 choices: ['disable', 'enable']
1430 wccp:
1431 type: str
1432 description: Wccp.
1433 choices: ['disable', 'enable']
1434 weight:
1435 type: int
1436 description: Weight.
1437 wifi_5g_threshold:
1438 aliases: ['wifi-5g-threshold']
1439 type: str
1440 description: Wifi 5g threshold.
1441 wifi_acl:
1442 aliases: ['wifi-acl']
1443 type: str
1444 description: Wifi acl.
1445 choices: ['deny', 'allow']
1446 wifi_ap_band:
1447 aliases: ['wifi-ap-band']
1448 type: str
1449 description: Wifi ap band.
1450 choices: ['any', '5g-preferred', '5g-only']
1451 wifi_auth:
1452 aliases: ['wifi-auth']
1453 type: str
1454 description: Wifi auth.
1455 choices: ['PSK', 'RADIUS', 'radius', 'usergroup']
1456 wifi_auto_connect:
1457 aliases: ['wifi-auto-connect']
1458 type: str
1459 description: Wifi auto connect.
1460 choices: ['disable', 'enable']
1461 wifi_auto_save:
1462 aliases: ['wifi-auto-save']
1463 type: str
1464 description: Wifi auto save.
1465 choices: ['disable', 'enable']
1466 wifi_broadcast_ssid:
1467 aliases: ['wifi-broadcast-ssid']
1468 type: str
1469 description: Wifi broadcast ssid.
1470 choices: ['disable', 'enable']
1471 wifi_encrypt:
1472 aliases: ['wifi-encrypt']
1473 type: str
1474 description: Wifi encrypt.
1475 choices: ['TKIP', 'AES']
1476 wifi_fragment_threshold:
1477 aliases: ['wifi-fragment-threshold']
1478 type: int
1479 description: Wifi fragment threshold.
1480 wifi_key:
1481 aliases: ['wifi-key']
1482 type: raw
1483 description: (list) Wifi key.
1484 wifi_keyindex:
1485 aliases: ['wifi-keyindex']
1486 type: int
1487 description: Wifi keyindex.
1488 wifi_mac_filter:
1489 aliases: ['wifi-mac-filter']
1490 type: str
1491 description: Wifi mac filter.
1492 choices: ['disable', 'enable']
1493 wifi_passphrase:
1494 aliases: ['wifi-passphrase']
1495 type: raw
1496 description: (list) Wifi passphrase.
1497 wifi_radius_server:
1498 aliases: ['wifi-radius-server']
1499 type: str
1500 description: Wifi radius server.
1501 wifi_rts_threshold:
1502 aliases: ['wifi-rts-threshold']
1503 type: int
1504 description: Wifi rts threshold.
1505 wifi_security:
1506 aliases: ['wifi-security']
1507 type: str
1508 description: Wifi security.
1509 choices: ['None', 'WEP64', 'wep64', 'WEP128', 'wep128', 'WPA_PSK', 'WPA_RADIUS',
1510 'WPA', 'WPA2', 'WPA2_AUTO', 'open', 'wpa-personal', 'wpa-enterprise',
1511 'wpa-only-personal', 'wpa-only-enterprise', 'wpa2-only-personal',
1512 'wpa2-only-enterprise']
1513 wifi_ssid:
1514 aliases: ['wifi-ssid']
1515 type: str
1516 description: Wifi ssid.
1517 wifi_usergroup:
1518 aliases: ['wifi-usergroup']
1519 type: str
1520 description: Wifi usergroup.
1521 wins_ip:
1522 aliases: ['wins-ip']
1523 type: str
1524 description: Wins ip.
1525 eip:
1526 type: str
1527 description: Eip.
1528 fortilink_neighbor_detect:
1529 aliases: ['fortilink-neighbor-detect']
1530 type: str
1531 description: Fortilink neighbor detect.
1532 choices: ['lldp', 'fortilink']
1533 ingress_shaping_profile:
1534 aliases: ['ingress-shaping-profile']
1535 type: str
1536 description: Ingress shaping profile.
1537 ring_rx:
1538 aliases: ['ring-rx']
1539 type: int
1540 description: Ring rx.
1541 ring_tx:
1542 aliases: ['ring-tx']
1543 type: int
1544 description: Ring tx.
1545 switch_controller_igmp_snooping_fast_leave:
1546 aliases: ['switch-controller-igmp-snooping-fast-leave']
1547 type: str
1548 description: Switch controller igmp snooping fast leave.
1549 choices: ['disable', 'enable']
1550 switch_controller_igmp_snooping_proxy:
1551 aliases: ['switch-controller-igmp-snooping-proxy']
1552 type: str
1553 description: Switch controller igmp snooping proxy.
1554 choices: ['disable', 'enable']
1555 switch_controller_rspan_mode:
1556 aliases: ['switch-controller-rspan-mode']
1557 type: str
1558 description: Switch controller rspan mode.
1559 choices: ['disable', 'enable']
1560 bandwidth_measure_time:
1561 aliases: ['bandwidth-measure-time']
1562 type: int
1563 description: Bandwidth measure time.
1564 ip_managed_by_fortiipam:
1565 aliases: ['ip-managed-by-fortiipam']
1566 type: str
1567 description: Ip managed by fortiipam.
1568 choices: ['disable', 'enable', 'inherit-global']
1569 managed_subnetwork_size:
1570 aliases: ['managed-subnetwork-size']
1571 type: str
1572 description: Managed subnetwork size.
1573 choices: ['256', '512', '1024', '2048', '4096', '8192', '16384', '32768', '65536',
1574 '32', '64', '128', '4', '8', '16', '131072', '262144', '524288',
1575 '1048576', '2097152', '4194304', '8388608', '16777216']
1576 measured_downstream_bandwidth:
1577 aliases: ['measured-downstream-bandwidth']
1578 type: int
1579 description: Measured downstream bandwidth.
1580 measured_upstream_bandwidth:
1581 aliases: ['measured-upstream-bandwidth']
1582 type: int
1583 description: Measured upstream bandwidth.
1584 monitor_bandwidth:
1585 aliases: ['monitor-bandwidth']
1586 type: str
1587 description: Monitor bandwidth.
1588 choices: ['disable', 'enable']
1589 swc_vlan:
1590 aliases: ['swc-vlan']
1591 type: int
1592 description: Swc vlan.
1593 switch_controller_feature:
1594 aliases: ['switch-controller-feature']
1595 type: str
1596 description: Switch controller feature.
1597 choices: ['none', 'default-vlan', 'quarantine', 'sniffer', 'voice', 'camera',
1598 'rspan', 'video', 'nac', 'nac-segment']
1599 switch_controller_mgmt_vlan:
1600 aliases: ['switch-controller-mgmt-vlan']
1601 type: int
1602 description: Switch controller mgmt vlan.
1603 switch_controller_nac:
1604 aliases: ['switch-controller-nac']
1605 type: str
1606 description: Switch controller nac.
1607 vlan_protocol:
1608 aliases: ['vlan-protocol']
1609 type: str
1610 description: Vlan protocol.
1611 choices: ['8021q', '8021ad']
1612 dhcp_relay_interface:
1613 aliases: ['dhcp-relay-interface']
1614 type: str
1615 description: Dhcp relay interface.
1616 dhcp_relay_interface_select_method:
1617 aliases: ['dhcp-relay-interface-select-method']
1618 type: str
1619 description: Dhcp relay interface select method.
1620 choices: ['auto', 'sdwan', 'specify']
1621 np_qos_profile:
1622 aliases: ['np-qos-profile']
1623 type: int
1624 description: NP QoS profile ID.
1625 swc_first_create:
1626 aliases: ['swc-first-create']
1627 type: int
1628 description: Initial create for switch-controller VLANs.
1629 switch_controller_iot_scanning:
1630 aliases: ['switch-controller-iot-scanning']
1631 type: str
1632 description: Enable/disable managed FortiSwitch IoT scanning.
1633 choices: ['disable', 'enable']
1634 switch_controller_source_ip:
1635 aliases: ['switch-controller-source-ip']
1636 type: str
1637 description: Source IP address used in FortiLink over L3 connections.
1638 choices: ['outbound', 'fixed']
1639 dhcp_relay_request_all_server:
1640 aliases: ['dhcp-relay-request-all-server']
1641 type: str
1642 description: Enable/disable sending of DHCP requests to all servers.
1643 choices: ['disable', 'enable']
1644 stp_ha_secondary:
1645 aliases: ['stp-ha-secondary']
1646 type: str
1647 description: Control STP behaviour on HA secondary.
1648 choices: ['disable', 'enable', 'priority-adjust']
1649 switch_controller_dynamic:
1650 aliases: ['switch-controller-dynamic']
1651 type: str
1652 description: Integrated FortiLink settings for managed FortiSwitch.
1653 auth_cert:
1654 aliases: ['auth-cert']
1655 type: str
1656 description: HTTPS server certificate.
1657 auth_portal_addr:
1658 aliases: ['auth-portal-addr']
1659 type: str
1660 description: Address of captive portal.
1661 dhcp_classless_route_addition:
1662 aliases: ['dhcp-classless-route-addition']
1663 type: str
1664 description: Enable/disable addition of classless static routes retrieved from DHCP server.
1665 choices: ['disable', 'enable']
1666 dhcp_relay_link_selection:
1667 aliases: ['dhcp-relay-link-selection']
1668 type: str
1669 description: DHCP relay link selection.
1670 dns_server_protocol:
1671 aliases: ['dns-server-protocol']
1672 type: list
1673 elements: str
1674 description: DNS transport protocols.
1675 choices: ['cleartext', 'dot', 'doh']
1676 eap_ca_cert:
1677 aliases: ['eap-ca-cert']
1678 type: str
1679 description: EAP CA certificate name.
1680 eap_identity:
1681 aliases: ['eap-identity']
1682 type: str
1683 description: EAP identity.
1684 eap_method:
1685 aliases: ['eap-method']
1686 type: str
1687 description: EAP method.
1688 choices: ['tls', 'peap']
1689 eap_password:
1690 aliases: ['eap-password']
1691 type: raw
1692 description: (list) EAP password.
1693 eap_supplicant:
1694 aliases: ['eap-supplicant']
1695 type: str
1696 description: Enable/disable EAP-Supplicant.
1697 choices: ['disable', 'enable']
1698 eap_user_cert:
1699 aliases: ['eap-user-cert']
1700 type: str
1701 description: EAP user certificate name.
1702 ike_saml_server:
1703 aliases: ['ike-saml-server']
1704 type: str
1705 description: Configure IKE authentication SAML server.
1706 lacp_ha_secondary:
1707 aliases: ['lacp-ha-secondary']
1708 type: str
1709 description: Lacp ha secondary.
1710 choices: ['disable', 'enable']
1711 pvc_atm_qos:
1712 aliases: ['pvc-atm-qos']
1713 type: str
1714 description: SFP-DSL ADSL Fallback PVC ATM QoS.
1715 choices: ['cbr', 'rt-vbr', 'nrt-vbr', 'ubr']
1716 pvc_chan:
1717 aliases: ['pvc-chan']
1718 type: int
1719 description: SFP-DSL ADSL Fallback PVC Channel.
1720 pvc_crc:
1721 aliases: ['pvc-crc']
1722 type: int
1723 description: SFP-DSL ADSL Fallback PVC CRC Option
1724 pvc_pcr:
1725 aliases: ['pvc-pcr']
1726 type: int
1727 description: SFP-DSL ADSL Fallback PVC Packet Cell Rate in cells
1728 pvc_scr:
1729 aliases: ['pvc-scr']
1730 type: int
1731 description: SFP-DSL ADSL Fallback PVC Sustainable Cell Rate in cells
1732 pvc_vlan_id:
1733 aliases: ['pvc-vlan-id']
1734 type: int
1735 description: SFP-DSL ADSL Fallback PVC VLAN ID.
1736 pvc_vlan_rx_id:
1737 aliases: ['pvc-vlan-rx-id']
1738 type: int
1739 description: SFP-DSL ADSL Fallback PVC VLANID RX.
1740 pvc_vlan_rx_op:
1741 aliases: ['pvc-vlan-rx-op']
1742 type: str
1743 description: SFP-DSL ADSL Fallback PVC VLAN RX op.
1744 choices: ['pass-through', 'replace', 'remove']
1745 pvc_vlan_tx_id:
1746 aliases: ['pvc-vlan-tx-id']
1747 type: int
1748 description: SFP-DSL ADSL Fallback PVC VLAN ID TX.
1749 pvc_vlan_tx_op:
1750 aliases: ['pvc-vlan-tx-op']
1751 type: str
1752 description: SFP-DSL ADSL Fallback PVC VLAN TX op.
1753 choices: ['pass-through', 'replace', 'remove']
1754 reachable_time:
1755 aliases: ['reachable-time']
1756 type: int
1757 description: IPv4 reachable time in milliseconds
1758 select_profile_30a_35b:
1759 aliases: ['select-profile-30a-35b']
1760 type: str
1761 description: Select VDSL Profile 30a or 35b.
1762 choices: ['30A', '35B', '30a', '35b']
1763 sfp_dsl:
1764 aliases: ['sfp-dsl']
1765 type: str
1766 description: Enable/disable SFP DSL.
1767 choices: ['disable', 'enable']
1768 sfp_dsl_adsl_fallback:
1769 aliases: ['sfp-dsl-adsl-fallback']
1770 type: str
1771 description: Enable/disable SFP DSL ADSL fallback.
1772 choices: ['disable', 'enable']
1773 sfp_dsl_autodetect:
1774 aliases: ['sfp-dsl-autodetect']
1775 type: str
1776 description: Enable/disable SFP DSL MAC address autodetect.
1777 choices: ['disable', 'enable']
1778 sfp_dsl_mac:
1779 aliases: ['sfp-dsl-mac']
1780 type: str
1781 description: SFP DSL MAC address.
1782 sw_algorithm:
1783 aliases: ['sw-algorithm']
1784 type: str
1785 description: Frame distribution algorithm for switch.
1786 choices: ['l2', 'l3', 'eh', 'default']
1787 system_id:
1788 aliases: ['system-id']
1789 type: str
1790 description: Define a system ID for the aggregate interface.
1791 system_id_type:
1792 aliases: ['system-id-type']
1793 type: str
1794 description: Method in which system ID is generated.
1795 choices: ['auto', 'user']
1796 vlan_id:
1797 aliases: ['vlan-id']
1798 type: int
1799 description: Vlan ID
1800 vlan_op_mode:
1801 aliases: ['vlan-op-mode']
1802 type: str
1803 description: Configure DSL 802.
1804 choices: ['tag', 'untag', 'passthrough']
1805 generic_receive_offload:
1806 aliases: ['generic-receive-offload']
1807 type: str
1808 description: Generic receive offload.
1809 choices: ['disable', 'enable']
1810 interconnect_profile:
1811 aliases: ['interconnect-profile']
1812 type: str
1813 description: Set interconnect profile.
1814 choices: ['default', 'profile1', 'profile2']
1815 large_receive_offload:
1816 aliases: ['large-receive-offload']
1817 type: str
1818 description: Large receive offload.
1819 choices: ['disable', 'enable']
1820 annex:
1821 type: str
1822 description: Set xDSL annex type.
1823 choices: ['a', 'b', 'j', 'bjm', 'i', 'al', 'm', 'aijlm', 'bj']
1824 aggregate_type:
1825 aliases: ['aggregate-type']
1826 type: str
1827 description: Type of aggregation.
1828 choices: ['physical', 'vxlan']
1829 switch_controller_netflow_collect:
1830 aliases: ['switch-controller-netflow-collect']
1831 type: str
1832 description: NetFlow collection and processing.
1833 choices: ['disable', 'enable']
1834 wifi_dns_server1:
1835 aliases: ['wifi-dns-server1']
1836 type: str
1837 description: DNS server 1.
1838 wifi_dns_server2:
1839 aliases: ['wifi-dns-server2']
1840 type: str
1841 description: DNS server 2.
1842 wifi_gateway:
1843 aliases: ['wifi-gateway']
1844 type: str
1845 description: IPv4 default gateway IP address.
1846 default_purdue_level:
1847 aliases: ['default-purdue-level']
1848 type: str
1849 description: Default purdue level of device detected on this interface.
1850 choices: ['1', '2', '3', '4', '5', '1.5', '2.5', '3.5', '5.5']
1851 dhcp_broadcast_flag:
1852 aliases: ['dhcp-broadcast-flag']
1853 type: str
1854 description: Enable/disable setting of the broadcast flag in messages sent by the DHCP client
1855 choices: ['disable', 'enable']
1856 dhcp_smart_relay:
1857 aliases: ['dhcp-smart-relay']
1858 type: str
1859 description: Enable/disable DHCP smart relay.
1860 choices: ['disable', 'enable']
1861 switch_controller_offloading:
1862 aliases: ['switch-controller-offloading']
1863 type: str
1864 description: Switch controller offloading.
1865 choices: ['disable', 'enable']
1866 switch_controller_offloading_gw:
1867 aliases: ['switch-controller-offloading-gw']
1868 type: str
1869 description: Switch controller offloading gw.
1870 choices: ['disable', 'enable']
1871 switch_controller_offloading_ip:
1872 aliases: ['switch-controller-offloading-ip']
1873 type: str
1874 description: Switch controller offloading ip.
1875 dhcp_relay_circuit_id:
1876 aliases: ['dhcp-relay-circuit-id']
1877 type: str
1878 description: DHCP relay circuit ID.
1879 dhcp_relay_source_ip:
1880 aliases: ['dhcp-relay-source-ip']
1881 type: str
1882 description: IP address used by the DHCP relay as its source IP.
1883 switch_controller_offload:
1884 aliases: ['switch-controller-offload']
1885 type: str
1886 description: Enable/disable managed FortiSwitch routing offload.
1887 choices: ['disable', 'enable']
1888 switch_controller_offload_gw:
1889 aliases: ['switch-controller-offload-gw']
1890 type: str
1891 description: Enable/disable managed FortiSwitch routing offload gateway.
1892 choices: ['disable', 'enable']
1893 switch_controller_offload_ip:
1894 aliases: ['switch-controller-offload-ip']
1895 type: str
1896 description: IP for routing offload on FortiSwitch.
1897 mirroring_direction:
1898 aliases: ['mirroring-direction']
1899 type: str
1900 description: Port mirroring direction.
1901 choices: ['rx', 'tx', 'both']
1902 mirroring_port:
1903 aliases: ['mirroring-port']
1904 type: str
1905 description: Mirroring port.
1906 port_mirroring:
1907 aliases: ['port-mirroring']
1908 type: str
1909 description: Enable/disable NP port mirroring.
1910 choices: ['disable', 'enable']
1911 security_8021x_member_mode:
1912 aliases: ['security-8021x-member-mode']
1913 type: str
1914 description: '802.'
1915 choices: ['disable', 'switch']
1916 stp_edge:
1917 aliases: ['stp-edge']
1918 type: str
1919 description: Enable/disable as STP edge port.
1920 choices: ['disable', 'enable']
1921 dhcp_relay_allow_no_end_option:
1922 aliases: ['dhcp-relay-allow-no-end-option']
1923 type: str
1924 description: Enable/disable relaying DHCP messages with no end option.
1925 choices: ['disable', 'enable']
1926 netflow_sample_rate:
1927 aliases: ['netflow-sample-rate']
1928 type: int
1929 description: NetFlow sample rate.
1930 netflow_sampler_id:
1931 aliases: ['netflow-sampler-id']
1932 type: int
1933 description: Netflow sampler ID.
1934 pppoe_egress_cos:
1935 aliases: ['pppoe-egress-cos']
1936 type: str
1937 description: CoS in VLAN tag for outgoing PPPoE/PPP packets.
1938 choices: ['cos0', 'cos1', 'cos2', 'cos3', 'cos4', 'cos5', 'cos6', 'cos7']
1939 security_ip_auth_bypass:
1940 aliases: ['security-ip-auth-bypass']
1941 type: str
1942 description: Enable/disable IP authentication bypass.
1943 choices: ['disable', 'enable']
1944 virtual_mac:
1945 aliases: ['virtual-mac']
1946 type: str
1947 description: Change the interfaces virtual MAC address.
1948 dhcp_relay_vrf_select:
1949 aliases: ['dhcp-relay-vrf-select']
1950 type: int
1951 description: VRF ID used for connection to server.
1952 exclude_signatures:
1953 aliases: ['exclude-signatures']
1954 type: list
1955 elements: str
1956 description: Exclude IOT or OT application signatures.
1957 choices: ['iot', 'ot']
1958 profiles:
1959 type: list
1960 elements: str
1961 description: Set allowed VDSL profiles.
1962 choices: ['8a', '8b', '8c', '8d', '12a', '12b', '17a', '30a', '35b']
1963 telemetry_discover:
1964 aliases: ['telemetry-discover']
1965 type: str
1966 description: Enable/disable automatic registration of unknown FortiTelemetry agents.
1967 choices: ['disable', 'enable']
1968 mrru:
1969 type: int
1970 description: PPP MRRU
1971 multilink:
1972 type: str
1973 description: Enable/disable PPP multilink support.
1974 choices: ['disable', 'enable']
1975 '''
1976
1977 EXAMPLES = '''
1978 - name: Example playbook (generated based on argument schema)
1979 hosts: fortimanagers
1980 connection: httpapi
1981 gather_facts: false
1982 tasks:
1983 - name: Configure interfaces.
1984 fortinet.fortimanager.fmgr_fsp_vlan_interface:
1985 # workspace_locking_adom: <global or your adom name>
1986 adom: <your own value>
1987 vlan: <your own value>
1988 fsp_vlan_interface:
1989 # ac_name: <string>
1990 # aggregate: <string>
1991 # algorithm: <value in [L2, L3, L4, ...]>
1992 # alias: <string>
1993 # allowaccess: ["https", "ping", "ssh", "snmp", "http", "telnet", "fgfm", "auto-ipsec",
1994 # "radius-acct", "probe-response", "capwap", "dnp", "ftm", "fabric",
1995 # "speed-test"]
1996 # ap_discover: <value in [disable, enable]>
1997 # arpforward: <value in [disable, enable]>
1998 # atm_protocol: <value in [none, ipoa]>
1999 # auth_type: <value in [auto, pap, chap, ...]>
2000 # auto_auth_extension_device: <value in [disable, enable]>
2001 # bfd: <value in [global, enable, disable]>
2002 # bfd_desired_min_tx: <integer>
2003 # bfd_detect_mult: <integer>
2004 # bfd_required_min_rx: <integer>
2005 # broadcast_forticlient_discovery: <value in [disable, enable]>
2006 # broadcast_forward: <value in [disable, enable]>
2007 # captive_portal: <integer>
2008 # cli_conn_status: <integer>
2009 # color: <integer>
2010 # ddns: <value in [disable, enable]>
2011 # ddns_auth: <value in [disable, tsig]>
2012 # ddns_domain: <string>
2013 # ddns_key: <list or string>
2014 # ddns_keyname: <string>
2015 # ddns_password: <list or string>
2016 # ddns_server: <value in [dhs.org, dyndns.org, dyns.net, ...]>
2017 # ddns_server_ip: <string>
2018 # ddns_sn: <string>
2019 # ddns_ttl: <integer>
2020 # ddns_username: <string>
2021 # ddns_zone: <string>
2022 # dedicated_to: <value in [none, management]>
2023 # defaultgw: <value in [disable, enable]>
2024 # description: <string>
2025 # detected_peer_mtu: <integer>
2026 # detectprotocol: ["ping", "tcp-echo", "udp-echo"]
2027 # detectserver: <string>
2028 # device_access_list: <list or string>
2029 # device_identification: <value in [disable, enable]>
2030 # device_identification_active_scan: <value in [disable, enable]>
2031 # device_netscan: <value in [disable, enable]>
2032 # device_user_identification: <value in [disable, enable]>
2033 # devindex: <integer>
2034 # dhcp_client_identifier: <string>
2035 # dhcp_relay_agent_option: <value in [disable, enable]>
2036 # dhcp_relay_ip: <list or string>
2037 # dhcp_relay_service: <value in [disable, enable]>
2038 # dhcp_relay_type: <value in [regular, ipsec]>
2039 # dhcp_renew_time: <integer>
2040 # disc_retry_timeout: <integer>
2041 # disconnect_threshold: <integer>
2042 # distance: <integer>
2043 # dns_query: <value in [disable, recursive, non-recursive]>
2044 # dns_server_override: <value in [disable, enable]>
2045 # drop_fragment: <value in [disable, enable]>
2046 # drop_overlapped_fragment: <value in [disable, enable]>
2047 # egress_cos: <value in [disable, cos0, cos1, ...]>
2048 # egress_shaping_profile: <string>
2049 # endpoint_compliance: <value in [disable, enable]>
2050 # estimated_downstream_bandwidth: <integer>
2051 # estimated_upstream_bandwidth: <integer>
2052 # explicit_ftp_proxy: <value in [disable, enable]>
2053 # explicit_web_proxy: <value in [disable, enable]>
2054 # external: <value in [disable, enable]>
2055 # fail_action_on_extender: <value in [soft-restart, hard-restart, reboot]>
2056 # fail_alert_interfaces: <list or string>
2057 # fail_alert_method: <value in [link-failed-signal, link-down]>
2058 # fail_detect: <value in [disable, enable]>
2059 # fail_detect_option: ["detectserver", "link-down"]
2060 # fdp: <value in [disable, enable]>
2061 # fortiheartbeat: <value in [disable, enable]>
2062 # fortilink: <value in [disable, enable]>
2063 # fortilink_backup_link: <integer>
2064 # fortilink_split_interface: <value in [disable, enable]>
2065 # fortilink_stacking: <value in [disable, enable]>
2066 # forward_domain: <integer>
2067 # forward_error_correction: <value in [disable, enable, rs-fec, ...]>
2068 # fp_anomaly: ["drop_tcp_fin_noack", "pass_winnuke", "pass_tcpland", "pass_udpland",
2069 # "pass_icmpland", "pass_ipland", "pass_iprr", "pass_ipssrr",
2070 # "pass_iplsrr", "pass_ipstream", "pass_ipsecurity", "pass_iptimestamp",
2071 # "pass_ipunknown_option", "pass_ipunknown_prot", "pass_icmp_frag",
2072 # "pass_tcp_no_flag", "pass_tcp_fin_noack", "drop_winnuke", "drop_tcpland",
2073 # "drop_udpland", "drop_icmpland", "drop_ipland", "drop_iprr",
2074 # "drop_ipssrr", "drop_iplsrr", "drop_ipstream", "drop_ipsecurity",
2075 # "drop_iptimestamp", "drop_ipunknown_option", "drop_ipunknown_prot",
2076 # "drop_icmp_frag", "drop_tcp_no_flag"]
2077 # fp_disable: ["all", "ipsec", "none"]
2078 # gateway_address: <string>
2079 # gi_gk: <value in [disable, enable]>
2080 # gwaddr: <string>
2081 # gwdetect: <value in [disable, enable]>
2082 # ha_priority: <integer>
2083 # icmp_accept_redirect: <value in [disable, enable]>
2084 # icmp_redirect: <value in [disable, enable]>
2085 # icmp_send_redirect: <value in [disable, enable]>
2086 # ident_accept: <value in [disable, enable]>
2087 # idle_timeout: <integer>
2088 # if_mdix: <value in [auto, normal, crossover]>
2089 # if_media: <value in [auto, copper, fiber]>
2090 # in_force_vlan_cos: <integer>
2091 # inbandwidth: <integer>
2092 # ingress_cos: <value in [disable, cos0, cos1, ...]>
2093 # ingress_spillover_threshold: <integer>
2094 # internal: <integer>
2095 # ip: <string>
2096 # ipmac: <value in [disable, enable]>
2097 # ips_sniffer_mode: <value in [disable, enable]>
2098 # ipunnumbered: <string>
2099 # ipv6:
2100 # autoconf: <value in [disable, enable]>
2101 # dhcp6_client_options: ["rapid", "iapd", "iana", "dns", "dnsname"]
2102 # dhcp6_information_request: <value in [disable, enable]>
2103 # dhcp6_prefix_delegation: <value in [disable, enable]>
2104 # dhcp6_prefix_hint: <string>
2105 # dhcp6_prefix_hint_plt: <integer>
2106 # dhcp6_prefix_hint_vlt: <integer>
2107 # dhcp6_relay_ip: <string>
2108 # dhcp6_relay_service: <value in [disable, enable]>
2109 # dhcp6_relay_type: <value in [regular]>
2110 # ip6_address: <string>
2111 # ip6_allowaccess: ["https", "ping", "ssh", "snmp", "http", "telnet", "fgfm",
2112 # "capwap", "fabric"]
2113 # ip6_default_life: <integer>
2114 # ip6_dns_server_override: <value in [disable, enable]>
2115 # ip6_hop_limit: <integer>
2116 # ip6_link_mtu: <integer>
2117 # ip6_manage_flag: <value in [disable, enable]>
2118 # ip6_max_interval: <integer>
2119 # ip6_min_interval: <integer>
2120 # ip6_mode: <value in [static, dhcp, pppoe, ...]>
2121 # ip6_other_flag: <value in [disable, enable]>
2122 # ip6_reachable_time: <integer>
2123 # ip6_retrans_time: <integer>
2124 # ip6_send_adv: <value in [disable, enable]>
2125 # ip6_subnet: <string>
2126 # ip6_upstream_interface: <string>
2127 # nd_cert: <string>
2128 # nd_cga_modifier: <string>
2129 # nd_mode: <value in [basic, SEND-compatible]>
2130 # nd_security_level: <integer>
2131 # nd_timestamp_delta: <integer>
2132 # nd_timestamp_fuzz: <integer>
2133 # vrip6_link_local: <string>
2134 # vrrp_virtual_mac6: <value in [disable, enable]>
2135 # ip6_delegated_prefix_list:
2136 # - autonomous_flag: <value in [disable, enable]>
2137 # onlink_flag: <value in [disable, enable]>
2138 # prefix_id: <integer>
2139 # rdnss: <list or string>
2140 # rdnss_service: <value in [delegated, default, specify]>
2141 # subnet: <string>
2142 # upstream_interface: <string>
2143 # delegated_prefix_iaid: <integer>
2144 # dnssl_service: <value in [disable, enable]>
2145 # ip6_extra_addr:
2146 # - prefix: <string>
2147 # ip6_prefix_list:
2148 # - autonomous_flag: <value in [disable, enable]>
2149 # dnssl: <list or string>
2150 # onlink_flag: <value in [disable, enable]>
2151 # preferred_life_time: <integer>
2152 # prefix: <string>
2153 # rdnss: <list or string>
2154 # valid_life_time: <integer>
2155 # vrrp6:
2156 # - accept_mode: <value in [disable, enable]>
2157 # adv_interval: <integer>
2158 # preempt: <value in [disable, enable]>
2159 # priority: <integer>
2160 # start_time: <integer>
2161 # status: <value in [disable, enable]>
2162 # vrdst6: <string>
2163 # vrgrp: <integer>
2164 # vrid: <integer>
2165 # vrip6: <string>
2166 # ignore_default_route: <value in [disable, enable]>
2167 # vrdst_priority: <integer>
2168 # interface_identifier: <string>
2169 # unique_autoconf_addr: <value in [disable, enable]>
2170 # icmp6_send_redirect: <value in [disable, enable]>
2171 # cli_conn6_status: <integer>
2172 # ip6_prefix_mode: <value in [dhcp6, ra]>
2173 # ra_send_mtu: <value in [disable, enable]>
2174 # ip6_delegated_prefix_iaid: <integer>
2175 # dhcp6_relay_source_interface: <value in [disable, enable]>
2176 # dhcp6_relay_interface_id: <string>
2177 # dhcp6_relay_source_ip: <string>
2178 # ip6_adv_rio: <value in [disable, enable]>
2179 # ip6_route_pref: <value in [medium, high, low]>
2180 # l2forward: <value in [disable, enable]>
2181 # l2tp_client: <value in [disable, enable]>
2182 # lacp_ha_slave: <value in [disable, enable]>
2183 # lacp_mode: <value in [static, passive, active]>
2184 # lacp_speed: <value in [slow, fast]>
2185 # lcp_echo_interval: <integer>
2186 # lcp_max_echo_fails: <integer>
2187 # link_up_delay: <integer>
2188 # listen_forticlient_connection: <value in [disable, enable]>
2189 # lldp_network_policy: <string>
2190 # lldp_reception: <value in [disable, enable, vdom]>
2191 # lldp_transmission: <value in [enable, disable, vdom]>
2192 # log: <value in [disable, enable]>
2193 # macaddr: <string>
2194 # management_ip: <string>
2195 # max_egress_burst_rate: <integer>
2196 # max_egress_rate: <integer>
2197 # mediatype: <value in [serdes-sfp, sgmii-sfp, cfp2-sr10, ...]>
2198 # member: <list or string>
2199 # min_links: <integer>
2200 # min_links_down: <value in [operational, administrative]>
2201 # mode: <value in [static, dhcp, pppoe, ...]>
2202 # mtu: <integer>
2203 # mtu_override: <value in [disable, enable]>
2204 # mux_type: <value in [llc-encaps, vc-encaps]>
2205 # name: <string>
2206 # ndiscforward: <value in [disable, enable]>
2207 # netbios_forward: <value in [disable, enable]>
2208 # netflow_sampler: <value in [disable, tx, rx, ...]>
2209 # npu_fastpath: <value in [disable, enable]>
2210 # nst: <value in [disable, enable]>
2211 # out_force_vlan_cos: <integer>
2212 # outbandwidth: <integer>
2213 # padt_retry_timeout: <integer>
2214 # password: <list or string>
2215 # peer_interface: <list or string>
2216 # phy_mode: <value in [auto, adsl, vdsl, ...]>
2217 # ping_serv_status: <integer>
2218 # poe: <value in [disable, enable]>
2219 # polling_interval: <integer>
2220 # pppoe_unnumbered_negotiate: <value in [disable, enable]>
2221 # pptp_auth_type: <value in [auto, pap, chap, ...]>
2222 # pptp_client: <value in [disable, enable]>
2223 # pptp_password: <list or string>
2224 # pptp_server_ip: <string>
2225 # pptp_timeout: <integer>
2226 # pptp_user: <string>
2227 # preserve_session_route: <value in [disable, enable]>
2228 # priority: <integer>
2229 # priority_override: <value in [disable, enable]>
2230 # proxy_captive_portal: <value in [disable, enable]>
2231 # redundant_interface: <string>
2232 # remote_ip: <string>
2233 # replacemsg_override_group: <string>
2234 # retransmission: <value in [disable, enable]>
2235 # role: <value in [lan, wan, dmz, ...]>
2236 # sample_direction: <value in [rx, tx, both]>
2237 # sample_rate: <integer>
2238 # scan_botnet_connections: <value in [disable, block, monitor]>
2239 # secondary_IP: <value in [disable, enable]>
2240 # secondaryip:
2241 # - allowaccess: ["https", "ping", "ssh", "snmp", "http", "telnet", "fgfm",
2242 # "auto-ipsec", "radius-acct", "probe-response", "capwap", "dnp",
2243 # "ftm", "fabric", "speed-test", "icond", "scim"]
2244 # detectprotocol: ["ping", "tcp-echo", "udp-echo"]
2245 # detectserver: <string>
2246 # gwdetect: <value in [disable, enable]>
2247 # ha_priority: <integer>
2248 # id: <integer>
2249 # ip: <string>
2250 # ping_serv_status: <integer>
2251 # seq: <integer>
2252 # secip_relay_ip: <string>
2253 # security_8021x_dynamic_vlan_id: <integer>
2254 # security_8021x_master: <string>
2255 # security_8021x_mode: <value in [default, dynamic-vlan, fallback, ...]>
2256 # security_exempt_list: <string>
2257 # security_external_logout: <string>
2258 # security_external_web: <string>
2259 # security_groups: <list or string>
2260 # security_mac_auth_bypass: <value in [disable, enable, mac-auth-only]>
2261 # security_mode: <value in [none, captive-portal, 802.1X]>
2262 # security_redirect_url: <string>
2263 # service_name: <string>
2264 # sflow_sampler: <value in [disable, enable]>
2265 # speed: <value in [auto, 10full, 10half, ...]>
2266 # spillover_threshold: <integer>
2267 # src_check: <value in [disable, enable]>
2268 # status: <value in [down, up]>
2269 # stp: <value in [disable, enable]>
2270 # stp_ha_slave: <value in [disable, enable, priority-adjust]>
2271 # stpforward: <value in [disable, enable]>
2272 # stpforward_mode: <value in [rpl-all-ext-id, rpl-bridge-ext-id, rpl-nothing]>
2273 # strip_priority_vlan_tag: <value in [disable, enable]>
2274 # subst: <value in [disable, enable]>
2275 # substitute_dst_mac: <string>
2276 # switch: <string>
2277 # switch_controller_access_vlan: <value in [disable, enable]>
2278 # switch_controller_arp_inspection: <value in [disable, enable, monitor]>
2279 # switch_controller_auth: <value in [radius, usergroup]>
2280 # switch_controller_dhcp_snooping: <value in [disable, enable]>
2281 # switch_controller_dhcp_snooping_option82: <value in [disable, enable]>
2282 # switch_controller_dhcp_snooping_verify_mac: <value in [disable, enable]>
2283 # switch_controller_igmp_snooping: <value in [disable, enable]>
2284 # switch_controller_learning_limit: <integer>
2285 # switch_controller_radius_server: <string>
2286 # switch_controller_traffic_policy: <string>
2287 # tc_mode: <value in [ptm, atm]>
2288 # tcp_mss: <integer>
2289 # trunk: <value in [disable, enable]>
2290 # trust_ip_1: <string>
2291 # trust_ip_2: <string>
2292 # trust_ip_3: <string>
2293 # trust_ip6_1: <string>
2294 # trust_ip6_2: <string>
2295 # trust_ip6_3: <string>
2296 # type: <value in [physical, vlan, aggregate, ...]>
2297 # username: <string>
2298 # vci: <integer>
2299 # vectoring: <value in [disable, enable]>
2300 # vindex: <integer>
2301 # vlanforward: <value in [disable, enable]>
2302 # vlanid: <integer>
2303 # vpi: <integer>
2304 # vrf: <integer>
2305 # vrrp:
2306 # - accept_mode: <value in [disable, enable]>
2307 # adv_interval: <integer>
2308 # ignore_default_route: <value in [disable, enable]>
2309 # preempt: <value in [disable, enable]>
2310 # priority: <integer>
2311 # start_time: <integer>
2312 # status: <value in [disable, enable]>
2313 # version: <value in [2, 3]>
2314 # vrdst: <list or string>
2315 # vrdst_priority: <integer>
2316 # vrgrp: <integer>
2317 # vrid: <integer>
2318 # vrip: <string>
2319 # proxy_arp:
2320 # - id: <integer>
2321 # ip: <string>
2322 # vrrp_virtual_mac: <value in [disable, enable]>
2323 # wccp: <value in [disable, enable]>
2324 # weight: <integer>
2325 # wifi_5g_threshold: <string>
2326 # wifi_acl: <value in [deny, allow]>
2327 # wifi_ap_band: <value in [any, 5g-preferred, 5g-only]>
2328 # wifi_auth: <value in [PSK, RADIUS, radius, ...]>
2329 # wifi_auto_connect: <value in [disable, enable]>
2330 # wifi_auto_save: <value in [disable, enable]>
2331 # wifi_broadcast_ssid: <value in [disable, enable]>
2332 # wifi_encrypt: <value in [TKIP, AES]>
2333 # wifi_fragment_threshold: <integer>
2334 # wifi_key: <list or string>
2335 # wifi_keyindex: <integer>
2336 # wifi_mac_filter: <value in [disable, enable]>
2337 # wifi_passphrase: <list or string>
2338 # wifi_radius_server: <string>
2339 # wifi_rts_threshold: <integer>
2340 # wifi_security: <value in [None, WEP64, wep64, ...]>
2341 # wifi_ssid: <string>
2342 # wifi_usergroup: <string>
2343 # wins_ip: <string>
2344 # eip: <string>
2345 # fortilink_neighbor_detect: <value in [lldp, fortilink]>
2346 # ingress_shaping_profile: <string>
2347 # ring_rx: <integer>
2348 # ring_tx: <integer>
2349 # switch_controller_igmp_snooping_fast_leave: <value in [disable, enable]>
2350 # switch_controller_igmp_snooping_proxy: <value in [disable, enable]>
2351 # switch_controller_rspan_mode: <value in [disable, enable]>
2352 # bandwidth_measure_time: <integer>
2353 # ip_managed_by_fortiipam: <value in [disable, enable, inherit-global]>
2354 # managed_subnetwork_size: <value in [256, 512, 1024, ...]>
2355 # measured_downstream_bandwidth: <integer>
2356 # measured_upstream_bandwidth: <integer>
2357 # monitor_bandwidth: <value in [disable, enable]>
2358 # swc_vlan: <integer>
2359 # switch_controller_feature: <value in [none, default-vlan, quarantine, ...]>
2360 # switch_controller_mgmt_vlan: <integer>
2361 # switch_controller_nac: <string>
2362 # vlan_protocol: <value in [8021q, 8021ad]>
2363 # dhcp_relay_interface: <string>
2364 # dhcp_relay_interface_select_method: <value in [auto, sdwan, specify]>
2365 # np_qos_profile: <integer>
2366 # swc_first_create: <integer>
2367 # switch_controller_iot_scanning: <value in [disable, enable]>
2368 # switch_controller_source_ip: <value in [outbound, fixed]>
2369 # dhcp_relay_request_all_server: <value in [disable, enable]>
2370 # stp_ha_secondary: <value in [disable, enable, priority-adjust]>
2371 # switch_controller_dynamic: <string>
2372 # auth_cert: <string>
2373 # auth_portal_addr: <string>
2374 # dhcp_classless_route_addition: <value in [disable, enable]>
2375 # dhcp_relay_link_selection: <string>
2376 # dns_server_protocol: ["cleartext", "dot", "doh"]
2377 # eap_ca_cert: <string>
2378 # eap_identity: <string>
2379 # eap_method: <value in [tls, peap]>
2380 # eap_password: <list or string>
2381 # eap_supplicant: <value in [disable, enable]>
2382 # eap_user_cert: <string>
2383 # ike_saml_server: <string>
2384 # lacp_ha_secondary: <value in [disable, enable]>
2385 # pvc_atm_qos: <value in [cbr, rt-vbr, nrt-vbr, ...]>
2386 # pvc_chan: <integer>
2387 # pvc_crc: <integer>
2388 # pvc_pcr: <integer>
2389 # pvc_scr: <integer>
2390 # pvc_vlan_id: <integer>
2391 # pvc_vlan_rx_id: <integer>
2392 # pvc_vlan_rx_op: <value in [pass-through, replace, remove]>
2393 # pvc_vlan_tx_id: <integer>
2394 # pvc_vlan_tx_op: <value in [pass-through, replace, remove]>
2395 # reachable_time: <integer>
2396 # select_profile_30a_35b: <value in [30A, 35B, 30a, ...]>
2397 # sfp_dsl: <value in [disable, enable]>
2398 # sfp_dsl_adsl_fallback: <value in [disable, enable]>
2399 # sfp_dsl_autodetect: <value in [disable, enable]>
2400 # sfp_dsl_mac: <string>
2401 # sw_algorithm: <value in [l2, l3, eh, ...]>
2402 # system_id: <string>
2403 # system_id_type: <value in [auto, user]>
2404 # vlan_id: <integer>
2405 # vlan_op_mode: <value in [tag, untag, passthrough]>
2406 # generic_receive_offload: <value in [disable, enable]>
2407 # interconnect_profile: <value in [default, profile1, profile2]>
2408 # large_receive_offload: <value in [disable, enable]>
2409 # annex: <value in [a, b, j, ...]>
2410 # aggregate_type: <value in [physical, vxlan]>
2411 # switch_controller_netflow_collect: <value in [disable, enable]>
2412 # wifi_dns_server1: <string>
2413 # wifi_dns_server2: <string>
2414 # wifi_gateway: <string>
2415 # default_purdue_level: <value in [1, 2, 3, ...]>
2416 # dhcp_broadcast_flag: <value in [disable, enable]>
2417 # dhcp_smart_relay: <value in [disable, enable]>
2418 # switch_controller_offloading: <value in [disable, enable]>
2419 # switch_controller_offloading_gw: <value in [disable, enable]>
2420 # switch_controller_offloading_ip: <string>
2421 # dhcp_relay_circuit_id: <string>
2422 # dhcp_relay_source_ip: <string>
2423 # switch_controller_offload: <value in [disable, enable]>
2424 # switch_controller_offload_gw: <value in [disable, enable]>
2425 # switch_controller_offload_ip: <string>
2426 # mirroring_direction: <value in [rx, tx, both]>
2427 # mirroring_port: <string>
2428 # port_mirroring: <value in [disable, enable]>
2429 # security_8021x_member_mode: <value in [disable, switch]>
2430 # stp_edge: <value in [disable, enable]>
2431 # dhcp_relay_allow_no_end_option: <value in [disable, enable]>
2432 # netflow_sample_rate: <integer>
2433 # netflow_sampler_id: <integer>
2434 # pppoe_egress_cos: <value in [cos0, cos1, cos2, ...]>
2435 # security_ip_auth_bypass: <value in [disable, enable]>
2436 # virtual_mac: <string>
2437 # dhcp_relay_vrf_select: <integer>
2438 # exclude_signatures: ["iot", "ot"]
2439 # profiles: ["8a", "8b", "8c", "8d", "12a", "12b", "17a", "30a", "35b"]
2440 # telemetry_discover: <value in [disable, enable]>
2441 # mrru: <integer>
2442 # multilink: <value in [disable, enable]>
2443 '''
2444
2445 RETURN = '''
2446 meta:
2447 description: The result of the request.
2448 type: dict
2449 returned: always
2450 contains:
2451 request_url:
2452 description: The full url requested.
2453 returned: always
2454 type: str
2455 sample: /sys/login/user
2456 response_code:
2457 description: The status of api request.
2458 returned: always
2459 type: int
2460 sample: 0
2461 response_data:
2462 description: The api response.
2463 type: list
2464 returned: always
2465 response_message:
2466 description: The descriptive message of the api response.
2467 type: str
2468 returned: always
2469 sample: OK.
2470 system_information:
2471 description: The information of the target system.
2472 type: dict
2473 returned: always
2474 rc:
2475 description: The status the request.
2476 type: int
2477 returned: always
2478 sample: 0
2479 version_check_warning:
2480 description: Warning if the parameters used in the playbook are not supported by the current FortiManager version.
2481 type: list
2482 returned: complex
2483 '''
2484 from ansible.module_utils.basic import AnsibleModule
2485 from ansible.module_utils.connection import Connection
2486 from ansible_collections.fortinet.fortimanager.plugins.module_utils.napi import NAPIManager, check_galaxy_version, check_parameter_bypass
2487 from ansible_collections.fortinet.fortimanager.plugins.module_utils.common import get_module_arg_spec
2488
2489
2490 def main():
2491 urls_list = [
2492 '/pm/config/adom/{adom}/obj/fsp/vlan/{vlan}/interface',
2493 '/pm/config/global/obj/fsp/vlan/{vlan}/interface'
2494 ]
2495 module_arg_spec = {
2496 'adom': {'required': True, 'type': 'str'},
2497 'vlan': {'required': True, 'type': 'str'},
2498 'revision_note': {'type': 'str'},
2499 'fsp_vlan_interface': {
2500 'type': 'dict', 'v_range': [['6.0.0', '']],
2501 'options': {
2502 'ac-name': {'type': 'str'},
2503 'aggregate': {'type': 'str'},
2504 'algorithm': {'choices': ['L2', 'L3', 'L4', 'LB', 'Source-MAC', 'NPU-GRE'], 'type': 'str'},
2505 'alias': {'type': 'str'},
2506 'allowaccess': {
2507 'type': 'list',
2508 'choices': [
2509 'https', 'ping', 'ssh', 'snmp', 'http', 'telnet', 'fgfm', 'auto-ipsec', 'radius-acct', 'probe-response', 'capwap', 'dnp', 'ftm',
2510 'fabric', 'speed-test'
2511 ],
2512 'elements': 'str'
2513 },
2514 'ap-discover': {'choices': ['disable', 'enable'], 'type': 'str'},
2515 'arpforward': {'choices': ['disable', 'enable'], 'type': 'str'},
2516 'atm-protocol': {'choices': ['none', 'ipoa'], 'type': 'str'},
2517 'auth-type': {'choices': ['auto', 'pap', 'chap', 'mschapv1', 'mschapv2'], 'type': 'str'},
2518 'auto-auth-extension-device': {'choices': ['disable', 'enable'], 'type': 'str'},
2519 'bfd': {'choices': ['global', 'enable', 'disable'], 'type': 'str'},
2520 'bfd-desired-min-tx': {'type': 'int'},
2521 'bfd-detect-mult': {'type': 'int'},
2522 'bfd-required-min-rx': {'type': 'int'},
2523 'broadcast-forticlient-discovery': {'choices': ['disable', 'enable'], 'type': 'str'},
2524 'broadcast-forward': {'choices': ['disable', 'enable'], 'type': 'str'},
2525 'captive-portal': {'type': 'int'},
2526 'cli-conn-status': {'type': 'int'},
2527 'color': {'type': 'int'},
2528 'ddns': {'choices': ['disable', 'enable'], 'type': 'str'},
2529 'ddns-auth': {'choices': ['disable', 'tsig'], 'type': 'str'},
2530 'ddns-domain': {'type': 'str'},
2531 'ddns-key': {'no_log': True, 'type': 'raw'},
2532 'ddns-keyname': {'no_log': True, 'type': 'str'},
2533 'ddns-password': {'no_log': True, 'type': 'raw'},
2534 'ddns-server': {
2535 'choices': [
2536 'dhs.org', 'dyndns.org', 'dyns.net', 'tzo.com', 'ods.org', 'vavic.com', 'now.net.cn', 'dipdns.net', 'easydns.com', 'genericDDNS'
2537 ],
2538 'type': 'str'
2539 },
2540 'ddns-server-ip': {'type': 'str'},
2541 'ddns-sn': {'type': 'str'},
2542 'ddns-ttl': {'type': 'int'},
2543 'ddns-username': {'type': 'str'},
2544 'ddns-zone': {'type': 'str'},
2545 'dedicated-to': {'choices': ['none', 'management'], 'type': 'str'},
2546 'defaultgw': {'choices': ['disable', 'enable'], 'type': 'str'},
2547 'description': {'type': 'str'},
2548 'detected-peer-mtu': {'type': 'int'},
2549 'detectprotocol': {'type': 'list', 'choices': ['ping', 'tcp-echo', 'udp-echo'], 'elements': 'str'},
2550 'detectserver': {'type': 'str'},
2551 'device-access-list': {'type': 'raw'},
2552 'device-identification': {'choices': ['disable', 'enable'], 'type': 'str'},
2553 'device-identification-active-scan': {'choices': ['disable', 'enable'], 'type': 'str'},
2554 'device-netscan': {'choices': ['disable', 'enable'], 'type': 'str'},
2555 'device-user-identification': {'choices': ['disable', 'enable'], 'type': 'str'},
2556 'devindex': {'type': 'int'},
2557 'dhcp-client-identifier': {'type': 'str'},
2558 'dhcp-relay-agent-option': {'choices': ['disable', 'enable'], 'type': 'str'},
2559 'dhcp-relay-ip': {'type': 'raw'},
2560 'dhcp-relay-service': {'choices': ['disable', 'enable'], 'type': 'str'},
2561 'dhcp-relay-type': {'choices': ['regular', 'ipsec'], 'type': 'str'},
2562 'dhcp-renew-time': {'type': 'int'},
2563 'disc-retry-timeout': {'type': 'int'},
2564 'disconnect-threshold': {'type': 'int'},
2565 'distance': {'type': 'int'},
2566 'dns-query': {'choices': ['disable', 'recursive', 'non-recursive'], 'type': 'str'},
2567 'dns-server-override': {'choices': ['disable', 'enable'], 'type': 'str'},
2568 'drop-fragment': {'choices': ['disable', 'enable'], 'type': 'str'},
2569 'drop-overlapped-fragment': {'choices': ['disable', 'enable'], 'type': 'str'},
2570 'egress-cos': {'choices': ['disable', 'cos0', 'cos1', 'cos2', 'cos3', 'cos4', 'cos5', 'cos6', 'cos7'], 'type': 'str'},
2571 'egress-shaping-profile': {'type': 'str'},
2572 'endpoint-compliance': {'choices': ['disable', 'enable'], 'type': 'str'},
2573 'estimated-downstream-bandwidth': {'type': 'int'},
2574 'estimated-upstream-bandwidth': {'type': 'int'},
2575 'explicit-ftp-proxy': {'choices': ['disable', 'enable'], 'type': 'str'},
2576 'explicit-web-proxy': {'choices': ['disable', 'enable'], 'type': 'str'},
2577 'external': {'choices': ['disable', 'enable'], 'type': 'str'},
2578 'fail-action-on-extender': {'choices': ['soft-restart', 'hard-restart', 'reboot'], 'type': 'str'},
2579 'fail-alert-interfaces': {'type': 'raw'},
2580 'fail-alert-method': {'choices': ['link-failed-signal', 'link-down'], 'type': 'str'},
2581 'fail-detect': {'choices': ['disable', 'enable'], 'type': 'str'},
2582 'fail-detect-option': {'type': 'list', 'choices': ['detectserver', 'link-down'], 'elements': 'str'},
2583 'fdp': {'choices': ['disable', 'enable'], 'type': 'str'},
2584 'fortiheartbeat': {'choices': ['disable', 'enable'], 'type': 'str'},
2585 'fortilink': {'choices': ['disable', 'enable'], 'type': 'str'},
2586 'fortilink-backup-link': {'type': 'int'},
2587 'fortilink-split-interface': {'choices': ['disable', 'enable'], 'type': 'str'},
2588 'fortilink-stacking': {'choices': ['disable', 'enable'], 'type': 'str'},
2589 'forward-domain': {'type': 'int'},
2590 'forward-error-correction': {
2591 'choices': [
2592 'disable', 'enable', 'rs-fec', 'base-r-fec', 'fec-cl91', 'fec-cl74', 'rs-544', 'none', 'cl91-rs-fec', 'cl74-fc-fec', 'auto',
2593 'rs-fec544'
2594 ],
2595 'type': 'str'
2596 },
2597 'fp-anomaly': {
2598 'type': 'list',
2599 'choices': [
2600 'drop_tcp_fin_noack', 'pass_winnuke', 'pass_tcpland', 'pass_udpland', 'pass_icmpland', 'pass_ipland', 'pass_iprr', 'pass_ipssrr',
2601 'pass_iplsrr', 'pass_ipstream', 'pass_ipsecurity', 'pass_iptimestamp', 'pass_ipunknown_option', 'pass_ipunknown_prot',
2602 'pass_icmp_frag', 'pass_tcp_no_flag', 'pass_tcp_fin_noack', 'drop_winnuke', 'drop_tcpland', 'drop_udpland', 'drop_icmpland',
2603 'drop_ipland', 'drop_iprr', 'drop_ipssrr', 'drop_iplsrr', 'drop_ipstream', 'drop_ipsecurity', 'drop_iptimestamp',
2604 'drop_ipunknown_option', 'drop_ipunknown_prot', 'drop_icmp_frag', 'drop_tcp_no_flag'
2605 ],
2606 'elements': 'str'
2607 },
2608 'fp-disable': {'type': 'list', 'choices': ['all', 'ipsec', 'none'], 'elements': 'str'},
2609 'gateway-address': {'type': 'str'},
2610 'gi-gk': {'choices': ['disable', 'enable'], 'type': 'str'},
2611 'gwaddr': {'v_range': [['6.0.0', '7.2.0']], 'type': 'str'},
2612 'gwdetect': {'choices': ['disable', 'enable'], 'type': 'str'},
2613 'ha-priority': {'type': 'int'},
2614 'icmp-accept-redirect': {'choices': ['disable', 'enable'], 'type': 'str'},
2615 'icmp-redirect': {'choices': ['disable', 'enable'], 'type': 'str'},
2616 'icmp-send-redirect': {'choices': ['disable', 'enable'], 'type': 'str'},
2617 'ident-accept': {'choices': ['disable', 'enable'], 'type': 'str'},
2618 'idle-timeout': {'type': 'int'},
2619 'if-mdix': {'choices': ['auto', 'normal', 'crossover'], 'type': 'str'},
2620 'if-media': {'choices': ['auto', 'copper', 'fiber'], 'type': 'str'},
2621 'in-force-vlan-cos': {'type': 'int'},
2622 'inbandwidth': {'type': 'int'},
2623 'ingress-cos': {'choices': ['disable', 'cos0', 'cos1', 'cos2', 'cos3', 'cos4', 'cos5', 'cos6', 'cos7'], 'type': 'str'},
2624 'ingress-spillover-threshold': {'type': 'int'},
2625 'internal': {'type': 'int'},
2626 'ip': {'type': 'str'},
2627 'ipmac': {'choices': ['disable', 'enable'], 'type': 'str'},
2628 'ips-sniffer-mode': {'choices': ['disable', 'enable'], 'type': 'str'},
2629 'ipunnumbered': {'type': 'str'},
2630 'ipv6': {
2631 'type': 'dict',
2632 'options': {
2633 'autoconf': {'choices': ['disable', 'enable'], 'type': 'str'},
2634 'dhcp6-client-options': {'type': 'list', 'choices': ['rapid', 'iapd', 'iana', 'dns', 'dnsname'], 'elements': 'str'},
2635 'dhcp6-information-request': {'choices': ['disable', 'enable'], 'type': 'str'},
2636 'dhcp6-prefix-delegation': {'choices': ['disable', 'enable'], 'type': 'str'},
2637 'dhcp6-prefix-hint': {'type': 'str'},
2638 'dhcp6-prefix-hint-plt': {'type': 'int'},
2639 'dhcp6-prefix-hint-vlt': {'type': 'int'},
2640 'dhcp6-relay-ip': {'type': 'str'},
2641 'dhcp6-relay-service': {'choices': ['disable', 'enable'], 'type': 'str'},
2642 'dhcp6-relay-type': {'choices': ['regular'], 'type': 'str'},
2643 'ip6-address': {'type': 'str'},
2644 'ip6-allowaccess': {
2645 'type': 'list',
2646 'choices': ['https', 'ping', 'ssh', 'snmp', 'http', 'telnet', 'fgfm', 'capwap', 'fabric'],
2647 'elements': 'str'
2648 },
2649 'ip6-default-life': {'type': 'int'},
2650 'ip6-dns-server-override': {'choices': ['disable', 'enable'], 'type': 'str'},
2651 'ip6-hop-limit': {'type': 'int'},
2652 'ip6-link-mtu': {'type': 'int'},
2653 'ip6-manage-flag': {'choices': ['disable', 'enable'], 'type': 'str'},
2654 'ip6-max-interval': {'type': 'int'},
2655 'ip6-min-interval': {'type': 'int'},
2656 'ip6-mode': {'choices': ['static', 'dhcp', 'pppoe', 'delegated'], 'type': 'str'},
2657 'ip6-other-flag': {'choices': ['disable', 'enable'], 'type': 'str'},
2658 'ip6-reachable-time': {'type': 'int'},
2659 'ip6-retrans-time': {'type': 'int'},
2660 'ip6-send-adv': {'choices': ['disable', 'enable'], 'type': 'str'},
2661 'ip6-subnet': {'type': 'str'},
2662 'ip6-upstream-interface': {'type': 'str'},
2663 'nd-cert': {'type': 'str'},
2664 'nd-cga-modifier': {'type': 'str'},
2665 'nd-mode': {'choices': ['basic', 'SEND-compatible'], 'type': 'str'},
2666 'nd-security-level': {'type': 'int'},
2667 'nd-timestamp-delta': {'type': 'int'},
2668 'nd-timestamp-fuzz': {'type': 'int'},
2669 'vrip6_link_local': {'type': 'str'},
2670 'vrrp-virtual-mac6': {'choices': ['disable', 'enable'], 'type': 'str'},
2671 'ip6-delegated-prefix-list': {
2672 'v_range': [['6.2.2', '']],
2673 'type': 'list',
2674 'options': {
2675 'autonomous-flag': {'v_range': [['6.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2676 'onlink-flag': {'v_range': [['6.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2677 'prefix-id': {'v_range': [['6.2.2', '']], 'type': 'int'},
2678 'rdnss': {'v_range': [['6.2.2', '']], 'type': 'raw'},
2679 'rdnss-service': {'v_range': [['6.2.2', '']], 'choices': ['delegated', 'default', 'specify'], 'type': 'str'},
2680 'subnet': {'v_range': [['6.2.2', '']], 'type': 'str'},
2681 'upstream-interface': {'v_range': [['6.2.2', '']], 'type': 'str'},
2682 'delegated-prefix-iaid': {'v_range': [['7.0.2', '']], 'type': 'int'},
2683 'dnssl-service': {'v_range': [['7.6.5', '']], 'choices': ['disable', 'enable'], 'type': 'str'}
2684 },
2685 'elements': 'dict'
2686 },
2687 'ip6-extra-addr': {
2688 'v_range': [['6.2.2', '']],
2689 'type': 'list',
2690 'options': {'prefix': {'v_range': [['6.2.2', '']], 'type': 'str'}},
2691 'elements': 'dict'
2692 },
2693 'ip6-prefix-list': {
2694 'v_range': [['6.2.2', '']],
2695 'type': 'list',
2696 'options': {
2697 'autonomous-flag': {'v_range': [['6.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2698 'dnssl': {'v_range': [['6.2.2', '']], 'type': 'raw'},
2699 'onlink-flag': {'v_range': [['6.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2700 'preferred-life-time': {'v_range': [['6.2.2', '']], 'type': 'int'},
2701 'prefix': {'v_range': [['6.2.2', '']], 'type': 'str'},
2702 'rdnss': {'v_range': [['6.2.2', '']], 'type': 'raw'},
2703 'valid-life-time': {'v_range': [['6.2.2', '']], 'type': 'int'}
2704 },
2705 'elements': 'dict'
2706 },
2707 'vrrp6': {
2708 'v_range': [['6.2.2', '']],
2709 'type': 'list',
2710 'options': {
2711 'accept-mode': {'v_range': [['6.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2712 'adv-interval': {'v_range': [['6.2.2', '']], 'type': 'int'},
2713 'preempt': {'v_range': [['6.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2714 'priority': {'v_range': [['6.2.2', '']], 'type': 'int'},
2715 'start-time': {'v_range': [['6.2.2', '']], 'type': 'int'},
2716 'status': {'v_range': [['6.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2717 'vrdst6': {'v_range': [['6.2.2', '']], 'type': 'str'},
2718 'vrgrp': {'v_range': [['6.2.2', '']], 'type': 'int'},
2719 'vrid': {'v_range': [['6.2.2', '']], 'type': 'int'},
2720 'vrip6': {'v_range': [['6.2.2', '']], 'type': 'str'},
2721 'ignore-default-route': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2722 'vrdst-priority': {'v_range': [['7.6.0', '']], 'type': 'int'}
2723 },
2724 'elements': 'dict'
2725 },
2726 'interface-identifier': {'v_range': [['6.4.1', '']], 'type': 'str'},
2727 'unique-autoconf-addr': {'v_range': [['6.4.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2728 'icmp6-send-redirect': {'v_range': [['6.4.4', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2729 'cli-conn6-status': {'v_range': [['7.0.0', '']], 'type': 'int'},
2730 'ip6-prefix-mode': {'v_range': [['7.0.0', '']], 'choices': ['dhcp6', 'ra'], 'type': 'str'},
2731 'ra-send-mtu': {'v_range': [['6.4.6', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2732 'ip6-delegated-prefix-iaid': {'v_range': [['7.0.2', '']], 'type': 'int'},
2733 'dhcp6-relay-source-interface': {'v_range': [['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2734 'dhcp6-relay-interface-id': {'v_range': [['7.4.1', '']], 'type': 'str'},
2735 'dhcp6-relay-source-ip': {'v_range': [['7.4.1', '']], 'type': 'str'},
2736 'ip6-adv-rio': {'v_range': [['7.6.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2737 'ip6-route-pref': {'v_range': [['7.6.2', '']], 'choices': ['medium', 'high', 'low'], 'type': 'str'}
2738 }
2739 },
2740 'l2forward': {'choices': ['disable', 'enable'], 'type': 'str'},
2741 'l2tp-client': {'choices': ['disable', 'enable'], 'type': 'str'},
2742 'lacp-ha-slave': {'choices': ['disable', 'enable'], 'type': 'str'},
2743 'lacp-mode': {'choices': ['static', 'passive', 'active'], 'type': 'str'},
2744 'lacp-speed': {'choices': ['slow', 'fast'], 'type': 'str'},
2745 'lcp-echo-interval': {'type': 'int'},
2746 'lcp-max-echo-fails': {'type': 'int'},
2747 'link-up-delay': {'type': 'int'},
2748 'listen-forticlient-connection': {'choices': ['disable', 'enable'], 'type': 'str'},
2749 'lldp-network-policy': {'type': 'str'},
2750 'lldp-reception': {'choices': ['disable', 'enable', 'vdom'], 'type': 'str'},
2751 'lldp-transmission': {'choices': ['enable', 'disable', 'vdom'], 'type': 'str'},
2752 'log': {'choices': ['disable', 'enable'], 'type': 'str'},
2753 'macaddr': {'type': 'str'},
2754 'management-ip': {'type': 'str'},
2755 'max-egress-burst-rate': {'type': 'int'},
2756 'max-egress-rate': {'type': 'int'},
2757 'mediatype': {
2758 'choices': [
2759 'serdes-sfp', 'sgmii-sfp', 'cfp2-sr10', 'cfp2-lr4', 'serdes-copper-sfp', 'sr', 'cr', 'lr', 'qsfp28-sr4', 'qsfp28-lr4',
2760 'qsfp28-cr4', 'sr4', 'cr4', 'lr4', 'none', 'gmii', 'sgmii', 'sr2', 'lr2', 'cr2', 'sr8', 'lr8', 'cr8', 'dr', 'sr-lr', 'kr'
2761 ],
2762 'type': 'str'
2763 },
2764 'member': {'type': 'raw'},
2765 'min-links': {'type': 'int'},
2766 'min-links-down': {'choices': ['operational', 'administrative'], 'type': 'str'},
2767 'mode': {'choices': ['static', 'dhcp', 'pppoe', 'pppoa', 'ipoa', 'eoa'], 'type': 'str'},
2768 'mtu': {'type': 'int'},
2769 'mtu-override': {'choices': ['disable', 'enable'], 'type': 'str'},
2770 'mux-type': {'choices': ['llc-encaps', 'vc-encaps'], 'type': 'str'},
2771 'name': {'type': 'str'},
2772 'ndiscforward': {'choices': ['disable', 'enable'], 'type': 'str'},
2773 'netbios-forward': {'choices': ['disable', 'enable'], 'type': 'str'},
2774 'netflow-sampler': {'choices': ['disable', 'tx', 'rx', 'both'], 'type': 'str'},
2775 'npu-fastpath': {'choices': ['disable', 'enable'], 'type': 'str'},
2776 'nst': {'choices': ['disable', 'enable'], 'type': 'str'},
2777 'out-force-vlan-cos': {'type': 'int'},
2778 'outbandwidth': {'type': 'int'},
2779 'padt-retry-timeout': {'type': 'int'},
2780 'password': {'no_log': True, 'type': 'raw'},
2781 'peer-interface': {'type': 'raw'},
2782 'phy-mode': {
2783 'choices': ['auto', 'adsl', 'vdsl', 'adsl-auto', 'vdsl2', 'adsl2+', 'adsl2', 'g.dmt', 't1.413', 'g.lite', 'g-dmt', 't1-413', 'g-lite'],
2784 'type': 'str'
2785 },
2786 'ping-serv-status': {'v_range': [['6.0.0', '7.2.0']], 'type': 'int'},
2787 'poe': {'choices': ['disable', 'enable'], 'type': 'str'},
2788 'polling-interval': {'type': 'int'},
2789 'pppoe-unnumbered-negotiate': {'choices': ['disable', 'enable'], 'type': 'str'},
2790 'pptp-auth-type': {'choices': ['auto', 'pap', 'chap', 'mschapv1', 'mschapv2'], 'type': 'str'},
2791 'pptp-client': {'choices': ['disable', 'enable'], 'type': 'str'},
2792 'pptp-password': {'no_log': True, 'type': 'raw'},
2793 'pptp-server-ip': {'type': 'str'},
2794 'pptp-timeout': {'type': 'int'},
2795 'pptp-user': {'type': 'str'},
2796 'preserve-session-route': {'choices': ['disable', 'enable'], 'type': 'str'},
2797 'priority': {'type': 'int'},
2798 'priority-override': {'choices': ['disable', 'enable'], 'type': 'str'},
2799 'proxy-captive-portal': {'choices': ['disable', 'enable'], 'type': 'str'},
2800 'redundant-interface': {'type': 'str'},
2801 'remote-ip': {'type': 'str'},
2802 'replacemsg-override-group': {'type': 'str'},
2803 'retransmission': {'choices': ['disable', 'enable'], 'type': 'str'},
2804 'role': {'choices': ['lan', 'wan', 'dmz', 'undefined'], 'type': 'str'},
2805 'sample-direction': {'choices': ['rx', 'tx', 'both'], 'type': 'str'},
2806 'sample-rate': {'type': 'int'},
2807 'scan-botnet-connections': {'choices': ['disable', 'block', 'monitor'], 'type': 'str'},
2808 'secondary-IP': {'choices': ['disable', 'enable'], 'type': 'str'},
2809 'secondaryip': {
2810 'type': 'list',
2811 'options': {
2812 'allowaccess': {
2813 'type': 'list',
2814 'choices': [
2815 'https', 'ping', 'ssh', 'snmp', 'http', 'telnet', 'fgfm', 'auto-ipsec', 'radius-acct', 'probe-response', 'capwap', 'dnp',
2816 'ftm', 'fabric', 'speed-test', 'icond', 'scim'
2817 ],
2818 'elements': 'str'
2819 },
2820 'detectprotocol': {
2821 'v_range': [['6.0.0', '7.2.0']],
2822 'type': 'list',
2823 'choices': ['ping', 'tcp-echo', 'udp-echo'],
2824 'elements': 'str'
2825 },
2826 'detectserver': {'v_range': [['6.0.0', '7.2.0']], 'type': 'str'},
2827 'gwdetect': {'v_range': [['6.0.0', '7.2.0']], 'choices': ['disable', 'enable'], 'type': 'str'},
2828 'ha-priority': {'v_range': [['6.0.0', '7.2.0']], 'type': 'int'},
2829 'id': {'type': 'int'},
2830 'ip': {'type': 'str'},
2831 'ping-serv-status': {'v_range': [['6.0.0', '7.2.0']], 'type': 'int'},
2832 'seq': {'type': 'int'},
2833 'secip-relay-ip': {'v_range': [['7.4.0', '']], 'type': 'str'}
2834 },
2835 'elements': 'dict'
2836 },
2837 'security-8021x-dynamic-vlan-id': {'type': 'int'},
2838 'security-8021x-master': {'type': 'str'},
2839 'security-8021x-mode': {'choices': ['default', 'dynamic-vlan', 'fallback', 'slave'], 'type': 'str'},
2840 'security-exempt-list': {'type': 'str'},
2841 'security-external-logout': {'type': 'str'},
2842 'security-external-web': {'type': 'str'},
2843 'security-groups': {'type': 'raw'},
2844 'security-mac-auth-bypass': {'choices': ['disable', 'enable', 'mac-auth-only'], 'type': 'str'},
2845 'security-mode': {'choices': ['none', 'captive-portal', '802.1X'], 'type': 'str'},
2846 'security-redirect-url': {'type': 'str'},
2847 'service-name': {'type': 'str'},
2848 'sflow-sampler': {'choices': ['disable', 'enable'], 'type': 'str'},
2849 'speed': {
2850 'choices': [
2851 'auto', '10full', '10half', '100full', '100half', '1000full', '1000half', '10000full', '1000auto', '10000auto', '40000full',
2852 '100Gfull', '25000full', '40000auto', '25000auto', '100Gauto', '400Gfull', '400Gauto', '50000full', '2500auto', '5000auto',
2853 '50000auto', '200Gfull', '200Gauto', '100auto'
2854 ],
2855 'type': 'str'
2856 },
2857 'spillover-threshold': {'type': 'int'},
2858 'src-check': {'choices': ['disable', 'enable'], 'type': 'str'},
2859 'status': {'choices': ['down', 'up'], 'type': 'str'},
2860 'stp': {'choices': ['disable', 'enable'], 'type': 'str'},
2861 'stp-ha-slave': {'choices': ['disable', 'enable', 'priority-adjust'], 'type': 'str'},
2862 'stpforward': {'choices': ['disable', 'enable'], 'type': 'str'},
2863 'stpforward-mode': {'choices': ['rpl-all-ext-id', 'rpl-bridge-ext-id', 'rpl-nothing'], 'type': 'str'},
2864 'strip-priority-vlan-tag': {'choices': ['disable', 'enable'], 'type': 'str'},
2865 'subst': {'choices': ['disable', 'enable'], 'type': 'str'},
2866 'substitute-dst-mac': {'type': 'str'},
2867 'switch': {'type': 'str'},
2868 'switch-controller-access-vlan': {'choices': ['disable', 'enable'], 'type': 'str'},
2869 'switch-controller-arp-inspection': {'choices': ['disable', 'enable', 'monitor'], 'type': 'str'},
2870 'switch-controller-auth': {'choices': ['radius', 'usergroup'], 'type': 'str'},
2871 'switch-controller-dhcp-snooping': {'choices': ['disable', 'enable'], 'type': 'str'},
2872 'switch-controller-dhcp-snooping-option82': {'choices': ['disable', 'enable'], 'type': 'str'},
2873 'switch-controller-dhcp-snooping-verify-mac': {'choices': ['disable', 'enable'], 'type': 'str'},
2874 'switch-controller-igmp-snooping': {'choices': ['disable', 'enable'], 'type': 'str'},
2875 'switch-controller-learning-limit': {'type': 'int'},
2876 'switch-controller-radius-server': {'type': 'str'},
2877 'switch-controller-traffic-policy': {'type': 'str'},
2878 'tc-mode': {'choices': ['ptm', 'atm'], 'type': 'str'},
2879 'tcp-mss': {'type': 'int'},
2880 'trunk': {'choices': ['disable', 'enable'], 'type': 'str'},
2881 'trust-ip-1': {'type': 'str'},
2882 'trust-ip-2': {'type': 'str'},
2883 'trust-ip-3': {'type': 'str'},
2884 'trust-ip6-1': {'type': 'str'},
2885 'trust-ip6-2': {'type': 'str'},
2886 'trust-ip6-3': {'type': 'str'},
2887 'type': {
2888 'choices': [
2889 'physical', 'vlan', 'aggregate', 'redundant', 'tunnel', 'wireless', 'vdom-link', 'loopback', 'switch', 'hard-switch', 'hdlc',
2890 'vap-switch', 'wl-mesh', 'fortilink', 'switch-vlan', 'fctrl-trunk', 'tdm', 'fext-wan', 'vxlan', 'emac-vlan', 'geneve', 'ssl',
2891 'lan-extension'
2892 ],
2893 'type': 'str'
2894 },
2895 'username': {'type': 'str'},
2896 'vci': {'type': 'int'},
2897 'vectoring': {'choices': ['disable', 'enable'], 'type': 'str'},
2898 'vindex': {'type': 'int'},
2899 'vlanforward': {'choices': ['disable', 'enable'], 'type': 'str'},
2900 'vlanid': {'type': 'int'},
2901 'vpi': {'type': 'int'},
2902 'vrf': {'type': 'int'},
2903 'vrrp': {
2904 'type': 'list',
2905 'options': {
2906 'accept-mode': {'choices': ['disable', 'enable'], 'type': 'str'},
2907 'adv-interval': {'type': 'int'},
2908 'ignore-default-route': {'choices': ['disable', 'enable'], 'type': 'str'},
2909 'preempt': {'choices': ['disable', 'enable'], 'type': 'str'},
2910 'priority': {'type': 'int'},
2911 'start-time': {'type': 'int'},
2912 'status': {'choices': ['disable', 'enable'], 'type': 'str'},
2913 'version': {'choices': ['2', '3'], 'type': 'str'},
2914 'vrdst': {'type': 'raw'},
2915 'vrdst-priority': {'type': 'int'},
2916 'vrgrp': {'type': 'int'},
2917 'vrid': {'type': 'int'},
2918 'vrip': {'type': 'str'},
2919 'proxy-arp': {
2920 'v_range': [['7.4.0', '']],
2921 'type': 'list',
2922 'options': {'id': {'v_range': [['7.4.0', '']], 'type': 'int'}, 'ip': {'v_range': [['7.4.0', '']], 'type': 'str'}},
2923 'elements': 'dict'
2924 }
2925 },
2926 'elements': 'dict'
2927 },
2928 'vrrp-virtual-mac': {'choices': ['disable', 'enable'], 'type': 'str'},
2929 'wccp': {'choices': ['disable', 'enable'], 'type': 'str'},
2930 'weight': {'type': 'int'},
2931 'wifi-5g-threshold': {'type': 'str'},
2932 'wifi-acl': {'choices': ['deny', 'allow'], 'type': 'str'},
2933 'wifi-ap-band': {'choices': ['any', '5g-preferred', '5g-only'], 'type': 'str'},
2934 'wifi-auth': {'choices': ['PSK', 'RADIUS', 'radius', 'usergroup'], 'type': 'str'},
2935 'wifi-auto-connect': {'choices': ['disable', 'enable'], 'type': 'str'},
2936 'wifi-auto-save': {'choices': ['disable', 'enable'], 'type': 'str'},
2937 'wifi-broadcast-ssid': {'choices': ['disable', 'enable'], 'type': 'str'},
2938 'wifi-encrypt': {'choices': ['TKIP', 'AES'], 'type': 'str'},
2939 'wifi-fragment-threshold': {'type': 'int'},
2940 'wifi-key': {'no_log': True, 'type': 'raw'},
2941 'wifi-keyindex': {'no_log': True, 'type': 'int'},
2942 'wifi-mac-filter': {'choices': ['disable', 'enable'], 'type': 'str'},
2943 'wifi-passphrase': {'no_log': True, 'type': 'raw'},
2944 'wifi-radius-server': {'type': 'str'},
2945 'wifi-rts-threshold': {'type': 'int'},
2946 'wifi-security': {
2947 'choices': [
2948 'None', 'WEP64', 'wep64', 'WEP128', 'wep128', 'WPA_PSK', 'WPA_RADIUS', 'WPA', 'WPA2', 'WPA2_AUTO', 'open', 'wpa-personal',
2949 'wpa-enterprise', 'wpa-only-personal', 'wpa-only-enterprise', 'wpa2-only-personal', 'wpa2-only-enterprise'
2950 ],
2951 'type': 'str'
2952 },
2953 'wifi-ssid': {'type': 'str'},
2954 'wifi-usergroup': {'type': 'str'},
2955 'wins-ip': {'type': 'str'},
2956 'eip': {'v_range': [['6.2.1', '']], 'type': 'str'},
2957 'fortilink-neighbor-detect': {'v_range': [['6.2.1', '']], 'choices': ['lldp', 'fortilink'], 'type': 'str'},
2958 'ingress-shaping-profile': {'v_range': [['6.2.1', '']], 'type': 'str'},
2959 'ring-rx': {'v_range': [['6.2.1', '']], 'type': 'int'},
2960 'ring-tx': {'v_range': [['6.2.1', '']], 'type': 'int'},
2961 'switch-controller-igmp-snooping-fast-leave': {'v_range': [['6.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2962 'switch-controller-igmp-snooping-proxy': {'v_range': [['6.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2963 'switch-controller-rspan-mode': {'v_range': [['6.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2964 'bandwidth-measure-time': {'v_range': [['6.4.0', '']], 'type': 'int'},
2965 'ip-managed-by-fortiipam': {'v_range': [['6.4.0', '']], 'choices': ['disable', 'enable', 'inherit-global'], 'type': 'str'},
2966 'managed-subnetwork-size': {
2967 'v_range': [['6.4.0', '']],
2968 'choices': [
2969 '256', '512', '1024', '2048', '4096', '8192', '16384', '32768', '65536', '32', '64', '128', '4', '8', '16', '131072', '262144',
2970 '524288', '1048576', '2097152', '4194304', '8388608', '16777216'
2971 ],
2972 'type': 'str'
2973 },
2974 'measured-downstream-bandwidth': {'v_range': [['6.4.0', '']], 'type': 'int'},
2975 'measured-upstream-bandwidth': {'v_range': [['6.4.0', '']], 'type': 'int'},
2976 'monitor-bandwidth': {'v_range': [['6.4.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2977 'swc-vlan': {'v_range': [['6.4.0', '']], 'type': 'int'},
2978 'switch-controller-feature': {
2979 'v_range': [['6.4.0', '']],
2980 'choices': ['none', 'default-vlan', 'quarantine', 'sniffer', 'voice', 'camera', 'rspan', 'video', 'nac', 'nac-segment'],
2981 'type': 'str'
2982 },
2983 'switch-controller-mgmt-vlan': {'v_range': [['6.4.0', '']], 'type': 'int'},
2984 'switch-controller-nac': {'v_range': [['6.4.0', '']], 'type': 'str'},
2985 'vlan-protocol': {'v_range': [['6.4.0', '']], 'choices': ['8021q', '8021ad'], 'type': 'str'},
2986 'dhcp-relay-interface': {'v_range': [['6.2.6', '6.2.13'], ['6.4.2', '']], 'type': 'str'},
2987 'dhcp-relay-interface-select-method': {
2988 'v_range': [['6.2.6', '6.2.13'], ['6.4.2', '']],
2989 'choices': ['auto', 'sdwan', 'specify'],
2990 'type': 'str'
2991 },
2992 'np-qos-profile': {'v_range': [['6.2.7', '6.2.13'], ['6.4.4', '']], 'type': 'int'},
2993 'swc-first-create': {'v_range': [['6.4.3', '']], 'type': 'int'},
2994 'switch-controller-iot-scanning': {'v_range': [['6.4.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2995 'switch-controller-source-ip': {'v_range': [['6.4.3', '']], 'choices': ['outbound', 'fixed'], 'type': 'str'},
2996 'dhcp-relay-request-all-server': {'v_range': [['6.2.8', '6.2.13'], ['6.4.6', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
2997 'stp-ha-secondary': {'v_range': [['7.0.0', '']], 'choices': ['disable', 'enable', 'priority-adjust'], 'type': 'str'},
2998 'switch-controller-dynamic': {'v_range': [['7.0.0', '']], 'type': 'str'},
2999 'auth-cert': {'v_range': [['7.0.3', '']], 'type': 'str'},
3000 'auth-portal-addr': {'v_range': [['7.0.3', '']], 'type': 'str'},
3001 'dhcp-classless-route-addition': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3002 'dhcp-relay-link-selection': {'v_range': [['7.0.3', '']], 'type': 'str'},
3003 'dns-server-protocol': {'v_range': [['7.0.3', '']], 'type': 'list', 'choices': ['cleartext', 'dot', 'doh'], 'elements': 'str'},
3004 'eap-ca-cert': {'v_range': [['7.2.0', '']], 'type': 'str'},
3005 'eap-identity': {'v_range': [['7.2.0', '']], 'type': 'str'},
3006 'eap-method': {'v_range': [['7.2.0', '']], 'choices': ['tls', 'peap'], 'type': 'str'},
3007 'eap-password': {'v_range': [['7.2.0', '']], 'no_log': True, 'type': 'raw'},
3008 'eap-supplicant': {'v_range': [['7.2.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3009 'eap-user-cert': {'v_range': [['7.2.0', '']], 'type': 'str'},
3010 'ike-saml-server': {'v_range': [['7.2.0', '']], 'type': 'str'},
3011 'lacp-ha-secondary': {'v_range': [['7.0.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3012 'pvc-atm-qos': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'choices': ['cbr', 'rt-vbr', 'nrt-vbr', 'ubr'], 'type': 'str'},
3013 'pvc-chan': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'type': 'int'},
3014 'pvc-crc': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'type': 'int'},
3015 'pvc-pcr': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'type': 'int'},
3016 'pvc-scr': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'type': 'int'},
3017 'pvc-vlan-id': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'type': 'int'},
3018 'pvc-vlan-rx-id': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'type': 'int'},
3019 'pvc-vlan-rx-op': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'choices': ['pass-through', 'replace', 'remove'], 'type': 'str'},
3020 'pvc-vlan-tx-id': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'type': 'int'},
3021 'pvc-vlan-tx-op': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'choices': ['pass-through', 'replace', 'remove'], 'type': 'str'},
3022 'reachable-time': {'v_range': [['7.0.3', '']], 'type': 'int'},
3023 'select-profile-30a-35b': {
3024 'v_range': [['6.2.9', '6.2.13'], ['6.4.8', '6.4.15'], ['7.0.3', '']],
3025 'choices': ['30A', '35B', '30a', '35b'],
3026 'type': 'str'
3027 },
3028 'sfp-dsl': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3029 'sfp-dsl-adsl-fallback': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3030 'sfp-dsl-autodetect': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3031 'sfp-dsl-mac': {'v_range': [['6.4.8', '6.4.15'], ['7.0.2', '']], 'type': 'str'},
3032 'sw-algorithm': {'v_range': [['7.0.1', '']], 'choices': ['l2', 'l3', 'eh', 'default'], 'type': 'str'},
3033 'system-id': {'v_range': [['6.4.7', '6.4.15'], ['7.0.2', '']], 'type': 'str'},
3034 'system-id-type': {'v_range': [['6.4.7', '6.4.15'], ['7.0.2', '']], 'choices': ['auto', 'user'], 'type': 'str'},
3035 'vlan-id': {'v_range': [['6.2.9', '6.2.13'], ['6.4.8', '6.4.15'], ['7.0.3', '']], 'type': 'int'},
3036 'vlan-op-mode': {
3037 'v_range': [['6.2.9', '6.2.13'], ['6.4.8', '6.4.15'], ['7.0.3', '']],
3038 'choices': ['tag', 'untag', 'passthrough'],
3039 'type': 'str'
3040 },
3041 'generic-receive-offload': {'v_range': [['7.0.5', '7.0.16'], ['7.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3042 'interconnect-profile': {'v_range': [['7.0.5', '7.0.16'], ['7.2.1', '']], 'choices': ['default', 'profile1', 'profile2'], 'type': 'str'},
3043 'large-receive-offload': {'v_range': [['7.0.5', '7.0.16'], ['7.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3044 'annex': {
3045 'v_range': [['7.0.10', '7.0.16'], ['7.2.5', '7.2.12'], ['7.4.2', '']],
3046 'choices': ['a', 'b', 'j', 'bjm', 'i', 'al', 'm', 'aijlm', 'bj'],
3047 'type': 'str'
3048 },
3049 'aggregate-type': {'v_range': [['7.2.1', '']], 'choices': ['physical', 'vxlan'], 'type': 'str'},
3050 'switch-controller-netflow-collect': {'v_range': [['7.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3051 'wifi-dns-server1': {'v_range': [['7.2.2', '']], 'type': 'str'},
3052 'wifi-dns-server2': {'v_range': [['7.2.2', '']], 'type': 'str'},
3053 'wifi-gateway': {'v_range': [['7.2.2', '']], 'type': 'str'},
3054 'default-purdue-level': {'v_range': [['7.4.0', '']], 'choices': ['1', '2', '3', '4', '5', '1.5', '2.5', '3.5', '5.5'], 'type': 'str'},
3055 'dhcp-broadcast-flag': {'v_range': [['7.4.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3056 'dhcp-smart-relay': {'v_range': [['7.4.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3057 'switch-controller-offloading': {'v_range': [['7.4.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3058 'switch-controller-offloading-gw': {'v_range': [['7.4.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3059 'switch-controller-offloading-ip': {'v_range': [['7.4.0', '']], 'type': 'str'},
3060 'dhcp-relay-circuit-id': {'v_range': [['7.4.1', '']], 'type': 'str'},
3061 'dhcp-relay-source-ip': {'v_range': [['7.4.1', '']], 'type': 'str'},
3062 'switch-controller-offload': {'v_range': [['7.4.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3063 'switch-controller-offload-gw': {'v_range': [['7.4.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3064 'switch-controller-offload-ip': {'v_range': [['7.4.1', '']], 'type': 'str'},
3065 'mirroring-direction': {'v_range': [['7.4.2', '']], 'choices': ['rx', 'tx', 'both'], 'type': 'str'},
3066 'mirroring-port': {'v_range': [['7.4.2', '']], 'type': 'str'},
3067 'port-mirroring': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3068 'security-8021x-member-mode': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'switch'], 'type': 'str'},
3069 'stp-edge': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3070 'dhcp-relay-allow-no-end-option': {'v_range': [['7.4.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3071 'netflow-sample-rate': {'v_range': [['7.6.0', '']], 'type': 'int'},
3072 'netflow-sampler-id': {'v_range': [['7.6.0', '']], 'type': 'int'},
3073 'pppoe-egress-cos': {
3074 'v_range': [['7.4.4', '']],
3075 'choices': ['cos0', 'cos1', 'cos2', 'cos3', 'cos4', 'cos5', 'cos6', 'cos7'],
3076 'type': 'str'
3077 },
3078 'security-ip-auth-bypass': {'v_range': [['7.6.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3079 'virtual-mac': {'v_range': [['7.6.0', '']], 'type': 'str'},
3080 'dhcp-relay-vrf-select': {'v_range': [['7.6.2', '']], 'type': 'int'},
3081 'exclude-signatures': {'v_range': [['7.6.2', '']], 'type': 'list', 'choices': ['iot', 'ot'], 'elements': 'str'},
3082 'profiles': {
3083 'v_range': [['7.0.14', '7.0.16'], ['7.2.10', '7.2.12'], ['7.4.7', '7.4.10'], ['7.6.3', '']],
3084 'type': 'list',
3085 'choices': ['8a', '8b', '8c', '8d', '12a', '12b', '17a', '30a', '35b'],
3086 'elements': 'str'
3087 },
3088 'telemetry-discover': {'v_range': [['7.6.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'},
3089 'mrru': {'v_range': [['7.6.5', '']], 'type': 'int'},
3090 'multilink': {'v_range': [['7.6.5', '']], 'choices': ['disable', 'enable'], 'type': 'str'}
3091 }
3092 }
3093 }
3094
3095 module_option_spec = get_module_arg_spec('partial crud')
3096 module_arg_spec.update(module_option_spec)
3097 check_galaxy_version(module_arg_spec)
3098 module = AnsibleModule(argument_spec=check_parameter_bypass(module_arg_spec, 'fsp_vlan_interface'),
3099 supports_check_mode=True)
3100 if not module._socket_path:
3101 module.fail_json(msg='MUST RUN IN HTTPAPI MODE')
3102 connection = Connection(module._socket_path)
3103 fmgr = NAPIManager('partial crud', module_arg_spec, urls_list,
3104 None, 'data', module, connection)
3105 fmgr.process_partial_crud()
3106 module.exit_json(meta=module.params)
3107
3108
3109 if __name__ == '__main__':
3110 main()