chore: rebase okd installation with refactoring on core types
All checks were successful
Run Check Script / check (pull_request) Successful in 1m16s

This commit is contained in:
Jean-Gabriel Gill-Couture 2025-09-01 14:14:29 -04:00
parent c372e781d8
commit b6be44202e
3 changed files with 11 additions and 20 deletions

12
Cargo.lock generated
View File

@ -2313,6 +2313,7 @@ dependencies = [
"temp-dir", "temp-dir",
"temp-file", "temp-file",
"tempfile", "tempfile",
"thiserror 2.0.14",
"tokio", "tokio",
"tokio-util", "tokio-util",
"url", "url",
@ -3103,17 +3104,6 @@ dependencies = [
"libc", "libc",
] ]
[[package]]
name = "io-uring"
version = "0.7.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4"
dependencies = [
"bitflags 2.9.1",
"cfg-if",
"libc",
]
[[package]] [[package]]
name = "ipnet" name = "ipnet"
version = "2.11.0" version = "2.11.0"

View File

@ -51,6 +51,7 @@
use async_trait::async_trait; use async_trait::async_trait;
use derive_new::new; use derive_new::new;
use harmony_macros::ip; use harmony_macros::ip;
use harmony_types::id::Id;
use log::info; use log::info;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
@ -200,7 +201,7 @@ impl<T: Topology + DnsServer> Interpret<T> for OKDInstallationInterpret {
self.status.clone() self.status.clone()
} }
fn get_children(&self) -> Vec<crate::domain::data::Id> { fn get_children(&self) -> Vec<Id> {
vec![] vec![]
} }
@ -324,7 +325,7 @@ impl<T: Topology + DnsServer> Interpret<T> for OKDSetup01InventoryDnsInterpret {
self.status.clone() self.status.clone()
} }
fn get_children(&self) -> Vec<crate::domain::data::Id> { fn get_children(&self) -> Vec<Id> {
vec![] vec![]
} }
@ -420,7 +421,7 @@ impl<T: Topology> Interpret<T> for OKDSetup01InventoryInterpret {
self.status.clone() self.status.clone()
} }
fn get_children(&self) -> Vec<crate::domain::data::Id> { fn get_children(&self) -> Vec<Id> {
vec![] vec![]
} }
@ -513,7 +514,7 @@ impl<T: Topology> Interpret<T> for OKDSetup02BootstrapInterpret {
self.status.clone() self.status.clone()
} }
fn get_children(&self) -> Vec<crate::domain::data::Id> { fn get_children(&self) -> Vec<Id> {
vec![] vec![]
} }
@ -595,7 +596,7 @@ impl<T: Topology> Interpret<T> for OKDSetup03ControlPlaneInterpret {
self.status.clone() self.status.clone()
} }
fn get_children(&self) -> Vec<crate::domain::data::Id> { fn get_children(&self) -> Vec<Id> {
vec![] vec![]
} }
@ -669,7 +670,7 @@ impl<T: Topology> Interpret<T> for OKDSetup04WorkersInterpret {
self.status.clone() self.status.clone()
} }
fn get_children(&self) -> Vec<crate::domain::data::Id> { fn get_children(&self) -> Vec<Id> {
vec![] vec![]
} }
@ -741,7 +742,7 @@ impl<T: Topology> Interpret<T> for OKDSetup05SanityCheckInterpret {
self.status.clone() self.status.clone()
} }
fn get_children(&self) -> Vec<crate::domain::data::Id> { fn get_children(&self) -> Vec<Id> {
vec![] vec![]
} }
@ -819,7 +820,7 @@ impl<T: Topology> Interpret<T> for OKDSetup06InstallationReportInterpret {
self.status.clone() self.status.clone()
} }
fn get_children(&self) -> Vec<crate::domain::data::Id> { fn get_children(&self) -> Vec<Id> {
vec![] vec![]
} }

View File

@ -2,7 +2,7 @@ pub mod bootstrap_dhcp;
pub mod bootstrap_load_balancer; pub mod bootstrap_load_balancer;
pub mod dhcp; pub mod dhcp;
pub mod dns; pub mod dns;
pub mod ipxe;
pub mod installation; pub mod installation;
pub mod ipxe;
pub mod load_balancer; pub mod load_balancer;
pub mod upgrade; pub mod upgrade;