chef-ruby-lvm-attrib 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/bin/generate_field_data +2 -2
  4. data/lib/lvm/attributes.rb +1 -1
  5. data/lib/lvm/attributes/2.02.100(2)/lvs.yaml +2 -2
  6. data/lib/lvm/attributes/2.02.100(2)/lvsseg.yaml +2 -2
  7. data/lib/lvm/attributes/2.02.100(2)/pvs.yaml +2 -2
  8. data/lib/lvm/attributes/2.02.100(2)/pvsseg.yaml +2 -2
  9. data/lib/lvm/attributes/2.02.100(2)/vgs.yaml +2 -2
  10. data/lib/lvm/attributes/2.02.105(2)/lvs.yaml +2 -2
  11. data/lib/lvm/attributes/2.02.105(2)/lvsseg.yaml +2 -2
  12. data/lib/lvm/attributes/2.02.105(2)/pvs.yaml +2 -2
  13. data/lib/lvm/attributes/2.02.105(2)/pvsseg.yaml +2 -2
  14. data/lib/lvm/attributes/2.02.105(2)/vgs.yaml +2 -2
  15. data/lib/lvm/attributes/2.02.111(2)/lvs.yaml +57 -57
  16. data/lib/lvm/attributes/2.02.111(2)/lvsseg.yaml +25 -25
  17. data/lib/lvm/attributes/2.02.111(2)/pvs.yaml +26 -25
  18. data/lib/lvm/attributes/2.02.111(2)/pvsseg.yaml +6 -6
  19. data/lib/lvm/attributes/2.02.111(2)/vgs.yaml +32 -32
  20. data/lib/lvm/attributes/2.02.112(2)/lvs.yaml +28 -0
  21. data/lib/lvm/attributes/2.02.113(2)/lvs.yaml +28 -0
  22. data/lib/lvm/attributes/2.02.114(2)/lvs.yaml +28 -0
  23. data/lib/lvm/attributes/2.02.115(2)/lvs.yaml +34 -2
  24. data/lib/lvm/attributes/2.02.115(2)/lvsseg.yaml +2 -2
  25. data/lib/lvm/attributes/2.02.115(2)/pvs.yaml +2 -2
  26. data/lib/lvm/attributes/2.02.115(2)/pvsseg.yaml +2 -2
  27. data/lib/lvm/attributes/2.02.115(2)/vgs.yaml +2 -2
  28. data/lib/lvm/attributes/2.02.116(2)/lvs.yaml +34 -2
  29. data/lib/lvm/attributes/2.02.116(2)/lvsseg.yaml +2 -2
  30. data/lib/lvm/attributes/2.02.116(2)/pvs.yaml +2 -2
  31. data/lib/lvm/attributes/2.02.116(2)/pvsseg.yaml +2 -2
  32. data/lib/lvm/attributes/2.02.116(2)/vgs.yaml +2 -2
  33. data/lib/lvm/attributes/2.02.117(2)/lvs.yaml +32 -0
  34. data/lib/lvm/attributes/2.02.118(2)/lvs.yaml +34 -2
  35. data/lib/lvm/attributes/2.02.118(2)/lvsseg.yaml +2 -2
  36. data/lib/lvm/attributes/2.02.118(2)/pvs.yaml +2 -2
  37. data/lib/lvm/attributes/2.02.118(2)/pvsseg.yaml +2 -2
  38. data/lib/lvm/attributes/2.02.118(2)/vgs.yaml +2 -2
  39. data/lib/lvm/attributes/2.02.119(2)/lvs.yaml +32 -0
  40. data/lib/lvm/attributes/2.02.120(2)/lvs.yaml +34 -2
  41. data/lib/lvm/attributes/2.02.120(2)/lvsseg.yaml +2 -2
  42. data/lib/lvm/attributes/2.02.120(2)/pvs.yaml +2 -2
  43. data/lib/lvm/attributes/2.02.120(2)/pvsseg.yaml +2 -2
  44. data/lib/lvm/attributes/2.02.120(2)/vgs.yaml +2 -2
  45. data/lib/lvm/attributes/2.02.121(2)/lvs.yaml +32 -0
  46. data/lib/lvm/attributes/2.02.122(2)/lvs.yaml +34 -2
  47. data/lib/lvm/attributes/2.02.122(2)/lvsseg.yaml +2 -2
  48. data/lib/lvm/attributes/2.02.122(2)/pvs.yaml +2 -2
  49. data/lib/lvm/attributes/2.02.122(2)/pvsseg.yaml +2 -2
  50. data/lib/lvm/attributes/2.02.122(2)/vgs.yaml +2 -2
  51. data/lib/lvm/attributes/2.02.123(2)/lvs.yaml +32 -0
  52. data/lib/lvm/attributes/2.02.124(2)/lvs.yaml +32 -0
  53. data/lib/lvm/attributes/2.02.125(2)/lvs.yaml +32 -0
  54. data/lib/lvm/attributes/2.02.126(2)/lvs.yaml +32 -0
  55. data/lib/lvm/attributes/2.02.127(2)/lvs.yaml +32 -0
  56. data/lib/lvm/attributes/2.02.128(2)/lvs.yaml +32 -0
  57. data/lib/lvm/attributes/2.02.129(2)/lvs.yaml +32 -0
  58. data/lib/lvm/attributes/2.02.130(2)/lvs.yaml +34 -2
  59. data/lib/lvm/attributes/2.02.130(2)/lvsseg.yaml +2 -2
  60. data/lib/lvm/attributes/2.02.130(2)/pvs.yaml +2 -2
  61. data/lib/lvm/attributes/2.02.130(2)/pvsseg.yaml +2 -2
  62. data/lib/lvm/attributes/2.02.130(2)/vgs.yaml +2 -2
  63. data/lib/lvm/attributes/2.02.131(2)/lvs.yaml +32 -0
  64. data/lib/lvm/attributes/2.02.132(2)/lvs.yaml +32 -0
  65. data/lib/lvm/attributes/2.02.133(2)/lvs.yaml +34 -2
  66. data/lib/lvm/attributes/2.02.133(2)/lvsseg.yaml +2 -2
  67. data/lib/lvm/attributes/2.02.133(2)/pvs.yaml +2 -2
  68. data/lib/lvm/attributes/2.02.133(2)/pvsseg.yaml +2 -2
  69. data/lib/lvm/attributes/2.02.133(2)/vgs.yaml +2 -2
  70. data/lib/lvm/attributes/2.02.134(2)/lvs.yaml +32 -0
  71. data/lib/lvm/attributes/2.02.135(2)/lvs.yaml +32 -0
  72. data/lib/lvm/attributes/2.02.136(2)/lvs.yaml +32 -0
  73. data/lib/lvm/attributes/2.02.137(2)/lvs.yaml +32 -0
  74. data/lib/lvm/attributes/2.02.138(2)/lvs.yaml +32 -0
  75. data/lib/lvm/attributes/2.02.139(2)/lvs.yaml +32 -0
  76. data/lib/lvm/attributes/2.02.140(2)/lvs.yaml +36 -0
  77. data/lib/lvm/attributes/2.02.141(2)/lvs.yaml +40 -0
  78. data/lib/lvm/attributes/2.02.142(2)/lvs.yaml +40 -0
  79. data/lib/lvm/attributes/2.02.143(2)/lvs.yaml +46 -2
  80. data/lib/lvm/attributes/2.02.143(2)/lvsseg.yaml +2 -2
  81. data/lib/lvm/attributes/2.02.143(2)/pvs.yaml +2 -2
  82. data/lib/lvm/attributes/2.02.143(2)/pvsseg.yaml +2 -2
  83. data/lib/lvm/attributes/2.02.143(2)/vgs.yaml +2 -2
  84. data/lib/lvm/attributes/2.02.144(2)/lvs.yaml +44 -0
  85. data/lib/lvm/attributes/2.02.145(2)/lvs.yaml +48 -0
  86. data/lib/lvm/attributes/2.02.146(2)/lvs.yaml +48 -0
  87. data/lib/lvm/attributes/2.02.147(2)/lvs.yaml +48 -0
  88. data/lib/lvm/attributes/2.02.148(2)/lvs.yaml +48 -0
  89. data/lib/lvm/attributes/2.02.149(2)/lvs.yaml +48 -0
  90. data/lib/lvm/attributes/2.02.150(2)/lvs.yaml +48 -0
  91. data/lib/lvm/attributes/2.02.151(2)/lvs.yaml +48 -0
  92. data/lib/lvm/attributes/2.02.152(2)/lvs.yaml +48 -0
  93. data/lib/lvm/attributes/2.02.153(2)/lvs.yaml +48 -0
  94. data/lib/lvm/attributes/2.02.154(2)/lvs.yaml +48 -0
  95. data/lib/lvm/attributes/2.02.155(2)/lvs.yaml +68 -0
  96. data/lib/lvm/attributes/2.02.156(2)/lvs.yaml +68 -0
  97. data/lib/lvm/attributes/2.02.157(2)/lvs.yaml +68 -0
  98. data/lib/lvm/attributes/2.02.158(2)/lvs.yaml +68 -0
  99. data/lib/lvm/attributes/2.02.159(2)/lvs.yaml +68 -0
  100. data/lib/lvm/attributes/2.02.160(2)/lvs.yaml +68 -0
  101. data/lib/lvm/attributes/2.02.161(2)/lvs.yaml +68 -0
  102. data/lib/lvm/attributes/2.02.162(2)/lvs.yaml +68 -0
  103. data/lib/lvm/attributes/2.02.163(2)/lvs.yaml +68 -0
  104. data/lib/lvm/attributes/2.02.164(2)/lvs.yaml +68 -0
  105. data/lib/lvm/attributes/2.02.165(2)/lvs.yaml +68 -0
  106. data/lib/lvm/attributes/2.02.166(2)/lvs.yaml +68 -0
  107. data/lib/lvm/attributes/2.02.167(2)/lvs.yaml +68 -0
  108. data/lib/lvm/attributes/2.02.168(2)/lvs.yaml +68 -0
  109. data/lib/lvm/attributes/2.02.169(2)/lvs.yaml +80 -0
  110. data/lib/lvm/attributes/2.02.170(2)/lvs.yaml +80 -0
  111. data/lib/lvm/attributes/2.02.171(2)/lvs.yaml +80 -0
  112. data/lib/lvm/attributes/2.02.172(2)/lvs.yaml +328 -0
  113. data/lib/lvm/attributes/2.02.172(2)/lvsseg.yaml +138 -0
  114. data/lib/lvm/attributes/2.02.172(2)/pvs.yaml +113 -0
  115. data/lib/lvm/attributes/2.02.172(2)/pvsseg.yaml +16 -0
  116. data/lib/lvm/attributes/2.02.172(2)/vgs.yaml +136 -0
  117. data/lib/lvm/attributes/2.02.98(2)/lvs.yaml +2 -2
  118. data/lib/lvm/attributes/2.02.98(2)/lvsseg.yaml +2 -2
  119. data/lib/lvm/attributes/2.02.98(2)/pvs.yaml +2 -2
  120. data/lib/lvm/attributes/2.02.98(2)/pvsseg.yaml +2 -2
  121. data/lib/lvm/attributes/2.02.98(2)/vgs.yaml +2 -2
  122. metadata +7 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d1cea8985730e5f1de2a450d29a8a0384ed03d2
4
- data.tar.gz: 126f6135d2247ba86b9d92eaffc05508a9b08546
3
+ metadata.gz: a6ed3ca5e8ae6297f534574b019c8a90af113584
4
+ data.tar.gz: dce14194a2dad4042d2011aa531b80d10e618de4
5
5
  SHA512:
6
- metadata.gz: f4e2a6eb6e61ee51ef62354b492b05d935f507c64f5dc1bfb4c2e028b77f71d8ec3a22bdb917e006e28f80e29e4995b87412c4b773fd08ce751363dc82552a60
7
- data.tar.gz: 42f76d01d99aa62097aa0004968ad7d8cdd06973170245ce1190e089b486407775b41cc2794e4be93c8fed21026cb524c97175dc6e60d1cd6acd4579e0e291e4
6
+ metadata.gz: 65fca3c361fb6400905c378a9553d86716728788d7799ca479e2354a626e46d53f6d5434ea1b63af6771080040fece6acc046be7284c8eaff4558ad8e099e6d3
7
+ data.tar.gz: b66205f34bb141bb287e236e75358609e6927bb2ed9ec486c3b8deab9194a96e6e5ddc47be0234d0df53505438846a82f2bbfc3effadc3a1c4d4f1c8638cefc2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.2.1 (2017-07-08)
2
+
3
+ - Updated generate_field_data to support new report object type
4
+ - Regenerate all existing attributes to support new report object type
5
+ - Added v2_02_172 attributes
6
+
1
7
  # 0.2.0 (2017-06-21)
2
8
 
3
9
  - Updated update-lvm.sh and generate_field_data for the new Git repo containing the LVM2 project
@@ -132,7 +132,7 @@ File.readlines(lvm_source + COLUMNS_FILE).each do |line|
132
132
  # dropped when passing column names as arguments as well, but i found a few
133
133
  # with issues (seg_start).
134
134
  case app
135
- when "LVS", "LVSINFOSTATUS"
135
+ when "LVS", "LVSINFOSTATUS", "LVSSTATUS"
136
136
  method.sub!(%r{^lv_}, "")
137
137
  when "SEGS"
138
138
  method.sub!(%r{^seg_}, "")
@@ -154,7 +154,7 @@ File.readlines(lvm_source + COLUMNS_FILE).each do |line|
154
154
  }
155
155
 
156
156
  case app
157
- when "LVS", "LVSINFOSTATUS"
157
+ when "LVS", "LVSINFOSTATUS", "LVSSTATUS"
158
158
  lvs << attribute
159
159
  when "SEGS"
160
160
  lvssegs << attribute
@@ -2,7 +2,7 @@ require "yaml"
2
2
 
3
3
  module LVM
4
4
  module Attributes
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
 
7
7
  def load(version, name)
8
8
  cwd = File.dirname(__FILE__)
@@ -1,6 +1,6 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
3
- # /Users/Staer/Downloads/lvm2-2_02_100/lib/report/columns.h
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
4
  ---
5
5
  - :method: convert_lv
6
6
  :column: convert_lv
@@ -1,6 +1,6 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
3
- # /Users/Staer/Downloads/lvm2-2_02_100/lib/report/columns.h
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
4
  ---
5
5
  - :method: chunk_size
6
6
  :column: chunk_size
@@ -1,6 +1,6 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
3
- # /Users/Staer/Downloads/lvm2-2_02_100/lib/report/columns.h
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
4
  ---
5
5
  - :method: dev_size
6
6
  :column: dev_size
@@ -1,6 +1,6 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
3
- # /Users/Staer/Downloads/lvm2-2_02_100/lib/report/columns.h
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
4
  ---
5
5
  - :method: pv_uuid
6
6
  :column: pv_uuid
@@ -1,6 +1,6 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
3
- # /Users/Staer/Downloads/lvm2-2_02_100/lib/report/columns.h
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
4
  ---
5
5
  - :method: lv_count
6
6
  :column: lv_count
@@ -1,6 +1,6 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
3
- # /home/tom/Downloads/lvm2-2_02_105//lib/report/columns.h
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
4
  ---
5
5
  - :method: convert_lv
6
6
  :column: convert_lv
@@ -1,6 +1,6 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
3
- # /home/tom/Downloads/lvm2-2_02_105//lib/report/columns.h
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
4
  ---
5
5
  - :method: chunk_size
6
6
  :column: chunk_size
@@ -1,6 +1,6 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
3
- # /home/tom/Downloads/lvm2-2_02_105//lib/report/columns.h
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
4
  ---
5
5
  - :method: dev_size
6
6
  :column: dev_size
@@ -1,6 +1,6 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
3
- # /home/tom/Downloads/lvm2-2_02_105//lib/report/columns.h
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
4
  ---
5
5
  - :method: pv_uuid
6
6
  :column: pv_uuid
@@ -1,6 +1,6 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
3
- # /home/tom/Downloads/lvm2-2_02_105//lib/report/columns.h
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
4
  ---
5
5
  - :method: lv_count
6
6
  :column: lv_count
@@ -1,220 +1,220 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
3
- # ../lvm2-2_02_111/lib/report/columns.h
4
- ---
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
+ ---
5
5
  - :method: convert_lv
6
6
  :column: convert_lv
7
- :description: For lvconvert
8
7
  :type_hint: String
8
+ :description: For lvconvert
9
9
  - :method: copy_percent
10
10
  :column: copy_percent
11
- :description: For RAID
12
11
  :type_hint: String
12
+ :description: For RAID
13
13
  - :method: data_lv
14
14
  :column: data_lv
15
- :description: For thin pools
16
15
  :type_hint: String
16
+ :description: For thin pools
17
17
  - :method: data_percent
18
18
  :column: data_percent
19
- :description: For snapshot and thin pools and volumes
20
19
  :type_hint: String
20
+ :description: For snapshot and thin pools and volumes
21
21
  - :method: active
22
22
  :column: lv_active
23
- :description: Active state of the LV.
24
23
  :type_hint: String
24
+ :description: Active state of the LV.
25
25
  - :method: active_exclusively
26
26
  :column: lv_active_exclusively
27
- :description: Set if the LV is active exclusively.
28
27
  :type_hint: String
28
+ :description: Set if the LV is active exclusively.
29
29
  - :method: active_locally
30
30
  :column: lv_active_locally
31
- :description: Set if the LV is active locally.
32
31
  :type_hint: String
32
+ :description: Set if the LV is active locally.
33
33
  - :method: active_remotely
34
34
  :column: lv_active_remotely
35
- :description: Set if the LV is active remotely.
36
35
  :type_hint: String
36
+ :description: Set if the LV is active remotely.
37
37
  - :method: allocation_locked
38
38
  :column: lv_allocation_locked
39
- :description: Set if LV is locked against allocation changes.
40
39
  :type_hint: String
40
+ :description: Set if LV is locked against allocation changes.
41
41
  - :method: allocation_policy
42
42
  :column: lv_allocation_policy
43
- :description: LV allocation policy.
44
43
  :type_hint: String
44
+ :description: LV allocation policy.
45
45
  - :method: attr
46
46
  :column: lv_attr
47
- :description: Various attributes - see man page.
48
47
  :type_hint: String
48
+ :description: Various attributes - see man page.
49
49
  - :method: converting
50
50
  :column: lv_converting
51
- :description: Set if LV is being converted.
52
51
  :type_hint: String
52
+ :description: Set if LV is being converted.
53
53
  - :method: dm_path
54
54
  :column: lv_dm_path
55
- :description: Internal device-mapper pathname for LV (in /dev/mapper directory).
56
55
  :type_hint: String
56
+ :description: Internal device-mapper pathname for LV (in /dev/mapper directory).
57
57
  - :method: fixed_minor
58
58
  :column: lv_fixed_minor
59
- :description: Set if LV has fixed minor number assigned.
60
59
  :type_hint: String
60
+ :description: Set if LV has fixed minor number assigned.
61
61
  - :method: full_name
62
62
  :column: lv_full_name
63
- :description: Full name of LV including its VG
64
63
  :type_hint: String
64
+ :description: Full name of LV including its VG
65
65
  - :method: health_status
66
66
  :column: lv_health_status
67
- :description: LV health status.
68
67
  :type_hint: String
68
+ :description: LV health status.
69
69
  - :method: host
70
70
  :column: lv_host
71
- :description: Creation host of the LV
72
71
  :type_hint: String
72
+ :description: Creation host of the LV
73
73
  - :method: image_synced
74
74
  :column: lv_image_synced
75
- :description: Set if mirror/RAID image is synchronized.
76
75
  :type_hint: String
76
+ :description: Set if mirror/RAID image is synchronized.
77
77
  - :method: initial_image_sync
78
78
  :column: lv_initial_image_sync
79
- :description: Set if mirror/RAID images underwent initial resynchronization.
80
79
  :type_hint: String
80
+ :description: Set if mirror/RAID images underwent initial resynchronization.
81
81
  - :method: layout
82
82
  :column: lv_layout
83
- :description: LV layout.
84
83
  :type_hint: String
84
+ :description: LV layout.
85
85
  - :method: major
86
86
  :column: lv_major
87
- :description: Persistent major number or -1 if not persistent.
88
87
  :type_hint: Integer
88
+ :description: Persistent major number or -1 if not persistent.
89
89
  - :method: merge_failed
90
90
  :column: lv_merge_failed
91
- :description: Set if snapshot merge failed.
92
91
  :type_hint: String
92
+ :description: Set if snapshot merge failed.
93
93
  - :method: merging
94
94
  :column: lv_merging
95
- :description: Set if snapshot LV is being merged to origin.
96
95
  :type_hint: String
96
+ :description: Set if snapshot LV is being merged to origin.
97
97
  - :method: metadata_size
98
98
  :column: lv_metadata_size
99
+ :type_hint: Integer
99
100
  :description: For thin pools
100
- :type_hint: String
101
101
  - :method: minor
102
102
  :column: lv_minor
103
- :description: Persistent minor number or -1 if not persistent.
104
103
  :type_hint: Integer
104
+ :description: Persistent minor number or -1 if not persistent.
105
105
  - :method: modules
106
106
  :column: lv_modules
107
- :description: Kernel device-mapper modules required for this LV.
108
107
  :type_hint: String
108
+ :description: Kernel device-mapper modules required for this LV.
109
109
  - :method: name
110
110
  :column: lv_name
111
- :description: Name. LVs created for internal use are enclosed in brackets.
112
111
  :type_hint: String
112
+ :description: Name. LVs created for internal use are enclosed in brackets.
113
113
  - :method: parent
114
114
  :column: lv_parent
115
- :description: For LVs that are components of another LV
116
115
  :type_hint: String
116
+ :description: For LVs that are components of another LV
117
117
  - :method: path
118
118
  :column: lv_path
119
- :description: Full pathname for LV. Blank for internal LVs.
120
119
  :type_hint: String
120
+ :description: Full pathname for LV. Blank for internal LVs.
121
121
  - :method: profile
122
122
  :column: lv_profile
123
- :description: Configuration profile attached to this LV.
124
123
  :type_hint: String
124
+ :description: Configuration profile attached to this LV.
125
125
  - :method: read_ahead
126
126
  :column: lv_read_ahead
127
- :description: Read ahead setting in current units.
128
127
  :type_hint: String
128
+ :description: Read ahead setting in current units.
129
129
  - :method: role
130
130
  :column: lv_role
131
- :description: LV role.
132
131
  :type_hint: String
132
+ :description: LV role.
133
133
  - :method: size
134
134
  :column: lv_size
135
+ :type_hint: Integer
135
136
  :description: Size of LV in current units.
136
- :type_hint: String
137
137
  - :method: skip_activation
138
138
  :column: lv_skip_activation
139
- :description: Set if LV is skipped on activation.
140
139
  :type_hint: String
140
+ :description: Set if LV is skipped on activation.
141
141
  - :method: snapshot_invalid
142
142
  :column: lv_snapshot_invalid
143
- :description: Set if snapshot LV is invalid.
144
143
  :type_hint: String
144
+ :description: Set if snapshot LV is invalid.
145
145
  - :method: tags
146
146
  :column: lv_tags
147
- :description: Tags
148
147
  :type_hint: String
148
+ :description: Tags
149
149
  - :method: time
150
150
  :column: lv_time
151
- :description: Creation time of the LV
152
151
  :type_hint: String
152
+ :description: Creation time of the LV
153
153
  - :method: uuid
154
154
  :column: lv_uuid
155
- :description: Unique identifier.
156
155
  :type_hint: String
156
+ :description: Unique identifier.
157
157
  - :method: metadata_lv
158
158
  :column: metadata_lv
159
- :description: For thin pools
160
159
  :type_hint: String
160
+ :description: For thin pools
161
161
  - :method: metadata_percent
162
162
  :column: metadata_percent
163
- :description: For thin pools
164
163
  :type_hint: String
164
+ :description: For thin pools
165
165
  - :method: mirror_log
166
166
  :column: mirror_log
167
- :description: For mirrors
168
167
  :type_hint: String
168
+ :description: For mirrors
169
169
  - :method: move_pv
170
170
  :column: move_pv
171
- :description: For pvmove
172
171
  :type_hint: String
172
+ :description: For pvmove
173
173
  - :method: origin
174
174
  :column: origin
175
- :description: For snapshots
176
175
  :type_hint: String
176
+ :description: For snapshots
177
177
  - :method: origin_size
178
178
  :column: origin_size
179
+ :type_hint: Integer
179
180
  :description: For snapshots
180
- :type_hint: String
181
181
  - :method: pool_lv
182
182
  :column: pool_lv
183
- :description: For thin volumes
184
183
  :type_hint: String
184
+ :description: For thin volumes
185
185
  - :method: raid_max_recovery_rate
186
186
  :column: raid_max_recovery_rate
187
- :description: For RAID1
188
187
  :type_hint: Integer
188
+ :description: For RAID1
189
189
  - :method: raid_min_recovery_rate
190
190
  :column: raid_min_recovery_rate
191
- :description: For RAID1
192
191
  :type_hint: Integer
192
+ :description: For RAID1
193
193
  - :method: raid_mismatch_count
194
194
  :column: raid_mismatch_count
195
- :description: For RAID
196
195
  :type_hint: Integer
196
+ :description: For RAID
197
197
  - :method: raid_sync_action
198
198
  :column: raid_sync_action
199
- :description: For RAID
200
199
  :type_hint: String
200
+ :description: For RAID
201
201
  - :method: raid_write_behind
202
202
  :column: raid_write_behind
203
- :description: For RAID1
204
203
  :type_hint: Integer
204
+ :description: For RAID1
205
205
  - :method: seg_count
206
206
  :column: seg_count
207
- :description: Number of segments in LV.
208
207
  :type_hint: Integer
208
+ :description: Number of segments in LV.
209
209
  - :method: snap_percent
210
210
  :column: snap_percent
211
- :description: For snapshots
212
211
  :type_hint: String
212
+ :description: For snapshots
213
213
  - :method: sync_percent
214
214
  :column: sync_percent
215
- :description: For RAID
216
215
  :type_hint: String
216
+ :description: For RAID
217
217
  - :method: vg_uuid
218
218
  :column: vg_uuid
219
- :description: For VolumeGroup to LogicalVolume relationship.
220
219
  :type_hint: String
220
+ :description: For VolumeGroup to LogicalVolume relationship.
@@ -1,92 +1,92 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
3
- # ../lvm2-2_02_111/lib/report/columns.h
4
- ---
2
+ # generated by ./bin/generate_field_data based on
3
+ # lvm2/lib/report/columns.h
4
+ ---
5
5
  - :method: chunk_size
6
6
  :column: chunk_size
7
- :description: For snapshots
8
7
  :type_hint: Integer
8
+ :description: For snapshots
9
9
  - :method: chunksize
10
10
  :column: chunksize
11
- :description: For snapshots
12
11
  :type_hint: Integer
12
+ :description: For snapshots
13
13
  - :method: devices
14
14
  :column: devices
15
- :description: Underlying devices used with starting extent numbers.
16
15
  :type_hint: String
16
+ :description: Underlying devices used with starting extent numbers.
17
17
  - :method: discards
18
18
  :column: discards
19
- :description: For thin pools
20
19
  :type_hint: String
20
+ :description: For thin pools
21
21
  - :method: lv_uuid
22
22
  :column: lv_uuid
23
- :description: For LogicalVolume to LogicalVolumeSegment relationship.
24
23
  :type_hint: String
24
+ :description: For LogicalVolume to LogicalVolumeSegment relationship.
25
25
  - :method: region_size
26
26
  :column: region_size
27
- :description: For mirrors
28
27
  :type_hint: Integer
28
+ :description: For mirrors
29
29
  - :method: regionsize
30
30
  :column: regionsize
31
- :description: For mirrors
32
31
  :type_hint: Integer
32
+ :description: For mirrors
33
33
  - :method: monitor
34
34
  :column: seg_monitor
35
- :description: Dmeventd monitoring status of the segment.
36
35
  :type_hint: String
36
+ :description: Dmeventd monitoring status of the segment.
37
37
  - :method: pe_ranges
38
38
  :column: seg_pe_ranges
39
- :description: Ranges of Physical Extents of underlying devices in command line format.
40
39
  :type_hint: String
40
+ :description: Ranges of Physical Extents of underlying devices in command line format.
41
41
  - :method: size
42
42
  :column: seg_size
43
- :description: Size of segment in current units.
44
43
  :type_hint: Integer
44
+ :description: Size of segment in current units.
45
45
  - :method: size_pe
46
46
  :column: seg_size_pe
47
- :description: Size of segment in physical extents.
48
47
  :type_hint: Integer
48
+ :description: Size of segment in physical extents.
49
49
  - :method: start
50
50
  :column: seg_start
51
- :description: Offset within the LV to the start of the segment in current units.
52
51
  :type_hint: Integer
52
+ :description: Offset within the LV to the start of the segment in current units.
53
53
  - :method: start_pe
54
54
  :column: seg_start_pe
55
- :description: Offset within the LV to the start of the segment in physical extents.
56
55
  :type_hint: Integer
56
+ :description: Offset within the LV to the start of the segment in physical extents.
57
57
  - :method: tags
58
58
  :column: seg_tags
59
- :description: Tags
60
59
  :type_hint: String
60
+ :description: Tags
61
61
  - :method: segtype
62
62
  :column: segtype
63
- :description: Type of LV segment.
64
63
  :type_hint: String
64
+ :description: Type of LV segment.
65
65
  - :method: stripe_size
66
66
  :column: stripe_size
67
- :description: For stripes
68
67
  :type_hint: Integer
68
+ :description: For stripes
69
69
  - :method: stripes
70
70
  :column: stripes
71
- :description: Number of stripes or mirror legs.
72
71
  :type_hint: Integer
72
+ :description: Number of stripes or mirror legs.
73
73
  - :method: stripesize
74
74
  :column: stripesize
75
- :description: For stripes
76
75
  :type_hint: Integer
76
+ :description: For stripes
77
77
  - :method: thin_count
78
78
  :column: thin_count
79
- :description: For thin pools
80
79
  :type_hint: Integer
80
+ :description: For thin pools
81
81
  - :method: thin_id
82
82
  :column: thin_id
83
- :description: For thin volume
84
83
  :type_hint: Integer
84
+ :description: For thin volume
85
85
  - :method: transaction_id
86
86
  :column: transaction_id
87
- :description: For thin pools
88
87
  :type_hint: Integer
88
+ :description: For thin pools
89
89
  - :method: zero
90
90
  :column: zero
91
+ :type_hint: String
91
92
  :description: For thin pools
92
- :type_hint: Integer