aboutsummaryrefslogtreecommitdiff
path: root/bbot
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-03-11 18:03:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-03-12 16:30:51 +0300
commitb5a45516a82e36cd7be914cee11aa18791c7ee34 (patch)
tree3f94f80be5cfbfb8856caad41d392ee2d52664ff /bbot
parentc305030b4319ee05a25c874f13bc66f0aae0ca8b (diff)
Adapt to build auxiliary machines related changes in libbbot
Diffstat (limited to 'bbot')
-rw-r--r--bbot/agent/agent.cxx9
-rw-r--r--bbot/machine-manifest.hxx8
2 files changed, 15 insertions, 2 deletions
diff --git a/bbot/agent/agent.cxx b/bbot/agent/agent.cxx
index 74f461c..8f860a2 100644
--- a/bbot/agent/agent.cxx
+++ b/bbot/agent/agent.cxx
@@ -2067,6 +2067,7 @@ try
imode,
ilogin,
fingerprint,
+ nullopt /* auxiliary_ram */, // @@ TMP AUXILIARY
machine_header_manifests {}};
// Determine which machines we need to offer for this priority.
@@ -2097,7 +2098,13 @@ try
tq.machines.emplace_back (m.manifest.machine.id,
m.manifest.machine.name,
- m.manifest.machine.summary);
+ m.manifest.machine.summary,
+ //
+ // @@ TMP AUXILIARY
+ //
+ nullopt /* role */,
+ nullopt /* ram_minimum */,
+ nullopt /* ram_maximum */);
}
// Sanity check: in the priority monitor mode we should only ask for a
diff --git a/bbot/machine-manifest.hxx b/bbot/machine-manifest.hxx
index 116dc32..5cc45f0 100644
--- a/bbot/machine-manifest.hxx
+++ b/bbot/machine-manifest.hxx
@@ -49,7 +49,13 @@ namespace bbot
strings c)
: machine_header_manifest (std::move (i),
std::move (n),
- std::move (s)),
+ std::move (s),
+ //
+ // @@ TMP AUXILIARY
+ //
+ nullopt /* role */,
+ nullopt /* ram_minimum */,
+ nullopt /* ram_maximum */),
type (t),
mac (std::move (m)),
options (std::move (o)),