foreman_xen 0.0.5 → 0.0.5.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.
@@ -2,11 +2,13 @@
|
|
2
2
|
<%
|
3
3
|
nat = compute_resource.networks
|
4
4
|
selected = ""
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
if params['host']
|
6
|
+
if params && params['host'] && params['host']['compute_attributes']
|
7
|
+
selected = params['host']['compute_attributes']['VIFs']['print']
|
8
|
+
elsif new.__vifs
|
9
|
+
selected = new.__vifs['print']
|
10
|
+
end
|
11
|
+
end
|
10
12
|
-%>
|
11
13
|
|
12
14
|
<div id='nat' class=''>
|
@@ -2,13 +2,16 @@
|
|
2
2
|
<%
|
3
3
|
selected = ""
|
4
4
|
size = ""
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
5
|
+
|
6
|
+
if params['host']
|
7
|
+
if params && params['host'] && params['host']['compute_attributes'] && params['host']['compute_attributes']['VBDs']['physical_size'] != ""
|
8
|
+
selected = params['host']['compute_attributes']['VBDs']['print']
|
9
|
+
size = params['host']['compute_attributes']['VBDs']['physical_size']
|
10
|
+
elsif new.__vbds
|
11
|
+
selected = new.__vbds['print']
|
12
|
+
size = new.__vbds['physical_size']
|
13
|
+
end
|
14
|
+
end
|
12
15
|
-%>
|
13
16
|
<%= selectable_f f, :print, compute_resource.storage_pools.map(&:name), { :selected => selected }, :class => "span2", :label => _("Storage Repository") %>
|
14
17
|
<%= text_f f, :physical_size, :class => "input-mini", :label => _("Size (GB)"), :value => size %>
|
data/lib/foreman_xen/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_xen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 89
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
9
|
- 5
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 0.0.5.1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- "Pavel Nemirovsky, Micha\xC5\x82 Piotrowski, Avi Israeli"
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2014-12-
|
19
|
+
date: 2014-12-30 00:00:00 +00:00
|
19
20
|
default_executable:
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|