Package com.axemblr.provisionr.api.hardware

Examples of com.axemblr.provisionr.api.hardware.Hardware


            Rule.builder().anySource().tcp().port(22).createRule()
        ).addRules(
            formatPortsAsIngressRules()
        ).createNetwork();

        final Hardware hardware = Hardware.builder()
                .type(hardwareType)
                .blockDevices(parseBlockDeviceOptions(blockDeviceOptions))
                .createHardware();

        final Software software = Software.builder().packages(packages).createSoftware();
View Full Code Here


        final Software software = Software.builder().baseOperatingSystem("ubuntu-10.04")
            .packages("nginx").createSoftware();

        final AdminAccess adminAccess = AdminAccess.builder().asCurrentUser().createAdminAccess();

        final Hardware hardware = Hardware.builder().type("offering").createHardware();

        final Pool pool = Pool.builder().network(network).provider(provider).adminAccess(adminAccess)
            .software(software).hardware(hardware).minSize(1).expectedSize(1).createPool();

        String processId = provisionr.startPoolManagementProcess(UUID.randomUUID().toString(), pool);
View Full Code Here

            .createAdminAccess();

        final Network network = Network.builder().addRules(
            Rule.builder().anySource().tcp().port(22).createRule()).createNetwork();

        final Hardware hardware = Hardware.builder().type(getProviderProperty("serviceOffering")).createHardware();
        final Software software = Software.builder()
            .baseOperatingSystem(getProviderProperty("templateId"))
            .createSoftware();

        Map<String, String> options = ImmutableMap.of(ProviderOptions.ZONE_ID,
View Full Code Here

        final Network network = Network.builder().addRules(
            Rule.builder().anySource().icmp().createRule(),
            Rule.builder().anySource().port(22).protocol(Protocol.TCP).createRule()
        ).createNetwork();

        final Hardware hardware = Hardware.builder().type("t1.micro").createHardware();

        final AdminAccess adminAccess = AdminAccess.builder().asCurrentUser().createAdminAccess();

        final String destinationPath = "/home/" + adminAccess.getUsername() + "/axemblr.html";
        final Software software = Software.builder()
View Full Code Here

TOP

Related Classes of com.axemblr.provisionr.api.hardware.Hardware

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.