hammer_cli_foreman_kubevirt 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b92e34eb3f05f411c78ae12c8f3ca5c4cb7ea0e6024a386ea774a7542f3ac986
|
4
|
+
data.tar.gz: 3fef7fcfacdc88bab46740d9c29e01708a027c285f388c970d16b183f50da908
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0bd7889eb3f9aeeb49cfbf54e12278997536f825f2342f1f085e50af746d383e098c9285e42d4cd81501a79482275f35d823b2e71b9b2fbe1712ef4a47202f8
|
7
|
+
data.tar.gz: e9f434ec6f41c6eb51a29ac6f9659b302f34e04f5d1cf4c97758da2cfc6a4067fe223382c52a44dfc1db6e211c535f6e3b0644be5075ed182e775eb56605e98d
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@ This [Hammer CLI](https://github.com/theforeman/hammer-cli) plugin contains
|
|
5
5
|
set of commands for [foreman_kubevirt](https://github.com/theforeman/foreman_kubevirt),
|
6
6
|
a plugin to [Foreman](http://theforeman.org/) for KubeVirt.
|
7
7
|
|
8
|
-
Check out the [release notes](
|
8
|
+
Check out the [release notes](CHANGELOG.md#release-notes) to see what's new in the latest version.
|
9
9
|
|
10
10
|
Configuration
|
11
11
|
-------------
|
@@ -9,7 +9,7 @@ module HammerCLIForemanKubevirt
|
|
9
9
|
|
10
10
|
def compute_attributes
|
11
11
|
[
|
12
|
-
['
|
12
|
+
['cpu_cores', _('number of cores, Integer value')],
|
13
13
|
['memory', _('Amount of memory, integer value in bytes')]
|
14
14
|
]
|
15
15
|
end
|
@@ -22,8 +22,8 @@ module HammerCLIForemanKubevirt
|
|
22
22
|
|
23
23
|
def interface_attributes
|
24
24
|
[
|
25
|
-
['
|
26
|
-
['
|
25
|
+
['compute_cni_provider', _('Container Network Interface Provider name')],
|
26
|
+
['compute_network', _('The network to connect the vm to')]
|
27
27
|
]
|
28
28
|
end
|
29
29
|
|
@@ -35,6 +35,14 @@ module HammerCLIForemanKubevirt
|
|
35
35
|
]
|
36
36
|
end
|
37
37
|
|
38
|
+
def provider_specific_fields
|
39
|
+
[
|
40
|
+
Fields::Field.new(:label => _('hostname'), :path => [:hostname]),
|
41
|
+
Fields::Field.new(:label => _('api_port'), :path => [:api_port]),
|
42
|
+
Fields::Field.new(:label => _('namespace'), :path => [:namespace]),
|
43
|
+
]
|
44
|
+
end
|
45
|
+
|
38
46
|
def mandatory_resource_options
|
39
47
|
super + %i[hostname api_port namespace token]
|
40
48
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_foreman_kubevirt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shira Maximov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gettext
|