You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi-spec/swagger.yaml
+20-22Lines changed: 20 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1659,11 +1659,11 @@ paths:
1659
1659
format: int32
1660
1660
- name: sortKey
1661
1661
in: query
1662
-
description: Sorting keyword, which can be sorted based on the number of initiators
1662
+
description: Sorting keyword, which can be sorted based on host name
1663
1663
schema:
1664
1664
type: string
1665
1665
enum:
1666
-
- name
1666
+
- hostName
1667
1667
- name: sortDir
1668
1668
in: query
1669
1669
description: Asending or descending
@@ -1718,7 +1718,7 @@ paths:
1718
1718
'500':
1719
1719
$ref: '#/components/responses/HTTPStatus500'
1720
1720
1721
-
/v1beta/{tenantId}/host/{hostId}:
1721
+
/v1beta/{tenantId}/host/hosts/{hostId}:
1722
1722
parameters:
1723
1723
- $ref: '#/components/parameters/tenantId'
1724
1724
- $ref: '#/components/parameters/hostId'
@@ -2575,8 +2575,6 @@ components:
2575
2575
VolumeAttachmentUpdateSpec:
2576
2576
type: object
2577
2577
properties:
2578
-
connectionInfo:
2579
-
$ref: '#/components/schemas/ConnectionInfo'
2580
2578
mountpoint:
2581
2579
type: string
2582
2580
@@ -2831,8 +2829,8 @@ components:
2831
2829
osType:
2832
2830
type: string
2833
2831
enum:
2834
-
- Linux
2835
-
- Windows
2832
+
- linux
2833
+
- windows
2836
2834
hostName:
2837
2835
type: string
2838
2836
minLength: 1
@@ -2851,10 +2849,10 @@ components:
2851
2849
example: 22
2852
2850
accessMode:
2853
2851
type: string
2854
-
description: The way to access host, system will access host to get more information and install agent if accessMode is 'Agent'. 'port', 'username'and 'password' are requried in 'Agent' mode.
2852
+
description: The way to access host, system will access host to get more information and install agent if accessMode is 'agent'. 'port', 'username'and 'password' are requried in 'agent' mode.
2855
2853
enum:
2856
-
- Agent
2857
-
- AgentLess
2854
+
- agent
2855
+
- agentless
2858
2856
username:
2859
2857
maxLength: 255
2860
2858
minLength: 1
@@ -2890,10 +2888,10 @@ components:
2890
2888
protocol:
2891
2889
type: string
2892
2890
description: Initiator type FC or iSCSI
2893
-
example: iSCSI
2891
+
example: iscsi
2894
2892
enum:
2895
-
- iSCSI
2896
-
- FC
2893
+
- iscsi
2894
+
- fibre_channel
2897
2895
description: Host is a consumer of volume from storage.
2898
2896
2899
2897
HostUpdateSpec:
@@ -2917,10 +2915,10 @@ components:
2917
2915
example: 22
2918
2916
accessMode:
2919
2917
type: string
2920
-
description: The way to access host, system will access host to get more information and install agent if accessMode is 'Agent'. 'port', 'username'and 'password' are requried in 'Agent' mode.
2918
+
description: The way to access host, system will access host to get more information and install agent if accessMode is 'agent'. 'port', 'username'and 'password' are requried in 'agent' mode.
2921
2919
enum:
2922
-
- Agent
2923
-
- AgentLess
2920
+
- agent
2921
+
- agentless
2924
2922
username:
2925
2923
maxLength: 255
2926
2924
minLength: 1
@@ -2956,10 +2954,10 @@ components:
2956
2954
protocol:
2957
2955
type: string
2958
2956
description: Initiator type FC or iSCSI
2959
-
example: iSCSI
2957
+
example: iscsi
2960
2958
enum:
2961
-
- iSCSI
2962
-
- FC
2959
+
- iscsi
2960
+
- fibre_channel
2963
2961
description: Host is a consumer of volume from storage.
2964
2962
HostRespSpec:
2965
2963
allOf:
@@ -2996,9 +2994,9 @@ components:
2996
2994
example: 20000024ff5bb888
2997
2995
protocol:
2998
2996
type: string
2999
-
example: iSCSI
2997
+
example: iscsi
3000
2998
enum:
3001
-
- iSCSI
3002
-
- FC
2999
+
- iscsi
3000
+
- fibre_channel
3003
3001
3004
3002
description: Host is a consumer of volume from storage.
0 commit comments