Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

lsb_modreservation()

Modifies an advance reservation.

DESCRIPTION

Use lsb_modreservation() to modify an advance reservation. mbatchd receives the modification request and modifies the reservation with the specified reservation ID.

SYNOPSIS

#include <lsf/lsbatch 
int lsb_modreservation(struct modRsvRequest *request) 
struct modRsvRequest { 
    char    *rsvId; 
    struct addRsvRequest   fieldsFromAddReq; 
    char    *disabledDuration; 
}; 
struct addRsvRequest { 
   int     options;                
    char    *name;  
    struct { 
    int     minNumProcs;  
    int     maxNumProcs; 
    } procRange; 
    int     numAskedHosts; 
    char    **askedHosts;  
    char    *resReq;  
    char    *timeWindow; 
    rsvExecCmd_t  *execCmd;  
    char   *desc;  
    char    *rsvName;  
}; 

PARAMETERS

*rsvId

Reservation ID of the reservation that you wish to modify.

addRsvRequest

Fields in the reservation request addRsvRequest structure that you wish to modify.

*disabledDuration

Disabled time duration.

RETURN VALUES

integer:0

The reservation was modified successfully.

integer:-1

The reservation modification failed.

ERRORS

On failure, lsberrno is set to indicate the error.

SEE ALSO

Related APIs

lsb_addreservation() - Makes a reservation

lsb_removereservation() - Removes a reservation

lsb_reservationinfo() - Retrieves reservation information

Equivalent line command

brsvmod

Files:

none


Platform Computing Inc.
www.platform.com
Knowledge Center         Contents    Previous  Next