Package org.platformlayer.service.cloud.raw.model

Examples of org.platformlayer.service.cloud.raw.model.RawInstance


    throw new UnsupportedOperationException();
  }

  @Override
  public InstanceBase buildInstanceTemplate(MachineCreationRequest request) {
    RawInstance rawMachine = new RawInstance();

    return rawMachine;
  }
View Full Code Here


      Tagger tagger = injected(Tagger.class);

      OpsProvider<TagChanges> tagChanges = new OpsProvider<TagChanges>() {
        @Override
        public TagChanges get() throws OpsException {
          RawInstance instance = platformLayerClient.getItem(model.instance, RawInstance.class);

          InetAddressChooser chooser = InetAddressChooser.preferIpv4();
          InetAddress publicAddress = chooser.choose(Tag.NETWORK_ADDRESS.find(instance.getTags()));

          if (publicAddress == null) {
            throw new OpsException("Cannot find address for instance: " + model.instance);
          }
View Full Code Here

TOP

Related Classes of org.platformlayer.service.cloud.raw.model.RawInstance

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.