Package io.fathom.cloud.compute.api.os.model

Examples of io.fathom.cloud.compute.api.os.model.Flavor


        return response;
    }

    Flavor toModel(FlavorData data, boolean details) {
        Flavor flavor = new Flavor();

        flavor.id = data.getId() + "";
        flavor.name = data.getName();

        flavor.ram = data.getRam();
View Full Code Here


            log.warn("No flavor associated with instance: {}", instance);
            flavor = flavors.list().get(0);
        }

        if (flavor != null) {
            server.flavor = new Flavor();
            server.flavor.id = "" + flavor.getId();
        }

        server.tenantId = "" + instance.getProjectId();
View Full Code Here

TOP

Related Classes of io.fathom.cloud.compute.api.os.model.Flavor

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.