/*- * ============LICENSE_START========================================== * OPENECOMP - DCAE * =================================================================== * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. * =================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ============LICENSE_END============================================ */ /** */ package org.openecomp.ncomp.openstack.location; import org.openecomp.ncomp.core.NamedEntity; import org.openecomp.ncomp.openstack.ceilometer.CeilometerService; import org.openecomp.ncomp.openstack.compute.ComputeService; import org.openecomp.ncomp.openstack.compute.Flavor; import org.openecomp.ncomp.openstack.compute.Image; import org.openecomp.ncomp.openstack.neutron.NeutronService; import org.eclipse.emf.common.util.EList; /** * * A representation of the model object 'Open Stack Location'. * * *

* The following features are supported: *

*

* * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation() * @model * @generated */ public interface OpenStackLocation extends NamedEntity, NeutronService, ComputeService, CeilometerService { /** * Returns the value of the 'Version' attribute. * The literals are from the enumeration {@link org.openecomp.ncomp.openstack.location.OpenStackVersion}. * *

* If the meaning of the 'Version' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Version' attribute. * @see org.openecomp.ncomp.openstack.location.OpenStackVersion * @see #setVersion(OpenStackVersion) * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_Version() * @model unique="false" * @generated */ OpenStackVersion getVersion(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.location.OpenStackLocation#getVersion Version}' attribute. * * * @param value the new value of the 'Version' attribute. * @see org.openecomp.ncomp.openstack.location.OpenStackVersion * @see #getVersion() * @generated */ void setVersion(OpenStackVersion value); /** * Returns the value of the 'Remote Location' attribute. * The default value is "false". * *

* If the meaning of the 'Remote Location' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Remote Location' attribute. * @see #setRemoteLocation(boolean) * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_RemoteLocation() * @model default="false" unique="false" * @generated */ boolean isRemoteLocation(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.location.OpenStackLocation#isRemoteLocation Remote Location}' attribute. * * * @param value the new value of the 'Remote Location' attribute. * @see #isRemoteLocation() * @generated */ void setRemoteLocation(boolean value); /** * Returns the value of the 'Remote Location Name' attribute. * *

* If the meaning of the 'Remote Location Name' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Remote Location Name' attribute. * @see #setRemoteLocationName(String) * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_RemoteLocationName() * @model unique="false" * @generated */ String getRemoteLocationName(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.location.OpenStackLocation#getRemoteLocationName Remote Location Name}' attribute. * * * @param value the new value of the 'Remote Location Name' attribute. * @see #getRemoteLocationName() * @generated */ void setRemoteLocationName(String value); /** * Returns the value of the 'Allow Create Flavor' attribute. * *

* If the meaning of the 'Allow Create Flavor' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Allow Create Flavor' attribute. * @see #setAllowCreateFlavor(boolean) * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_AllowCreateFlavor() * @model unique="false" * @generated */ boolean isAllowCreateFlavor(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.location.OpenStackLocation#isAllowCreateFlavor Allow Create Flavor}' attribute. * * * @param value the new value of the 'Allow Create Flavor' attribute. * @see #isAllowCreateFlavor() * @generated */ void setAllowCreateFlavor(boolean value); /** * Returns the value of the 'Keystone Url' attribute. * *

* If the meaning of the 'Keystone Url' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Keystone Url' attribute. * @see #setKeystoneUrl(String) * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_KeystoneUrl() * @model unique="false" * @generated */ String getKeystoneUrl(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.location.OpenStackLocation#getKeystoneUrl Keystone Url}' attribute. * * * @param value the new value of the 'Keystone Url' attribute. * @see #getKeystoneUrl() * @generated */ void setKeystoneUrl(String value); /** * Returns the value of the 'Bypass Ip' attribute. * *

* If the meaning of the 'Bypass Ip' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Bypass Ip' attribute. * @see #setBypassIp(String) * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_BypassIp() * @model unique="false" * @generated */ String getBypassIp(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.location.OpenStackLocation#getBypassIp Bypass Ip}' attribute. * * * @param value the new value of the 'Bypass Ip' attribute. * @see #getBypassIp() * @generated */ void setBypassIp(String value); /** * Returns the value of the 'Flavor Id' attribute. * The default value is "20000". * *

* If the meaning of the 'Flavor Id' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Flavor Id' attribute. * @see #setFlavorId(int) * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_FlavorId() * @model default="20000" unique="false" * @generated */ int getFlavorId(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.location.OpenStackLocation#getFlavorId Flavor Id}' attribute. * * * @param value the new value of the 'Flavor Id' attribute. * @see #getFlavorId() * @generated */ void setFlavorId(int value); /** * Returns the value of the 'Supports Security Groups' attribute. * The default value is "true". * *

* If the meaning of the 'Supports Security Groups' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Supports Security Groups' attribute. * @see #setSupportsSecurityGroups(boolean) * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_SupportsSecurityGroups() * @model default="true" unique="false" * @generated */ boolean isSupportsSecurityGroups(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.location.OpenStackLocation#isSupportsSecurityGroups Supports Security Groups}' attribute. * * * @param value the new value of the 'Supports Security Groups' attribute. * @see #isSupportsSecurityGroups() * @generated */ void setSupportsSecurityGroups(boolean value); /** * Returns the value of the 'Supports Floating Ips' attribute. * The default value is "true". * *

* If the meaning of the 'Supports Floating Ips' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Supports Floating Ips' attribute. * @see #setSupportsFloatingIps(boolean) * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_SupportsFloatingIps() * @model default="true" unique="false" * @generated */ boolean isSupportsFloatingIps(); /** * Sets the value of the '{@link org.openecomp.ncomp.openstack.location.OpenStackLocation#isSupportsFloatingIps Supports Floating Ips}' attribute. * * * @param value the new value of the 'Supports Floating Ips' attribute. * @see #isSupportsFloatingIps() * @generated */ void setSupportsFloatingIps(boolean value); /** * Returns the value of the 'Projects' containment reference list. * The list contents are of type {@link org.openecomp.ncomp.openstack.location.OpenStackProject}. * *

* If the meaning of the 'Projects' containment reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Projects' containment reference list. * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_Projects() * @model containment="true" ordered="false" * @generated */ EList getProjects(); /** * Returns the value of the 'Users' containment reference list. * The list contents are of type {@link org.openecomp.ncomp.openstack.location.OpenStackUser}. * *

* If the meaning of the 'Users' containment reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Users' containment reference list. * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_Users() * @model containment="true" ordered="false" * @generated */ EList getUsers(); /** * Returns the value of the 'Images' containment reference list. * The list contents are of type {@link org.openecomp.ncomp.openstack.compute.Image}. * *

* If the meaning of the 'Images' containment reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Images' containment reference list. * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_Images() * @model containment="true" ordered="false" * @generated */ EList getImages(); /** * Returns the value of the 'Flavors' containment reference list. * The list contents are of type {@link org.openecomp.ncomp.openstack.compute.Flavor}. * *

* If the meaning of the 'Flavors' containment reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Flavors' containment reference list. * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_Flavors() * @model containment="true" ordered="false" * @generated */ EList getFlavors(); /** * Returns the value of the 'Hypervisors' containment reference list. * The list contents are of type {@link org.openecomp.ncomp.openstack.location.Hypervisor}. * *

* If the meaning of the 'Hypervisors' containment reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Hypervisors' containment reference list. * @see org.openecomp.ncomp.openstack.location.LocationPackage#getOpenStackLocation_Hypervisors() * @model containment="true" ordered="false" * @generated */ EList getHypervisors(); /** * * * @model * @generated */ void poll(); /** * * * @model locUnique="false" * @generated */ void mergeLocation(OpenStackLocation loc); } // OpenStackLocation