4 package org.openecomp.mso.cloud.servertype;
8 import org.openecomp.mso.cloud.CloudIdentity;
9 import org.openecomp.mso.openstack.beans.MsoTenant;
10 import org.openecomp.mso.openstack.exceptions.MsoCloudSiteNotFound;
11 import org.openecomp.mso.openstack.exceptions.MsoException;
12 import org.openecomp.mso.openstack.utils.MsoTenantUtils;
15 public class NewServerTypeUtils extends MsoTenantUtils {
20 public NewServerTypeUtils(String msoPropID) {
25 public String createTenant(String tenantName, String cloudSiteId, Map<String, String> metadata, boolean backout)
27 // TODO Auto-generated method stub
32 public MsoTenant queryTenant(String tenantId, String cloudSiteId) throws MsoException, MsoCloudSiteNotFound {
33 // TODO Auto-generated method stub
38 public MsoTenant queryTenantByName(String tenantName, String cloudSiteId)
39 throws MsoException, MsoCloudSiteNotFound {
40 // TODO Auto-generated method stub
45 public boolean deleteTenant(String tenantId, String cloudSiteId) throws MsoException {
46 // TODO Auto-generated method stub
51 public String getKeystoneUrl(String regionId, String msoPropID, CloudIdentity cloudIdentity)
53 return msoPropID + ":" + regionId + ":NewServerTypeKeystoneURL/" + cloudIdentity.getIdentityUrl();