Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ pub struct MeasurementLog {
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct VmInstanceConf {
pub uuid: Uuid,
pub project: Uuid,
pub silo: Uuid,
#[serde(rename = "boot-digest")]
pub boot_digest: Option<Measurement>,
}
Expand Down
2 changes: 2 additions & 0 deletions test-data/vm-instance-cfg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"//comment": "This structure / log is produced by the AttestMock that mocks",
"//comment": "the behavior expected of the propolis process.",
"uuid": "db5bf54c-48c5-4455-a1e1-6c7dfc26e351",
"project": "586bb54d-ee4b-465d-9701-b7b5d98f0945",
"silo": "23d10b56-9f45-4a7e-8f92-4af6cbbf2ed3",
"image-digest": {
"sha-256": "be4df4e085175f3de0c8ac4837e1c2c9a34e8983209dac6b549e94154f7cdd9c"
}
Expand Down
Loading