From: KIRAN KASHALKAR Date: Mon, 19 Sep 2016 15:56:27 +0000 (-0400) Subject: Merge branch 'master' of https://osm.etsi.org/gerrit/osm/UI X-Git-Tag: v1.0.0~10^2 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=commitdiff_plain;h=3130c3b976dc11f641bce038fcfa1c101d156f12;hp=-c Merge branch 'master' of https://osm.etsi.org/gerrit/osm/UI Signed-off-by: KIRAN KASHALKAR --- 3130c3b976dc11f641bce038fcfa1c101d156f12 diff --combined skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx index 17d5f8ddc,5f1cc8a7d..4db4a63bd --- a/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx +++ b/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx @@@ -1,6 -1,6 +1,6 @@@ /* - * + * * Copyright 2016 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License"); @@@ -33,11 -33,20 +33,20 @@@ export default class InstantiateInputPa
- { - isOpenMano(props.selectedCloudAccount) ? this.dataCentersHTML(props.dataCenters[selectedCloudAccount.name], props.nsFn.updateSelectedDataCenter) : null + !isOpenMano(props.ro) ? + ( + + ) + : null + } + { + isOpenMano(props.ro) ? + dataCentersHTML(props.dataCenters[props.ro.name], + props.nsFn.updateSelectedDataCenter) + : null }
@@@ -60,11 -69,21 +69,21 @@@ return (

VNFD: {v.name}

- + { + !isOpenMano(props.ro) ? + ( + + ) + : null + } { - isOpenMano(defaultValue) ? dataCentersHTML(dataCenters[defaultValue.account.name], props.vnfFn.updateSelectedDataCenter(v['member-vnf-index'])) : null + isOpenMano(props.ro) ? + dataCentersHTML( + props.dataCenters[props.ro.name], + props.vnfFn.updateSelectedDataCenter.bind(null, v['member-vnf-index'])) + : null } { (props.configAgentAccounts && props.configAgentAccounts.length > 0) ? @@@ -243,7 -262,7 +262,7 @@@ let isUnknown = (currentType == 'unknown') || ((currentType != 'vim-network-name') && (currentType != 'ip-profile-ref')); return (
-

VLD: {v['short-name']}

+

VLD: {v['short-name'] ? v['short-name'] : v['name']}