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