Debian Codegraph @

ansible_collections/cisco/meraki/plugins/modules/devices_wireless_latency_stats_info.py

raw
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3
4 # Copyright (c) 2021, Cisco Systems
5 # GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)
6
7 DOCUMENTATION = r"""
8 module: devices_wireless_latency_stats_info
9 short_description: Information module for devices _wireless _latencystats
10 description:
11 - Information module for Devices Wireless Latencystats Info.
12 - Get all devices _wireless _latencystats.
13 - Aggregated latency info for a given AP on this network.
14 version_added: '1.0.0'
15 extends_documentation_fragment:
16 - cisco.meraki.module_info
17 author: Francisco Munoz (@fmunoz)
18 options:
19 headers:
20 description: Additional headers.
21 type: dict
22 serial:
23 description:
24 - Information module for Devices Wireless Latencystats Info.
25 - Serial path parameter.
26 type: str
27 t0:
28 description:
29 - Information module for Devices Wireless Latencystats Info.
30 - T0 query parameter. The beginning of the timespan for the data. The maximum
31 lookback period is 180 days from today.
32 type: str
33 t1:
34 description:
35 - Information module for Devices Wireless Latencystats Info.
36 - T1 query parameter. The end of the timespan for the data. T1 can be a maximum
37 of 7 days after t0.
38 type: str
39 timespan:
40 description:
41 - Information module for Devices Wireless Latencystats Info.
42 - >
43 Timespan query parameter. The timespan for which the information will be fetched.
44 If specifying timespan, do not specify parameters t0 and t1. The value must
45 be in seconds and be less than or equal to 7 days.
46 type: float
47 band:
48 description:
49 - Information module for Devices Wireless Latencystats Info.
50 - >
51 Band query parameter. Filter results by band (either '2.4', '5' or '6'). Note
52 that data prior to February 2020 will not have band information.
53 type: str
54 ssid:
55 description:
56 - Information module for Devices Wireless Latencystats Info.
57 - Ssid query parameter. Filter results by SSID.
58 type: int
59 apTag:
60 description:
61 - Information module for Devices Wireless Latencystats Info.
62 - ApTag query parameter. Filter results by AP Tag.
63 type: str
64 vlan:
65 description:
66 - Information module for Devices Wireless Latencystats Info.
67 - Vlan query parameter. Filter results by VLAN.
68 type: int
69 fields:
70 description:
71 - Information module for Devices Wireless Latencystats Info.
72 - >
73 Fields query parameter. Partial selection If present, this call will return
74 only the selected fields of "rawDistribution", "avg". All fields will be returned
75 by default. Selected fields must be entered as a comma separated string.
76 type: str
77 requirements:
78 - meraki >= 2.4.9
79 - python >= 3.5
80 seealso:
81 - name: Cisco Meraki documentation for wireless getDeviceWirelessLatencyStats
82 description: Complete reference of the getDeviceWirelessLatencyStats API.
83 link: https://developer.cisco.com/meraki/api-v1/#!get-device-wireless-latency-stats
84 notes:
85 - SDK Method used are
86 wireless.Wireless.get_device_wireless_latency_stats,
87 - Paths used are
88 get /devices/{serial}/wireless/latencyStats,
89 """
90
91 EXAMPLES = r"""
92 - name: Get all devices _wireless _latencystats
93 cisco.meraki.devices_wireless_latency_stats_info:
94 meraki_api_key: "{{ meraki_api_key }}"
95 meraki_base_url: "{{ meraki_base_url }}"
96 meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
97 meraki_certificate_path: "{{ meraki_certificate_path }}"
98 meraki_requests_proxy: "{{ meraki_requests_proxy }}"
99 meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
100 meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
101 meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
102 meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
103 meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
104 meraki_maximum_retries: "{{ meraki_maximum_retries }}"
105 meraki_output_log: "{{ meraki_output_log }}"
106 meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
107 meraki_log_path: "{{ meraki_log_path }}"
108 meraki_print_console: "{{ meraki_print_console }}"
109 meraki_suppress_logging: "{{ meraki_suppress_logging }}"
110 meraki_simulate: "{{ meraki_simulate }}"
111 meraki_be_geo_id: "{{ meraki_be_geo_id }}"
112 meraki_caller: "{{ meraki_caller }}"
113 meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
114 meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
115 t0: string
116 t1: string
117 timespan: 0
118 band: string
119 ssid: 0
120 apTag: string
121 vlan: 0
122 fields: string
123 serial: string
124 register: result
125 """
126 RETURN = r"""
127 meraki_response:
128 description: A dictionary or list with the response returned by the Cisco Meraki Python SDK
129 returned: always
130 type: dict
131 sample:
132 - {}
133 """