:source: fortios_extension_controller_extender_vap.py
:orphan:
.. fortios_extension_controller_extender_vap:
fortios_extension_controller_extender_vap -- FortiExtender wifi vap configuration in Fortinet's FortiOS and FortiGate.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.. versionadded:: 2.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the user to set and modify extension_controller feature and extender_vap category. Examples include all parameters and values need to be adjusted to datasources before usage. Tested with FOS v6.0.0
Requirements
------------
The below requirements are needed on the host that executes this module.
- ansible>=2.16
Tips
----
Using member operation to add an element to an existing object.
FortiOS Version Compatibility
-----------------------------
Supported Version Ranges: v7.4.4 -> v7.6.6
Parameters
----------
.. raw:: html
- access_token - Token-based authentication. Generated from GUI of Fortigate. type: str required: false
- enable_log - Enable/Disable logging for task. type: bool required: false default: False
- vdom - Virtual domain, among those defined previously. A vdom is a virtual instance of the FortiGate that can be configured and used as a different unit. type: str default: root
- member_path - Member attribute path to operate on. type: str
- member_state - Add or delete a member under specified attribute path. type: str choices: present, absent
- state - Indicates whether to create or remove the object. type: str required: true choices: present, absent
- extension_controller_extender_vap - FortiExtender wifi vap configuration. type: dict
more...
| Supported Version Ranges |
| extension_controller_extender_vap |
v7.4.4 -> 7.6.6 |
- allowaccess - Control management access to the managed extender. Separate entries with a space. type: list choices: ping, telnet, http, https, ssh, snmp
more...
|
Supported Version Ranges |
| allowaccess |
v7.4.4 -> 7.6.6 |
| [ping] |
v7.4.4 -> 7.6.6 |
| [telnet] |
v7.4.4 -> 7.6.6 |
| [http] |
v7.4.4 -> 7.6.6 |
| [https] |
v7.4.4 -> 7.6.6 |
| [ssh] |
v7.4.4 -> 7.6.6 |
| [snmp] |
v7.4.4 -> 7.6.6 |
- auth_server_address - Wi-Fi Authentication Server Address (IPv4 format). type: str
more...
|
Supported Version Ranges |
| auth_server_address |
v7.4.4 -> 7.6.6 |
- auth_server_port - Wi-Fi Authentication Server Port. type: int
more...
|
Supported Version Ranges |
| auth_server_port |
v7.4.4 -> 7.6.6 |
- auth_server_secret - Wi-Fi Authentication Server Secret. type: str
more...
|
Supported Version Ranges |
| auth_server_secret |
v7.4.4 -> 7.6.6 |
- broadcast_ssid - Wi-Fi broadcast SSID enable / disable. type: str choices: disable, enable
more...
|
Supported Version Ranges |
| broadcast_ssid |
v7.4.4 -> 7.6.6 |
| [disable] |
v7.4.4 -> 7.6.6 |
| [enable] |
v7.4.4 -> 7.6.6 |
- bss_color_partial - Wi-Fi 802.11AX bss color partial enable / disable, default = enable. type: str choices: disable, enable
more...
|
Supported Version Ranges |
| bss_color_partial |
v7.4.4 -> 7.6.6 |
| [disable] |
v7.4.4 -> 7.6.6 |
| [enable] |
v7.4.4 -> 7.6.6 |
- dtim - Wi-Fi DTIM (1 - 255) default = 1. type: int
more...
|
Supported Version Ranges |
| dtim |
v7.4.4 -> 7.6.6 |
- end_ip - End ip address. type: str
more...
|
Supported Version Ranges |
| end_ip |
v7.4.4 -> 7.6.6 |
- ip_address - Extender ip address. type: str
more...
|
Supported Version Ranges |
| ip_address |
v7.4.4 -> 7.6.6 |
- max_clients - Wi-Fi max clients (0 - 512)) type: int
more...
|
Supported Version Ranges |
| max_clients |
v7.4.4 -> 7.6.6 |
- mu_mimo - Wi-Fi multi-user MIMO enable / disable, default = enable. type: str choices: disable, enable
more...
|
Supported Version Ranges |
| mu_mimo |
v7.4.4 -> 7.6.6 |
| [disable] |
v7.4.4 -> 7.6.6 |
| [enable] |
v7.4.4 -> 7.6.6 |
- name - Wi-Fi VAP name. type: str required: true
more...
|
Supported Version Ranges |
| name |
v7.4.4 -> 7.6.6 |
- passphrase - Wi-Fi passphrase. type: str
more...
|
Supported Version Ranges |
| passphrase |
v7.4.4 -> 7.6.6 |
- pmf - Wi-Fi pmf enable/disable, default = disable. type: str choices: disabled, optional, required
more...
|
Supported Version Ranges |
| pmf |
v7.4.4 -> 7.6.6 |
| [disabled] |
v7.4.4 -> 7.6.6 |
| [optional] |
v7.4.4 -> 7.6.6 |
| [required] |
v7.4.4 -> 7.6.6 |
- rts_threshold - Wi-Fi RTS Threshold (256 - 2347)). type: int
more...
|
Supported Version Ranges |
| rts_threshold |
v7.4.4 -> 7.6.6 |
- sae_password - Wi-Fi SAE Password. type: str
more...
|
Supported Version Ranges |
| sae_password |
v7.4.4 -> 7.6.6 |
- security - Wi-Fi security. type: str choices: OPEN, WPA2-Personal, WPA-WPA2-Personal, WPA3-SAE, WPA3-SAE-Transition, WPA2-Enterprise, WPA3-Enterprise-only, WPA3-Enterprise-transition, WPA3-Enterprise-192-bit
more...
|
Supported Version Ranges |
| security |
v7.4.4 -> 7.6.6 |
| [OPEN] |
v7.4.4 -> 7.6.6 |
| [WPA2-Personal] |
v7.4.4 -> 7.6.6 |
| [WPA-WPA2-Personal] |
v7.4.4 -> 7.6.6 |
| [WPA3-SAE] |
v7.4.4 -> 7.6.6 |
| [WPA3-SAE-Transition] |
v7.4.4 -> 7.6.6 |
| [WPA2-Enterprise] |
v7.4.4 -> 7.6.6 |
| [WPA3-Enterprise-only] |
v7.4.4 -> 7.6.6 |
| [WPA3-Enterprise-transition] |
v7.4.4 -> 7.6.6 |
| [WPA3-Enterprise-192-bit] |
v7.4.4 -> 7.6.6 |
- ssid - Wi-Fi SSID. type: str
more...
|
Supported Version Ranges |
| ssid |
v7.4.4 -> 7.6.6 |
- start_ip - Start ip address. type: str
more...
|
Supported Version Ranges |
| start_ip |
v7.4.4 -> 7.6.6 |
- target_wake_time - Wi-Fi 802.11AX target wake time enable / disable, default = enable. type: str choices: disable, enable
more...
|
Supported Version Ranges |
| target_wake_time |
v7.4.4 -> 7.6.6 |
| [disable] |
v7.4.4 -> 7.6.6 |
| [enable] |
v7.4.4 -> 7.6.6 |
- type - Wi-Fi VAP type local-vap / lan-extension-vap. type: str choices: local-vap, lan-ext-vap
more...
|
Supported Version Ranges |
| type |
v7.4.4 -> 7.6.6 |
| [local-vap] |
v7.4.4 -> 7.6.6 |
| [lan-ext-vap] |
v7.4.4 -> 7.6.6 |
Notes
-----
.. note::
- Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks
- The module supports check_mode.
Examples
--------
.. code-block:: yaml+jinja
- name: FortiExtender wifi vap configuration.
fortinet.fortios.fortios_extension_controller_extender_vap:
vdom: "{{ vdom }}"
state: "present"
access_token: ""
extension_controller_extender_vap:
allowaccess: "ping"
auth_server_address: ""
auth_server_port: "0"
auth_server_secret: ""
broadcast_ssid: "disable"
bss_color_partial: "disable"
dtim: "1"
end_ip: ""
ip_address: ""
max_clients: "0"
mu_mimo: "disable"
name: "default_name_14"
passphrase: ""
pmf: "disabled"
rts_threshold: "2347"
sae_password: ""
security: "OPEN"
ssid: ""
start_ip: ""
target_wake_time: "disable"
type: "local-vap"
Return Values
-------------
Common return values are documented: https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values, the following are the fields unique to this module:
.. raw:: html
- build - Build number of the fortigate image returned: always type: str sample: 1547
- http_method - Last method used to provision the content into FortiGate returned: always type: str sample: PUT
- http_status - Last result given by FortiGate on last operation applied returned: always type: str sample: 200
- mkey - Master key (id) used in the last call to FortiGate returned: success type: str sample: id
- name - Name of the table used to fulfill the request returned: always type: str sample: urlfilter
- path - Path of the table used to fulfill the request returned: always type: str sample: webfilter
- revision - Internal revision number returned: always type: str sample: 17.0.2.10658
- serial - Serial number of the unit returned: always type: str sample: FGVMEVYYQT3AB5352
- status - Indication of the operation's result returned: always type: str sample: success
- vdom - Virtual domain used returned: always type: str sample: root
- version - Version of the FortiGate returned: always type: str sample: v5.6.3
Status
------
- This module is not guaranteed to have a backwards compatible interface.
Authors
-------
- Link Zheng (@chillancezen)
- Jie Xue (@JieX19)
- Hongbin Lu (@fgtdev-hblu)
- Frank Shen (@frankshen01)
- Miguel Angel Munoz (@mamunozgonzalez)
- Nicolas Thomas (@thomnico)
.. hint::
If you notice any issues in this documentation, you can create a pull request to improve it.