-
Notifications
You must be signed in to change notification settings - Fork 66
Refactor Network Operator APIs #6016
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 7 commits
cd6c856
c5f042b
65b25dc
7bccb1b
812e991
85abe0e
047c6fe
8a807d9
78033b5
d8c2f42
bca07fe
30c217c
7000904
1c695d0
ba50716
d5b5553
6eb4be4
69ff1f0
2e392d2
8cad50e
7a32cbd
2377850
8416cac
d991823
de92b30
22fe92a
193bcaf
1360445
a392a80
a1a70fd
b1cbebe
822953e
9ef3456
f65f6f9
2225b77
155e5d4
36d700a
4140aad
4edf90a
7d8e38f
d1e4739
4f04635
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,6 +129,9 @@ snapshot_view GET /v1/snapshots/{snapshot} | |
|
|
||
| API operations found with tag "system/hardware" | ||
| OPERATION ID METHOD URL PATH | ||
| networking_switch_port_active_configuration_clear DELETE /v1/system/hardware/racks/{rack_id}/switch/{switch}/switch-port/{port}/configuration | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Weird column alignment compared to rest of file, but ok. |
||
| networking_switch_port_active_configuration_set PUT /v1/system/hardware/racks/{rack_id}/switch/{switch}/switch-port/{port}/configuration | ||
| networking_switch_port_active_configuration_view GET /v1/system/hardware/racks/{rack_id}/switch/{switch}/switch-port/{port}/configuration | ||
| networking_switch_port_apply_settings POST /v1/system/hardware/switch-port/{port}/settings | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm looking at the diffs since my last review, and looking at this file as a whole, and looking in particular for consistency for the DELETE method (due to diff for line 195). Are lines 50-51 similar to lines 135-136, in that a specific element is not specified at the end of the URL?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There can only be one active configuration per switch port, so specifying which configuration to delete is unnecessary here. |
||
| networking_switch_port_clear_settings DELETE /v1/system/hardware/switch-port/{port}/settings | ||
| networking_switch_port_list GET /v1/system/hardware/switch-port | ||
|
|
@@ -166,6 +169,13 @@ ip_pool_silo_update PUT /v1/system/ip-pools/{pool}/sil | |
| ip_pool_update PUT /v1/system/ip-pools/{pool} | ||
| ip_pool_utilization_view GET /v1/system/ip-pools/{pool}/utilization | ||
| ip_pool_view GET /v1/system/ip-pools/{pool} | ||
|
|
||
| API operations found with tag "system/metrics" | ||
| OPERATION ID METHOD URL PATH | ||
| system_metric GET /v1/system/metrics/{metric_name} | ||
|
|
||
| API operations found with tag "system/networking" | ||
| OPERATION ID METHOD URL PATH | ||
| networking_address_lot_block_add POST /v1/system/networking/address-lot/{address_lot}/blocks/add | ||
| networking_address_lot_block_list GET /v1/system/networking/address-lot/{address_lot}/blocks | ||
| networking_address_lot_block_remove POST /v1/system/networking/address-lot/{address_lot}/blocks/remove | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: "Require that messages...", to be consistent with line 2675.