summaryrefslogtreecommitdiffstats
path: root/deploy/compass_conf/os_mapping/os_mapping.conf
blob: cf7b1c856e87b6c1062ac9eb518cfbe0c709b7f7 (plain)
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
OS = 'general'
CONFIG_MAPPING = {
    "mapped_name": "os_global_config",
    "mapped_children": [{
        "server_credentials":{
            "name": "server_credentials",
            "title": "Server Credentials",
            "order": 2,
            "data": {
                "username": {
                    "placeholder": "Username",
                    "display_name": "User name",
                    "order": 1,
                    "mapped_key": [
                        "name", "is_required", "display_type", "default_value"
                    ]
                },
                "password": {
                    "placeholder": "Password",
                    "display_name": "Password",
                    "order": 2,
                    "mapped_key": [
                        "name", "is_required", "display_type"
                    ]
                },
                "confirm_password": {
                    "placeholder": "Confirm Password",
                    "name": "confirmPassword",
                    "display_name": "Confirm Password",
                    "display_type": "password",
                    "is_required": "true",
                    "datamatch": "password",
                    "order": 3
                }
            }
        }
    },{
        "general": {
            "name": "general",
            "title": "",
            "order": 1,
            "data": {
                "language": {
                    "display_name": "Language",
                    "order": 1,
                    "default_value": "en",
                    "mapped_key": [
                        "name", "is_required", "display_type"
                    ],
                    "options": [{
                        "name": "English",
                        "value": "en"
                    },{
                        "name": "Chinese",
                        "value": "cn"
                    }],
                },
                "timezone": {
                    "display_name": "Timezone",
                    "order": 2,
                    "default_value": "America/Los_Angeles",
                    "mapped_key": [
                        "name", "is_required", "display_type"
                    ],
                    "options": [{
                        "name": "Los Angeles",
                        "value": "America/Los_Angeles"
                    },{
                        "name": "Chicago",
                        "value": "America/Chicago"
                    },{
                        "name": "Hong_Kong",
                        "value": "Asia/Hong Kong"
                    },{
                        "name": "Shanghai",
                        "value": "Asia/Shanghai"
                    },{
                        "name": "London",
                        "value": "Europe/London"
                    },{
                        "name": "Paris",
                        "value": "Europe/Paris"
                    },{
                        "name": "New York",
                        "value": "America/New_York"
                    },],
                },
                "http_proxy": {
                    "placeholder": "HTTP Proxy",
                    "display_name": "HTTP Proxy",
                    "order": 3,
                    "mapped_key": [
                        "name", "is_required", "display_type"
                    ]
                },
                "https_proxy": {
                    "placeholder": "HTTPS Proxy",
                    "display_name": "HTTPS Proxy",
                    "order": 4,
                    "mapped_key": [
                        "name", "is_required", "display_type"
                    ]
                },
                "no_proxy": {
                    "placeholder": "No Proxy",
                    "display_name": "No Proxy",
                    "order": 5,
                    "mapped_key": [
                        "name", "is_required", "display_type"
                    ]
                },
                "ntp_server": {
                   "placeholder": "NTP Server",
                   "display_name": "NTP Server",
                   "order": 6,
                   "mapped_key": [
                       "name", "is_required", "display_type"
                   ]
                },
                "dns_servers": {
                    "placeholder": "DNS Server",
                    "display_name": "DNS Server",
                    "order": 7,
                    "mapped_key": [
                        "name", "is_required", "display_type"
                    ]
                },
                "search_path": {
                    "placeholder": "Search Path",
                    "display_name": "Search Path",
                    "order": 8,
                    "mapped_key": [
                        "name", "is_required", "display_type", "default_value"
                    ]
                },
                "domain": {
                    "placeholder": "Domain",
                    "display_name": "Domain",
                    "order": 9,
                    "mapped_key": [
                        "name", "is_required", "display_type", "default_value"
                    ]
                },
                "default_gateway": {
                    "placeholder": "Gateway",
                    "display_name": "Default Gateway",
                    "order": 10,
                    "mapped_key": [
                        "name", "is_required", "display_type", "default_value"
                    ]
                },
                "local_repo": {
                    "placeholder": "Local Repo",
                    "display_name": "Local Repository",
                    "order": 11,
                    "mapped_key": [
                        "name", "is_required", "display_type"
                    ]
                },
                "repo_name": {
                    "placeholder": "Repo Name",
                    "display_name": "Repository",
                    "default_value": "trusty-juno-ppa",
                    "order": 12,
                    "mapped_key": [
                        "name", "is_required", "display_type"
                    ]
                },
                "deploy_type": {
                    "placeholder": "Deploy Type",
                    "display_name": "Deploy Type",
                    "default_value": "virtual",
                    "order": 13,
                    "mapped_key": [
                        "name", "is_required", "display_type"
                    ],
                    "options": [{
                        "name": "virtual",
                        "value": "virtual"
                    },{
                        "name": "baremetal",
                        "value": "baremetal"
                    }],
                }
            }
        }
    }]
}