Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nexus/sled-agent] move some types around, straighten up the dependency graph #6138

32 changes: 30 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ members = [
"cockroach-admin/api",
"cockroach-admin/types",
"common",
"common-extended",
"dev-tools/crdb-seed",
"dev-tools/omdb",
"dev-tools/omicron-dev",
Expand Down Expand Up @@ -118,6 +119,7 @@ default-members = [
"cockroach-admin/api",
"cockroach-admin/types",
"common",
"common-extended",
"dev-tools/crdb-seed",
"dev-tools/omdb",
"dev-tools/omicron-dev",
Expand Down Expand Up @@ -390,6 +392,7 @@ num-integer = "0.1.46"
num = { version = "0.4.3", default-features = false, features = [ "libm" ] }
omicron-cockroach-admin = { path = "cockroach-admin" }
omicron-common = { path = "common" }
omicron-common-extended = { path = "common-extended" }
omicron-gateway = { path = "gateway" }
omicron-nexus = { path = "nexus" }
omicron-omdb = { path = "dev-tools/omdb" }
Expand Down
1 change: 1 addition & 0 deletions clients/nexus-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ chrono.workspace = true
futures.workspace = true
nexus-types.workspace = true
omicron-common.workspace = true
omicron-common-extended.workspace = true
omicron-passwords.workspace = true
oxnet.workspace = true
progenitor.workspace = true
Expand Down
5 changes: 5 additions & 0 deletions clients/nexus-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,18 @@ progenitor::generate_api!(
// as "blueprint" this way, but we have really useful functionality
// (e.g., diff'ing) that's implemented on our local type.
Blueprint = nexus_types::deployment::Blueprint,
Certificate = omicron_common::api::internal::nexus::Certificate,
DatasetKind = omicron_common::api::internal::shared::DatasetKind,
Generation = omicron_common::api::external::Generation,
ImportExportPolicy = omicron_common::api::external::ImportExportPolicy,
MacAddr = omicron_common::api::external::MacAddr,
Name = omicron_common::api::external::Name,
NetworkInterface = omicron_common::api::internal::shared::NetworkInterface,
NetworkInterfaceKind = omicron_common::api::internal::shared::NetworkInterfaceKind,
NewPasswordHash = omicron_passwords::NewPasswordHash,
OmicronPhysicalDiskConfig = nexus_types::disk::OmicronPhysicalDiskConfig,
OmicronPhysicalDisksConfig = nexus_types::disk::OmicronPhysicalDisksConfig,
RecoverySiloConfig = omicron_common_extended::recovery_silo::RecoverySiloConfig,
TypedUuidForCollectionKind = omicron_uuid_kinds::CollectionUuid,
TypedUuidForDownstairsKind = omicron_uuid_kinds::TypedUuid<omicron_uuid_kinds::DownstairsKind>,
TypedUuidForPropolisKind = omicron_uuid_kinds::TypedUuid<omicron_uuid_kinds::PropolisKind>,
Expand Down
1 change: 1 addition & 0 deletions clients/sled-agent-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ anyhow.workspace = true
async-trait.workspace = true
chrono.workspace = true
omicron-common.workspace = true
omicron-common-extended.workspace = true
omicron-uuid-kinds.workspace = true
omicron-workspace-hack.workspace = true
oxnet.workspace = true
Expand Down
Loading
Loading