hero reserve

Create a reservation on an emulator.


hero_reserve: Usage Message

DESCRIPTION:
   Place a reservation on a resource map for HERO.

USAGE: 
    % hero_reserve <what> [start] [end] [quantity] [OPTIONS]

OPTIONS:
    -h        -- Show this help.    
    -v        -- Increase verbosity. Repeatable.

    -duration -- Duration of the reservation, if an end time is not specified
                 Use "forever" to indicate an expiration that never expires.
    -after    -- Begin time of a future time range pair which gives a span of
                 time in which to attempt to create the reservation 
    -before   -- End time of a future time range pair
                 If future time range pair is specified it should be greater
                 than the duration in order to allow a valid window of time in 
                 which to place the reservation

    -user     -- Reserve for given list of users
                 (comma separated list)
    -group    -- Reserve for given list of fairshare groups
                 (comma separated list)
    -osgroup  -- Reserve for given list of Unix groups
                 (comma separated list)
    -jobclass -- Reserve for given list of jobclasses
                 (comma separated list)
    -jobproj  -- Reserve for given list of job projects
                 (comma separated list)
    -bucketid -- Reserve for given list of queue buckets
                 (comma separated list)
    -id       -- Reserve for given list of jobs
                 (comma separated list of job ids)

EXAMPLES:
% hero_reserve "HERO:LEAF_sanjoseZ2_(0..11)" -duration 6m -jobproj myProj
% hero_reserve "HERO:LEAF_Z4_cluster0_U(0..7).M(0..7)" -duration 6m -jobproj myProj
% hero_reserve HERO:LEAF_Z4_cluster0_U1.M1 1484612764  forever 1 -jobproj myProj -group g1,g2
% hero_reserve HERO:Z4_SPAN5 -duration 2h -user John,Bob -after NOW -before 24h
% hero_reserve HERO:Z4_SPAN5 -duration 2h -user John,Bob -after 24h -before 2w