fmgd_wireless_wtp_radio4 – Configuration options for radio 4.
Added in version 1.0.0.
Synopsis
This module is able to configure a FortiManager device.
Examples include all parameters and values need to be adjusted to data sources before usage.
Tested with FortiManager v7.x.
Requirements
The below requirements are needed on the host that executes this module.
ansible-core>=2.16.0
FortiManager Version Compatibility
Supported Version Ranges: v7.2.6 -> v7.2.12, v7.4.3 -> latest
Parameters
- access_token -The token to access FortiManager without using username and password. type: str required: false
- bypass_validation - Only set to True when module schema diffs with FortiManager API structure, module continues to execute without validating parameters. type: bool required: false default: False
- enable_log - Enable/Disable logging for task. type: bool required: false default: False
- forticloud_access_token - Access token of forticloud managed API users, this option is available with FortiManager later than 6.4.0. type: str required: false
- proposed_method - The overridden method for the underlying Json RPC request. type: str required: false choices: set, update, add
- rc_succeeded - The rc codes list with which the conditions to succeed will be overriden. type: list required: false
- rc_failed - The rc codes list with which the conditions to fail will be overriden. type: list required: false
- workspace_locking_adom - Acquire the workspace lock if FortiManager is running in workspace mode. type: str required: false choices: global, custom adom including root
- workspace_locking_timeout - The maximum time in seconds to wait for other users to release workspace lock. type: integer required: false default: 300
- device - The parameter in requested url type: str required: true
- vdom - The parameter in requested url type: str required: true
- wtp - The parameter in requested url type: str required: true
- wireless_wtp_radio4 - Configuration options for radio 4. type: dict
- auto_power_high (Alias name: auto-power-high) The upper bound of automatic transmit power adjustment in dbm (the actual range of transmit power depends on the ap platform type). type: int more...
- auto_power_level (Alias name: auto-power-level) Enable/disable automatic power-level adjustment to prevent co-channel interference (default = enable). type: str choices: [disable, enable] more...
- auto_power_low (Alias name: auto-power-low) The lower bound of automatic transmit power adjustment in dbm (the actual range of transmit power depends on the ap platform type). type: int more...
- auto_power_target (Alias name: auto-power-target) Target of automatic transmit power adjustment in dbm (-95 to -20, default = -70). type: str more...
- band Wifi band that radio 4 operates on. type: list choices: [802.11a, 802.11b, 802.11g, 802.11n, 802.11n-5G, 802.11n,g-only, 802.11g-only, 802.11n-only, 802.11n-5G-only, 802.11ac, 802.11ac,n-only, 802.11ac-only, 802.11ax-5G, 802.11ax,ac-only, 802.11ax,ac,n-only, 802.11ax-5G-only, 802.11ax, 802.11ax,n-only, 802.11ax,n,g-only, 802.11ax-only, 802.11ac-2G, 802.11ax-6G, 802.11n-2G, 802.11ac-5G, 802.11ax-2G, 802.11be-2G, 802.11be-5G, 802.11be-6G] more...
- channel Selected list of wireless radio channels. type: list more...
- drma_manual_mode (Alias name: drma-manual-mode) Radio mode to be used for drma manual mode (default = ncf). type: str choices: [ap, monitor, ncf, ncf-peek] more...
- override_band (Alias name: override-band) Enable to override the wtp profile band setting. type: str choices: [disable, enable] more...
- override_channel (Alias name: override-channel) Enable to override wtp profile channel settings. type: str choices: [disable, enable] more...
- override_txpower (Alias name: override-txpower) Enable to override the wtp profile power level configuration. type: str choices: [disable, enable] more...
- override_vaps (Alias name: override-vaps) Enable to override wtp profile virtual access point (vap) settings. type: str choices: [disable, enable] more...
- power_level (Alias name: power-level) Radio eirp power level as a percentage of the maximum eirp power (0 - 100, default = 100). type: int more...
- power_mode (Alias name: power-mode) Set radio effective isotropic radiated power (eirp) in dbm or by a percentage of the maximum eirp (default = percentage). type: str choices: [dBm, percentage] more...
- power_value (Alias name: power-value) Radio eirp power in dbm (1 - 33, default = 27). type: int more...
- radio_id (Alias name: radio-id) Radio id. type: int more...
- vap_all (Alias name: vap-all) Configure method for assigning ssids to this fortiap (default = automatically assign tunnel ssids). type: str choices: [disable, enable, tunnel, bridge, manual] more...
- vap1 Virtual access point (vap) for wlan id 1 type: str more...
- vap2 Virtual access point (vap) for wlan id 2 type: str more...
- vap3 Virtual access point (vap) for wlan id 3 type: str more...
- vap4 Virtual access point (vap) for wlan id 4 type: str more...
- vap5 Virtual access point (vap) for wlan id 5 type: str more...
- vap6 Virtual access point (vap) for wlan id 6 type: str more...
- vap7 Virtual access point (vap) for wlan id 7 type: str more...
- vap8 Virtual access point (vap) for wlan id 8 type: str more...
- vaps Manually selected list of virtual access points (vaps). type: list more...
- spectrum_analysis (Alias name: spectrum-analysis) Enable/disable spectrum analysis to find interference that would negatively impact wireless performance. type: str choices: [disable, enable, scan-only] more...
- override_analysis (Alias name: override-analysis) Enable to override the wtp profile spectrum analysis configuration. type: str choices: [disable, enable] more...
Notes
Note
Running in workspace locking mode is supported in this FortiManager module, the top level parameters workspace_locking_adom and workspace_locking_timeout help do the work.
To create or update an object, use state: present directive.
To delete an object, use state: absent directive
Normally, running one module can fail when a non-zero rc is returned. you can also override the conditions to fail or succeed with parameters rc_failed and rc_succeeded
Examples
- name: Example playbook (generated based on argument schema)
hosts: fortimanagers
connection: httpapi
gather_facts: false
vars:
ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
ansible_httpapi_port: 443
tasks:
- name: Configuration options for radio 4.
fortinet.fmgdevice.fmgd_wireless_wtp_radio4:
# bypass_validation: false
# workspace_locking_adom: <global or your adom name>
# workspace_locking_timeout: 300
# rc_succeeded: [0, -2, -3, ...]
# rc_failed: [-2, -3, ...]
device: <your own value>
vdom: <your own value>
wtp: <your own value>
wireless_wtp_radio4:
# auto_power_high: <integer>
# auto_power_level: <value in [disable, enable]>
# auto_power_low: <integer>
# auto_power_target: <string>
# band:
# - "802.11a"
# - "802.11b"
# - "802.11g"
# - "802.11n"
# - "802.11n-5G"
# - "802.11n,g-only"
# - "802.11g-only"
# - "802.11n-only"
# - "802.11n-5G-only"
# - "802.11ac"
# - "802.11ac,n-only"
# - "802.11ac-only"
# - "802.11ax-5G"
# - "802.11ax,ac-only"
# - "802.11ax,ac,n-only"
# - "802.11ax-5G-only"
# - "802.11ax"
# - "802.11ax,n-only"
# - "802.11ax,n,g-only"
# - "802.11ax-only"
# - "802.11ac-2G"
# - "802.11ax-6G"
# - "802.11n-2G"
# - "802.11ac-5G"
# - "802.11ax-2G"
# - "802.11be-2G"
# - "802.11be-5G"
# - "802.11be-6G"
# channel: <list or string>
# drma_manual_mode: <value in [ap, monitor, ncf, ...]>
# override_band: <value in [disable, enable]>
# override_channel: <value in [disable, enable]>
# override_txpower: <value in [disable, enable]>
# override_vaps: <value in [disable, enable]>
# power_level: <integer>
# power_mode: <value in [dBm, percentage]>
# power_value: <integer>
# radio_id: <integer>
# vap_all: <value in [disable, enable, tunnel, ...]>
# vap1: <string>
# vap2: <string>
# vap3: <string>
# vap4: <string>
# vap5: <string>
# vap6: <string>
# vap7: <string>
# vap8: <string>
# vaps: <list or string>
# spectrum_analysis: <value in [disable, enable, scan-only]>
# override_analysis: <value in [disable, enable]>
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:
- meta - The result of the request.returned: always type: dict
- request_url - The full url requested. returned: always type: str sample: /sys/login/user
- response_code - The status of api request. returned: always type: int sample: 0
- response_data - The data body of the api response. returned: optional type: list or dict
- response_message - The descriptive message of the api response. returned: always type: str sample: OK
- system_information - The information of the target system. returned: always type: dict
- rc - The status the request. returned: always type: int sample: 0
- version_check_warning - Warning if the parameters used in the playbook are not supported by the current FortiManager version. returned: if at least one parameter not supported by the current FortiManager version type: list
Status
This module is not guaranteed to have a backwards compatible interface.