|
7832 | 7832 | "tags": [ |
7833 | 7833 | "experimental" |
7834 | 7834 | ], |
7835 | | - "summary": "Retrieve the rack cluster membership change for the given version or the", |
7836 | | - "description": "latest version if no version is given", |
| 7835 | + "summary": "Retrieve the rack cluster membership status", |
| 7836 | + "description": "Returns the status for the most recent change, or a specific version if one is specified.", |
7837 | 7837 | "operationId": "rack_membership_status", |
7838 | 7838 | "parameters": [ |
7839 | 7839 | { |
|
7896 | 7896 | "content": { |
7897 | 7897 | "application/json": { |
7898 | 7898 | "schema": { |
7899 | | - "$ref": "#/components/schemas/AddSledsRequest" |
| 7899 | + "$ref": "#/components/schemas/RackMembershipAddSledsRequest" |
7900 | 7900 | } |
7901 | 7901 | } |
7902 | 7902 | }, |
|
15073 | 15073 | }, |
15074 | 15074 | "components": { |
15075 | 15075 | "schemas": { |
15076 | | - "AddSledsRequest": { |
15077 | | - "type": "object", |
15078 | | - "properties": { |
15079 | | - "sled_ids": { |
15080 | | - "type": "array", |
15081 | | - "items": { |
15082 | | - "$ref": "#/components/schemas/BaseboardId" |
15083 | | - }, |
15084 | | - "uniqueItems": true |
15085 | | - } |
15086 | | - }, |
15087 | | - "required": [ |
15088 | | - "sled_ids" |
15089 | | - ] |
15090 | | - }, |
15091 | 15076 | "Address": { |
15092 | 15077 | "description": "An address tied to an address lot.", |
15093 | 15078 | "type": "object", |
|
25834 | 25819 | "time_modified" |
25835 | 25820 | ] |
25836 | 25821 | }, |
| 25822 | + "RackMembershipAddSledsRequest": { |
| 25823 | + "type": "object", |
| 25824 | + "properties": { |
| 25825 | + "sled_ids": { |
| 25826 | + "type": "array", |
| 25827 | + "items": { |
| 25828 | + "$ref": "#/components/schemas/BaseboardId" |
| 25829 | + }, |
| 25830 | + "uniqueItems": true |
| 25831 | + } |
| 25832 | + }, |
| 25833 | + "required": [ |
| 25834 | + "sled_ids" |
| 25835 | + ] |
| 25836 | + }, |
25837 | 25837 | "RackMembershipChangeState": { |
25838 | 25838 | "type": "string", |
25839 | 25839 | "enum": [ |
|
25847 | 25847 | "type": "object", |
25848 | 25848 | "properties": { |
25849 | 25849 | "members": { |
25850 | | - "description": "All members of the rack for this epoch", |
| 25850 | + "description": "All members of the rack for this version", |
25851 | 25851 | "type": "array", |
25852 | 25852 | "items": { |
25853 | 25853 | "$ref": "#/components/schemas/BaseboardId" |
@@ -25876,15 +25876,20 @@ |
25876 | 25876 | "format": "date-time" |
25877 | 25877 | }, |
25878 | 25878 | "unacknowledged_members": { |
25879 | | - "description": "All members that have not yet responded to learning about this membership version", |
| 25879 | + "description": "All members that have not yet confirmed this membership version", |
25880 | 25880 | "type": "array", |
25881 | 25881 | "items": { |
25882 | 25882 | "$ref": "#/components/schemas/BaseboardId" |
25883 | 25883 | }, |
25884 | 25884 | "uniqueItems": true |
25885 | 25885 | }, |
25886 | 25886 | "version": { |
25887 | | - "$ref": "#/components/schemas/RackMembershipVersion" |
| 25887 | + "description": "Version that uniquely identifies the rack membership at a given point in time", |
| 25888 | + "allOf": [ |
| 25889 | + { |
| 25890 | + "$ref": "#/components/schemas/RackMembershipVersion" |
| 25891 | + } |
| 25892 | + ] |
25888 | 25893 | } |
25889 | 25894 | }, |
25890 | 25895 | "required": [ |
|
0 commit comments