diff options
author | Justin chi <chigang@huawei.com> | 2016-12-05 12:41:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-12-05 12:41:23 +0000 |
commit | c98a6528c6b0b9ce73d48b97b3287dbd9502543b (patch) | |
tree | 158dda969e865ba9ec5cabc37f8426f8064bfa08 /deploy/compass_conf/os_mapping | |
parent | 3bc1fe012f53ae38ce8fc1c9370ed499bdbb3b26 (diff) | |
parent | cceecd6920ae01d99dafb46d225f69e4546f278b (diff) |
Merge "add compass-core conf/ into compass4nfv"
Diffstat (limited to 'deploy/compass_conf/os_mapping')
-rwxr-xr-x | deploy/compass_conf/os_mapping/os_mapping.conf | 188 |
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" + }], + } + } + } + }] +} |