staypuft 0.5.22 → 0.5.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/staypuft/staypuft.js +31 -12
- data/app/assets/stylesheets/staypuft/staypuft.css.scss +4 -0
- data/app/controllers/staypuft/deployments_controller.rb +6 -0
- data/app/lib/staypuft/seeder.rb +10 -7
- data/app/models/staypuft/deployment/neutron_service.rb +1 -1
- data/app/views/staypuft/deployments/_assigned_hosts.html.erb +2 -2
- data/app/views/staypuft/deployments/_hosts_table.html.erb +9 -0
- data/app/views/staypuft/steps/services_configuration.html.erb +1 -0
- data/config/routes.rb +1 -0
- data/lib/staypuft/version.rb +1 -1
- metadata +148 -148
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daf1a3990ef4de4a5b4eff59c623f14ddbcfe516
|
4
|
+
data.tar.gz: b29051897ad4515d8b393b9ad2cdb5b01851d08c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e3f7ce024682f49e5a82ed37ce96c28abc61b47a0f8eb9a4baff554adfb2447dd07438db8db5a03316c08851edd382ccc6816ee71bb252c16de582890da6bde
|
7
|
+
data.tar.gz: ae1f01889445970ae5deb7791d27e2d00817fda80ae9d5bb28f33df5340f22dd9d1ed2cfd70f6d77e56784554248df4d415cc75db1e015bb470968ef5d13079c
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
$(function () {
|
18
18
|
// Check all checkboxes in table
|
19
|
-
$('.check_all').
|
19
|
+
$('.check_all').live('change', function (e) {
|
20
20
|
var table = $(e.target).closest('table');
|
21
21
|
$('td input:checkbox', table).attr('checked', e.target.checked);
|
22
22
|
$('td input:checkbox', table).closest("tr").toggleClass("info", this.checked);
|
@@ -152,12 +152,16 @@ $('.neutron_ml2_mechanisms').parent().parent().removeClass('col-md-6').addClass(
|
|
152
152
|
|
153
153
|
showControllerWarning("glance");
|
154
154
|
showControllerWarning("cinder");
|
155
|
+
showControllerWarning("l2pop");
|
155
156
|
$("input[name='staypuft_deployment[glance][driver_backend]']").change(function(){
|
156
157
|
showControllerWarning("glance")
|
157
158
|
});
|
158
159
|
$("#staypuft_deployment_cinder_backend_lvm").change(function(){
|
159
160
|
showControllerWarning("cinder")
|
160
161
|
});
|
162
|
+
$("#staypuft_deployment_neutron_ml2_l2population").change(function(){
|
163
|
+
showControllerWarning("l2pop")
|
164
|
+
});
|
161
165
|
function showControllerWarning(which_warning) {
|
162
166
|
if(which_warning == "glance") {
|
163
167
|
if($("#staypuft_deployment_glance_driver_backend_local").is(":checked")) {
|
@@ -181,6 +185,14 @@ $('.neutron_ml2_mechanisms').parent().parent().removeClass('col-md-6').addClass(
|
|
181
185
|
$('.cinder-controller-warning').hide();
|
182
186
|
}
|
183
187
|
}
|
188
|
+
if(which_warning == "l2pop") {
|
189
|
+
if($("#staypuft_deployment_neutron_ml2_l2population").is(":checked")) {
|
190
|
+
$('.neutron-l2pop-warning').find(".replace").html(" (L2 Population)");
|
191
|
+
$('.neutron-l2pop-warning').show();
|
192
|
+
} else {
|
193
|
+
$('.neutron-l2pop-warning').hide();
|
194
|
+
}
|
195
|
+
}
|
184
196
|
}
|
185
197
|
|
186
198
|
showGlanceNfsNetworkPath();
|
@@ -380,8 +392,15 @@ $('.neutron_ml2_mechanisms').parent().parent().removeClass('col-md-6').addClass(
|
|
380
392
|
$("input:checkbox[name=host_ids[]]:checked").removeAttr('checked')
|
381
393
|
$("tr.checkbox_highlight").removeClass('checkbox_highlight');
|
382
394
|
$("tr.info").removeClass('info');
|
383
|
-
|
384
|
-
|
395
|
+
//reload the assigned hosts div
|
396
|
+
var to_path = $('#configure_networks_modal').data('refresh_path');
|
397
|
+
|
398
|
+
$('#configure_networks_modal').modal('hide');
|
399
|
+
$('body').removeClass('modal-open');
|
400
|
+
$('.modal-backdrop').remove();
|
401
|
+
$('#assigned-hosts_table').html('<img alt="Spinner" src="/assets/spinner.gif" style="display: block; margin-left: auto; margin-right: auto">');
|
402
|
+
$('#assigned-hosts_table').load(to_path);
|
403
|
+
});
|
385
404
|
});
|
386
405
|
|
387
406
|
$('#new_subnet_modal').on('shown.bs.modal', function(e) {
|
@@ -404,7 +423,7 @@ $('.neutron_ml2_mechanisms').parent().parent().removeClass('col-md-6').addClass(
|
|
404
423
|
});
|
405
424
|
$('#vip_modal').on('shown.bs.modal', function(){
|
406
425
|
$("#vip_modal_button").submit();
|
407
|
-
})
|
426
|
+
});
|
408
427
|
var scrolled = false;
|
409
428
|
|
410
429
|
$(window).scroll(function(){
|
@@ -420,7 +439,7 @@ $('.neutron_ml2_mechanisms').parent().parent().removeClass('col-md-6').addClass(
|
|
420
439
|
this.form.method = $(this).data('method');
|
421
440
|
this.form.submit();
|
422
441
|
return false;
|
423
|
-
})
|
442
|
+
});
|
424
443
|
|
425
444
|
var free_host_checkboxes = $('#free-hosts table input:checkbox');
|
426
445
|
free_host_checkboxes.click(function(){
|
@@ -454,19 +473,19 @@ $('.neutron_ml2_mechanisms').parent().parent().removeClass('col-md-6').addClass(
|
|
454
473
|
$(".tab-content").find(".form-group.has-error").each(function(index) {
|
455
474
|
var id = $(this).parentsUntil(".tab-content").last().attr("id");
|
456
475
|
$("a[href=#"+id+"]").parent().addClass("tab-error");
|
457
|
-
})
|
476
|
+
});
|
458
477
|
|
459
478
|
$("button.add_another_server").live("click", function() {
|
460
479
|
var eqlx_form = function () {
|
461
480
|
return $('#eqlx_form_template').text().replace(/NEW_RECORD/g, new Date().getTime());
|
462
|
-
}
|
481
|
+
};
|
463
482
|
$('#eqlxs').append(eqlx_form());
|
464
483
|
if($('#eqlxs').children().length > 1) {
|
465
484
|
var added_form_span = $('#eqlxs').children().last().find('h5').find('.server_number');
|
466
485
|
var previous_span_number = $('#eqlxs').children().eq(-2).find('h5').find('.server_number');
|
467
486
|
added_form_span.html(parseInt(previous_span_number.html(), 10) + 1);
|
468
487
|
}
|
469
|
-
})
|
488
|
+
});
|
470
489
|
|
471
490
|
/**
|
472
491
|
* Adds another NetApp storage system configuration section
|
@@ -474,7 +493,7 @@ $('.neutron_ml2_mechanisms').parent().parent().removeClass('col-md-6').addClass(
|
|
474
493
|
$("button.add_another_netapp").live("click", function() {
|
475
494
|
var netapp_form = function () {
|
476
495
|
return $('#netapp_form_template').text().replace(/NEW_RECORD/g, new Date().getTime());
|
477
|
-
}
|
496
|
+
};
|
478
497
|
$('#netapps').append(netapp_form());
|
479
498
|
if($('#netapps').children().length > 1) {
|
480
499
|
var added_form_span = $('#netapps').children().last().find('h5').find('.server_number');
|
@@ -485,19 +504,19 @@ $('.neutron_ml2_mechanisms').parent().parent().removeClass('col-md-6').addClass(
|
|
485
504
|
// Unbind existing handlers & add event handlers to all NetApp config sections
|
486
505
|
$(".netapp-main select[name*=storage_family]").unbind().change(showHideNetAppOptions);
|
487
506
|
$(".netapp-main select[name*=storage_protocol]").unbind().change(showHideNetAppOptions);
|
488
|
-
})
|
507
|
+
});
|
489
508
|
|
490
509
|
$("button.add_another_switch").live("click", function() {
|
491
510
|
var nexus_form = function() {
|
492
511
|
return $('#nexus_form_template').text().replace(/NEW_RECORD/g, new Date().getTime());
|
493
|
-
}
|
512
|
+
};
|
494
513
|
$('#nexuses').append(nexus_form());
|
495
514
|
if($('#nexuses').children().length > 1) {
|
496
515
|
var added_form_span = $('#nexuses').children().last().find('h5').find('.switch_number');
|
497
516
|
var previous_span_number = $('#nexuses').children().eq(-2).find('h5').find('.switch_number');
|
498
517
|
added_form_span.html(parseInt(previous_span_number.html(), 10) + 1);
|
499
518
|
}
|
500
|
-
})
|
519
|
+
});
|
501
520
|
|
502
521
|
function remove_element_on_click(element_name) {
|
503
522
|
$(element_name + " h5 a.remove").live("click", function(){
|
@@ -153,6 +153,12 @@ module Staypuft
|
|
153
153
|
redirect_to deployment_path(@deployment)
|
154
154
|
end
|
155
155
|
|
156
|
+
def refresh_assigned_hosts
|
157
|
+
@deployment = Deployment.find(params[:id])
|
158
|
+
assigned_hosts = @deployment.hosts.select { |h| !h.open_stack_deployed? }
|
159
|
+
render partial: "hosts_table", locals: { hosts: assigned_hosts, deployment_role_col: true, path: deployment_path(@deployment.id) }
|
160
|
+
end
|
161
|
+
|
156
162
|
private
|
157
163
|
|
158
164
|
def assign_host_to_hostgroup(assignee_host, hostgroup)
|
data/app/lib/staypuft/seeder.rb
CHANGED
@@ -211,7 +211,7 @@ module Staypuft
|
|
211
211
|
:layouts => ALL_LAYOUTS}
|
212
212
|
}
|
213
213
|
|
214
|
-
def get_host_format(param_name
|
214
|
+
def get_host_format(param_name)
|
215
215
|
{ :string => "<%= @host.deployment.network_query.get_vip(:#{param_name}) %>" }
|
216
216
|
end
|
217
217
|
|
@@ -387,14 +387,15 @@ module Staypuft
|
|
387
387
|
pcmk_ip = { :string => "<%= @host.network_query.ip_for_host('#{Staypuft::SubnetType::CLUSTER_MGMT}') %>" }
|
388
388
|
lb_backend_server_addrs = { :array => "<%= @host.deployment.network_query.controller_ips('#{Staypuft::SubnetType::MANAGEMENT}') %>" }
|
389
389
|
# private API/management
|
390
|
-
amqp_host
|
391
|
-
mysql_host
|
392
|
-
glance_host
|
393
|
-
neutron_host
|
390
|
+
amqp_host = get_host_format :amqp_vip
|
391
|
+
mysql_host = get_host_format :db_vip
|
392
|
+
glance_host = get_host_format :glance_private_vip
|
393
|
+
neutron_host = get_host_format :neutron_private_vip
|
394
|
+
nova_host = get_host_format :nova_private_vip
|
394
395
|
#admin API
|
395
|
-
auth_host
|
396
|
+
auth_host = get_host_format :keystone_admin_vip
|
396
397
|
# public API
|
397
|
-
|
398
|
+
vncproxy_host = get_host_format :nova_public_vip
|
398
399
|
|
399
400
|
fencing_type = { :string => '<%= (@host.bmc_nic && @host.bmc_nic.fencing_enabled?) ? @host.bmc_nic.attrs["fencing_type"] : "disabled" %>' }
|
400
401
|
fence_ipmilan_address = { :string => '<%= @host.bmc_nic.ip if @host.bmc_nic && @host.bmc_nic.fencing_enabled? %>' }
|
@@ -633,6 +634,7 @@ module Staypuft
|
|
633
634
|
'glance_host' => glance_host,
|
634
635
|
'auth_host' => auth_host,
|
635
636
|
'nova_host' => nova_host,
|
637
|
+
'vncproxy_host' => vncproxy_host,
|
636
638
|
'private_ip' => private_ip,
|
637
639
|
'network_device_mtu' => nova_network_device_mtu,
|
638
640
|
'rabbit_hosts' => lb_backend_server_addrs,
|
@@ -673,6 +675,7 @@ module Staypuft
|
|
673
675
|
'auth_host' => auth_host,
|
674
676
|
'neutron_host' => neutron_host,
|
675
677
|
'nova_host' => nova_host,
|
678
|
+
'vncproxy_host' => vncproxy_host,
|
676
679
|
'private_ip' => private_ip,
|
677
680
|
'agent_type' => neutron_agent_type,
|
678
681
|
'security_group_api' => neutron_security_group_api,
|
@@ -110,7 +110,7 @@ module Staypuft
|
|
110
110
|
self.network_segmentation = NetworkSegmentation::VXLAN
|
111
111
|
self.core_plugin = CorePlugin::ML2
|
112
112
|
self.ml2_openvswitch = "true"
|
113
|
-
self.ml2_l2population = "
|
113
|
+
self.ml2_l2population = "false"
|
114
114
|
self.ml2_cisco_nexus = "false"
|
115
115
|
self.network_device_mtu = nil
|
116
116
|
end
|
@@ -11,8 +11,8 @@
|
|
11
11
|
<%= submit_tag _("Unassign Hosts"), :class => "btn btn-primary btn-sm", :disabled => true, :id => "unassign_hosts_button" %>
|
12
12
|
</div>
|
13
13
|
</div>
|
14
|
-
|
15
|
-
<div class="modal fade" id="configure_networks_modal" tabindex="-1" role="dialog" aria-labelledby="<%= _("Configure Networks") %>" aria-hidden="true" data-path="<%= deployment_interface_assignments_path(@deployment.id) %>">
|
14
|
+
<div id="assigned-hosts_table"><%= render partial: "hosts_table", locals: { hosts: hosts, deployment_role_col: true } %></div>
|
15
|
+
<div class="modal fade" id="configure_networks_modal" tabindex="-1" role="dialog" aria-labelledby="<%= _("Configure Networks") %>" aria-hidden="true" data-path="<%= deployment_interface_assignments_path(@deployment.id) %>" data-refresh_path="<%= refresh_assigned_hosts_deployment_path(@deployment.id)%>">
|
16
16
|
<div class="modal-dialog modal-lg">
|
17
17
|
<div class="modal-content">
|
18
18
|
<div class="modal-header">
|
@@ -57,3 +57,12 @@
|
|
57
57
|
<% end %>
|
58
58
|
</tbody>
|
59
59
|
</table>
|
60
|
+
|
61
|
+
|
62
|
+
<script type="text/javascript">
|
63
|
+
//small replacement to make the behavior the same as it was before we had a refreshs
|
64
|
+
jQuery('a[href*="refresh_assigned_hosts"]').each(function(){
|
65
|
+
var _href = $(this).attr('href');
|
66
|
+
$(this).attr('href', _href.replace(/refresh_assigned_hosts/, ''));
|
67
|
+
})
|
68
|
+
</script>
|
@@ -31,6 +31,7 @@
|
|
31
31
|
<h3><%= _("%s Service Configuration") % service_name.to_s.capitalize %></h3>
|
32
32
|
<div class="<%= "%s-controller-warning" % service_name.to_s %> alert alert-warning base in fade alert-dismissable hide"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button><h4 class="alert-heading"><%= _("Warning") %></h4><li><%= _("Only one controller should be assigned when using this option.") %><span class="replace"></span></li></div>
|
33
33
|
<div class="<%= "%s-ceph-warning" % service_name.to_s %> alert alert-warning base in fade alert-dismissable hide"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">x</button><h4 class="alert-heading"><%= _("Warning") %></h4><li><%= _("Manual steps are required when deploying with Ceph as a backend for #{service_name.to_s}. Please see documentation for additional steps.") %><span class="replace"></span></li></div>
|
34
|
+
<div class="<%= "%s-l2pop-warning" % service_name.to_s %> alert alert-warning base in fade alert-dismissable hide"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">x</button><h4 class="alert-heading"><%= _("Warning") %></h4><li><%= _("When L2 Population is enabled, L3 HA will automatically be turned off.") %><span class="replace"></span></li></div>
|
34
35
|
<%= render partial: service_name.to_s, locals: {f: f}%>
|
35
36
|
</div>
|
36
37
|
<% end %>
|
data/config/routes.rb
CHANGED
data/lib/staypuft/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: staypuft
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Staypuft team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: foreman-tasks
|
@@ -101,202 +101,202 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
-
-
|
105
|
-
- README.md
|
106
|
-
- Rakefile
|
104
|
+
- app/assets/javascripts/staypuft/nics_assignment.js
|
107
105
|
- app/assets/javascripts/staypuft/host_edit.js
|
108
106
|
- app/assets/javascripts/staypuft/new_subnet.js
|
109
|
-
- app/assets/javascripts/staypuft/nics_assignment.js
|
110
107
|
- app/assets/javascripts/staypuft/staypuft.js
|
111
108
|
- app/assets/javascripts/staypuft/subnets_assignment.js
|
112
109
|
- app/assets/stylesheets/staypuft/bootstrap_and_overrides.css.scss
|
113
110
|
- app/assets/stylesheets/staypuft/foreman_helper.scss
|
114
111
|
- app/assets/stylesheets/staypuft/staypuft.css.scss
|
115
112
|
- app/controllers/staypuft/application_controller.rb
|
116
|
-
- app/controllers/staypuft/
|
113
|
+
- app/controllers/staypuft/subnet_typings_controller.rb
|
114
|
+
- app/controllers/staypuft/interface_assignments_controller.rb
|
115
|
+
- app/controllers/staypuft/steps_controller.rb
|
117
116
|
- app/controllers/staypuft/concerns/hosts_api_extensions.rb
|
118
117
|
- app/controllers/staypuft/concerns/hosts_controller_extensions.rb
|
119
118
|
- app/controllers/staypuft/deployments_controller.rb
|
120
|
-
- app/controllers/staypuft/interface_assignments_controller.rb
|
121
|
-
- app/controllers/staypuft/steps_controller.rb
|
122
|
-
- app/controllers/staypuft/subnet_typings_controller.rb
|
123
119
|
- app/controllers/staypuft/subnets_controller.rb
|
124
|
-
- app/
|
125
|
-
- app/
|
126
|
-
- app/
|
127
|
-
- app/
|
128
|
-
- app/
|
129
|
-
- app/
|
130
|
-
- app/
|
131
|
-
- app/lib/actions/staypuft/host/deploy.rb
|
132
|
-
- app/lib/actions/staypuft/host/puppet_run.rb
|
133
|
-
- app/lib/actions/staypuft/host/report_wait.rb
|
134
|
-
- app/lib/actions/staypuft/host/trigger_provisioning.rb
|
135
|
-
- app/lib/actions/staypuft/host/update.rb
|
136
|
-
- app/lib/actions/staypuft/host/wait_until_provisioned.rb
|
137
|
-
- app/lib/actions/staypuft/host/wait_until_ready.rb
|
138
|
-
- app/lib/actions/staypuft/hostgroup/ordered_deploy.rb
|
139
|
-
- app/lib/actions/staypuft/middleware/as_current_user.rb
|
140
|
-
- app/lib/actions/staypuft/middleware/timeout.rb
|
141
|
-
- app/lib/staypuft/deployment_param_exporter.rb
|
142
|
-
- app/lib/staypuft/deployment_param_importer.rb
|
143
|
-
- app/lib/staypuft/exception.rb
|
144
|
-
- app/lib/staypuft/network_query.rb
|
145
|
-
- app/lib/staypuft/seeder.rb
|
146
|
-
- app/models/setting/staypuft_provisioning.rb
|
147
|
-
- app/models/staypuft/concerns/environment_extensions.rb
|
148
|
-
- app/models/staypuft/concerns/host_details_helper.rb
|
149
|
-
- app/models/staypuft/concerns/host_fencing_extensions.rb
|
150
|
-
- app/models/staypuft/concerns/host_interface_management.rb
|
151
|
-
- app/models/staypuft/concerns/host_open_stack_affiliation.rb
|
152
|
-
- app/models/staypuft/concerns/host_orchestration_build_hook.rb
|
153
|
-
- app/models/staypuft/concerns/hostgroup_extensions.rb
|
154
|
-
- app/models/staypuft/concerns/lookup_key_extensions.rb
|
155
|
-
- app/models/staypuft/concerns/nic_bonding_extensions.rb
|
156
|
-
- app/models/staypuft/concerns/nic_fencing_extensions.rb
|
157
|
-
- app/models/staypuft/concerns/puppetclass_extensions.rb
|
158
|
-
- app/models/staypuft/deployment.rb
|
159
|
-
- app/models/staypuft/deployment/abstract_param_scope.rb
|
160
|
-
- app/models/staypuft/deployment/attribute_param_storage.rb
|
120
|
+
- app/controllers/staypuft/bonds_controller.rb
|
121
|
+
- app/models/staypuft/fencing.rb
|
122
|
+
- app/models/staypuft/simple_subnet.rb
|
123
|
+
- app/models/staypuft/layout_role.rb
|
124
|
+
- app/models/staypuft/interface_assigner.rb
|
125
|
+
- app/models/staypuft/role.rb
|
126
|
+
- app/models/staypuft/deployment/vlan_range_values_validator.rb
|
161
127
|
- app/models/staypuft/deployment/ceph_service.rb
|
128
|
+
- app/models/staypuft/deployment/nova_service.rb
|
162
129
|
- app/models/staypuft/deployment/cinder_service.rb
|
130
|
+
- app/models/staypuft/deployment/nfs_uri_validator.rb
|
131
|
+
- app/models/staypuft/deployment/abstract_param_scope.rb
|
132
|
+
- app/models/staypuft/deployment/neutron_service/cisconexus.rb
|
163
133
|
- app/models/staypuft/deployment/cinder_service/equallogic.rb
|
164
134
|
- app/models/staypuft/deployment/cinder_service/netapp.rb
|
135
|
+
- app/models/staypuft/deployment/neutron_service.rb
|
136
|
+
- app/models/staypuft/deployment/ip_check.rb
|
165
137
|
- app/models/staypuft/deployment/glance_service.rb
|
138
|
+
- app/models/staypuft/deployment/attribute_param_storage.rb
|
166
139
|
- app/models/staypuft/deployment/ip_address_validator.rb
|
167
|
-
- app/models/staypuft/deployment/ip_check.rb
|
168
|
-
- app/models/staypuft/deployment/neutron_service.rb
|
169
|
-
- app/models/staypuft/deployment/neutron_service/cisconexus.rb
|
170
|
-
- app/models/staypuft/deployment/nfs_uri_validator.rb
|
171
|
-
- app/models/staypuft/deployment/nova_service.rb
|
172
140
|
- app/models/staypuft/deployment/passwords.rb
|
173
|
-
- app/models/staypuft/deployment/vlan_range_values_validator.rb
|
174
|
-
- app/models/staypuft/deployment_role_hostgroup.rb
|
175
141
|
- app/models/staypuft/deployment_vip_nic.rb
|
176
|
-
- app/models/staypuft/
|
177
|
-
- app/models/staypuft/
|
142
|
+
- app/models/staypuft/service_class.rb
|
143
|
+
- app/models/staypuft/subnet_type.rb
|
178
144
|
- app/models/staypuft/layout.rb
|
179
|
-
- app/models/staypuft/
|
180
|
-
- app/models/staypuft/
|
181
|
-
- app/models/staypuft/
|
182
|
-
- app/models/staypuft/
|
145
|
+
- app/models/staypuft/concerns/hostgroup_extensions.rb
|
146
|
+
- app/models/staypuft/concerns/puppetclass_extensions.rb
|
147
|
+
- app/models/staypuft/concerns/nic_fencing_extensions.rb
|
148
|
+
- app/models/staypuft/concerns/host_details_helper.rb
|
149
|
+
- app/models/staypuft/concerns/environment_extensions.rb
|
150
|
+
- app/models/staypuft/concerns/host_interface_management.rb
|
151
|
+
- app/models/staypuft/concerns/host_orchestration_build_hook.rb
|
152
|
+
- app/models/staypuft/concerns/host_fencing_extensions.rb
|
153
|
+
- app/models/staypuft/concerns/lookup_key_extensions.rb
|
154
|
+
- app/models/staypuft/concerns/nic_bonding_extensions.rb
|
155
|
+
- app/models/staypuft/concerns/host_open_stack_affiliation.rb
|
183
156
|
- app/models/staypuft/role_service.rb
|
184
157
|
- app/models/staypuft/service.rb
|
185
|
-
- app/models/staypuft/
|
186
|
-
- app/models/staypuft/
|
187
|
-
- app/models/staypuft/subnet_type.rb
|
188
|
-
- app/models/staypuft/subnet_typing.rb
|
158
|
+
- app/models/staypuft/role_class.rb
|
159
|
+
- app/models/staypuft/layout_subnet_type.rb
|
189
160
|
- app/models/staypuft/vip_nic.rb
|
161
|
+
- app/models/staypuft/deployment.rb
|
162
|
+
- app/models/staypuft/subnet_typing.rb
|
163
|
+
- app/models/staypuft/deployment_role_hostgroup.rb
|
164
|
+
- app/models/setting/staypuft_provisioning.rb
|
190
165
|
- app/overrides/customize_foreman_tasks_show_page.rb
|
166
|
+
- app/overrides/select_multiple_systems_hostgroup.rb
|
191
167
|
- app/overrides/foreman_hosts_edit.rb
|
192
|
-
- app/overrides/hide_subscription_manager_passwords.rb
|
193
168
|
- app/overrides/hosts_edit_subnet_types.rb
|
194
|
-
- app/overrides/
|
195
|
-
- app/
|
169
|
+
- app/overrides/hide_subscription_manager_passwords.rb
|
170
|
+
- app/lib/actions/staypuft/hostgroup/ordered_deploy.rb
|
171
|
+
- app/lib/actions/staypuft/deployment/populate.rb
|
172
|
+
- app/lib/actions/staypuft/deployment/deploy.rb
|
173
|
+
- app/lib/actions/staypuft/host/assert_report_success.rb
|
174
|
+
- app/lib/actions/staypuft/host/update.rb
|
175
|
+
- app/lib/actions/staypuft/host/wait_until_ready.rb
|
176
|
+
- app/lib/actions/staypuft/host/puppet_run.rb
|
177
|
+
- app/lib/actions/staypuft/host/trigger_provisioning.rb
|
178
|
+
- app/lib/actions/staypuft/host/report_wait.rb
|
179
|
+
- app/lib/actions/staypuft/host/wait_until_provisioned.rb
|
180
|
+
- app/lib/actions/staypuft/host/deploy.rb
|
181
|
+
- app/lib/actions/staypuft/host/create.rb
|
182
|
+
- app/lib/actions/staypuft/middleware/as_current_user.rb
|
183
|
+
- app/lib/actions/staypuft/middleware/timeout.rb
|
184
|
+
- app/lib/staypuft/network_query.rb
|
185
|
+
- app/lib/staypuft/deployment_param_importer.rb
|
186
|
+
- app/lib/staypuft/seeder.rb
|
187
|
+
- app/lib/staypuft/exception.rb
|
188
|
+
- app/lib/staypuft/deployment_param_exporter.rb
|
196
189
|
- app/views/hosts/_new_nic_fields.html.erb
|
190
|
+
- app/views/hosts/_fencing.html.erb
|
197
191
|
- app/views/hosts/_primary_interface_subnet.html.erb
|
198
|
-
- app/views/
|
192
|
+
- app/views/staypuft/steps/_nova.html.erb
|
193
|
+
- app/views/staypuft/steps/services_overview.html.erb
|
194
|
+
- app/views/staypuft/steps/_neutron_cisco_nexus_form.html.erb
|
195
|
+
- app/views/staypuft/steps/network_configuration.html.erb
|
196
|
+
- app/views/staypuft/steps/_cinder_equallogic_form.html.erb
|
197
|
+
- app/views/staypuft/steps/_title.html.erb
|
198
|
+
- app/views/staypuft/steps/services_configuration.html.erb
|
199
|
+
- app/views/staypuft/steps/_neutron_ha.html.erb
|
200
|
+
- app/views/staypuft/steps/deployment_settings.html.erb
|
201
|
+
- app/views/staypuft/steps/_cinder.html.erb
|
202
|
+
- app/views/staypuft/steps/_nova_ha.html.erb
|
203
|
+
- app/views/staypuft/steps/_glance.html.erb
|
204
|
+
- app/views/staypuft/steps/_neutron.html.erb
|
205
|
+
- app/views/staypuft/steps/_cinder_netapp_form.html.erb
|
206
|
+
- app/views/staypuft/steps/_wizard_form_buttons.html.erb
|
207
|
+
- app/views/staypuft/subnet_types/_subnet_type_pull.html.erb
|
208
|
+
- app/views/staypuft/layouts/staypuft.html.erb
|
209
|
+
- app/views/staypuft/layouts/application.html.erb
|
210
|
+
- app/views/staypuft/bonds/destroy.js.erb
|
199
211
|
- app/views/staypuft/bonds/add_slave.js.erb
|
200
212
|
- app/views/staypuft/bonds/create.js.erb
|
201
|
-
- app/views/staypuft/
|
213
|
+
- app/views/staypuft/subnet_typings/destroy.js.erb
|
214
|
+
- app/views/staypuft/subnet_typings/create.js.erb
|
215
|
+
- app/views/staypuft/subnet_typings/update.js.erb
|
216
|
+
- app/views/staypuft/subnets/new.html.erb
|
217
|
+
- app/views/staypuft/subnets/create.js.erb
|
218
|
+
- app/views/staypuft/subnets/_subnet_pull.html.erb
|
219
|
+
- app/views/staypuft/subnets/_form.html.erb
|
220
|
+
- app/views/staypuft/subnets/_drop_zone.html.erb
|
221
|
+
- app/views/staypuft/interfaces/_drop_zone.html.erb
|
222
|
+
- app/views/staypuft/interface_assignments/index.html.erb
|
223
|
+
- app/views/staypuft/interface_assignments/destroy.js.erb
|
224
|
+
- app/views/staypuft/interface_assignments/_interfaces.html.erb
|
225
|
+
- app/views/staypuft/interface_assignments/create.js.erb
|
226
|
+
- app/views/staypuft/interface_assignments/_nics_assignment.html.erb
|
227
|
+
- app/views/staypuft/interface_assignments/_nics_assignment_overview.html.erb
|
228
|
+
- app/views/staypuft/deployments/edit.html.erb
|
202
229
|
- app/views/staypuft/deployments/_advanced_configuration.html.erb
|
203
|
-
- app/views/staypuft/deployments/_assigned_hosts.html.erb
|
204
230
|
- app/views/staypuft/deployments/_assigned_hosts_table.html.erb
|
205
|
-
- app/views/staypuft/deployments/
|
206
|
-
- app/views/staypuft/deployments/_deployed_hosts_table.html.erb
|
207
|
-
- app/views/staypuft/deployments/_deployment_access_all_details_dialogue.html.erb
|
208
|
-
- app/views/staypuft/deployments/_deployment_hosts.html.erb
|
209
|
-
- app/views/staypuft/deployments/_deployment_networking.html.erb
|
231
|
+
- app/views/staypuft/deployments/index.html.erb
|
210
232
|
- app/views/staypuft/deployments/_deployment_overview.html.erb
|
211
|
-
- app/views/staypuft/deployments/
|
233
|
+
- app/views/staypuft/deployments/_param_field.html.erb
|
234
|
+
- app/views/staypuft/deployments/_host_head_row.html.erb
|
212
235
|
- app/views/staypuft/deployments/_deployment_progress_page_header.html.erb
|
213
|
-
- app/views/staypuft/deployments/_deployment_show_header.html.erb
|
214
|
-
- app/views/staypuft/deployments/_deployment_summary.html.erb
|
215
|
-
- app/views/staypuft/deployments/_empty_hosts.html.erb
|
216
|
-
- app/views/staypuft/deployments/_free_hosts.html.erb
|
217
236
|
- app/views/staypuft/deployments/_free_hosts_table.html.erb
|
218
|
-
- app/views/staypuft/deployments/_host_head_row.html.erb
|
219
|
-
- app/views/staypuft/deployments/_host_row.html.erb
|
220
237
|
- app/views/staypuft/deployments/_hosts_filter.html.erb
|
221
|
-
- app/views/staypuft/deployments/
|
238
|
+
- app/views/staypuft/deployments/_empty_hosts.html.erb
|
239
|
+
- app/views/staypuft/deployments/_assigned_hosts.html.erb
|
240
|
+
- app/views/staypuft/deployments/_host_row.html.erb
|
241
|
+
- app/views/staypuft/deployments/_deployment_hosts.html.erb
|
242
|
+
- app/views/staypuft/deployments/show.html.erb
|
243
|
+
- app/views/staypuft/deployments/_deployed_hosts_table.html.erb
|
244
|
+
- app/views/staypuft/deployments/_deployed_hosts.html.erb
|
245
|
+
- app/views/staypuft/deployments/_free_hosts.html.erb
|
222
246
|
- app/views/staypuft/deployments/_hosts_table.html.erb
|
247
|
+
- app/views/staypuft/deployments/_deployment_show_header.html.erb
|
248
|
+
- app/views/staypuft/deployments/_hosts_header.html.erb
|
249
|
+
- app/views/staypuft/deployments/_deployment_access_all_details_dialogue.html.erb
|
250
|
+
- app/views/staypuft/deployments/_deployment_progress_bar.html.erb
|
223
251
|
- app/views/staypuft/deployments/_import_form.html.erb
|
224
|
-
- app/views/staypuft/deployments/
|
225
|
-
- app/views/staypuft/deployments/
|
226
|
-
- app/views/
|
227
|
-
- app/
|
228
|
-
- app/
|
229
|
-
- app/
|
230
|
-
- app/views/staypuft/interface_assignments/_nics_assignment_overview.html.erb
|
231
|
-
- app/views/staypuft/interface_assignments/create.js.erb
|
232
|
-
- app/views/staypuft/interface_assignments/destroy.js.erb
|
233
|
-
- app/views/staypuft/interface_assignments/index.html.erb
|
234
|
-
- app/views/staypuft/interfaces/_drop_zone.html.erb
|
235
|
-
- app/views/staypuft/layouts/application.html.erb
|
236
|
-
- app/views/staypuft/layouts/staypuft.html.erb
|
237
|
-
- app/views/staypuft/steps/_cinder.html.erb
|
238
|
-
- app/views/staypuft/steps/_cinder_equallogic_form.html.erb
|
239
|
-
- app/views/staypuft/steps/_cinder_netapp_form.html.erb
|
240
|
-
- app/views/staypuft/steps/_glance.html.erb
|
241
|
-
- app/views/staypuft/steps/_neutron.html.erb
|
242
|
-
- app/views/staypuft/steps/_neutron_cisco_nexus_form.html.erb
|
243
|
-
- app/views/staypuft/steps/_neutron_ha.html.erb
|
244
|
-
- app/views/staypuft/steps/_nova.html.erb
|
245
|
-
- app/views/staypuft/steps/_nova_ha.html.erb
|
246
|
-
- app/views/staypuft/steps/_title.html.erb
|
247
|
-
- app/views/staypuft/steps/_wizard_form_buttons.html.erb
|
248
|
-
- app/views/staypuft/steps/deployment_settings.html.erb
|
249
|
-
- app/views/staypuft/steps/network_configuration.html.erb
|
250
|
-
- app/views/staypuft/steps/services_configuration.html.erb
|
251
|
-
- app/views/staypuft/steps/services_overview.html.erb
|
252
|
-
- app/views/staypuft/subnet_types/_subnet_type_pull.html.erb
|
253
|
-
- app/views/staypuft/subnet_typings/create.js.erb
|
254
|
-
- app/views/staypuft/subnet_typings/destroy.js.erb
|
255
|
-
- app/views/staypuft/subnet_typings/update.js.erb
|
256
|
-
- app/views/staypuft/subnets/_drop_zone.html.erb
|
257
|
-
- app/views/staypuft/subnets/_form.html.erb
|
258
|
-
- app/views/staypuft/subnets/_subnet_pull.html.erb
|
259
|
-
- app/views/staypuft/subnets/create.js.erb
|
260
|
-
- app/views/staypuft/subnets/new.html.erb
|
261
|
-
- config/routes.rb
|
252
|
+
- app/views/staypuft/deployments/_deployment_summary.html.erb
|
253
|
+
- app/views/staypuft/deployments/_deployment_networking.html.erb
|
254
|
+
- app/views/nic/_subnet_id_field.html.erb
|
255
|
+
- app/helpers/staypuft/hosts_helper.rb
|
256
|
+
- app/helpers/staypuft/deployments_helper.rb
|
257
|
+
- app/helpers/staypuft/application_helper.rb
|
262
258
|
- config/staypuft.local.rb
|
263
|
-
-
|
264
|
-
- db/
|
259
|
+
- config/routes.rb
|
260
|
+
- db/seeds.rb
|
261
|
+
- db/migrate/20140701075033_create_layout_subnet.rb
|
265
262
|
- db/migrate/20140310023613_create_staypuft_roles.rb
|
266
|
-
- db/migrate/20140310174152_create_staypuft_layout_roles.rb
|
267
|
-
- db/migrate/20140310194221_create_staypuft_services.rb
|
268
263
|
- db/migrate/20140310203855_create_staypuft_role_services.rb
|
269
|
-
- db/migrate/
|
270
|
-
- db/migrate/
|
271
|
-
- db/migrate/
|
272
|
-
- db/migrate/
|
273
|
-
- db/migrate/
|
264
|
+
- db/migrate/20140701090256_create_staypuft_subnet_typings.rb
|
265
|
+
- db/migrate/20140701074900_create_subnet_type.rb
|
266
|
+
- db/migrate/20140602121501_add_amqp_provider_to_staypuft_deployment.rb
|
267
|
+
- db/migrate/20140309021811_create_staypuft_layouts.rb
|
268
|
+
- db/migrate/20140310174152_create_staypuft_layout_roles.rb
|
274
269
|
- db/migrate/20140318163222_add_deploy_order_to_staypuft_layout_role.rb
|
275
|
-
- db/migrate/
|
270
|
+
- db/migrate/20140825164900_add_orchestration_to_staypuft_role.rb
|
276
271
|
- db/migrate/20140326032027_drop_staypuft_hostgroup_roles.rb
|
277
|
-
- db/migrate/20140507103716_add_form_step_to_staypuft_deployment.rb
|
278
|
-
- db/migrate/20140513124807_change_column_default_form_step_on_staypuft_deployment.rb
|
279
|
-
- db/migrate/20140602121501_add_amqp_provider_to_staypuft_deployment.rb
|
280
272
|
- db/migrate/20140623142500_remove_amqp_provider_from_staypuft_deployment.rb
|
281
|
-
- db/migrate/
|
282
|
-
- db/migrate/
|
283
|
-
- db/migrate/
|
284
|
-
- db/migrate/
|
273
|
+
- db/migrate/20141009064907_add_custom_repos_to_deployment.rb
|
274
|
+
- db/migrate/20140513124807_change_column_default_form_step_on_staypuft_deployment.rb
|
275
|
+
- db/migrate/20140312050615_create_staypuft_role_classes.rb
|
276
|
+
- db/migrate/20140310004533_create_staypuft_deployments.rb
|
277
|
+
- db/migrate/20140312050001_create_staypuft_hostgroup_roles.rb
|
285
278
|
- db/migrate/20140831234000_add_required_to_subnet_types.rb
|
279
|
+
- db/migrate/20140325211410_add_role_to_staypuft_deployment_role_hostgroup.rb
|
280
|
+
- db/migrate/20140312051144_create_staypuft_service_classes.rb
|
286
281
|
- db/migrate/20141003223000_add_validation_to_subnet_types.rb
|
287
|
-
- db/migrate/
|
282
|
+
- db/migrate/20140312044533_create_staypuft_deployment_role_hostgroups.rb
|
283
|
+
- db/migrate/20140315031754_add_networking_to_staypuft_layout.rb
|
284
|
+
- db/migrate/20140507103716_add_form_step_to_staypuft_deployment.rb
|
288
285
|
- db/migrate/20141107144800_create_staypuft_deployment_vip_nics.rb
|
289
|
-
- db/
|
286
|
+
- db/migrate/20140310194221_create_staypuft_services.rb
|
290
287
|
- lib/staypuft.rb
|
291
288
|
- lib/staypuft/engine.rb
|
292
289
|
- lib/staypuft/version.rb
|
293
290
|
- lib/tasks/staypuft_tasks.rake
|
294
|
-
-
|
295
|
-
-
|
296
|
-
-
|
291
|
+
- LICENSE
|
292
|
+
- Rakefile
|
293
|
+
- README.md
|
297
294
|
- test/test_helper.rb
|
298
|
-
- test/
|
295
|
+
- test/staypuft_test.rb
|
299
296
|
- test/unit/staypuft_test.rb
|
297
|
+
- test/test_plugin_helper.rb
|
298
|
+
- test/factories/staypuft_factories.rb
|
299
|
+
- test/integration/navigation_test.rb
|
300
300
|
homepage: https://github.com/theforeman/staypuft
|
301
301
|
licenses:
|
302
302
|
- GPL-3.0+
|
@@ -317,14 +317,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
317
317
|
version: '0'
|
318
318
|
requirements: []
|
319
319
|
rubyforge_project:
|
320
|
-
rubygems_version: 2.
|
320
|
+
rubygems_version: 2.0.14
|
321
321
|
signing_key:
|
322
322
|
specification_version: 4
|
323
323
|
summary: OpenStack Foreman Installer
|
324
324
|
test_files:
|
325
325
|
- test/test_helper.rb
|
326
|
-
- test/
|
326
|
+
- test/staypuft_test.rb
|
327
|
+
- test/unit/staypuft_test.rb
|
327
328
|
- test/test_plugin_helper.rb
|
329
|
+
- test/factories/staypuft_factories.rb
|
328
330
|
- test/integration/navigation_test.rb
|
329
|
-
- test/unit/staypuft_test.rb
|
330
|
-
- test/staypuft_test.rb
|