public class ManagedRack extends DomainWrapper<com.abiquo.server.core.infrastructure.UcsRackDto>
RackDto
.
http://community.abiquo.com/display/ABI20/RackResource
Modifier and Type | Class and Description |
---|---|
static class |
ManagedRack.Builder |
context, target
Modifier | Constructor and Description |
---|---|
protected |
ManagedRack(RestContext<AbiquoApi,AbiquoAsyncApi> context,
com.abiquo.server.core.infrastructure.UcsRackDto target)
Constructor to be used only by the builder.
|
Modifier and Type | Method and Description |
---|---|
void |
associateLogicServer(String bladeName,
LogicServer logicServer,
Organization organization)
Associate a Service Profile and a Blade in UCS.
|
void |
associateLogicServerTemplate(String bladeName,
LogicServer logicServer,
Organization organization,
String logicServerName)
Instantiate and associate a Service Profile Template and a Blade in UCS.
|
static ManagedRack.Builder |
builder(RestContext<AbiquoApi,AbiquoAsyncApi> context,
Datacenter datacenter) |
void |
cloneAndAssociateLogicServer(String bladeName,
LogicServer logicServer,
Organization organization,
String logicServerName)
Clone and associate a Service Profile and a Blade in UCS.
|
void |
cloneLogicServer(LogicServer logicServer,
Organization organization,
String newName)
Clone a Service Profile this rack.
|
void |
delete()
Delete the managed rack.
|
void |
deleteLogicServer(LogicServer logicServer)
Deletes a Service Profile in UCS.
|
void |
disassociateLogicServer(LogicServer logicServer)
Dissociates a Service Profile and a Blade in UCS.
|
Blade |
findMachine(com.google.common.base.Predicate<Blade> filter)
Retrieve the first blade matching the filter within the list of machines in this rack.
|
Organization |
findOrganization(com.google.common.base.Predicate<Organization> filter)
Retrieve the first organization matching the filter within the list of organization in this
rack.
|
LogicServer |
findServiceProfile(com.google.common.base.Predicate<LogicServer> filter)
Retrieve the first service profile matching the filter within the list of profiles in this
rack.
|
LogicServer |
findServiceProfileTemplate(com.google.common.base.Predicate<LogicServer> filter)
Retrieve the first service profile template matching the filter within the list of templates
in this rack.
|
Datacenter |
getDatacenter()
Retrieve the datacenter where this rack is.
|
String |
getDefaultTemplate() |
Integer |
getId() |
String |
getIp() |
String |
getLongDescription() |
Integer |
getMaxMachinesOn() |
String |
getName() |
Integer |
getNrsq() |
String |
getPassword() |
Integer |
getPort() |
String |
getShortDescription() |
String |
getUser() |
Integer |
getVlanIdMax() |
Integer |
getVlanIdMin() |
Integer |
getVlanPerVdcReserved() |
String |
getVlansIdAvoided() |
boolean |
isHaEnabled() |
List<Fsm> |
listFsm(String entityName) |
List<Blade> |
listMachines()
Retrieve the list of blades in this rack.
|
List<Blade> |
listMachines(com.google.common.base.Predicate<Blade> filter)
Retrieve a filtered list of blades in this rack.
|
List<Organization> |
listOrganizations()
Retrieve the list of organization in this UCS rack.
|
List<Organization> |
listOrganizations(com.google.common.base.Predicate<Organization> filter)
Retrieve a filtered list of organization in this UCS rack.
|
List<LogicServer> |
listServiceProfiles()
Retrieve the list of service profiles in this UCS rack.
|
List<LogicServer> |
listServiceProfiles(com.google.common.base.Predicate<LogicServer> filter)
Retrieve a filtered list of service profiles in this UCS rack.
|
List<LogicServer> |
listServiceProfileTemplates()
Retrieve the list of service profile templates in this UCS rack.
|
List<LogicServer> |
listServiceProfileTemplates(com.google.common.base.Predicate<LogicServer> filter)
Retrieve a filtered list of service profile templates in this UCS rack.
|
void |
save()
Create a new managed rack in Abiquo.
|
void |
setDefaultTemplate(String defaultTemplate) |
void |
setHaEnabled(boolean haEnabled) |
void |
setIp(String ip) |
void |
setMaxMachinesOn(Integer maxMachinesOn) |
void |
setNrsq(Integer nrsq) |
void |
setPassword(String password) |
void |
setPort(Integer port) |
void |
setShortDescription(String description) |
void |
setUser(String user) |
void |
setVlanIdMax(Integer vlanIdMax) |
void |
setVlanIdMin(Integer vlanIdMin) |
void |
setVlanPerVdcReserved(Integer vlanPerVdcReserved) |
void |
setVlansIdAvoided(String vlansIdAvoided) |
String |
toString() |
void |
update()
Update rack information in the server with the data from this rack.
|
getParentId, getTask, getTasks, getURI, join, unwrap, unwrap, updateLink, wrap, wrap
protected ManagedRack(RestContext<AbiquoApi,AbiquoAsyncApi> context, com.abiquo.server.core.infrastructure.UcsRackDto target)
public void delete()
public void save()
public void update()
public Datacenter getDatacenter()
public List<Blade> listMachines(com.google.common.base.Predicate<Blade> filter)
filter
- Filter to be applied to the list. http://community.abiquo.com/display/ABI20/MachineResource#MachineResource-
RetrievealistofMachines
public Blade findMachine(com.google.common.base.Predicate<Blade> filter)
filter
- Filter to be applied to the list. http://community.abiquo.com/display/ABI20/MachineResource#MachineResource-
RetrievealistofMachines
public List<LogicServer> listServiceProfiles()
public List<LogicServer> listServiceProfiles(com.google.common.base.Predicate<LogicServer> filter)
filter
- Filter to be applied to the list. http://community.abiquo.com/display/ABI20/RackResource#RackResource-
RetrievealistofallservicesprofilesinaUCSrack
public LogicServer findServiceProfile(com.google.common.base.Predicate<LogicServer> filter)
filter
- Filter to be applied to the list. http://community.abiquo.com/display/ABI20/RackResource#RackResource-
RetrievealistofallservicesprofilesinaUCSrack
public List<LogicServer> listServiceProfileTemplates()
public List<LogicServer> listServiceProfileTemplates(com.google.common.base.Predicate<LogicServer> filter)
filter
- Filter to be applied to the list. http://community.abiquo.com/display/ABI20/RackResource-
RetrievealistofallServicesProfilesTemplatesinaUCSRack
public LogicServer findServiceProfileTemplate(com.google.common.base.Predicate<LogicServer> filter)
filter
- Filter to be applied to the list. http://community.abiquo.com/display/ABI20/RackResource-
RetrievealistofallServicesProfilesTemplatesinaUCSRack
public List<Organization> listOrganizations()
public List<Organization> listOrganizations(com.google.common.base.Predicate<Organization> filter)
filter
- Filter to be applied to the list.
http://community.abiquo.com/display/ABI20/RackResource#RackResource-
RetrieveallorganizationsfromaUCS
public Organization findOrganization(com.google.common.base.Predicate<Organization> filter)
filter
- Filter to be applied to the list.
http://community.abiquo.com/display/ABI20/RackResource#RackResource-
RetrieveallorganizationsfromaUCS
public void cloneLogicServer(LogicServer logicServer, Organization organization, String newName)
public void associateLogicServer(String bladeName, LogicServer logicServer, Organization organization)
public void cloneAndAssociateLogicServer(String bladeName, LogicServer logicServer, Organization organization, String logicServerName)
public void associateLogicServerTemplate(String bladeName, LogicServer logicServer, Organization organization, String logicServerName)
public void disassociateLogicServer(LogicServer logicServer)
public void deleteLogicServer(LogicServer logicServer)
public static ManagedRack.Builder builder(RestContext<AbiquoApi,AbiquoAsyncApi> context, Datacenter datacenter)
public Integer getId()
public String getName()
public String getShortDescription()
public void setShortDescription(String description)
public void setHaEnabled(boolean haEnabled)
public boolean isHaEnabled()
public Integer getNrsq()
public Integer getVlanIdMax()
public Integer getVlanIdMin()
public Integer getVlanPerVdcReserved()
public String getVlansIdAvoided()
public void setNrsq(Integer nrsq)
public void setVlanIdMax(Integer vlanIdMax)
public void setVlanIdMin(Integer vlanIdMin)
public void setVlanPerVdcReserved(Integer vlanPerVdcReserved)
public void setVlansIdAvoided(String vlansIdAvoided)
public String getIp()
public String getLongDescription()
public Integer getMaxMachinesOn()
public String getPassword()
public Integer getPort()
public String getUser()
public void setDefaultTemplate(String defaultTemplate)
public String getDefaultTemplate()
public void setIp(String ip)
public void setMaxMachinesOn(Integer maxMachinesOn)
public void setPassword(String password)
public void setPort(Integer port)
public void setUser(String user)
Copyright © 2009-2013 jclouds. All Rights Reserved.