Package org.jclouds.compute.domain

Examples of org.jclouds.compute.domain.OperatingSystemBuilder


         builder.providerId(from.getID() + "");
         builder.name(from.getName());
         builder.location(findLocationForDomain.apply(from));
         builder.group(parseGroupFromName(from.getName()));

         builder.operatingSystem(new OperatingSystemBuilder().description(from.getOSType()).build());
         builder.hardware(findHardwareForDomain.apply(from));

         builder.state(domainStateToNodeState.get(from.getInfo().state));
         // builder.publicAddresses(ImmutableSet.<String> of(from.publicAddress));
         // builder.privateAddresses(ImmutableSet.<String> of(from.privateAddress));
View Full Code Here


      builder.description(from.name);

      OsFamily family = null;
      try {
         family = OsFamily.fromValue(from.name);
         builder.operatingSystem(new OperatingSystemBuilder().name(from.name).family(family).description(from.name).build());
      } catch (IllegalArgumentException e) {
         logger.debug("<< didn't match os(%s)", from);
      }
      return builder.build();
   }
View Full Code Here

TOP

Related Classes of org.jclouds.compute.domain.OperatingSystemBuilder

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.