foreman_gridscale 1.0.3 → 1.2.0
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 74dbd2f455c4aa0a87e2042ea4ce080933b53b39
|
4
|
+
data.tar.gz: d510dae2686a4863adfb79c0cb0caab9a34b310f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc8d295c4203319b2d852765383ee07a75ac495de16db3408546335de2c7e6dbb911f2b00fa368fd41dd93cf51736cc49054ceb8c544d8c82dc70c4623b9a87d
|
7
|
+
data.tar.gz: 99918b81ac7a2b7a76530393b172f9e331f253788ede3859644bdf169e39b44adde74ce4e31f879f6513b49d0353a3e890b62f4fa56f8ac71abc17abcda49509
|
data/README.md
CHANGED
@@ -82,8 +82,6 @@ Go to Infrastructure > Compute resource and select the compute resource for grid
|
|
82
82
|
* When creating a host, multiple network interfaces can be set to bootable. The gridscale platform does not support this, which is why only one of the interfaces will actually be set to bootable if this is the case
|
83
83
|
* When creating a compute profile, the chosen network interface configuration is not saved
|
84
84
|
* The Virtual Machines overview of a compute resource can take a long time to load
|
85
|
-
* The data shown in the VM tab of a host is not complete. More input about which information is useful is needed
|
86
85
|
* Opening the console of a host in Foreman has not been implemented, but a link to gridscale is supplied
|
87
86
|
* Acpi power off fails to shut down a system which did not boot
|
88
|
-
* MAC, IP4 and IP6 information is in the VM tab, not Interface
|
89
87
|
|
@@ -9,7 +9,7 @@ module GridscaleImagesHelper
|
|
9
9
|
def select_ipv4(f, compute_resource)
|
10
10
|
addresses = Array.new
|
11
11
|
compute_resource.ips.each do |ip|
|
12
|
-
if ip.relations['servers'].empty? and ip.relations['loadbalancers'].empty? and ip.family ==4 and ip.failover
|
12
|
+
if ip.relations['servers'].empty? and ip.relations['loadbalancers'].empty? and ip.family ==4 and ip.failover == false
|
13
13
|
addresses << ip
|
14
14
|
end
|
15
15
|
end
|
@@ -29,7 +29,7 @@ module GridscaleImagesHelper
|
|
29
29
|
def select_ipv6(f, compute_resource)
|
30
30
|
addresses = Array.new
|
31
31
|
compute_resource.ips.each do |ip|
|
32
|
-
if ip.relations['servers'].empty? and ip.relations['loadbalancers'].empty? and ip.family ==6 and ip.failover
|
32
|
+
if ip.relations['servers'].empty? and ip.relations['loadbalancers'].empty? and ip.family ==6 and ip.failover == false
|
33
33
|
addresses << ip
|
34
34
|
end
|
35
35
|
end
|
@@ -4,6 +4,8 @@ module FogExtensions
|
|
4
4
|
extend ActiveSupport::Concern
|
5
5
|
|
6
6
|
attr_accessor :object_uuid, :mac, :server_uuid, :interfaces_attributes, :ipv4_address, :ipv6_address
|
7
|
+
alias_attribute :ip, :ipv4_address
|
8
|
+
alias_attribute :ip6, :ipv6_address
|
7
9
|
|
8
10
|
def state
|
9
11
|
requires :status
|
@@ -57,7 +59,10 @@ module FogExtensions
|
|
57
59
|
:mac
|
58
60
|
end
|
59
61
|
|
60
|
-
|
62
|
+
def select_nic(fog_nics, nic)
|
63
|
+
# foreman-xenserver uses fog_nics[0] here, so I'll just copy that for now.
|
64
|
+
fog_nics[0]
|
65
|
+
end
|
61
66
|
end
|
62
67
|
end
|
63
68
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_gridscale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aldemuro Haris
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubocop
|
@@ -106,7 +106,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
|
-
|
109
|
+
rubyforge_project:
|
110
|
+
rubygems_version: 2.5.2.3
|
110
111
|
signing_key:
|
111
112
|
specification_version: 4
|
112
113
|
summary: Provision and manage gridscale instances from Foreman
|