Skip to content

Commit f832ded

Browse files
committed
v0.101.4
1 parent f33dfde commit f832ded

File tree

5 files changed

+3129
-2417
lines changed

5 files changed

+3129
-2417
lines changed

api.swagger.json

Lines changed: 42 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,23 @@
388388
},
389389
"type": "object"
390390
},
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+
},
391408
"apiCloudMigrateCancelRequest": {
392409
"properties": {
393410
"task_id": {
@@ -736,6 +753,10 @@
736753
},
737754
"apiFastpathConfig": {
738755
"properties": {
756+
"coord_uuid": {
757+
"title": "fastpath coordinator node uuid to enhance reporting",
758+
"type": "string"
759+
},
739760
"dirty": {
740761
"format": "boolean",
741762
"title": "Dirty flag on volume - was attached in userspace",
@@ -809,6 +830,10 @@
809830
"format": "int64",
810831
"type": "integer"
811832
},
833+
"node_uuid": {
834+
"title": "node_uuid added to enhance UI reporting",
835+
"type": "string"
836+
},
812837
"protocol": {
813838
"$ref": "#/components/schemas/apiFastpathProtocol"
814839
},
@@ -899,6 +924,9 @@
899924
},
900925
"apiJob": {
901926
"properties": {
927+
"clouddrive_transfer": {
928+
"$ref": "#/components/schemas/apiCloudDriveTransferJob"
929+
},
902930
"create_time": {
903931
"format": "date-time",
904932
"title": "CreateTime is the time the job was created",
@@ -950,11 +978,12 @@
950978
},
951979
"apiJobType": {
952980
"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",
954982
"enum": [
955983
"UNSPECIFIED_TYPE",
956984
"NONE",
957-
"DRAIN_ATTACHMENTS"
985+
"DRAIN_ATTACHMENTS",
986+
"CLOUD_DRIVE_TRANSFER"
958987
],
959988
"title": "Type are the supported job types",
960989
"type": "string"
@@ -4895,6 +4924,10 @@
48954924
"export_spec": {
48964925
"$ref": "#/components/schemas/apiExportSpec"
48974926
},
4927+
"fastpath": {
4928+
"format": "boolean",
4929+
"type": "boolean"
4930+
},
48984931
"group": {
48994932
"$ref": "#/components/schemas/apiGroup"
49004933
},
@@ -5200,7 +5233,7 @@
52005233
},
52015234
"info": {
52025235
"title": "OpenStorage SDK",
5203-
"version": "0.101.1"
5236+
"version": "0.101.4"
52045237
},
52055238
"openapi": "3.0.0",
52065239
"paths": {
@@ -6467,7 +6500,7 @@
64676500
"operationId": "Enumerate",
64686501
"parameters": [
64696502
{
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",
64716504
"in": "query",
64726505
"name": "type",
64736506
"required": false,
@@ -6476,7 +6509,8 @@
64766509
"enum": [
64776510
"UNSPECIFIED_TYPE",
64786511
"NONE",
6479-
"DRAIN_ATTACHMENTS"
6512+
"DRAIN_ATTACHMENTS",
6513+
"CLOUD_DRIVE_TRANSFER"
64806514
],
64816515
"type": "string"
64826516
}
@@ -6513,7 +6547,7 @@
65136547
}
65146548
},
65156549
{
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",
65176551
"in": "query",
65186552
"name": "type",
65196553
"required": false,
@@ -6522,7 +6556,8 @@
65226556
"enum": [
65236557
"UNSPECIFIED_TYPE",
65246558
"NONE",
6525-
"DRAIN_ATTACHMENTS"
6559+
"DRAIN_ATTACHMENTS",
6560+
"CLOUD_DRIVE_TRANSFER"
65266561
],
65276562
"type": "string"
65286563
}

0 commit comments

Comments
 (0)