/** * Copyright (c) 2015-2016 Inria * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * -Fawaz Paraiso <fawaz.paraiso@inria.fr> * - Philippe Merle <philippe.merle@inria.fr> */ package org.occiware.clouddesigner.occi.docker; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Machine Rackspace</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getUsername <em>Username</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getApi_key <em>Api key</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getRegion <em>Region</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getEndpoint_type <em>Endpoint type</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getImage_id <em>Image id</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getFlavor_id <em>Flavor id</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getSsh_user <em>Ssh user</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getSsh_port <em>Ssh port</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#isDocker_install <em>Docker install</em>}</li> * </ul> * * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Rackspace() * @model annotation="OCCIE2Ecore title='Machine on Rackspace cloud'" * @generated */ public interface Machine_Rackspace extends Machine { /** * Returns the value of the '<em><b>Username</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Username</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Username</em>' attribute. * @see #setUsername(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Rackspace_Username() * @model dataType="org.occiware.clouddesigner.occi.String" required="true" * annotation="OCCIE2Ecore description='Rackspace account username'" * @generated */ String getUsername(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getUsername <em>Username</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Username</em>' attribute. * @see #getUsername() * @generated */ void setUsername(String value); /** * Returns the value of the '<em><b>Api key</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Api key</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Api key</em>' attribute. * @see #setApi_key(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Rackspace_Api_key() * @model dataType="org.occiware.clouddesigner.occi.String" required="true" * annotation="OCCIE2Ecore description='Rackspace API key'" * @generated */ String getApi_key(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getApi_key <em>Api key</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Api key</em>' attribute. * @see #getApi_key() * @generated */ void setApi_key(String value); /** * Returns the value of the '<em><b>Region</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Region</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Region</em>' attribute. * @see #setRegion(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Rackspace_Region() * @model dataType="org.occiware.clouddesigner.occi.String" required="true" * annotation="OCCIE2Ecore description='Rackspace region name'" * @generated */ String getRegion(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getRegion <em>Region</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Region</em>' attribute. * @see #getRegion() * @generated */ void setRegion(String value); /** * Returns the value of the '<em><b>Endpoint type</b></em>' attribute. * The default value is <code>"publicURL"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Endpoint type</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Endpoint type</em>' attribute. * @see #setEndpoint_type(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Rackspace_Endpoint_type() * @model default="publicURL" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Rackspace endpoint type (adminURL, internalURL or the default publicURL)'" * @generated */ String getEndpoint_type(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getEndpoint_type <em>Endpoint type</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Endpoint type</em>' attribute. * @see #getEndpoint_type() * @generated */ void setEndpoint_type(String value); /** * Returns the value of the '<em><b>Image id</b></em>' attribute. * The default value is <code>"59a3fadd-93e7-4674-886a-64883e17115f"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Image id</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Image id</em>' attribute. * @see #setImage_id(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Rackspace_Image_id() * @model default="59a3fadd-93e7-4674-886a-64883e17115f" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Rackspace image ID '" * @generated */ String getImage_id(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getImage_id <em>Image id</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Image id</em>' attribute. * @see #getImage_id() * @generated */ void setImage_id(String value); /** * Returns the value of the '<em><b>Flavor id</b></em>' attribute. * The default value is <code>"general1-1"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Flavor id</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Flavor id</em>' attribute. * @see #setFlavor_id(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Rackspace_Flavor_id() * @model default="general1-1" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='Rackspace flavor ID'" * @generated */ String getFlavor_id(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getFlavor_id <em>Flavor id</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Flavor id</em>' attribute. * @see #getFlavor_id() * @generated */ void setFlavor_id(String value); /** * Returns the value of the '<em><b>Ssh user</b></em>' attribute. * The default value is <code>"root"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Ssh user</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Ssh user</em>' attribute. * @see #setSsh_user(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Rackspace_Ssh_user() * @model default="root" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='SSH user for the newly booted machine'" * @generated */ String getSsh_user(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getSsh_user <em>Ssh user</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Ssh user</em>' attribute. * @see #getSsh_user() * @generated */ void setSsh_user(String value); /** * Returns the value of the '<em><b>Ssh port</b></em>' attribute. * The default value is <code>"22"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Ssh port</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Ssh port</em>' attribute. * @see #setSsh_port(int) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Rackspace_Ssh_port() * @model default="22" dataType="org.occiware.clouddesigner.occi.Number" * annotation="OCCIE2Ecore description='SSH port for the newly booted machine'" * @generated */ int getSsh_port(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#getSsh_port <em>Ssh port</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Ssh port</em>' attribute. * @see #getSsh_port() * @generated */ void setSsh_port(int value); /** * Returns the value of the '<em><b>Docker install</b></em>' attribute. * The default value is <code>"true"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Docker install</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Docker install</em>' attribute. * @see #setDocker_install(boolean) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Rackspace_Docker_install() * @model default="true" dataType="org.occiware.clouddesigner.occi.Boolean" * annotation="OCCIE2Ecore description='Set if Docker has to be installed on the machine.'" * @generated */ boolean isDocker_install(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Rackspace#isDocker_install <em>Docker install</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Docker install</em>' attribute. * @see #isDocker_install() * @generated */ void setDocker_install(boolean value); } // Machine_Rackspace