Package org.platformlayer.service.cloud.direct.model

Examples of org.platformlayer.service.cloud.direct.model.DirectCloud


  ProviderHelper providers;

  @Handler
  public void handler(OpsTarget target) throws OpsException {
    if (target.getFilesystemInfoFile(imageFile) == null) {
      DirectCloud cloud = OpsContext.get().getInstance(DirectCloud.class);
      if (cloud == null) {
        throw new IllegalStateException("Cloud instance not found");
      }
      ImageStore imageStore = cloudHelpers.getImageStore(cloud);
      MachineProvider machineProvider = providers.toInterface(cloud, MachineProvider.class);
View Full Code Here


      }
    };
  }

  private static PlatformLayerKey getSharedNetworkKey() {
    DirectCloud cloud = OpsContext.get().getInstance(DirectCloud.class);
    DirectHost host = OpsContext.get().getInstance(DirectHost.class);

    PlatformLayerKey sharedNetwork = host.network;
    if (sharedNetwork == null) {
      sharedNetwork = cloud.network;
View Full Code Here

TOP

Related Classes of org.platformlayer.service.cloud.direct.model.DirectCloud

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.