-
Notifications
You must be signed in to change notification settings - Fork 25
/
deployment.js
107 lines (92 loc) · 3.82 KB
/
deployment.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/*
This is an example factory definition.
Create more files in this directory to define additional factories.
*/
import Mirage/*, {faker} */ from 'ember-cli-mirage';
export default Mirage.Factory.extend({
name: function(i) { // and functions
return 'deployment_number_' + i;
},
is_disconnected: false,
rhev_is_self_hosted: false,
rhev_engine_admin_password: '12345678',
rhev_data_center_name: 'Default',
rhev_cluster_name: 'Default',
rhev_storage_name: 'my_storage',
rhev_storage_type: 'NFS',
rhev_storage_address: '10.2.132.4',
rhev_root_password: "12345678",
// rhev_cpu_type: null,
rhev_share_path: '/share/path',
rhev_export_domain_name: 'my_export',
rhev_export_domain_address: '10.22.17.4',
rhev_export_domain_path: '/export/path',
cfme_install_loc: "RHEV",
cfme_root_password: "12345678",
cfme_admin_password: "12345678",
host_naming_scheme: "Freeform",
custom_preprend_name: null,
enable_access_insights: true,
openstack_undercloud_password: "dummy password",
openstack_overcloud_autogenerate_password: false,
upstream_consumer_uuid: "7ffddefd-aacb-4192-a999-01beb7c2e473",
upstream_consumer_name: "tsanders-rhci",
});
// "openstack_undercloud_ip_addr": null,
// "openstack_undercloud_user": null,
// "openstack_undercloud_user_password": null,
// "openstack_overcloud_address": null,
// "openstack_overcloud_password": null,
// "openstack_overcloud_private_net": null,
// "openstack_overcloud_float_net": null,
// "openstack_overcloud_float_gateway": null,
// "cdn_url": "10.35.3.63",
// "manifest_file": "/usr/share/foreman/tmp/import_10c9a9f7cc20541de373.zip",
// "created_at": "2015-11-30T09:31:03Z",
// "updated_at": "2015-12-03T13:18:19Z",
// "organization_id": 1,
// "lifecycle_environment_id": null,
// "discovered_host_id": 2,
// "discovered_host_ids": [
// 4
// ],
// "subscription_ids": [
// 4,
// 3
// ],
// "introspection_task_ids": []
// rhev_root_password: DS.attr('string'),
// cfme_root_password: DS.attr('string'),
// cfme_admin_password: DS.attr('string'),
// foreman_task_uuid: DS.attr('string'),
// upstream_consumer_uuid: DS.attr('string'),
// upstream_consumer_name: DS.attr('string'),
// rhev_export_domain_name: DS.attr('string'),
// rhev_export_domain_address: DS.attr('string'),
// rhev_export_domain_path: DS.attr('string'),
// rhev_local_storage_path: DS.attr('string'),
// host_naming_scheme: DS.attr('string'),
// custom_preprend_name: DS.attr('string'),
// enable_access_insights: DS.attr('boolean'),
// cfme_address: DS.attr('string'),
// openstack_undercloud_password: DS.attr('string'),
// openstack_undercloud_ip_addr: DS.attr('string'),
// openstack_undercloud_user: DS.attr('string'),
// openstack_undercloud_user_password: DS.attr('string'),
// openstack_overcloud_address: DS.attr('string'),
// openstack_overcloud_password: DS.attr('string'),
// openstack_overcloud_private_net: DS.attr('string'),
// openstack_overcloud_float_net: DS.attr('string'),
// openstack_overcloud_float_gateway: DS.attr('string'),
// cdn_url: DS.attr('string'),
// manifest_file: DS.attr('string'),
// created_at: DS.attr('date'),
// updated_at: DS.attr('date'),
// // has one Engine - discovered_host is an alias for rhev_engine_host_id
// discovered_host: DS.belongsTo('discovered-host', {async: true}),
// rhev_engine_host_id: DS.attr('number'),
// // has many Hypervisors
// discovered_hosts: DS.hasMany('discovered-host', {async: true}),
// // has many Subscriptions
// subscriptions: DS.hasMany('subscription', {inverse: 'deployment', async: true}),
// introspection_tasks: DS.hasMany('introspection-task', {async: true}),