add missing ui metadata

Change-Id: I14a141fe6f8961287edb4ac5d0b25313fb95d330
This commit is contained in:
Ming He 2015-12-29 18:57:14 -08:00
parent a02386549e
commit e7fda435ed
3 changed files with 28 additions and 3 deletions

View File

@ -156,6 +156,31 @@ CONFIG_MAPPING = {
"mapped_key": [ "mapped_key": [
"name", "is_required", "display_type" "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"
}],
} }
} }
} }

View File

@ -116,7 +116,7 @@ METADATA = {
'is_required': True, 'is_required': True,
'default_value': 'baremetal', 'default_value': 'baremetal',
'options': [ 'options': [
'baremetal', 'virtul' 'baremetal', 'virtual'
], ],
'mapping_to': 'deploy_type' 'mapping_to': 'deploy_type'
} }

View File

@ -8,7 +8,7 @@ METADATA = {
'_self': { '_self': {
'required_in_whole_config': True, 'required_in_whole_config': True,
'key_extensions': { 'key_extensions': {
'$service': ['image', 'compute', 'dashboard', 'identity', 'metering', 'network', 'rabbitmq', 'volume', 'mysql', 'heat'] '$service': ['image', 'compute', 'dashboard', 'identity', 'metering', 'rabbitmq', 'volume', 'mysql', 'heat']
}, },
'mapping_to': 'service_credentials' 'mapping_to': 'service_credentials'
}, },
@ -37,7 +37,7 @@ METADATA = {
'_self': { '_self': {
'required_in_whole_config': True, 'required_in_whole_config': True,
'key_extensions': { 'key_extensions': {
'$console': ['admin', 'demo', 'compute', 'dashboard', 'identity', 'image', 'metering', 'network', 'object-store', 'volume', 'heat'] '$console': ['admin', 'compute', 'dashboard', 'image', 'metering', 'network', 'object-store', 'volume', 'heat']
}, },
'mapping_to': 'console_credentials' 'mapping_to': 'console_credentials'
}, },