di-ruby-lvm-attrib 0.0.2 → 0.0.3

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.
@@ -96,6 +96,8 @@ File.readlines(lvm_source + COLUMNS_FILE).each do |line|
96
96
  method.sub!(%r{^lv_}, '')
97
97
  when "SEGS"
98
98
  method.sub!(%r{^seg_}, '')
99
+ when "LABEL"
100
+ method.sub!(%r{^pv_}, '')
99
101
  when "PVS"
100
102
  method.sub!(%r{^pv_}, '')
101
103
  when "PVSEGS"
@@ -116,6 +118,8 @@ File.readlines(lvm_source + COLUMNS_FILE).each do |line|
116
118
  lvs << attribute
117
119
  when "SEGS"
118
120
  lvssegs << attribute
121
+ when "LABEL"
122
+ pvs << attribute
119
123
  when "PVS"
120
124
  pvs << attribute
121
125
  when "PVSEGS"
@@ -1,5 +1,5 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
2
+ # generated by ./bin/generate_field_data based on
3
3
  # ../lvm2-src/lvm2-2.02.66//lib/report/columns.h
4
4
  ---
5
5
  - :method: convert_lv
@@ -1,5 +1,5 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
2
+ # generated by ./bin/generate_field_data based on
3
3
  # ../lvm2-src/lvm2-2.02.66//lib/report/columns.h
4
4
  ---
5
5
  - :method: chunk_size
@@ -1,7 +1,11 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
2
+ # generated by ./bin/generate_field_data based on
3
3
  # ../lvm2-src/lvm2-2.02.66//lib/report/columns.h
4
4
  ---
5
+ - :method: dev_size
6
+ :column: dev_size
7
+ :type_hint: Integer
8
+ :description: Size of underlying device in current units.
5
9
  - :method: pe_start
6
10
  :column: pe_start
7
11
  :type_hint: Integer
@@ -10,6 +14,10 @@
10
14
  :column: pv_attr
11
15
  :type_hint: String
12
16
  :description: Various attributes - see man page.
17
+ - :method: fmt
18
+ :column: pv_fmt
19
+ :type_hint: String
20
+ :description: Type of metadata.
13
21
  - :method: free
14
22
  :column: pv_free
15
23
  :type_hint: Integer
@@ -18,6 +26,18 @@
18
26
  :column: pv_mda_count
19
27
  :type_hint: Integer
20
28
  :description: Number of metadata areas on this device.
29
+ - :method: mda_free
30
+ :column: pv_mda_free
31
+ :type_hint: Integer
32
+ :description: Free metadata area space on this device in current units.
33
+ - :method: mda_size
34
+ :column: pv_mda_size
35
+ :type_hint: Integer
36
+ :description: Size of smallest metadata area on this device in current units.
37
+ - :method: name
38
+ :column: pv_name
39
+ :type_hint: String
40
+ :description: Name.
21
41
  - :method: pe_alloc_count
22
42
  :column: pv_pe_alloc_count
23
43
  :type_hint: Integer
@@ -38,6 +58,10 @@
38
58
  :column: pv_used
39
59
  :type_hint: Integer
40
60
  :description: Total amount of allocated space in current units.
61
+ - :method: uuid
62
+ :column: pv_uuid
63
+ :type_hint: String
64
+ :description: Unique identifier.
41
65
  - :method: vg_uuid
42
66
  :column: vg_uuid
43
67
  :type_hint: String
@@ -1,5 +1,5 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
2
+ # generated by ./bin/generate_field_data based on
3
3
  # ../lvm2-src/lvm2-2.02.66//lib/report/columns.h
4
4
  ---
5
5
  - :method: pv_uuid
@@ -1,5 +1,5 @@
1
1
  # These are column to object attribute mappings
2
- # generated by bin/generate_field_data based on
2
+ # generated by ./bin/generate_field_data based on
3
3
  # ../lvm2-src/lvm2-2.02.66//lib/report/columns.h
4
4
  ---
5
5
  - :method: lv_count
@@ -2,7 +2,7 @@ require 'yaml'
2
2
 
3
3
  module LVM
4
4
  module Attributes
5
- VERSION = '0.0.2'
5
+ VERSION = '0.0.3'
6
6
 
7
7
  def load(version, name)
8
8
  cwd = File.dirname(__FILE__)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: di-ruby-lvm-attrib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: