diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2016-11-25 04:08:19 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2016-11-25 04:08:19 +0800 |
commit | cceecd6920ae01d99dafb46d225f69e4546f278b (patch) | |
tree | 2cc1f2a0f3504b453685b6a18e1dd460c6e55dda /deploy/compass_conf/os_mapping | |
parent | 7c6a13e3457ce64d4b840e3816215f2a758ed0bc (diff) |
add compass-core conf/ into compass4nfv
JIRA: COMPASS-507
1.create deploy/compass_conf/ directory to keep local
compass-core conf/ files. build.sh will add it into
compass.iso
2.adjust conf files to support congress
Change-Id: I91dde6f62f2385d1289a5cf9a39eafce945a1bc7
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
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" + }], + } + } + } + }] +} |