Skip to content

Commit f2145d1

Browse files
Merge pull request #27 from FyraStack/caleb/multi-agent-scheduling
multi agent scheduling
2 parents f63b7f2 + 46b7936 commit f2145d1

19 files changed

Lines changed: 565 additions & 476 deletions

File tree

Cargo.lock

Lines changed: 66 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ dotenvy = "0.15"
3535
clap = { version = "4", features = ["derive", "env"] }
3636
ipnet = {version = "2.12.0", features = ["serde", "schemars08"]}
3737
url = { version = "2.3", features = ["serde"] }
38+
async-trait = "0.1.89"
39+
dashmap = "6.1.0"
40+
3841
# these are for performance optimizations, based on https://nnethercote.github.io/perf-book/build-configuration.html#optimization-level
3942
# these options can take a while to compile (up to 5-10 minutes), so its really only necessary for production binaries.
4043
# also look in .cargo/config.toml for info on microarchitecture optimizations.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,14 @@ 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
36+
37+
# create basic config
38+
echo "{}" >> config.json
39+
3640
# Run the Agent (requires write permissions to /run/odorobo, and access to systemd's system session bus
3741
sudo ./target/release/odorobo-agent
3842
```

actor_info.txt renamed to docs/actors.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
manager:
1+
# Kameo Actors
2+
3+
List of all kameo actors contained in these two crates.
4+
5+
## odorobo-manager:
26

37
http server (mvp)
48
websocket server for serial terminal (mvp)
@@ -13,8 +17,7 @@ scheduler_other_clusters (future roadmap)
1317
scheduler_to_other_manager (future roadmap)
1418

1519

20+
# odorobo-agent:
1621

17-
agent:
18-
server actor (mvp) (needs to be a trait so we can swap for other things in the future)
22+
agent actor (mvp) (needs to be a trait so we can swap for other things in the future)
1923
vm actor (mvp) (needs to be a trait so we can swap for other things in the future
20-

odorobo-agent/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ zbus_systemd = { version = "0.26000.0", features = [
3737
"zbus-async-tokio",
3838
] }
3939
url = { version = "2.5.8", features = ["serde"] }
40-
async-trait = "0.1.89"
40+
async-trait = { workspace = true }
4141
kameo = { workspace = true }
4242
libp2p = { version = "0.56.0", features = ["yamux", "serde", "mdns"] }
4343
ahash = { workspace = true }
4444
sysinfo = "0.38.4"
45-
bytesize = "2.3.1"
45+
bytesize = { workspace = true }
4646
odorobo-shared = { workspace = true }
4747
ulid = { workspace = true }
4848
ipnet = { workspace = true }

0 commit comments

Comments
 (0)