Debian Codegraph @

ansible_collections/dellemc/powerflex/docs/modules/sdc.rst

raw
1 .. _sdc_module:
2
3
4 sdc -- Manage SDCs on Dell PowerFlex
5 ====================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 Managing SDCs on PowerFlex storage system includes getting details of SDC and renaming SDC.
16
17
18
19 Requirements
20 ------------
21 The below requirements are needed on the host that executes this module.
22
23 - A Dell PowerFlex storage system version 3.6 or later.
24 - PyPowerFlex 2.0.0.
25
26
27
28 Parameters
29 ----------
30
31 sdc_name (optional, str, None)
32 Name of the SDC.
33
34 Specify either \ :emphasis:`sdc\_name`\ , \ :emphasis:`sdc\_id`\ or \ :emphasis:`sdc\_ip`\ for get/rename operation.
35
36 Mutually exclusive with \ :emphasis:`sdc\_id`\ and \ :emphasis:`sdc\_ip`\ .
37
38
39 sdc_id (optional, str, None)
40 ID of the SDC.
41
42 Specify either \ :emphasis:`sdc\_name`\ , \ :emphasis:`sdc\_id`\ or \ :emphasis:`sdc\_ip`\ for get/rename operation.
43
44 Mutually exclusive with \ :emphasis:`sdc\_name`\ and \ :emphasis:`sdc\_ip`\ .
45
46
47 sdc_ip (optional, str, None)
48 IP of the SDC.
49
50 Specify either \ :emphasis:`sdc\_name`\ , \ :emphasis:`sdc\_id`\ or \ :emphasis:`sdc\_ip`\ for get/rename operation.
51
52 Mutually exclusive with \ :emphasis:`sdc\_id`\ and \ :emphasis:`sdc\_name`\ .
53
54
55 sdc_new_name (optional, str, None)
56 New name of the SDC. Used to rename the SDC.
57
58
59 performance_profile (optional, str, None)
60 Define the performance profile as \ :emphasis:`Compact`\ or \ :emphasis:`HighPerformance`\ .
61
62 The high performance profile configures a predefined set of parameters for very high performance use cases.
63
64
65 state (True, str, None)
66 State of the SDC.
67
68
69 hostname (True, str, None)
70 IP or FQDN of the PowerFlex host.
71
72
73 username (True, str, None)
74 The username of the PowerFlex host.
75
76
77 password (True, str, None)
78 The password of the PowerFlex host.
79
80
81 validate_certs (optional, bool, True)
82 Boolean variable to specify whether or not to validate SSL certificate.
83
84 \ :literal:`true`\ - Indicates that the SSL certificate should be verified.
85
86 \ :literal:`false`\ - Indicates that the SSL certificate should not be verified.
87
88
89 port (optional, int, 443)
90 Port number through which communication happens with PowerFlex host.
91
92
93 timeout (False, int, 120)
94 Time after which connection will get terminated.
95
96 It is to be mentioned in seconds.
97
98
99
100
101
102 Notes
103 -----
104
105 .. note::
106 - The \ :emphasis:`check\_mode`\ is not supported.
107 - The modules present in the collection named as 'dellemc.powerflex' are built to support the Dell PowerFlex storage platform.
108
109
110
111
112 Examples
113 --------
114
115 .. code-block:: yaml+jinja
116
117
118 - name: Get SDC details using SDC ip
119 dellemc.powerflex.sdc:
120 hostname: "{{hostname}}"
121 username: "{{username}}"
122 password: "{{password}}"
123 validate_certs: "{{validate_certs}}"
124 sdc_ip: "{{sdc_ip}}"
125 state: "present"
126
127 - name: Rename SDC using SDC name
128 dellemc.powerflex.sdc:
129 hostname: "{{hostname}}"
130 username: "{{username}}"
131 password: "{{password}}"
132 validate_certs: "{{validate_certs}}"
133 sdc_name: "centos_sdc"
134 sdc_new_name: "centos_sdc_renamed"
135 state: "present"
136
137 - name: Modify performance profile of SDC using SDC name
138 dellemc.powerflex.sdc:
139 hostname: "{{hostname}}"
140 username: "{{username}}"
141 password: "{{password}}"
142 validate_certs: "{{validate_certs}}"
143 sdc_name: "centos_sdc"
144 performance_profile: "Compact"
145 state: "present"
146
147 - name: Remove SDC using SDC name
148 dellemc.powerflex.sdc:
149 hostname: "{{hostname}}"
150 username: "{{username}}"
151 password: "{{password}}"
152 validate_certs: "{{validate_certs}}"
153 sdc_name: "centos_sdc"
154 state: "absent"
155
156
157
158 Return Values
159 -------------
160
161 changed (always, bool, false)
162 Whether or not the resource has changed.
163
164
165 sdc_details (When SDC exists, dict, {'id': '07335d3d00000006', 'installedSoftwareVersionInfo': 'R3_6.0.0', 'kernelBuildNumber': None, 'kernelVersion': '3.10.0', 'links': [{'href': '/api/instances/Sdc::07335d3d00000006', 'rel': 'self'}, {'href': '/api/instances/Sdc::07335d3d00000006/relationships/ Statistics', 'rel': '/api/Sdc/relationship/Statistics'}, {'href': '/api/instances/Sdc::07335d3d00000006/relationships/ Volume', 'rel': '/api/Sdc/relationship/Volume'}, {'href': '/api/instances/System::4a54a8ba6df0690f', 'rel': '/api/parent/relationship/systemId'}], 'mapped_volumes': [], 'mdmConnectionState': 'Disconnected', 'memoryAllocationFailure': None, 'name': 'LGLAP203', 'osType': 'Linux', 'peerMdmId': None, 'perfProfile': 'HighPerformance', 'sdcApproved': True, 'sdcApprovedIps': None, 'sdcGuid': 'F8ECB844-23B8-4629-92BB-B6E49A1744CB', 'sdcIp': 'N/A', 'sdcIps': None, 'sdcType': 'AppSdc', 'sdrId': None, 'socketAllocationFailure': None, 'softwareVersionInfo': 'R3_6.0.0', 'systemId': '4a54a8ba6df0690f', 'versionInfo': 'R3_6.0.0'})
166 Details of the SDC.
167
168
169 id (, str, )
170 The ID of the SDC.
171
172
173 name (, str, )
174 Name of the SDC.
175
176
177 sdcIp (, str, )
178 IP of the SDC.
179
180
181 osType (, str, )
182 OS type of the SDC.
183
184
185 mapped_volumes (, list, )
186 The details of the mapped volumes.
187
188
189 id (, str, )
190 The ID of the volume.
191
192
193 name (, str, )
194 The name of the volume.
195
196
197 volumeType (, str, )
198 Type of the volume.
199
200
201
202 sdcApproved (, bool, )
203 Indicates whether an SDC has approved access to the system.
204
205
206
207
208
209
210 Status
211 ------
212
213
214
215
216
217 Authors
218 ~~~~~~~
219
220 - Akash Shendge (@shenda1) <[email protected]>
221