Package org.platformlayer.ops.machines

Examples of org.platformlayer.ops.machines.StorageConfiguration


  public StorageConfiguration getStorageConfiguration() throws OpsException {
    String authUrl = model.endpoint;

    OpenstackCredentials credentials = new OpenstackCredentials(authUrl, model.username,
        model.password.plaintext(), model.tenant);
    StorageConfiguration config = new OpenstackStorageConfiguration(credentials);
    return config;
  }
View Full Code Here


  public OpenstackBackupContext build(ItemBase item) throws OpsException {
    Machine machine = instances.findMachine(item);
    if (machine == null) {
      throw new OpsException("Cannot determine machine for: " + item);
    }
    StorageConfiguration storageConfiguration = cloud.getStorageConfiguration(machine);
    return build(storageConfiguration);
  }
View Full Code Here

TOP

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

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.