Add support for octavia
The commit edits refstack page so that it support load_balancer add-on program. Change-Id: Iab3e4e82506652405a0884e10e0faf9d7e8fc42a
This commit is contained in:
parent
334dd378c9
commit
9ebea4b13b
@ -21,6 +21,7 @@
|
||||
<option value="dns">OpenStack with DNS</option>
|
||||
<option value="orchestration">OpenStack with Orchestration</option>
|
||||
<option value="shared_file_system">OpenStack with Shared File System</option>
|
||||
<option value="load_balancer">OpenStack with Load Balancer</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -142,7 +142,8 @@
|
||||
var old_type = ctrl.gl_type;
|
||||
if (ctrl.target === 'dns' ||
|
||||
ctrl.target === 'orchestration' ||
|
||||
ctrl.target === 'shared_file_system'
|
||||
ctrl.target === 'shared_file_system' ||
|
||||
ctrl.target === 'load_balancer'
|
||||
) {
|
||||
ctrl.gl_type = ctrl.target;
|
||||
} else {
|
||||
|
@ -95,6 +95,7 @@
|
||||
<option value="dns">OpenStack with DNS</option>
|
||||
<option value="orchestration">OpenStack with Orchestration</option>
|
||||
<option value="shared_file_system">OpenStack with Shared File System</option>
|
||||
<option value="load_balancer">OpenStack with Load Balancer</option>
|
||||
</select>
|
||||
<a ng-if="!result.targetEdit"
|
||||
ng-click="result.targetEdit = true"
|
||||
|
@ -61,7 +61,8 @@
|
||||
'object': 'OpenStack Powered Object Storage',
|
||||
'dns': 'OpenStack with DNS',
|
||||
'orchestration': 'OpenStack with Orchestration',
|
||||
'shared_file_system': 'OpenStack with Shared File System'
|
||||
'shared_file_system': 'OpenStack with Shared File System',
|
||||
'load_balancer': 'OpenStack with Load Balancer'
|
||||
};
|
||||
|
||||
// Pagination controls.
|
||||
|
@ -30,6 +30,7 @@
|
||||
<option value="dns">OpenStack with DNS</option>
|
||||
<option value="orchestration">OpenStack with Orchestration</option>
|
||||
<option value="shared_file_system">OpenStack with Shared File System</option>
|
||||
<option value="load_balancer">OpenStack with Load Balancer</option>
|
||||
</select>
|
||||
<hr>
|
||||
<strong>Associated Product:</strong>
|
||||
|
@ -88,6 +88,7 @@
|
||||
<option value="dns">OpenStack with DNS</option>
|
||||
<option value="orchestration">OpenStack with Orchestration</option>
|
||||
<option value="shared_file_system">OpenStack with Shared File System</option>
|
||||
<option value="load_balancer">OpenStack with Load Balancer</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -69,7 +69,8 @@
|
||||
'object': 'OpenStack Powered Object Storage',
|
||||
'dns': 'OpenStack with DNS',
|
||||
'orchestration': 'OpenStack with orchestration',
|
||||
'shared_file_system': 'OpenStack with Shared File System'
|
||||
'shared_file_system': 'OpenStack with Shared File System',
|
||||
'load_balancer': 'OpenStack with Load Balancer'
|
||||
};
|
||||
|
||||
/** The schema version of the currently selected guideline data. */
|
||||
@ -93,7 +94,8 @@
|
||||
function getVersionList() {
|
||||
if (ctrl.target === 'dns' ||
|
||||
ctrl.target === 'orchestration' ||
|
||||
ctrl.target === 'shared_file_system'
|
||||
ctrl.target === 'shared_file_system' ||
|
||||
ctrl.target === 'load_balancer'
|
||||
) {
|
||||
ctrl.gl_type = ctrl.target;
|
||||
|
||||
@ -285,7 +287,8 @@
|
||||
var old_type = ctrl.gl_type;
|
||||
if (ctrl.target === 'dns' ||
|
||||
ctrl.target === 'orchestration' ||
|
||||
ctrl.target === 'shared_file_system'
|
||||
ctrl.target === 'shared_file_system' ||
|
||||
ctrl.target === 'load_balancer'
|
||||
) {
|
||||
ctrl.gl_type = ctrl.target;
|
||||
} else {
|
||||
|
@ -158,6 +158,7 @@
|
||||
<option value="dns">OpenStack with DNS</option>
|
||||
<option value="orchestration">OpenStack with Orchestration</option>
|
||||
<option value="shared_file_system">OpenStack with Shared File System</option>
|
||||
<option value="load_balancer">OpenStack with Load Balancer</option>
|
||||
</select>
|
||||
<a ng-if="!result.targetEdit"
|
||||
ng-click="result.targetEdit = true;"
|
||||
|
@ -44,7 +44,8 @@
|
||||
ctrl.prepVersionEdit = prepVersionEdit;
|
||||
if (ctrl.target === 'dns' ||
|
||||
ctrl.target === 'orchestration' ||
|
||||
ctrl.target === 'shared_file_system'
|
||||
ctrl.target === 'shared_file_system' ||
|
||||
ctrl.target === 'load_balancer'
|
||||
) {
|
||||
ctrl.gl_type = ctrl.target;
|
||||
} else {
|
||||
@ -58,7 +59,8 @@
|
||||
'object': 'OpenStack Powered Object Storage',
|
||||
'dns': 'OpenStack with DNS',
|
||||
'orchestration': 'OpenStack with Orchestration',
|
||||
'shared_file_system': 'OpenStack with Shared File System'
|
||||
'shared_file_system': 'OpenStack with Shared File System',
|
||||
'load_balancer': 'OpenStack with Load Balancer'
|
||||
};
|
||||
|
||||
/** Initial page to be on. */
|
||||
|
@ -166,10 +166,13 @@ class Guidelines:
|
||||
'object': 'OpenStack Powered Storage',
|
||||
'dns': 'OpenStack with DNS',
|
||||
'orchestration': 'OpenStack with Orchestration',
|
||||
'shared_file_system': 'OpenStack with Shared File System'
|
||||
'shared_file_system': 'OpenStack with Shared File System',
|
||||
'load_balancer': 'OpenStack with Load Balancer'
|
||||
|
||||
}
|
||||
if target in ['dns', 'orchestration', 'shared_file_system']:
|
||||
add_ons = ['dns', 'orchestration', 'shared_file_system',
|
||||
'load_balancer']
|
||||
if target in add_ons:
|
||||
targets = ['os_powered_' + target]
|
||||
else:
|
||||
comps = \
|
||||
|
Loading…
x
Reference in New Issue
Block a user