X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Flaunchpad%2Fsrc%2Finstantiate%2FinstantiateInputParams.jsx;h=c9c0f2c8b1327c60ec6d3ea6fc516b9b40482203;hp=4db4a63bde964143a30ed3bdcd3eacd56558a744;hb=d0c810e852f84807c7588f424648bca6059edc5c;hpb=d2e20e6e0a436a3dde171aa92ce01ff2fe9a28bc
diff --git a/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx b/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx
index 4db4a63bd..c9c0f2c8b 100644
--- a/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx
+++ b/skyquake/plugins/launchpad/src/instantiate/instantiateInputParams.jsx
@@ -82,7 +82,7 @@ export default class InstantiateInputParams extends Component {
isOpenMano(props.ro) ?
dataCentersHTML(
props.dataCenters[props.ro.name],
- props.vnfFn.updateSelectedDataCenter.bind(null, v['member-vnf-index']))
+ props.vnfFn.updateSelectedDataCenter.bind(null, v['member-vnf-index']), true)
: null
}
{
@@ -305,8 +305,14 @@ export default class InstantiateInputParams extends Component {
);
}
ipProfilesHTML = (props) => {
+ let vldHasIPprofile = false;
+ props.vlds && props.vlds.map(function(v){
+ if(v.type == 'ip-profile-ref') {
+ vldHasIPprofile = true;
+ }
+ })
let ipProfileList = props.ipProfileList;
- return ipProfileList &&
+ return ipProfileList && vldHasIPprofile &&
(
IP Profiles
@@ -420,8 +426,9 @@ export default class InstantiateInputParams extends Component {
{
sshKeysRef.map(function(ref, i) {
+ let keyref = JSON.stringify(ref)
return (
-
+