Glue의 기능을 제어하기 위한 REST API 입니다.
본 문서는 swagger로 작성된 API 목록을 swagger-markdown-ui를 사용해 작성된 README입니다.
Show Status of Glue
Glue 의 상태값을 보여줍니다.
Code | Description | Schema |
---|---|---|
200 | OK | GlueStatus |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
List Pools of Glue
Glue 의 스토리지 풀 목록을 보여줍니다..
Code | Description | Schema |
---|---|---|
200 | OK | GlueVersion |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
List Images of Pool Glue
Glue 스토리지 풀의 이미지 목록을 보여줍니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
pool_name | path | Pool Name | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | ListImages |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Delete of Pool Glue
Glue 스토리지 풀을 삭제합니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
pool_name | path | Pool Name | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | PoolDelete |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show Status of GlueFS
GlueFS의 상태값을 보여줍니다..
Code | Description | Schema |
---|---|---|
200 | OK | FsStatus |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show Info of GlueFS
GlueFS의 상세정보를 보여줍니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
fs_name | path | Glue FS Name | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | FsGetInfo |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show List of GlueFS
GlueFS의 리스트를 보여줍니다..
Code | Description | Schema |
---|---|---|
200 | OK | FsList |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Create of GlueFS
GlueFS를 생성합니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
fs_name | path | Glue FS Name | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | FsCreate |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Delete of GlueFS
GlueFS를 삭제합니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
fs_name | path | Glue FS Name | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | FsDelete |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show Versions of Glue
Glue 의 버전을 보여줍니다.
Code | Description | Schema |
---|---|---|
200 | OK | GlueVersion |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Delete Mirroring Cluster
Glue 의 미러링 클러스터를 제거합니다.
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
host | formData | Remote Cluster Host Address | Yes | string |
privateKeyFile | formData | Remote Cluster PrivateKey | Yes | file |
mirrorPool | formData | Pool Name for Mirroring | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | MirrorSetup |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show Status of Mirror
Glue 의 미러링 상태를 보여줍니다.
Code | Description | Schema |
---|---|---|
200 | OK | MirrorStatus |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Setup Mirroring Cluster
Glue 의 미러링 클러스터를 설정합니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
localClusterName | formData | Local Cluster Name | Yes | string |
remoteClusterName | formData | Remote Cluster Name | Yes | string |
host | formData | Remote Cluster Host Address | Yes | string |
privateKeyFile | formData | Remote Cluster PrivateKey | Yes | file |
mirrorPool | formData | Pool Name for Mirroring | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | MirrorSetup |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show List of Mirrored Image
미러링중인 이미지의 목록과 상태를 보여줍니다.
Code | Description | Schema |
---|---|---|
200 | OK | MirrorList |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Delete Mirrored Image
이미지의 미러링을 비활성화 합니다.
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
imageName | path | imageName | Yes | string |
pool | path | pool | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | Message |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show List of Glue NFS Cluster
Glue NFS Cluster의 리스트를 보여줍니다..
Code | Description | Schema |
---|---|---|
200 | OK | NfsClusterLs |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show Info of Glue NFS Cluster
Glue NFS Cluster의 상세정보를 보여줍니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
cluster_id | path | NFS Cluster Identifier | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | NfsClusterInfo |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Delete of Glue NFS Cluster
Glue NFS Cluster를 삭제합니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
cluster_id | path | NFS Cluster Identifier | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | NfsClusterDelete |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Create of Glue NFS Cluster
Glue NFS Cluster를 생성합니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
cluster_id | path | NFS Cluster Identifier | Yes | string |
port | path | NFS Cluster Port | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | NfsClusterCreate |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show Detailed of Glue NFS Export
Glue NFS Export의 상세정보를 보여줍니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
cluster_id | path | NFS Cluster Identifier | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | NfsExportDetailed |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Update of Glue NFS Export
Glue NFS Export를 수정합니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
cluster_id | path | NFS Cluster Identifier | Yes | string |
json_file | body | NFS Cluster JSON File | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | NfsExportUpdate |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Create of Glue NFS Export
Glue NFS Export를 생성합니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
cluster_id | path | NFS Cluster Identifier | Yes | string |
json_file | body | NFS Cluster JSON File | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | NfsExportCreate |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Delete of Glue NFS Export
Glue NFS Export를 삭제합니다..
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
cluster_id | path | NFS Cluster Identifier | Yes | string |
export_id | path | NFS Export ID | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | NfsExportDetailed |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Create of Iscsi Servcie Daemon
Iscsi 서비스 데몬을 생성합니다.
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
hosts | formData | Host Name | Yes | []string |
service_id | formData | ISCSI Service Name | Yes | string |
service_id | formData | ISCSI Service Name | Yes | string |
pool | formData | Pool Name | Yes | string |
api_port | formData | ISCSI API Port | Yes | int |
api_user | formData | ISCSI API User | Yes | string |
api_password | formData | ISCSI API Password | Yes | string |
count | formData | Iscsi Service Daemon Count | Yes | int |
Code | Description | Schema |
---|---|---|
200 | OK | IscsiServiceCreate |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show of Iscsi Discovery Auth Details
Iscsi 계정 정보를 가져옵니다.
Code | Description | Schema |
---|---|---|
200 | OK | IscsiGetDiscoveryAuth |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Update of Iscsi Discovery Auth Details
Iscsi 계정 정보를 수정합니다.
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
user | formData | Iscsi Discovery Authorization Username | No | string |
password | formData | Iscsi Discovery Authorization Password | No | string |
mutual_user | formData | Iscsi Discovery Authorization Mutual Username | No | string |
mutual_password | formData | Iscsi Discovery Authorization Mutual Password | No | string |
Code | Description | Schema |
---|---|---|
200 | OK | IscsiUpdateDiscoveryAuth |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show List of Iscsi Target
Iscsi 타겟 리스트를 가져옵니다.
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
iqn_id | query | Iscsi Target IQN Name | No | string |
Code | Description | Schema |
---|---|---|
200 | OK | IscsiCommon |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Delete of Iscsi Target
Iscsi 타겟을 삭제합니다.
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
iqn_id | query | Iscsi Target IQN Name | No | string |
Code | Description | Schema |
---|---|---|
200 | OK | IscsiCommon |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Create of Iscsi Target
Iscsi 타겟을 생성합니다.
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
iqn_id | formData | Iscsi Target IQN Name | Yes | string |
hostname | formData | Gateway Host Name | Yes | []string |
ip_address | formData | Gateway Host IP Address | Yes | []string |
pool_name | formData | Glue Pool Name | No | []string |
image_name | formData | Glue Image Name | No | []string |
acl_enabled | formData | scsi Authentication | Yes | boolean |
username | formData | Iscsi Auth User | No | string |
password | formData | Iscsi Auth Password | No | string |
mutual_username | formData | Iscsi Auth Mutual User | No | string |
mutual_password | formData | Iscsi Auth Mutaul Password | No | string |
Code | Description | Schema |
---|---|---|
200 | OK | IscsiCommon |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show Status of Smb Servcie Daemon
SMB 서비스 데몬 상태를 조회합니다.
Code | Description | Schema |
---|---|---|
200 | OK | SmbStatus |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Delete of Smb Service
SMB 서비스 전체를 삭제합니다.
Code | Description | Schema |
---|---|---|
200 | OK | ["Success"] |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Create of Smb Service
SMB 서비스 전체를 생성합니다.
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
username | formData | SMB Username | Yes | string |
password | formData | SMB Password | Yes | string |
folder_name | formData | SMB Share Folder Name | Yes | string |
path | formData | SMB Server Actual Shared Path | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | ["Success"] |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Update User of Smb Service
SMB 서비스 사용자의 패스워드를 변경합니다.
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
username | formData | SMB Username | Yes | string |
password | formData | SMB Password | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | ["Success"] |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Delete User of Smb Service
SMB 서비스 사용자를 삭제합니다.
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
username | formData | SMB Username | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | ["Success"] |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Create User of Smb Service
SMB 서비스 사용자를 생성합니다.
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
username | formData | SMB Username | Yes | string |
password | formData | SMB Password | Yes | string |
Code | Description | Schema |
---|---|---|
200 | OK | ["Success"] |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Show Versions of API
API 의 버전을 보여줍니다.
Code | Description | Schema |
---|---|---|
200 | OK | Version |
400 | Bad Request | HTTP400BadRequest |
404 | Not Found | HTTP404NotFound |
500 | Internal Server Error | HTTP500InternalServerError |
Name | Type | Description | Required |
---|---|---|---|
election_epoch | integer (uint32) | No | |
fsid | string (uuid) | Glue클러스터를 구분하는 ID | No |
fsmap | object | No | |
health | object | No | |
mgrmap | object | No | |
monmap | object | No | |
osdmap | object | No | |
pgmap | object | No | |
progress_events | object | No | |
quorum | [ integer ] | No | |
quorum_age | integer | No | |
quorum_names | [ string ] | No | |
servicemap | object | No |
Name | Type | Description | Required |
---|---|---|---|
mgr | object | No | |
mon | object | No | |
osd | object | No | |
overall | object | No | |
rbd-mirror | object | No | |
rgw | object | No |
Name | Type | Description | Required |
---|---|---|---|
code | integer | No | |
message | string | No |
Name | Type | Description | Required |
---|---|---|---|
code | integer | No | |
message | string | No |
Name | Type | Description | Required |
---|---|---|---|
code | integer | No | |
message | string | No |
Name | Type | Description | Required |
---|---|---|---|
message | string | No |
Name | Type | Description | Required |
---|---|---|---|
image | string | No | |
items | [ MirrorImageItem ] | No | |
namespace | string | No | |
pool | string | No |
Name | Type | Description | Required |
---|---|---|---|
interval | string | No | |
start_time | string | No |
Name | Type | Description | Required |
---|---|---|---|
Local | [ MirrorImage ] | No | |
Remote | [ MirrorImage ] | No | |
debug | boolean (bool) | Debug info | No |
Name | Type | Description | Required |
---|---|---|---|
host | string | No | |
localClusterName | string | 미러링 상태 | No |
localToken | string | No | |
mirrorPool | string | No | |
privateKeyFile | object | No | |
remoteClusterName | string | 미러링 상태 | No |
remoteToken | string | No |
Name | Type | Description | Required |
---|---|---|---|
daemon_health | string | 미러링 데몬 상태 | No |
health | string | 미러링 상태 | No |
image_health | string | 이미지 상태 | No |
states | object | 이미지 상세 | No |
Name | Type | Description | Required |
---|---|---|---|
clients | object | No | |
mdsversion | object | No | |
mdsmap | object | No | |
pools | object | No |
Name | Type | Description | Required |
---|---|---|---|
mdsmap | object | No | |
id | integer | No |
Name | Type | Description | Required |
---|---|---|---|
name | string | No | |
metadatapool | string | No | |
metadatapoolid | string | No | |
datapoolids | []integer | No | |
datapools | []string | No |
Name | Type | Description | Required |
---|---|---|---|
name | string | No |
Name | Type | Description | Required |
---|---|---|---|
object | No |
Name | Type | Description | Required |
---|---|---|---|
accesstype | string | No | |
clients | []string | No | |
clusterid | string | No | |
exportid | integer | No | |
fsal | object | No | |
path | string | No | |
protocols | []string | No | |
pseudo | string | No | |
securitylabel | boolean | No | |
squash | string | No | |
transports | []string | No |
Name | Type | Description | Required |
---|---|---|---|
service_type | string | No | |
service_id | string | No | |
placement | object | No | |
spec | object | No |
Name | Type | Description | Required |
---|---|---|---|
targets | object | No |
Name | Type | Description | Required |
---|---|---|---|
username | string | No | |
password | string | No | |
mutual_username | string | No | |
mutual_password | string | No |
Name | Type | Description | Required |
---|---|---|---|
names | string | No | |
description | string | No | |
status | string | No | |
state | string | No | |
users | object | No |
Name | Type | Description | Required |
---|---|---|---|
object | No |
Name | Type | Description | Required |
---|---|---|---|
version | string (string) | No |