/** * Copyright (C) 2010 Cloud.com, Inc. All rights reserved. * * This software is licensed under the GNU General License v3 or later. * * It is free software: you can redistribute it and/or modify * it under the terms of the GNU General License as published by * the Free Software Foundation, either version 3 of the License, or any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General License for more details. * * You should have received a copy of the GNU General License * along with this program. If not, see . * */ package com.cloud.uservm; import com.cloud.domain.PartOf; import com.cloud.user.OwnedBy; import com.cloud.vm.VirtualMachine; /** * This represents one running virtual machine instance. */ public interface UserVm extends VirtualMachine, OwnedBy, PartOf { /** * @return service offering id */ long getServiceOfferingId(); /** * @return the domain router associated with this vm. */ Long getDomainRouterId(); /** * @return the vnet associated with this vm. */ String getVnet(); /** * @return the domain this vm instance belongs to. */ long getDomainId(); /** * @return ip address within the guest network. */ String getGuestIpAddress(); /** * @return mac address of the guest network. */ String getGuestMacAddress(); Long getIsoId(); String getDisplayName(); String getUserData(); void setUserData(String userData); }