Skip to content

Commit 2304a33

Browse files
author
lif
committed
Expose propolis' serial console channel in nexus
- Includes updates to progenitor and reqwest 0.11.12 for client support for Dropshot websocket channels. - Literally only passes through the websocket, does not yet include the serial output buffering done by its parent GET endpoint. - Begins migrating sled-agent's propolis-client usage to the new progenitor-generated version (oxidecomputer/propolis#206)
1 parent b224a2e commit 2304a33

File tree

25 files changed

+409
-94
lines changed

25 files changed

+409
-94
lines changed

Cargo.lock

+135-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ panic = "abort"
9595
# crucible, or steno in the parent directory. If you want to use those,
9696
# uncomment one of these blocks.
9797
#
98-
#[patch."https://github.com/oxidecomputer/dropshot"]
98+
[patch."https://github.com/oxidecomputer/dropshot"]
99+
dropshot = { git = "https://github.com/lifning/dropshot", branch = "websock" }
99100
#dropshot = { path = "../dropshot/dropshot" }
100101
#[patch."https://github.com/oxidecomputer/steno"]
101102
#steno = { path = "../steno" }

common/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ hyper = "0.14"
1616
ipnetwork = "0.20"
1717
macaddr = { version = "1.0.1", features = [ "serde_std" ] }
1818
rand = "0.8.4"
19-
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "stream"] }
19+
reqwest = { version = "0.11.12", default-features = false, features = ["rustls-tls", "stream"] }
2020
ring = "0.16"
2121
schemars = { version = "0.8.10", features = [ "chrono", "uuid1" ] }
2222
serde = { version = "1.0", features = [ "derive" ] }

ddm-admin-client/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55

66
[dependencies]
77
progenitor-client = { git = "https://github.com/oxidecomputer/progenitor" }
8-
reqwest = { version = "0.11", features = ["json", "stream", "rustls-tls"] }
8+
reqwest = { version = "0.11.12", features = ["json", "stream", "rustls-tls"] }
99
serde = { version = "1.0", features = ["derive"] }
1010
slog = "2.7"
1111

gateway-client/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MPL-2.0"
66

77
[dependencies]
88
progenitor = { git = "https://github.com/oxidecomputer/progenitor" }
9-
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "stream"] }
9+
reqwest = { version = "0.11.12", default-features = false, features = ["rustls-tls", "stream"] }
1010
serde_json = "1.0"
1111
futures = "0.3.24"
1212

internal-dns-client/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MPL-2.0"
88
futures = "0.3.24"
99
omicron-common = { path = "../common" }
1010
progenitor = { git = "https://github.com/oxidecomputer/progenitor" }
11-
reqwest = { version = "0.11", features = ["json", "rustls-tls", "stream"] }
11+
reqwest = { version = "0.11.12", features = ["json", "rustls-tls", "stream"] }
1212
serde = { version = "1.0", features = [ "derive" ] }
1313
serde_json = "1.0"
1414
slog = { version = "2.5.0", features = [ "max_level_trace", "release_max_level_debug" ] }

nexus-client/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "MPL-2.0"
66

77
[dependencies]
88
progenitor = { git = "https://github.com/oxidecomputer/progenitor" }
9-
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "stream"] }
9+
reqwest = { version = "0.11.12", default-features = false, features = ["rustls-tls", "stream"] }
1010
serde_json = "1.0"
1111

1212
[dependencies.chrono]

0 commit comments

Comments
 (0)