Examples of requestSpotInstances()


Examples of org.nimbustools.api.services.rm.Manager.requestSpotInstances()

        logger.debug("Submitting SI requests: lowReq1, lowReq2, mediumReq1");

        //Submit 3 SI Requests
        String lowReq1Id = rm.requestSpotInstances(lowReq1, caller1).getRequestID();
        String lowReq2Id = rm.requestSpotInstances(lowReq2, caller1).getRequestID();
        String medReq1Id = rm.requestSpotInstances(mediumReq1, caller2).getRequestID();

        // Spot Instances Snapshot
        //
        // Total memory: 1280MB
        // Reserved free memory (for ordinary WS requests): 256MB (minimum reserved capacity)
View Full Code Here

Examples of org.nimbustools.api.services.rm.Manager.requestSpotInstances()

        assertEquals(RequestState.STATE_Open, backfill2Result.getState().getStateStr());

        logger.debug("Submitting SI request: lowReq3");

        //Submit another SI Request
        String lowReq3Id = rm.requestSpotInstances(lowReq3, caller2).getRequestID();

        // Spot Instances Snapshot
        //
        // Total memory: 1280MB
        // Reserved free memory (for ordinary WS requests): 256MB (minimum reserved capacity)
View Full Code Here

Examples of org.nimbustools.api.services.rm.Manager.requestSpotInstances()

        assertEquals(RequestState.STATE_Open, backfillRequestsByCaller[1].getState().getStateStr());

        logger.debug("Submitting SI request: mediumReq2");

        //Submit another medium-bid SI Request
        String medReq2Id = rm.requestSpotInstances(mediumReq2, caller2).getRequestID();

        // Spot Instances Snapshot
        //
        // Total memory: 1280MB
        // Reserved free memory (for ordinary WS requests): 256MB (minimum reserved capacity)
View Full Code Here

Examples of org.nimbustools.api.services.rm.Manager.requestSpotInstances()

        assertEquals(RequestState.STATE_Open, backfillRequestsByCaller[1].getState().getStateStr());

        logger.debug("Submitting SI request: highReq");

        //Submit a higher-bid SI Request
        String highReqId = rm.requestSpotInstances(highReq, caller3).getRequestID();

        // Spot Instances Snapshot
        //
        // Total memory: 1280MB
        // Reserved free memory (for ordinary WS requests): 256MB (minimum reserved capacity)
View Full Code Here

Examples of org.nimbustools.api.services.rm.Manager.requestSpotInstances()

        SpotCreateRequest requestSI = this.populator().getBasicRequestSI("singleRequest", 1, bid, false);

        logger.debug("Submitting basic SI request: singleRequest");

        //Request spot instances
        SpotRequestInfo result = rm.requestSpotInstances(requestSI, caller);

        logger.debug("Waiting 10 seconds for resources to be allocated.");
        Thread.sleep(10000);

        //Check result
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.