Package com.abiquo.hypervisor.model

Examples of com.abiquo.hypervisor.model.DiskStateful


    public VirtualMachineDescriptionBuilder primaryDisk(final DiskFormatType format,
        final long capacityInBytes, final String address, final String type,
        final String destinationDatastore, final DiskControllerType controllerType,
        final String name)
    {
        final DiskStateful disk = new DiskStateful();
        disk.setFormat(format);
        disk.setCapacityInBytes(capacityInBytes);
        disk.setType(type);
        disk.setLocation(address);
        disk.setDestinationDatastore(destinationDatastore);
        disk.setDiskControllerType(controllerType);
        disk.setName(name); // Used in XenServer

        primaryDisk = new PrimaryDisk();
        primaryDisk.setDiskStateful(disk);

        // Never will be imported, because it is stateful
View Full Code Here


    public VirtualMachineDescriptionBuilder primaryDisk(final DiskFormatType format,
        final long capacityInBytes, final String address, final String type,
        final String destinationDatastore, final DiskControllerType controllerType,
        final String name)
    {
        final DiskStateful disk = new DiskStateful();
        disk.setFormat(format);
        disk.setCapacityInBytes(capacityInBytes);
        disk.setType(type);
        disk.setLocation(address);
        disk.setDestinationDatastore(destinationDatastore);
        disk.setDiskControllerType(controllerType);
        disk.setName(name); // Used in XenServer

        primaryDisk = new PrimaryDisk();
        primaryDisk.setDiskStateful(disk);

        // Never will be imported, because it is stateful
View Full Code Here

    public VirtualMachineDescriptionBuilder primaryDisk(final DiskFormatType format,
        final long capacityInBytes, final String address, final String type,
        final String destinationDatastore, final DiskControllerType controllerType,
        final String name)
    {
        final DiskStateful disk = new DiskStateful();
        disk.setFormat(format);
        disk.setCapacityInBytes(capacityInBytes);
        disk.setType(type);
        disk.setLocation(address);
        disk.setDestinationDatastore(destinationDatastore);
        disk.setDiskControllerType(controllerType);
        disk.setName(name); // Used in XenServer

        primaryDisk = new PrimaryDisk();
        primaryDisk.setDiskStateful(disk);

        // Never will be imported, because it is stateful
View Full Code Here

TOP

Related Classes of com.abiquo.hypervisor.model.DiskStateful

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.