/*
- *
+ *
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
ref: 'floating-ip-pool',
optional: true
}],
- "openmano": [{
- label: "Host",
- ref: 'host'
- }, {
- label: "Port",
- ref: 'port'
- }, {
- label: "Tenant ID",
- ref: 'tenant-id'
- }],
"openvim": [{
label: "Host",
ref: 'host'
}, {
"name": "Cloudsim",
"account-type": "cloudsim_proxy"
- }, {
- "name": "Open Mano",
- "account-type": "openmano"
}, {
"name": "AWS",
"account-type": "aws"
},
image: {
"aws": require("../../images/aws.png"),
- "openmano": altImage || require("../../images/openmano.png"),
"openvim": require("../../images/openmano.png"),
"openstack": require("../../images/openstack.png"),
"cloudsim_proxy": require("../../images/riftio.png"),
},
labelByType: {
"aws": "AWS",
- "openmano": "OpenStack",
"openvim": "Open VIM",
"openstack": "OpenStack",
"cloudsim_proxy": "Cloudsim"
this.refreshingAll = false;
this.sdnOptions = [];
this.AccountMeta = AccountMeta;
+ this.showVIM = true;
this.bindActions(AccountActions(this.alt));
this.registerAsync(AccountSource);
this.exportPublicMethods({
}
refreshCloudAccountSuccess = () => {
+ }
+ getResourceOrchestratorSuccess = (data) => {
+ this.alt.actions.global.hideScreenLoader.defer();
+ if(data['account-type'] == 'openmano') {
+ this.setState({
+ showVIM: false
+ })
+ }
}
deleteAccountSuccess = (response) => {
this.setState({