Skip to content

Commit

Permalink
clarify which filesystem "filesystem_pool" describes (#6587)
Browse files Browse the repository at this point in the history
  • Loading branch information
davepacheco authored Sep 17, 2024
1 parent f0eb553 commit 8f7b5bd
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
7 changes: 3 additions & 4 deletions nexus-sled-agent-shared/src/inventory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,10 @@ pub struct OmicronZoneConfig {
pub id: Uuid,
pub underlay_address: Ipv6Addr,

/// The pool on which we'll place this zone's filesystem.
/// The pool on which we'll place this zone's root filesystem.
///
/// Note that this is transient -- the sled agent is permitted to
/// destroy the zone's dataset on this pool each time the zone is
/// initialized.
/// Note that the root filesystem is transient -- the sled agent is
/// permitted to destroy this dataset each time the zone is initialized.
pub filesystem_pool: Option<ZpoolName>,
pub zone_type: OmicronZoneType,
}
Expand Down
1 change: 1 addition & 0 deletions nexus/types/src/deployment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ pub struct BlueprintZoneConfig {

pub id: OmicronZoneUuid,
pub underlay_address: Ipv6Addr,
/// zpool used for the zone's (transient) root filesystem
pub filesystem_pool: Option<ZpoolName>,
pub zone_type: BlueprintZoneType,
}
Expand Down
1 change: 1 addition & 0 deletions openapi/nexus-internal.json
Original file line number Diff line number Diff line change
Expand Up @@ -2094,6 +2094,7 @@
},
"filesystem_pool": {
"nullable": true,
"description": "zpool used for the zone's (transient) root filesystem",
"allOf": [
{
"$ref": "#/components/schemas/ZpoolName"
Expand Down
2 changes: 1 addition & 1 deletion openapi/sled-agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -3891,7 +3891,7 @@
"properties": {
"filesystem_pool": {
"nullable": true,
"description": "The pool on which we'll place this zone's filesystem.\n\nNote that this is transient -- the sled agent is permitted to destroy the zone's dataset on this pool each time the zone is initialized.",
"description": "The pool on which we'll place this zone's root filesystem.\n\nNote that the root filesystem is transient -- the sled agent is permitted to destroy this dataset each time the zone is initialized.",
"allOf": [
{
"$ref": "#/components/schemas/ZpoolName"
Expand Down
2 changes: 1 addition & 1 deletion schema/all-zones-requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
],
"properties": {
"filesystem_pool": {
"description": "The pool on which we'll place this zone's filesystem.\n\nNote that this is transient -- the sled agent is permitted to destroy the zone's dataset on this pool each time the zone is initialized.",
"description": "The pool on which we'll place this zone's root filesystem.\n\nNote that the root filesystem is transient -- the sled agent is permitted to destroy this dataset each time the zone is initialized.",
"anyOf": [
{
"$ref": "#/definitions/ZpoolName"
Expand Down
1 change: 1 addition & 0 deletions schema/rss-service-plan-v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
]
},
"filesystem_pool": {
"description": "zpool used for the zone's (transient) root filesystem",
"anyOf": [
{
"$ref": "#/definitions/ZpoolName"
Expand Down

0 comments on commit 8f7b5bd

Please sign in to comment.