|
388 | 388 | }, |
389 | 389 | "type": "object" |
390 | 390 | }, |
| 391 | + "apiCloudDriveTransferJob": { |
| 392 | + "properties": { |
| 393 | + "destination_instance_id": { |
| 394 | + "title": "DestinationInstanceID is the ID of the storageless instance that needs to take over the SourceDriveSetID", |
| 395 | + "type": "string" |
| 396 | + }, |
| 397 | + "source_driveset_id": { |
| 398 | + "title": "SourceDrivesetID is the ID of the current driveset that needs to be transferred", |
| 399 | + "type": "string" |
| 400 | + }, |
| 401 | + "status": { |
| 402 | + "title": "Status describes a helpful status of this operation", |
| 403 | + "type": "string" |
| 404 | + } |
| 405 | + }, |
| 406 | + "type": "object" |
| 407 | + }, |
391 | 408 | "apiCloudMigrateCancelRequest": { |
392 | 409 | "properties": { |
393 | 410 | "task_id": { |
|
736 | 753 | }, |
737 | 754 | "apiFastpathConfig": { |
738 | 755 | "properties": { |
| 756 | + "coord_uuid": { |
| 757 | + "title": "fastpath coordinator node uuid to enhance reporting", |
| 758 | + "type": "string" |
| 759 | + }, |
739 | 760 | "dirty": { |
740 | 761 | "format": "boolean", |
741 | 762 | "title": "Dirty flag on volume - was attached in userspace", |
|
809 | 830 | "format": "int64", |
810 | 831 | "type": "integer" |
811 | 832 | }, |
| 833 | + "node_uuid": { |
| 834 | + "title": "node_uuid added to enhance UI reporting", |
| 835 | + "type": "string" |
| 836 | + }, |
812 | 837 | "protocol": { |
813 | 838 | "$ref": "#/components/schemas/apiFastpathProtocol" |
814 | 839 | }, |
|
899 | 924 | }, |
900 | 925 | "apiJob": { |
901 | 926 | "properties": { |
| 927 | + "clouddrive_transfer": { |
| 928 | + "$ref": "#/components/schemas/apiCloudDriveTransferJob" |
| 929 | + }, |
902 | 930 | "create_time": { |
903 | 931 | "format": "date-time", |
904 | 932 | "title": "CreateTime is the time the job was created", |
|
950 | 978 | }, |
951 | 979 | "apiJobType": { |
952 | 980 | "default": "UNSPECIFIED_TYPE", |
953 | | - "description": "- UNSPECIFIED_TYPE: Unspecified\n - NONE: None\n - DRAIN_ATTACHMENTS: Job for draining volume attachments", |
| 981 | + "description": "- UNSPECIFIED_TYPE: Unspecified\n - NONE: None\n - DRAIN_ATTACHMENTS: Job for draining volume attachments\n - CLOUD_DRIVE_TRANSFER: Job for transferring cloud drives between nodes", |
954 | 982 | "enum": [ |
955 | 983 | "UNSPECIFIED_TYPE", |
956 | 984 | "NONE", |
957 | | - "DRAIN_ATTACHMENTS" |
| 985 | + "DRAIN_ATTACHMENTS", |
| 986 | + "CLOUD_DRIVE_TRANSFER" |
958 | 987 | ], |
959 | 988 | "title": "Type are the supported job types", |
960 | 989 | "type": "string" |
|
4895 | 4924 | "export_spec": { |
4896 | 4925 | "$ref": "#/components/schemas/apiExportSpec" |
4897 | 4926 | }, |
| 4927 | + "fastpath": { |
| 4928 | + "format": "boolean", |
| 4929 | + "type": "boolean" |
| 4930 | + }, |
4898 | 4931 | "group": { |
4899 | 4932 | "$ref": "#/components/schemas/apiGroup" |
4900 | 4933 | }, |
|
5200 | 5233 | }, |
5201 | 5234 | "info": { |
5202 | 5235 | "title": "OpenStorage SDK", |
5203 | | - "version": "0.101.1" |
| 5236 | + "version": "0.101.4" |
5204 | 5237 | }, |
5205 | 5238 | "openapi": "3.0.0", |
5206 | 5239 | "paths": { |
|
6467 | 6500 | "operationId": "Enumerate", |
6468 | 6501 | "parameters": [ |
6469 | 6502 | { |
6470 | | - "description": "Type if specified will list the jobs of the provided type.\n\n - UNSPECIFIED_TYPE: Unspecified\n - NONE: None\n - DRAIN_ATTACHMENTS: Job for draining volume attachments", |
| 6503 | + "description": "Type if specified will list the jobs of the provided type.\n\n - UNSPECIFIED_TYPE: Unspecified\n - NONE: None\n - DRAIN_ATTACHMENTS: Job for draining volume attachments\n - CLOUD_DRIVE_TRANSFER: Job for transferring cloud drives between nodes", |
6471 | 6504 | "in": "query", |
6472 | 6505 | "name": "type", |
6473 | 6506 | "required": false, |
|
6476 | 6509 | "enum": [ |
6477 | 6510 | "UNSPECIFIED_TYPE", |
6478 | 6511 | "NONE", |
6479 | | - "DRAIN_ATTACHMENTS" |
| 6512 | + "DRAIN_ATTACHMENTS", |
| 6513 | + "CLOUD_DRIVE_TRANSFER" |
6480 | 6514 | ], |
6481 | 6515 | "type": "string" |
6482 | 6516 | } |
|
6513 | 6547 | } |
6514 | 6548 | }, |
6515 | 6549 | { |
6516 | | - "description": "Type of the job.\n\n - UNSPECIFIED_TYPE: Unspecified\n - NONE: None\n - DRAIN_ATTACHMENTS: Job for draining volume attachments", |
| 6550 | + "description": "Type of the job.\n\n - UNSPECIFIED_TYPE: Unspecified\n - NONE: None\n - DRAIN_ATTACHMENTS: Job for draining volume attachments\n - CLOUD_DRIVE_TRANSFER: Job for transferring cloud drives between nodes", |
6517 | 6551 | "in": "query", |
6518 | 6552 | "name": "type", |
6519 | 6553 | "required": false, |
|
6522 | 6556 | "enum": [ |
6523 | 6557 | "UNSPECIFIED_TYPE", |
6524 | 6558 | "NONE", |
6525 | | - "DRAIN_ATTACHMENTS" |
| 6559 | + "DRAIN_ATTACHMENTS", |
| 6560 | + "CLOUD_DRIVE_TRANSFER" |
6526 | 6561 | ], |
6527 | 6562 | "type": "string" |
6528 | 6563 | } |
|
0 commit comments