blob: 4b4f2b8c94fcc2b6f0baf42b3a8e86d6d46e16c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/**
*
*/
package org.openecomp.mso.cloud.servertype;
import java.util.Map;
import org.openecomp.mso.cloud.CloudIdentity;
import org.openecomp.mso.openstack.beans.MsoTenant;
import org.openecomp.mso.openstack.exceptions.MsoCloudSiteNotFound;
import org.openecomp.mso.openstack.exceptions.MsoException;
import org.openecomp.mso.openstack.utils.MsoTenantUtils;
public class NewServerTypeUtils extends MsoTenantUtils {
/**
* @param msoPropID
*/
public NewServerTypeUtils(String msoPropID) {
super(msoPropID);
}
@Override
public String createTenant(String tenantName, String cloudSiteId, Map<String, String> metadata, boolean backout)
throws MsoException {
// TODO Auto-generated method stub
return null;
}
@Override
public MsoTenant queryTenant(String tenantId, String cloudSiteId) throws MsoException, MsoCloudSiteNotFound {
// TODO Auto-generated method stub
return null;
}
@Override
public MsoTenant queryTenantByName(String tenantName, String cloudSiteId)
throws MsoException, MsoCloudSiteNotFound {
// TODO Auto-generated method stub
return null;
}
@Override
public boolean deleteTenant(String tenantId, String cloudSiteId) throws MsoException {
// TODO Auto-generated method stub
return false;
}
@Override
public String getKeystoneUrl(String regionId, String msoPropID, CloudIdentity cloudIdentity)
throws MsoException {
return msoPropID + ":" + regionId + ":NewServerTypeKeystoneURL/" + cloudIdentity.getIdentityUrl();
}
}
|