aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/compass_conf/os_mapping
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/compass_conf/os_mapping')
-rwxr-xr-xdeploy/compass_conf/os_mapping/os_mapping.conf188
1 files changed, 188 insertions, 0 deletions
diff --git a/deploy/compass_conf/os_mapping/os_mapping.conf b/deploy/compass_conf/os_mapping/os_mapping.conf
new file mode 100755
index 00000000..cf7b1c85
--- /dev/null
+++ b/deploy/compass_conf/os_mapping/os_mapping.conf
@@ -0,0 +1,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"
+ }],
+ }
+ }
+ }
+ }]
+}