chef-ruby-lvm-attrib 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CODEOWNERS +5 -3
- data/.github/ISSUE_TEMPLATE/BUG_TEMPLATE.md +29 -0
- data/.github/ISSUE_TEMPLATE/DESIGN_PROPOSAL.md +40 -0
- data/.github/ISSUE_TEMPLATE/ENHANCEMENT_REQUEST_TEMPLATE.md +17 -0
- data/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md +12 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +3 -0
- data/CHANGELOG.md +5 -0
- data/CONTRIBUTING.md +1 -0
- data/lib/lvm/attributes.rb +1 -1
- data/lib/lvm/attributes/2.02.185(2)/lvs.yaml +328 -0
- data/lib/lvm/attributes/2.02.185(2)/lvsseg.yaml +138 -0
- data/lib/lvm/attributes/2.02.185(2)/pvs.yaml +113 -0
- data/lib/lvm/attributes/2.02.185(2)/pvsseg.yaml +16 -0
- data/lib/lvm/attributes/2.02.185(2)/vgs.yaml +140 -0
- data/lib/lvm/attributes/2.03.02(2)/lvs.yaml +328 -0
- data/lib/lvm/attributes/2.03.02(2)/lvsseg.yaml +138 -0
- data/lib/lvm/attributes/2.03.02(2)/pvs.yaml +113 -0
- data/lib/lvm/attributes/2.03.02(2)/pvsseg.yaml +16 -0
- data/lib/lvm/attributes/2.03.02(2)/vgs.yaml +140 -0
- metadata +18 -4
- data/.github/ISSUE_TEMPLATE.md +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ff901d114a6960af72733b64adcafb28d876dea7e4ddd5723594ede10cb085b
|
4
|
+
data.tar.gz: 8c95ac1c2cbcc290e94a067406c2a9261eb235addb0324a4a5d1844c70c55d83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9458e2aefcba80569e5ed0d6fa76b3208a65b6f9380c9a4b3c88010365bbd56b3c984fe255a5a18c79c7b8a7c3a049774f3a9cb25d4747fcc732053bc531897c
|
7
|
+
data.tar.gz: 5dc2e96fadf95bc1b59e4bc5ea07f21f75be0331e7dfc2010239f5086fcde8b435379223ec8a7cd477dae2c24167b2b1febe8b4c6f44057134ae4780ff164c21
|
data/.github/CODEOWNERS
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# Order is important. The last matching pattern has the most precedence.
|
2
2
|
|
3
|
-
*
|
4
|
-
.expeditor/**
|
5
|
-
README.md
|
3
|
+
* @chef/client-maintainers
|
4
|
+
.expeditor/** @chef/jex-team
|
5
|
+
README.md @chef/docs-team
|
6
|
+
RELEASE_NOTES.md @chef/docs-team
|
7
|
+
.github/ISSUE_TEMPLATE/** @chef/docs-team
|
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
name: � Bug Report
|
3
|
+
about: If something isn't working as expected �.
|
4
|
+
labels: "Status: Untriaged"
|
5
|
+
---
|
6
|
+
|
7
|
+
# Version:
|
8
|
+
|
9
|
+
[Version of the project installed]
|
10
|
+
|
11
|
+
# Environment:
|
12
|
+
|
13
|
+
[Details about the environment such as the Operating System, cookbook details, etc...]
|
14
|
+
|
15
|
+
# Scenario:
|
16
|
+
|
17
|
+
[What you are trying to achieve and you can't?]
|
18
|
+
|
19
|
+
# Steps to Reproduce:
|
20
|
+
|
21
|
+
[If you are filing an issue what are the things we need to do in order to repro your problem?]
|
22
|
+
|
23
|
+
# Expected Result:
|
24
|
+
|
25
|
+
[What are you expecting to happen as the consequence of above reproduction steps?]
|
26
|
+
|
27
|
+
# Actual Result:
|
28
|
+
|
29
|
+
[What actually happens after the reproduction steps?]
|
@@ -0,0 +1,40 @@
|
|
1
|
+
---
|
2
|
+
name: Design Proposal
|
3
|
+
about: I have a significant change I would like to propose and discuss before starting
|
4
|
+
labels: "Status: Untriaged"
|
5
|
+
---
|
6
|
+
|
7
|
+
### When a Change Needs a Design Proposal
|
8
|
+
|
9
|
+
A design proposal should be opened any time a change meets one of the following qualifications:
|
10
|
+
|
11
|
+
- Significantly changes the user experience of a project in a way that impacts users.
|
12
|
+
- Significantly changes the underlying architecture of the project in a way that impacts other developers.
|
13
|
+
- Changes the development or testing process of the project such as a change of CI systems or test frameworks.
|
14
|
+
|
15
|
+
### Why We Use This Process
|
16
|
+
|
17
|
+
- Allows all interested parties (including any community member) to discuss large impact changes to a project.
|
18
|
+
- Serves as a durable paper trail for discussions regarding project architecture.
|
19
|
+
- Forces design discussions to occur before PRs are created.
|
20
|
+
- Reduces PR refactoring and rejected PRs.
|
21
|
+
|
22
|
+
---
|
23
|
+
|
24
|
+
<!--- Proposal description and rationale. -->
|
25
|
+
|
26
|
+
## Motivation
|
27
|
+
|
28
|
+
<!---
|
29
|
+
As a <<user_profile>>,
|
30
|
+
I want to <<functionality>>,
|
31
|
+
so that <<benefit>>.
|
32
|
+
-->
|
33
|
+
|
34
|
+
## Specification
|
35
|
+
|
36
|
+
<!--- A detailed description of the planned implementation. -->
|
37
|
+
|
38
|
+
## Downstream Impact
|
39
|
+
|
40
|
+
<!--- Which other tools will be impacted by this work? -->
|
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
name: 🚀 Enhancement Request
|
3
|
+
about: I have a suggestion (and may want to implement it 🙂)!
|
4
|
+
labels: "Status: Untriaged"
|
5
|
+
---
|
6
|
+
|
7
|
+
### Describe the Enhancement:
|
8
|
+
<!--- What you are trying to achieve that you can't? -->
|
9
|
+
|
10
|
+
### Describe the Need:
|
11
|
+
<!--- What kind of user do you believe would utilize this enhancement, and how many users might want this functionality -->
|
12
|
+
|
13
|
+
### Current Alternative
|
14
|
+
<!--- Is there a current alternative that you can utilize to workaround the lack of this enhancement -->
|
15
|
+
|
16
|
+
### Can We Help You Implement This?:
|
17
|
+
<!--- The best way to ensure your enhancement is built is to help implement the enhancement yourself. If you're interested in helping out we'd love to give you a hand to make this possible. Let us know if there's something you need. -->
|
@@ -0,0 +1,12 @@
|
|
1
|
+
---
|
2
|
+
name: 🤗 Support Question
|
3
|
+
about: If you have a question 💬, please check out our Slack!
|
4
|
+
---
|
5
|
+
|
6
|
+
We use GitHub issues to track bugs and feature requests. If you need help please post to our Mailing List or join the Chef Community Slack.
|
7
|
+
|
8
|
+
* Chef Community Slack at http://community-slack.chef.io/.
|
9
|
+
* Chef Mailing List https://discourse.chef.io/
|
10
|
+
|
11
|
+
|
12
|
+
Support issues opened here will be closed and redirected to Slack or Discourse.
|
@@ -9,4 +9,7 @@ StackOverflow discussions that are relevant]
|
|
9
9
|
|
10
10
|
### Check List
|
11
11
|
|
12
|
+
- [ ] New functionality includes tests
|
13
|
+
- [ ] All tests pass
|
12
14
|
- [ ] All commits have been signed-off for the Developer Certificate of Origin. See <https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco>
|
15
|
+
- [ ] PR title is a worthy inclusion in the CHANGELOG
|
data/CHANGELOG.md
CHANGED
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
Please refer to https://github.com/chef/chef/blob/master/CONTRIBUTING.md
|
data/lib/lvm/attributes.rb
CHANGED
@@ -0,0 +1,328 @@
|
|
1
|
+
# These are column to object attribute mappings
|
2
|
+
# generated by ./bin/generate_field_data based on
|
3
|
+
# lvm2/lib/report/columns.h
|
4
|
+
---
|
5
|
+
- :method: cache_dirty_blocks
|
6
|
+
:column: cache_dirty_blocks
|
7
|
+
:type_hint: Integer
|
8
|
+
:description: Dirty cache blocks.
|
9
|
+
- :method: cache_read_hits
|
10
|
+
:column: cache_read_hits
|
11
|
+
:type_hint: Integer
|
12
|
+
:description: Cache read hits.
|
13
|
+
- :method: cache_read_misses
|
14
|
+
:column: cache_read_misses
|
15
|
+
:type_hint: Integer
|
16
|
+
:description: Cache read misses.
|
17
|
+
- :method: cache_total_blocks
|
18
|
+
:column: cache_total_blocks
|
19
|
+
:type_hint: Integer
|
20
|
+
:description: Total cache blocks.
|
21
|
+
- :method: cache_used_blocks
|
22
|
+
:column: cache_used_blocks
|
23
|
+
:type_hint: Integer
|
24
|
+
:description: Used cache blocks.
|
25
|
+
- :method: cache_write_hits
|
26
|
+
:column: cache_write_hits
|
27
|
+
:type_hint: Integer
|
28
|
+
:description: Cache write hits.
|
29
|
+
- :method: cache_write_misses
|
30
|
+
:column: cache_write_misses
|
31
|
+
:type_hint: Integer
|
32
|
+
:description: Cache write misses.
|
33
|
+
- :method: convert_lv
|
34
|
+
:column: convert_lv
|
35
|
+
:type_hint: String
|
36
|
+
:description: For lvconvert
|
37
|
+
- :method: convert_lv_uuid
|
38
|
+
:column: convert_lv_uuid
|
39
|
+
:type_hint: String
|
40
|
+
:description: For lvconvert
|
41
|
+
- :method: copy_percent
|
42
|
+
:column: copy_percent
|
43
|
+
:type_hint: String
|
44
|
+
:description: For Cache
|
45
|
+
- :method: data_lv
|
46
|
+
:column: data_lv
|
47
|
+
:type_hint: String
|
48
|
+
:description: For thin and cache pools
|
49
|
+
- :method: data_lv_uuid
|
50
|
+
:column: data_lv_uuid
|
51
|
+
:type_hint: String
|
52
|
+
:description: For thin and cache pools
|
53
|
+
- :method: data_percent
|
54
|
+
:column: data_percent
|
55
|
+
:type_hint: String
|
56
|
+
:description: For snapshot
|
57
|
+
- :method: kernel_cache_policy
|
58
|
+
:column: kernel_cache_policy
|
59
|
+
:type_hint: String
|
60
|
+
:description: Cache policy used in kernel.
|
61
|
+
- :method: kernel_cache_settings
|
62
|
+
:column: kernel_cache_settings
|
63
|
+
:type_hint: String
|
64
|
+
:description: Cache settings/parameters as set in kernel
|
65
|
+
- :method: kernel_discards
|
66
|
+
:column: kernel_discards
|
67
|
+
:type_hint: String
|
68
|
+
:description: For thin pools
|
69
|
+
- :method: kernel_metadata_format
|
70
|
+
:column: kernel_metadata_format
|
71
|
+
:type_hint: Integer
|
72
|
+
:description: Cache metadata format used in kernel.
|
73
|
+
- :method: active
|
74
|
+
:column: lv_active
|
75
|
+
:type_hint: String
|
76
|
+
:description: Active state of the LV.
|
77
|
+
- :method: active_exclusively
|
78
|
+
:column: lv_active_exclusively
|
79
|
+
:type_hint: String
|
80
|
+
:description: Set if the LV is active exclusively.
|
81
|
+
- :method: active_locally
|
82
|
+
:column: lv_active_locally
|
83
|
+
:type_hint: String
|
84
|
+
:description: Set if the LV is active locally.
|
85
|
+
- :method: active_remotely
|
86
|
+
:column: lv_active_remotely
|
87
|
+
:type_hint: String
|
88
|
+
:description: Set if the LV is active remotely.
|
89
|
+
- :method: allocation_locked
|
90
|
+
:column: lv_allocation_locked
|
91
|
+
:type_hint: String
|
92
|
+
:description: Set if LV is locked against allocation changes.
|
93
|
+
- :method: allocation_policy
|
94
|
+
:column: lv_allocation_policy
|
95
|
+
:type_hint: String
|
96
|
+
:description: LV allocation policy.
|
97
|
+
- :method: ancestors
|
98
|
+
:column: lv_ancestors
|
99
|
+
:type_hint: String
|
100
|
+
:description: LV ancestors ignoring any stored history of the ancestry chain.
|
101
|
+
- :method: attr
|
102
|
+
:column: lv_attr
|
103
|
+
:type_hint: String
|
104
|
+
:description: Various attributes - see man page.
|
105
|
+
- :method: check_needed
|
106
|
+
:column: lv_check_needed
|
107
|
+
:type_hint: String
|
108
|
+
:description: For thin pools and cache volumes
|
109
|
+
- :method: converting
|
110
|
+
:column: lv_converting
|
111
|
+
:type_hint: String
|
112
|
+
:description: Set if LV is being converted.
|
113
|
+
- :method: descendants
|
114
|
+
:column: lv_descendants
|
115
|
+
:type_hint: String
|
116
|
+
:description: LV descendants ignoring any stored history of the ancestry chain.
|
117
|
+
- :method: dm_path
|
118
|
+
:column: lv_dm_path
|
119
|
+
:type_hint: String
|
120
|
+
:description: Internal device-mapper pathname for LV (in /dev/mapper directory).
|
121
|
+
- :method: fixed_minor
|
122
|
+
:column: lv_fixed_minor
|
123
|
+
:type_hint: String
|
124
|
+
:description: Set if LV has fixed minor number assigned.
|
125
|
+
- :method: full_ancestors
|
126
|
+
:column: lv_full_ancestors
|
127
|
+
:type_hint: String
|
128
|
+
:description: LV ancestors including stored history of the ancestry chain.
|
129
|
+
- :method: full_descendants
|
130
|
+
:column: lv_full_descendants
|
131
|
+
:type_hint: String
|
132
|
+
:description: LV descendants including stored history of the ancestry chain.
|
133
|
+
- :method: full_name
|
134
|
+
:column: lv_full_name
|
135
|
+
:type_hint: String
|
136
|
+
:description: Full name of LV including its VG
|
137
|
+
- :method: health_status
|
138
|
+
:column: lv_health_status
|
139
|
+
:type_hint: String
|
140
|
+
:description: LV health status.
|
141
|
+
- :method: historical
|
142
|
+
:column: lv_historical
|
143
|
+
:type_hint: String
|
144
|
+
:description: Set if the LV is historical.
|
145
|
+
- :method: host
|
146
|
+
:column: lv_host
|
147
|
+
:type_hint: String
|
148
|
+
:description: Creation host of the LV
|
149
|
+
- :method: image_synced
|
150
|
+
:column: lv_image_synced
|
151
|
+
:type_hint: String
|
152
|
+
:description: Set if mirror/RAID image is synchronized.
|
153
|
+
- :method: initial_image_sync
|
154
|
+
:column: lv_initial_image_sync
|
155
|
+
:type_hint: String
|
156
|
+
:description: Set if mirror/RAID images underwent initial resynchronization.
|
157
|
+
- :method: layout
|
158
|
+
:column: lv_layout
|
159
|
+
:type_hint: String
|
160
|
+
:description: LV layout.
|
161
|
+
- :method: lockargs
|
162
|
+
:column: lv_lockargs
|
163
|
+
:type_hint: String
|
164
|
+
:description: Lock args of the LV used by lvmlockd.
|
165
|
+
- :method: major
|
166
|
+
:column: lv_major
|
167
|
+
:type_hint: String
|
168
|
+
:description: Persistent major number or -1 if not persistent.
|
169
|
+
- :method: merge_failed
|
170
|
+
:column: lv_merge_failed
|
171
|
+
:type_hint: String
|
172
|
+
:description: Set if snapshot merge failed.
|
173
|
+
- :method: merging
|
174
|
+
:column: lv_merging
|
175
|
+
:type_hint: String
|
176
|
+
:description: Set if snapshot LV is being merged to origin.
|
177
|
+
- :method: metadata_size
|
178
|
+
:column: lv_metadata_size
|
179
|
+
:type_hint: Integer
|
180
|
+
:description: For thin and cache pools
|
181
|
+
- :method: minor
|
182
|
+
:column: lv_minor
|
183
|
+
:type_hint: String
|
184
|
+
:description: Persistent minor number or -1 if not persistent.
|
185
|
+
- :method: modules
|
186
|
+
:column: lv_modules
|
187
|
+
:type_hint: String
|
188
|
+
:description: Kernel device-mapper modules required for this LV.
|
189
|
+
- :method: name
|
190
|
+
:column: lv_name
|
191
|
+
:type_hint: String
|
192
|
+
:description: Name. LVs created for internal use are enclosed in brackets.
|
193
|
+
- :method: parent
|
194
|
+
:column: lv_parent
|
195
|
+
:type_hint: String
|
196
|
+
:description: For LVs that are components of another LV
|
197
|
+
- :method: path
|
198
|
+
:column: lv_path
|
199
|
+
:type_hint: String
|
200
|
+
:description: Full pathname for LV. Blank for internal LVs.
|
201
|
+
- :method: profile
|
202
|
+
:column: lv_profile
|
203
|
+
:type_hint: String
|
204
|
+
:description: Configuration profile attached to this LV.
|
205
|
+
- :method: read_ahead
|
206
|
+
:column: lv_read_ahead
|
207
|
+
:type_hint: String
|
208
|
+
:description: Read ahead setting in current units.
|
209
|
+
- :method: role
|
210
|
+
:column: lv_role
|
211
|
+
:type_hint: String
|
212
|
+
:description: LV role.
|
213
|
+
- :method: size
|
214
|
+
:column: lv_size
|
215
|
+
:type_hint: Integer
|
216
|
+
:description: Size of LV in current units.
|
217
|
+
- :method: skip_activation
|
218
|
+
:column: lv_skip_activation
|
219
|
+
:type_hint: String
|
220
|
+
:description: Set if LV is skipped on activation.
|
221
|
+
- :method: snapshot_invalid
|
222
|
+
:column: lv_snapshot_invalid
|
223
|
+
:type_hint: String
|
224
|
+
:description: Set if snapshot LV is invalid.
|
225
|
+
- :method: tags
|
226
|
+
:column: lv_tags
|
227
|
+
:type_hint: String
|
228
|
+
:description: Tags
|
229
|
+
- :method: time
|
230
|
+
:column: lv_time
|
231
|
+
:type_hint: String
|
232
|
+
:description: Creation time of the LV
|
233
|
+
- :method: time_removed
|
234
|
+
:column: lv_time_removed
|
235
|
+
:type_hint: String
|
236
|
+
:description: Removal time of the LV
|
237
|
+
- :method: uuid
|
238
|
+
:column: lv_uuid
|
239
|
+
:type_hint: String
|
240
|
+
:description: Unique identifier.
|
241
|
+
- :method: when_full
|
242
|
+
:column: lv_when_full
|
243
|
+
:type_hint: String
|
244
|
+
:description: For thin pools
|
245
|
+
- :method: metadata_lv
|
246
|
+
:column: metadata_lv
|
247
|
+
:type_hint: String
|
248
|
+
:description: For thin and cache pools
|
249
|
+
- :method: metadata_lv_uuid
|
250
|
+
:column: metadata_lv_uuid
|
251
|
+
:type_hint: String
|
252
|
+
:description: For thin and cache pools
|
253
|
+
- :method: metadata_percent
|
254
|
+
:column: metadata_percent
|
255
|
+
:type_hint: String
|
256
|
+
:description: For cache and thin pools
|
257
|
+
- :method: mirror_log
|
258
|
+
:column: mirror_log
|
259
|
+
:type_hint: String
|
260
|
+
:description: For mirrors
|
261
|
+
- :method: mirror_log_uuid
|
262
|
+
:column: mirror_log_uuid
|
263
|
+
:type_hint: String
|
264
|
+
:description: For mirrors
|
265
|
+
- :method: move_pv
|
266
|
+
:column: move_pv
|
267
|
+
:type_hint: String
|
268
|
+
:description: For pvmove
|
269
|
+
- :method: move_pv_uuid
|
270
|
+
:column: move_pv_uuid
|
271
|
+
:type_hint: String
|
272
|
+
:description: For pvmove
|
273
|
+
- :method: origin
|
274
|
+
:column: origin
|
275
|
+
:type_hint: String
|
276
|
+
:description: For snapshots and thins
|
277
|
+
- :method: origin_size
|
278
|
+
:column: origin_size
|
279
|
+
:type_hint: Integer
|
280
|
+
:description: For snapshots
|
281
|
+
- :method: origin_uuid
|
282
|
+
:column: origin_uuid
|
283
|
+
:type_hint: String
|
284
|
+
:description: For snapshots and thins
|
285
|
+
- :method: pool_lv
|
286
|
+
:column: pool_lv
|
287
|
+
:type_hint: String
|
288
|
+
:description: For thin volumes
|
289
|
+
- :method: pool_lv_uuid
|
290
|
+
:column: pool_lv_uuid
|
291
|
+
:type_hint: String
|
292
|
+
:description: For thin volumes
|
293
|
+
- :method: raid_max_recovery_rate
|
294
|
+
:column: raid_max_recovery_rate
|
295
|
+
:type_hint: Integer
|
296
|
+
:description: For RAID1
|
297
|
+
- :method: raid_min_recovery_rate
|
298
|
+
:column: raid_min_recovery_rate
|
299
|
+
:type_hint: Integer
|
300
|
+
:description: For RAID1
|
301
|
+
- :method: raid_mismatch_count
|
302
|
+
:column: raid_mismatch_count
|
303
|
+
:type_hint: Integer
|
304
|
+
:description: For RAID
|
305
|
+
- :method: raid_sync_action
|
306
|
+
:column: raid_sync_action
|
307
|
+
:type_hint: String
|
308
|
+
:description: For RAID
|
309
|
+
- :method: raid_write_behind
|
310
|
+
:column: raid_write_behind
|
311
|
+
:type_hint: Integer
|
312
|
+
:description: For RAID1
|
313
|
+
- :method: seg_count
|
314
|
+
:column: seg_count
|
315
|
+
:type_hint: Integer
|
316
|
+
:description: Number of segments in LV.
|
317
|
+
- :method: snap_percent
|
318
|
+
:column: snap_percent
|
319
|
+
:type_hint: String
|
320
|
+
:description: For snapshots
|
321
|
+
- :method: sync_percent
|
322
|
+
:column: sync_percent
|
323
|
+
:type_hint: String
|
324
|
+
:description: For Cache
|
325
|
+
- :method: vg_uuid
|
326
|
+
:column: vg_uuid
|
327
|
+
:type_hint: String
|
328
|
+
:description: For VolumeGroup to LogicalVolume relationship.
|