Commit 9f00be2
Add trust quorum proxy endpoints and use
Add three new proxy endpoints to the sled-agent API that allow forwarding
trust quorum operations to other nodes:
- POST `/trust-quorum/proxy/commit`
- POST `/trust-quorum/proxy/prepare-and-commit`
- POST `/trust-quorum/proxy/status`
Also refactors the trust quorum types to use `serde_with` with `Hex` encoding
for cleaner serialization of digests and encrypted rack secrets, replacing
manual hex string parsing with automatic encoding/decoding.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>serde_with for hex encoding1 parent 40eecf0 commit 9f00be2
File tree
10 files changed
+936
-54
lines changed- nexus/mgs-updates/src/test_util
- openapi/sled-agent
- sled-agent
- api/src
- src
- sim
- types/versions
- src
- add_trust_quorum
10 files changed
+936
-54
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 42 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
993 | 993 | | |
994 | 994 | | |
995 | 995 | | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
996 | 1038 | | |
997 | 1039 | | |
0 commit comments