Skip to content

Commit bdf6617

Browse files
last few minor cleanup things
Signed-off-by: Caleb Jones <caleb@calebgj.io>
1 parent c88ffc1 commit bdf6617

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Build the Agent binary with `cargo build --release` and run it on the host machi
2929

3030
```bash
3131
# Install dependencies (fedora)
32-
sudo dnf in -y clang-devel nftables
32+
sudo dnf in -y clang-devel nftables cloud-hypervisor
3333

3434
# Build the Agent
3535
cargo build --release

odorobo-agent/src/actor/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ impl Message<GetAgentStatus> for AgentActor {
417417
hostname: self.config.hostname.clone(),
418418
vcpus: self.vcpus,
419419
ram: self.memory,
420-
vms: vec![Ulid::new()], // todo
420+
vms: self.vms.keys().copied().collect(),
421421
}
422422
}
423423
}

odorobo-manager/src/actors/scheduler_actor.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,9 @@ impl Message<ShutdownVM> for SchedulerActor {
259259
}
260260
}
261261

262-
/// this only gets data from the cache.
262+
/// this only gets data from the cache from agents
263263
/// we may need a different message that actually forcibly runs/updates everything.
264+
/// and/or messages that get data directly from the VMActors.
264265
impl Message<AgentListVMs> for SchedulerActor {
265266
type Reply = Result<AgentListVMsReply, Report>;
266267

odorobo-shared/src/actor_names.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
2-
31
pub static AGENT: &str = "agent";
42
pub static VM: &str = "vm";

0 commit comments

Comments
 (0)