Package org.platformlayer.ops.machines

Examples of org.platformlayer.ops.machines.PlatformLayerCloudMachine


          @Override
          public String get() throws OpsException {
            // Refresh item to pick up new tags
            backendItem = platformLayerClient.getItem(backendItem.getKey(), DirectInstance.class);

            PlatformLayerCloudMachine instanceMachine = (PlatformLayerCloudMachine) instanceHelpers
                .getMachine(backendItem);
            DirectInstance instance = (DirectInstance) instanceMachine.getInstance();
            List<InetAddress> addresses = Tag.NETWORK_ADDRESS.find(instance);
            InetAddress address = InetAddressChooser.preferIpv4().choose(addresses);
            if (address == null) {
              throw new IllegalStateException();
            }
View Full Code Here

TOP

Related Classes of org.platformlayer.ops.machines.PlatformLayerCloudMachine

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.