Debian Codegraph @

ansible_collections/cisco/meraki/plugins/modules/networks_wireless_zigbee.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: networks_wireless_zigbee
9 short_description: Resource module for networks _wireless _zigbee
10 description:
11 - Manage operation update of the resource networks _wireless _zigbee.
12 - Update Zigbee Configs for specified network.
13 version_added: '1.0.0'
14 extends_documentation_fragment:
15 - cisco.meraki.module
16 author: Francisco Munoz (@fmunoz)
17 options:
18 defaults:
19 description: Default Settings for Zigbee Devices.
20 suboptions:
21 channel:
22 description: Channel.
23 type: str
24 transmitPowerLevel:
25 description: Transmit Power Level.
26 type: int
27 type: dict
28 enabled:
29 description: To enable/disable Zigbee on the network.
30 type: bool
31 iotController:
32 description: Zigbee's IoT controller details.
33 suboptions:
34 serial:
35 description: Device Serial number.
36 type: str
37 type: dict
38 lockManagement:
39 description: Login Credentials of on-premises lock management.
40 suboptions:
41 address:
42 description: Host Address.
43 type: str
44 password:
45 description: Password.
46 type: str
47 username:
48 description: Username.
49 type: str
50 type: dict
51 networkId:
52 description: NetworkId path parameter. Network ID.
53 type: str
54 requirements:
55 - meraki >= 2.4.9
56 - python >= 3.5
57 seealso:
58 - name: Cisco Meraki documentation for wireless updateNetworkWirelessZigbee
59 description: Complete reference of the updateNetworkWirelessZigbee API.
60 link: https://developer.cisco.com/meraki/api-v1/#!update-network-wireless-zigbee
61 notes:
62 - SDK Method used are
63 wireless.Wireless.update_network_wireless_zigbee,
64 - Paths used are
65 put /networks/{networkId}/wireless/zigbee,
66 """
67
68 EXAMPLES = r"""
69 - name: Update all
70 cisco.meraki.networks_wireless_zigbee:
71 meraki_api_key: "{{ meraki_api_key }}"
72 meraki_base_url: "{{ meraki_base_url }}"
73 meraki_single_request_timeout: "{{ meraki_single_request_timeout }}"
74 meraki_certificate_path: "{{ meraki_certificate_path }}"
75 meraki_requests_proxy: "{{ meraki_requests_proxy }}"
76 meraki_wait_on_rate_limit: "{{ meraki_wait_on_rate_limit }}"
77 meraki_nginx_429_retry_wait_time: "{{ meraki_nginx_429_retry_wait_time }}"
78 meraki_action_batch_retry_wait_time: "{{ meraki_action_batch_retry_wait_time }}"
79 meraki_retry_4xx_error: "{{ meraki_retry_4xx_error }}"
80 meraki_retry_4xx_error_wait_time: "{{ meraki_retry_4xx_error_wait_time }}"
81 meraki_maximum_retries: "{{ meraki_maximum_retries }}"
82 meraki_output_log: "{{ meraki_output_log }}"
83 meraki_log_file_prefix: "{{ meraki_log_file_prefix }}"
84 meraki_log_path: "{{ meraki_log_path }}"
85 meraki_print_console: "{{ meraki_print_console }}"
86 meraki_suppress_logging: "{{ meraki_suppress_logging }}"
87 meraki_simulate: "{{ meraki_simulate }}"
88 meraki_be_geo_id: "{{ meraki_be_geo_id }}"
89 meraki_caller: "{{ meraki_caller }}"
90 meraki_use_iterator_for_get_pages: "{{ meraki_use_iterator_for_get_pages }}"
91 meraki_inherit_logging_config: "{{ meraki_inherit_logging_config }}"
92 defaults:
93 channel: string
94 transmitPowerLevel: 0
95 enabled: true
96 iotController:
97 serial: string
98 lockManagement:
99 address: string
100 password: string
101 username: string
102 networkId: string
103 """
104 RETURN = r"""
105 meraki_response:
106 description: A dictionary or list with the response returned by the Cisco Meraki Python SDK
107 returned: always
108 type: dict
109 sample: >
110 {
111 "network": {
112 "id": "string"
113 },
114 "enabled": true,
115 "iotController": {
116 "name": "string",
117 "mac": "string",
118 "serial": "string",
119 "status": "string"
120 },
121 "lockManagement": {
122 "address": "string",
123 "username": "string",
124 "status": "string"
125 },
126 "defaults": {
127 "transmitPowerLevel": 0,
128 "channel": "string"
129 }
130 }
131 """