libvirt_ffi 0.5.6 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libvirt.rb +3 -1
- data/lib/libvirt/base_info.rb +8 -0
- data/lib/libvirt/connection.rb +267 -22
- data/lib/libvirt/domain.rb +23 -2
- data/lib/libvirt/ffi.rb +2 -0
- data/lib/libvirt/ffi/domain.rb +57 -43
- data/lib/libvirt/ffi/host.rb +9 -1
- data/lib/libvirt/ffi/interface.rb +175 -0
- data/lib/libvirt/ffi/network.rb +392 -0
- data/lib/libvirt/ffi/storage.rb +85 -0
- data/lib/libvirt/{domain_callback_storage.rb → host_callback_storage.rb} +19 -8
- data/lib/libvirt/interface.rb +92 -0
- data/lib/libvirt/network.rb +176 -0
- data/lib/libvirt/network_dhcp_lease.rb +20 -0
- data/lib/libvirt/storage_pool.rb +17 -2
- data/lib/libvirt/util.rb +2 -0
- data/lib/libvirt/version.rb +1 -1
- data/lib/libvirt/xml.rb +3 -0
- data/lib/libvirt/xml/generic.rb +6 -3
- data/lib/libvirt/xml/interface.rb +79 -0
- data/lib/libvirt/xml/ip_address.rb +51 -0
- data/lib/libvirt/xml/network.rb +204 -0
- data/test_usage/test_interface.rb +47 -0
- data/test_usage/test_network.rb +73 -0
- metadata +13 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libvirt_ffi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Talakevich
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -61,7 +61,6 @@ files:
|
|
61
61
|
- lib/libvirt/base_info.rb
|
62
62
|
- lib/libvirt/connection.rb
|
63
63
|
- lib/libvirt/domain.rb
|
64
|
-
- lib/libvirt/domain_callback_storage.rb
|
65
64
|
- lib/libvirt/errors.rb
|
66
65
|
- lib/libvirt/event.rb
|
67
66
|
- lib/libvirt/ffi.rb
|
@@ -71,8 +70,14 @@ files:
|
|
71
70
|
- lib/libvirt/ffi/event.rb
|
72
71
|
- lib/libvirt/ffi/helpers.rb
|
73
72
|
- lib/libvirt/ffi/host.rb
|
73
|
+
- lib/libvirt/ffi/interface.rb
|
74
|
+
- lib/libvirt/ffi/network.rb
|
74
75
|
- lib/libvirt/ffi/storage.rb
|
75
76
|
- lib/libvirt/ffi/stream.rb
|
77
|
+
- lib/libvirt/host_callback_storage.rb
|
78
|
+
- lib/libvirt/interface.rb
|
79
|
+
- lib/libvirt/network.rb
|
80
|
+
- lib/libvirt/network_dhcp_lease.rb
|
76
81
|
- lib/libvirt/node_info.rb
|
77
82
|
- lib/libvirt/storage_pool.rb
|
78
83
|
- lib/libvirt/storage_pool_info.rb
|
@@ -86,8 +91,11 @@ files:
|
|
86
91
|
- lib/libvirt/xml/domain.rb
|
87
92
|
- lib/libvirt/xml/generic.rb
|
88
93
|
- lib/libvirt/xml/graphics.rb
|
94
|
+
- lib/libvirt/xml/interface.rb
|
95
|
+
- lib/libvirt/xml/ip_address.rb
|
89
96
|
- lib/libvirt/xml/max_vcpu.rb
|
90
97
|
- lib/libvirt/xml/memory.rb
|
98
|
+
- lib/libvirt/xml/network.rb
|
91
99
|
- lib/libvirt/xml/storage_pool.rb
|
92
100
|
- lib/libvirt/xml/storage_volume.rb
|
93
101
|
- lib/libvirt/xml/vcpu.rb
|
@@ -97,8 +105,10 @@ files:
|
|
97
105
|
- test_usage/support/log_formatter.rb
|
98
106
|
- test_usage/test_domain.rb
|
99
107
|
- test_usage/test_event_loop.rb
|
108
|
+
- test_usage/test_interface.rb
|
100
109
|
- test_usage/test_libvirtd_restart.rb
|
101
110
|
- test_usage/test_metadata.rb
|
111
|
+
- test_usage/test_network.rb
|
102
112
|
- test_usage/test_screenshot.rb
|
103
113
|
- test_usage/test_storage.rb
|
104
114
|
homepage: https://github.com/senid231/libvirt_ffi
|