Tabnine Logo
com.woorea.openstack.nova.model
Code IndexAdd Tabnine to your IDE (free)

How to use com.woorea.openstack.nova.model

Best Java code snippets using com.woorea.openstack.nova.model (Showing top 20 results out of 315)

origin: woorea/openstack-java-sdk

  @Override
  public String[] getRow(Server server) {
    return new String[]{
      server.getId(),
      server.getName()
    };
  }
});
origin: org.onap.so.libs.openstack-java-sdk/nova-model

@Override
public String toString() {
  return "KeyPairs [list=" + getList() + "]";
}
origin: org.onap.so.libs.openstack-java-sdk/nova-model

public void addNetworks(String id, String fixedIp) {
  NetworkForCreate net = new NetworkForCreate();
  net.setId(id);
  net.setFixedIp(fixedIp);
  this.networks.add(net);
}
origin: woorea/openstack-java-sdk

public AttachVolume attachVolume(String serverId, String volumeId, String device) {
  VolumeAttachment volumeAttachment = new VolumeAttachment();
  volumeAttachment.setVolumeId(volumeId);
  volumeAttachment.setDevice(device);
  return new AttachVolume(serverId, volumeAttachment);
}
origin: com.att.woorea/nova-client

public ResizeAction resize(String serverId, String flavorId, String diskConfig) {
  Resize resize = new Resize();
  resize.setFlavorRef(flavorId);
  resize.setDiskConfig(diskConfig);
  return new ResizeAction(serverId, resize);
}
origin: com.att.woorea/nova-client

public RebootAction reboot(String serverId, String rebootType) {
  Reboot reboot = new Reboot();
  reboot.setType(rebootType);
  return new RebootAction(serverId, reboot);
}
origin: com.att.woorea/nova-client

public ChangePasswordAction changePassword(String serverId, String adminPass) {
  ChangePassword changePassword = new ChangePassword();
  changePassword.setAdminPass(adminPass);
  return new ChangePasswordAction(serverId, changePassword);
}
origin: woorea/openstack-java-sdk

public CreateRule createSecurityGroupRule(
    String parentSecurityGroupId,String sourceGroupId,String ipProtocol, Integer fromPort,
    Integer toPort) {
  SecurityGroupRuleForCreate securityGroupRuleForCreate = new SecurityGroupRuleForCreate(
      parentSecurityGroupId, sourceGroupId,ipProtocol, fromPort, toPort
      );
  return new CreateRule(securityGroupRuleForCreate);
}
public DeleteRule deleteSecurityGroupRule(String id) {
origin: com.att.woorea/nova-client

public AssociateSecurityGroupAction associateSecurityGroup(String serverId, String securityGroupName) {
  AddSecurityGroup securityGroup = new AddSecurityGroup();
  securityGroup.setName(securityGroupName);
  return new AssociateSecurityGroupAction(serverId, securityGroup);
}
origin: com.att.woorea/nova-client

public DisassociateSecurityGroupAction disassociateSecurityGroup(String serverId, String securityGroupName) {
  RemoveSecurityGroup securityGroup = new RemoveSecurityGroup();
  securityGroup.setName(securityGroupName);
  return new DisassociateSecurityGroupAction(serverId, securityGroup);
}
origin: com.att.woorea/nova-client

public UpdateServer update(String serverId, String name, String accessIPv4, String accessIPv6) {
  Server server = new Server();
  // server.setName(name);
  // server.setAccessIPv4(accessIPv4);
  // server.setAccessIPv6(accessIPv6);
  return new UpdateServer(serverId, server);
}
origin: com.att.woorea/nova-client

public AssociateFloatingIpAction associateFloatingIp(String serverId, String floatingIpAddress) {
  com.woorea.openstack.nova.model.ServerAction.AssociateFloatingIp action =
    new com.woorea.openstack.nova.model.ServerAction.AssociateFloatingIp(floatingIpAddress);
  return new AssociateFloatingIpAction(serverId, action);
}
origin: com.att.woorea/nova-model

public void addNetworks(String id, String fixedIp) {
  NetworkForCreate net = new NetworkForCreate();
  net.setId(id);
  net.setFixedIp(fixedIp);
  this.networks.add(net);
}
origin: com.att.woorea/nova-model

@Override
public String toString() {
  return "KeyPairs [list=" + getList() + "]";
}
origin: woorea/openstack-java-sdk

public RebootAction reboot(String serverId, String rebootType) {  
  Reboot reboot = new Reboot();
  reboot.setType(rebootType);
  return new RebootAction(serverId, reboot);
}
origin: woorea/openstack-java-sdk

public ChangePasswordAction changePassword(String serverId, String adminPass) {
  ChangePassword changePassword = new ChangePassword();
  changePassword.setAdminPass(adminPass);
  return new ChangePasswordAction(serverId, changePassword);
 }
origin: com.att.woorea/nova-client

public CreateRule createSecurityGroupRule(
    String parentSecurityGroupId, String ipProtocol, Integer fromPort,
    Integer toPort, String cidr) {
  SecurityGroupRuleForCreate securityGroupRuleForCreate = new SecurityGroupRuleForCreate(
      parentSecurityGroupId, ipProtocol, fromPort, toPort, cidr);
  return new CreateRule(securityGroupRuleForCreate);
}
origin: woorea/openstack-java-sdk

@Override
public String toString() {
  return "KeyPairs [list=" + getList() + "]";
}
origin: com.att.woorea/nova-client

public CreateRule createSecurityGroupRule(
    String parentSecurityGroupId,String sourceGroupId,String ipProtocol, Integer fromPort,
    Integer toPort) {
  SecurityGroupRuleForCreate securityGroupRuleForCreate = new SecurityGroupRuleForCreate(
      parentSecurityGroupId, sourceGroupId,ipProtocol, fromPort, toPort
      );
  return new CreateRule(securityGroupRuleForCreate);
}
public DeleteRule deleteSecurityGroupRule(String id) {
origin: woorea/openstack-java-sdk

public CreateRule createSecurityGroupRule(
    String parentSecurityGroupId, String ipProtocol, Integer fromPort,
    Integer toPort, String cidr) {
  SecurityGroupRuleForCreate securityGroupRuleForCreate = new SecurityGroupRuleForCreate(
      parentSecurityGroupId, ipProtocol, fromPort, toPort, cidr);
  return new CreateRule(securityGroupRuleForCreate);
}
com.woorea.openstack.nova.model

Most used classes

  • Server
  • KeyPairs
  • KeyPair
  • NetworkForCreate
    This class is used as a model of a network to be created.
  • Flavor
  • ServerForCreate$SecurityGroup,
  • ServerForCreate,
  • Servers,
  • VolumeAttachment,
  • Flavors,
  • FloatingIp,
  • Image,
  • Images,
  • SecurityGroupRuleForCreate,
  • ServerAction$AssociateFloatingIp,
  • ServerAction$ChangePassword,
  • ServerAction$ConfirmResize,
  • ServerAction$CreateImage,
  • ServerAction$DisassociateFloatingIp
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now