cisco.meraki.meraki_mr_rf_profile module -- Manage RF profiles for Meraki wireless networks

Note

This module is part of the cisco.meraki collection (version 2.18.2).

To install it, use: ansible-galaxy collection install cisco.meraki.

To use it in a playbook, specify: cisco.meraki.meraki_mr_rf_profile.

DEPRECATED

Removed in:

version 3.0.0

Why:

Updated modules released with increased functionality

Alternative:

cisco.meraki.networks_wireless_rf_profiles

Synopsis

  • Allows for configuration of radio frequency (RF) profiles in Meraki MR wireless networks.

Parameters

Parameter

Comments

ap_band_settings

dictionary

Settings that will be enabled if selectionType is set to 'ap'.

band_steering_enabled

boolean

mode

aliases: band_operation_mode

string

auth_key

string / required

Authentication key provided by the dashboard. Required if environmental variable MERAKI_KEY is not set.

band_selection_type

string

Sets whether band selection is assigned per access point or SSID.

This param is required on creation.

Choices:

client_balancing_enabled

boolean

Steers client to best available access point.

Choices:

five_ghz_settings

dictionary

Settings related to 5Ghz band.

channel_width

string

max_power

integer

Sets max power (dBm) of 5Ghz band.

Can be integer between 8 and 30.

min_bitrate

integer

min_power

integer

Sets minmimum power (dBm) of 5Ghz band.

Can be integer between 8 and 30.

rxsop

integer

The RX-SOP level controls the sensitivity of the radio.

It is strongly recommended to use RX-SOP only after consulting a wireless expert.

RX-SOP can be configured in the range of -65 to -95 (dBm).

valid_auto_channels

list / elements=integer

host

string

Hostname for Meraki dashboard.

Can be used to access regional Meraki environments, such as China.

Default: :ansible-option-default:`"api.meraki.com"`

internal_error_retry_time

integer

Number of seconds to retry if server returns an internal server error.

Default: :ansible-option-default:`60`

min_bitrate_type

string

name

string

The unique name of the new profile.

This param is required on creation.

net_id

string

ID of network.

net_name

string

Name of network.

org_id

string

ID of organization.

org_name

aliases: organization

string

Name of organization.

output_format

string

Instructs module whether response keys should be snake case (ex. net_id) or camel case (ex. netId).

Choices:

output_level

string

Set amount of debug output during module execution.

Choices:

profile_id

aliases: id

string

Unique identifier of existing RF profile.

rate_limit_retry_time

integer

Number of seconds to retry if rate limiter is triggered.

Default: :ansible-option-default:`165`

state

string

timeout

integer

Time to timeout for HTTP requests.

Default: :ansible-option-default:`30`

two_four_ghz_settings

dictionary

Settings related to 2.4Ghz band

ax_enabled

boolean

Determines whether ax radio on 2.4Ghz band is on or off.

Choices:

max_power

integer

Sets max power (dBm) of 2.4Ghz band.

Can be integer between 5 and 30.

min_bitrate

float

min_power

integer

Sets minmimum power (dBm) of 2.4Ghz band.

Can be integer between 5 and 30.

rxsop

integer

The RX-SOP level controls the sensitivity of the radio.

It is strongly recommended to use RX-SOP only after consulting a wireless expert.

RX-SOP can be configured in the range of -65 to -95 (dBm).

valid_auto_channels

list / elements=integer

use_https

boolean

If no, it will use HTTP. Otherwise it will use HTTPS.

Only useful for internal Meraki developers.

Choices:

use_proxy

boolean

If no, it will not use a proxy, even if one is defined in an environment variable on the target hosts.

Choices:

validate_certs

boolean

Whether to validate HTTP certificates.

Choices:

Notes

Note

  • More information about the Meraki API can be found at https://dashboard.meraki.com/api_docs.

  • Some of the options are likely only used for developers within Meraki.

  • As of Ansible 2.9, Meraki modules output keys as snake case. To use camel case, set the ANSIBLE_MERAKI_FORMAT environment variable to camelcase.

  • Ansible's Meraki modules will stop supporting camel case output in Ansible 2.13. Please update your playbooks.

  • Check Mode downloads the current configuration from the dashboard, then compares changes against this download. Check Mode will report changed if there are differences in the configurations, but does not submit changes to the API for validation of change.

Examples

- name: Create RF profile in check mode
  meraki_mr_rf_profile:
    auth_key: abc123
    org_name: YourOrg
    net_name: YourNet
    state: present
    name: Test Profile
    band_selection_type: ap
    client_balancing_enabled: True
    ap_band_settings:
        mode: dual
        band_steering_enabled: true
    five_ghz_settings:
      max_power: 10
      min_bitrate: 12
      min_power: 8
      rxsop: -65
      channel_width: 20
      valid_auto_channels:
        - 36
        - 40
        - 44
    two_four_ghz_settings:
      max_power: 10
      min_bitrate: 12
      min_power: 8
      rxsop: -65
      ax_enabled: false
      valid_auto_channels:
        - 1
  delegate_to: localhost

- name: Query all RF profiles
  meraki_mr_rf_profile:
    auth_key: abc123
    org_name: YourOrg
    net_name: YourNet
    state: query
  delegate_to: localhost

- name: Query one RF profile by ID
  meraki_mr_rf_profile:
    auth_key: abc123
    org_name: YourOrg
    net_name: YourNet
    state: query
    profile_id: '{{ profile_id }}'
  delegate_to: localhost

- name: Update profile
  meraki_mr_rf_profile:
    auth_key: abc123
    org_name: YourOrg
    net_name: YourNet
    state: present
    profile_id: 12345
    band_selection_type: ap
    client_balancing_enabled: True
    ap_band_settings:
        mode: dual
        band_steering_enabled: true
    five_ghz_settings:
      max_power: 10
      min_bitrate: 12
      min_power: 8
      rxsop: -65
      channel_width: 20
      valid_auto_channels:
        - 36
        - 44
    two_four_ghz_settings:
      max_power: 10
      min_bitrate: 12
      min_power: 8
      rxsop: -75
      ax_enabled: false
      valid_auto_channels:
        - 1
  delegate_to: localhost

- name: Delete RF profile
  meraki_mr_rf_profile:
    auth_key: abc123
    org_name: YourOrg
    net_name: YourNet
    state: absent
    profile_id: 12345
  delegate_to: localhost

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

data

complex

List of wireless RF profile settings.

Returned: success

ap_band_settings

complex

Settings that will be enabled if selectionType is set to 'ap'.

Returned: success

band_steering_enabled

boolean

Steers client to most open band.

Returned: success

Sample: :ansible-rv-sample-value:`true`

mode

string

Sets which RF band the AP will support.

Returned: success

Sample: :ansible-rv-sample-value:`"dual"`

band_selection_type

string

Sets whether band selection is assigned per access point or SSID.

This param is required on creation.

Returned: success

Sample: :ansible-rv-sample-value:`"ap"`

client_balancing_enabled

boolean

Steers client to best available access point.

Returned: success

Sample: :ansible-rv-sample-value:`true`

five_ghz_settings

complex

Settings related to 5Ghz band.

Returned: success

channel_width

string

Sets channel width (MHz) for 5Ghz band.

Returned: success

Sample: :ansible-rv-sample-value:`"auto"`

max_power

integer

Sets max power (dBm) of 5Ghz band.

Can be integer between 8 and 30.

Returned: success

Sample: :ansible-rv-sample-value:`12`

min_bitrate

integer

Sets minimum bitrate (Mbps) of 5Ghz band.

Returned: success

Sample: :ansible-rv-sample-value:`6`

min_power

integer

Sets minmimum power (dBm) of 5Ghz band.

Can be integer between 8 and 30.

Returned: success

Sample: :ansible-rv-sample-value:`12`

rxsop

integer

The RX-SOP level controls the sensitivity of the radio.

Returned: success

Sample: :ansible-rv-sample-value:`-70`

valid_auto_channels

list / elements=string

Sets valid auto channels for 5Ghz band.

Returned: success

id

string

Unique identifier of existing RF profile.

Returned: success

Sample: :ansible-rv-sample-value:`"12345"`

min_bitrate_type

string

Type of minimum bitrate.

Returned: success

Sample: :ansible-rv-sample-value:`"ssid"`

name

string

The unique name of the new profile.

This param is required on creation.

Returned: success

Sample: :ansible-rv-sample-value:`"Guest RF profile"`

two_four_ghz_settings

complex

Settings related to 2.4Ghz band

Returned: success

ax_enabled

boolean

Determines whether ax radio on 2.4Ghz band is on or off.

Returned: success

Sample: :ansible-rv-sample-value:`true`

max_power

integer

Sets max power (dBm) of 2.4Ghz band.

Returned: success

Sample: :ansible-rv-sample-value:`12`

min_bitrate

float

Sets minimum bitrate (Mbps) of 2.4Ghz band.

Returned: success

Sample: :ansible-rv-sample-value:`5.5`

min_power

integer

Sets minmimum power (dBm) of 2.4Ghz band.

Returned: success

Sample: :ansible-rv-sample-value:`12`

rxsop

integer

The RX-SOP level controls the sensitivity of the radio.

Returned: success

Sample: :ansible-rv-sample-value:`-70`

valid_auto_channels

list / elements=string

Sets valid auto channels for 2.4Ghz band.

Returned: success

Sample: :ansible-rv-sample-value:`["6"]`

Status

  • This module will be removed in version 3.0.0. [deprecated]

  • For more information see DEPRECATED.

Authors

  • Kevin Breit (@kbreit)