Use manual_allocation_base_jobinfo to obtain some information which
will go into `job' in the planner, and show up everywhere.
Put just the request (from the command line) in the Xinfo.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
v2: New patch
sub plan () {
my @got;
- alloc_resources(sub {
+
+ my $info = "manual ".manual_allocation_base_jobinfo();
+
+ alloc_resources(JobInfo => $info, sub {
my ($plan, $mayalloc) = @_;
@got = ();
foreach my $req (@reqlist) {
my $book= {
Reso => $req->{Reso},
- Xinfo => "manual",
+ Xinfo => $req->{Ident},
Start => $planned->{Start},
End => $planned->{Start} + $duration,
};