Skip to content

Commit

Permalink
bump dropshot and update all the openapi schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
david-crespo committed Jul 27, 2024
1 parent f5ab051 commit 6b8506d
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 14 deletions.
10 changes: 6 additions & 4 deletions Cargo.lock

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

10 changes: 5 additions & 5 deletions openapi/gateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"/ignition/{type}/{slot}/{command}": {
"post": {
"summary": "Send an ignition command targeting a specific SP.",
"description": "This endpoint can be used to transition a target between A2 and A3 (via power-on / power-off) or reset it.\nThe management network traffic caused by requests to this endpoint is between this MGS instance and its local ignition controller, _not_ the SP targeted by the command.",
"description": "This endpoint can be used to transition a target between A2 and A3 (via power-on / power-off) or reset it.\n\nThe management network traffic caused by requests to this endpoint is between this MGS instance and its local ignition controller, _not_ the SP targeted by the command.",
"operationId": "ignition_command",
"parameters": [
{
Expand Down Expand Up @@ -134,7 +134,7 @@
"/local/all-sp-ids": {
"get": {
"summary": "Get the complete list of SP identifiers this MGS instance is configured to",
"description": "find and communicate with.\nNote that unlike most MGS endpoints, this endpoint does not send any communication on the management network.",
"description": "find and communicate with.\n\nNote that unlike most MGS endpoints, this endpoint does not send any communication on the management network.",
"operationId": "sp_all_ids",
"responses": {
"200": {
Expand Down Expand Up @@ -188,7 +188,7 @@
"/recovery/host-phase2": {
"post": {
"summary": "Upload a host phase2 image that can be served to recovering hosts via the",
"description": "host/SP control uart.\nMGS caches this image in memory and is limited to a small, fixed number of images (potentially 1). Uploading a new image may evict the least-recently-requested image if our cache is already full.",
"description": "host/SP control uart.\n\nMGS caches this image in memory and is limited to a small, fixed number of images (potentially 1). Uploading a new image may evict the least-recently-requested image if our cache is already full.",
"operationId": "recovery_host_phase2_upload",
"requestBody": {
"content": {
Expand Down Expand Up @@ -923,7 +923,7 @@
"/sp/{type}/{slot}/component/{component}/update": {
"post": {
"summary": "Update an SP component",
"description": "Update a component of an SP according to its specific update mechanism. This interface is generic for all component types, but resolves to a mechanism specific to the given component type. This may fail for a variety of reasons including the update bundle being invalid or improperly specified or due to an error originating from the SP itself.\nNote that not all components may be updated; components without known update mechanisms will return an error without any inspection of the update bundle.\nUpdating the SP itself is done via the component name `sp`.",
"description": "Update a component of an SP according to its specific update mechanism. This interface is generic for all component types, but resolves to a mechanism specific to the given component type. This may fail for a variety of reasons including the update bundle being invalid or improperly specified or due to an error originating from the SP itself.\n\nNote that not all components may be updated; components without known update mechanisms will return an error without any inspection of the update bundle.\n\nUpdating the SP itself is done via the component name `sp`.",
"operationId": "sp_component_update",
"parameters": [
{
Expand Down Expand Up @@ -1002,7 +1002,7 @@
"/sp/{type}/{slot}/component/{component}/update-abort": {
"post": {
"summary": "Abort any in-progress update an SP component",
"description": "Aborting an update to the SP itself is done via the component name `sp`.\nOn a successful return, the update corresponding to the given UUID will no longer be in progress (either aborted or applied).",
"description": "Aborting an update to the SP itself is done via the component name `sp`.\n\nOn a successful return, the update corresponding to the given UUID will no longer be in progress (either aborted or applied).",
"operationId": "sp_component_update_abort",
"parameters": [
{
Expand Down
4 changes: 2 additions & 2 deletions openapi/nexus-internal.json
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@
"/physical-disk/expunge": {
"post": {
"summary": "Mark a physical disk as expunged",
"description": "This is an irreversible process! It should only be called after sufficient warning to the operator.\nThis is idempotent.",
"description": "This is an irreversible process! It should only be called after sufficient warning to the operator.\n\nThis is idempotent.",
"operationId": "physical_disk_expunge",
"requestBody": {
"content": {
Expand Down Expand Up @@ -1273,7 +1273,7 @@
"/sleds/expunge": {
"post": {
"summary": "Mark a sled as expunged",
"description": "This is an irreversible process! It should only be called after sufficient warning to the operator.\nThis is idempotent, and it returns the old policy of the sled.",
"description": "This is an irreversible process! It should only be called after sufficient warning to the operator.\n\nThis is idempotent, and it returns the old policy of the sled.",
"operationId": "sled_expunge",
"requestBody": {
"content": {
Expand Down
2 changes: 1 addition & 1 deletion openapi/nexus.json
Original file line number Diff line number Diff line change
Expand Up @@ -8297,7 +8297,7 @@
"vpcs"
],
"summary": "Replace firewall rules",
"description": "The maximum number of rules per VPC is 1024.\nTargets are used to specify the set of instances to which a firewall rule applies. You can target instances directly by name, or specify a VPC, VPC subnet, IP, or IP subnet, which will apply the rule to traffic going to all matching instances. Targets are additive: the rule applies to instances matching ANY target. The maximum number of targets is 256.\nFilters reduce the scope of a firewall rule. Without filters, the rule applies to all packets to the targets (or from the targets, if it's an outbound rule). With multiple filters, the rule applies only to packets matching ALL filters. The maximum number of each type of filter is 256.",
"description": "The maximum number of rules per VPC is 1024.\n\nTargets are used to specify the set of instances to which a firewall rule applies. You can target instances directly by name, or specify a VPC, VPC subnet, IP, or IP subnet, which will apply the rule to traffic going to all matching instances. Targets are additive: the rule applies to instances matching ANY target. The maximum number of targets is 256.\n\nFilters reduce the scope of a firewall rule. Without filters, the rule applies to all packets to the targets (or from the targets, if it's an outbound rule). With multiple filters, the rule applies only to packets matching ALL filters. The maximum number of each type of filter is 256.",
"operationId": "vpc_firewall_rules_update",
"parameters": [
{
Expand Down
4 changes: 2 additions & 2 deletions openapi/wicketd.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
"/inventory": {
"get": {
"summary": "A status endpoint used to report high level information known to",
"description": "wicketd.\nThis endpoint can be polled to see if there have been state changes in the system that are useful to report to wicket.\nWicket, and possibly other callers, will retrieve the changed information, with follow up calls.",
"description": "wicketd.\n\nThis endpoint can be polled to see if there have been state changes in the system that are useful to report to wicket.\n\nWicket, and possibly other callers, will retrieve the changed information, with follow up calls.",
"operationId": "get_inventory",
"requestBody": {
"content": {
Expand Down Expand Up @@ -460,7 +460,7 @@
"/rack-setup/config/bgp/auth-key": {
"get": {
"summary": "Return information about BGP authentication keys, including checking",
"description": "validity of keys.\nProduces an error if the rack setup config wasn't set, or if any of the requested key IDs weren't found.",
"description": "validity of keys.\n\nProduces an error if the rack setup config wasn't set, or if any of the requested key IDs weren't found.",
"operationId": "get_bgp_auth_key_info",
"requestBody": {
"content": {
Expand Down
4 changes: 4 additions & 0 deletions workspace-hack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ petgraph = { version = "0.6.5", features = ["serde-1"] }
postgres-types = { version = "0.2.6", default-features = false, features = ["with-chrono-0_4", "with-serde_json-1", "with-uuid-1"] }
predicates = { version = "3.1.0" }
proc-macro2 = { version = "1.0.86" }
rand_core = { version = "0.5.1", default-features = false, features = ["std"] }
regex = { version = "1.10.5" }
regex-automata = { version = "0.4.6", default-features = false, features = ["dfa", "hybrid", "meta", "nfa", "perf", "unicode"] }
regex-syntax = { version = "0.8.3" }
Expand All @@ -99,6 +100,7 @@ sha2 = { version = "0.10.8", features = ["oid"] }
similar = { version = "2.5.0", features = ["bytes", "inline", "unicode"] }
slog = { version = "2.7.0", features = ["dynamic-keys", "max_level_trace", "release_max_level_debug", "release_max_level_trace"] }
smallvec = { version = "1.13.2", default-features = false, features = ["const_new"] }
socket2 = { version = "0.5.7", default-features = false, features = ["all"] }
spin = { version = "0.9.8" }
string_cache = { version = "0.8.7" }
subtle = { version = "2.5.0" }
Expand Down Expand Up @@ -190,6 +192,7 @@ petgraph = { version = "0.6.5", features = ["serde-1"] }
postgres-types = { version = "0.2.6", default-features = false, features = ["with-chrono-0_4", "with-serde_json-1", "with-uuid-1"] }
predicates = { version = "3.1.0" }
proc-macro2 = { version = "1.0.86" }
rand_core = { version = "0.5.1", default-features = false, features = ["std"] }
regex = { version = "1.10.5" }
regex-automata = { version = "0.4.6", default-features = false, features = ["dfa", "hybrid", "meta", "nfa", "perf", "unicode"] }
regex-syntax = { version = "0.8.3" }
Expand All @@ -204,6 +207,7 @@ sha2 = { version = "0.10.8", features = ["oid"] }
similar = { version = "2.5.0", features = ["bytes", "inline", "unicode"] }
slog = { version = "2.7.0", features = ["dynamic-keys", "max_level_trace", "release_max_level_debug", "release_max_level_trace"] }
smallvec = { version = "1.13.2", default-features = false, features = ["const_new"] }
socket2 = { version = "0.5.7", default-features = false, features = ["all"] }
spin = { version = "0.9.8" }
string_cache = { version = "0.8.7" }
subtle = { version = "2.5.0" }
Expand Down

0 comments on commit 6b8506d

Please sign in to comment.