Glue의 기능을 제어하기 위한 REST API 입니다.
본 문서는 swagger로 작성된 API 목록을 swagger-markdown-ui 를 사용해 작성된 README입니다.
Show Status of Glue
Glue 의 상태값을 보여줍니다.
List Pools of Glue
Glue 의 스토리지 풀 목록을 보여줍니다..
/api/v1/glue/rbd/{pool_name}
List Images of Pool Glue
Glue 스토리지 풀의 이미지 목록을 보여줍니다..
Name
Located in
Description
Required
Schema
pool_name
path
Pool Name
Yes
string
/api/v1/glue/pool/{pool_name}
Delete of Pool Glue
Glue 스토리지 풀을 삭제합니다..
Name
Located in
Description
Required
Schema
pool_name
path
Pool Name
Yes
string
Show Status of GlueFS
GlueFS의 상태값을 보여줍니다..
/api/v1/gluefs/info/{fs_name}
Show Info of GlueFS
GlueFS의 상세정보를 보여줍니다..
Name
Located in
Description
Required
Schema
fs_name
path
Glue FS Name
Yes
string
Show List of GlueFS
GlueFS의 리스트를 보여줍니다..
Create of GlueFS
GlueFS를 생성합니다..
Name
Located in
Description
Required
Schema
fs_name
path
Glue FS Name
Yes
string
Delete of GlueFS
GlueFS를 삭제합니다..
Name
Located in
Description
Required
Schema
fs_name
path
Glue FS Name
Yes
string
Show Versions of Glue
Glue 의 버전을 보여줍니다.
Show Status of Mirror
Glue 의 미러링 상태를 보여줍니다.
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
moldUrl
formData
Mold Url
Yes
string
moldApiKey
formData
Mold Api Key
Yes
string
moldSecretKey
formData
Mold Secret Key
Yes
string
Put Mirroring Cluster
Glue 의 미러링 클러스터 설정을 변경합니다.
Name
Located in
Description
Required
Schema
interval
formData
Mirroring Schedule Interval
Yes
string
moldUrl
formData
Mold API request URL
Yes
string
moldApiKey
formData
Mold Admin Api Key
Yes
string
moldSecretKey
formData
Mold Admin Secret Key
Yes
string
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
/api/v1/mirror/{mirrorPool}
Enable 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
Disable 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
Delete Garbage Mirroring Cluster
Glue 의 미러링 클러스터 가비지를 삭제합니다.
Name
Located in
Description
Required
Schema
mirrorPool
path
Pool Name for Mirroring
Yes
string
/api/v1/mirror/image/{pool}
Show List of Mirrored Snapshot
미러링중인 이미지의 목록과 상태를 보여줍니다.
Name
Located in
Description
Required
Schema
mirrorPool
path
Pool Name for Mirroring
Yes
string
/api/v1/mirror/image/info/{pool}/{imageName}
Show Mirroring Image Parent Info
Glue 의 이미지에 미러링 정보를 확인합니다.
Name
Located in
Description
Required
Schema
mirrorPool
path
Pool Name for Mirroring
Yes
string
imageName
path
Image Name for Mirroring
Yes
string
/api/v1/mirror/image/status/{pool}/{imageName}
Show Mirroring Image Status
Glue 의 이미지에 미러링상태를 확인합니다.
Name
Located in
Description
Required
Schema
mirrorPool
path
Pool Name for Mirroring
Yes
string
imageName
path
Image Name for Mirroring
Yes
string
/api/v1/mirror/image/promote/{pool}/{imageName}
Promote Image Mirroring
Glue 의 이미지를 Promote 합니다.
Name
Located in
Description
Required
Schema
mirrorPool
path
Pool Name for Mirroring
Yes
string
imageName
path
Image Name for Mirroring
Yes
string
/api/v1/mirror/image/promote/peer/{pool}/{imageName}
Promote Peer Image Mirroring
Peer Glue 의 이미지를 Promote 합니다.
Name
Located in
Description
Required
Schema
mirrorPool
path
Pool Name for Mirroring
Yes
string
imageName
path
Image Name for Mirroring
Yes
string
/api/v1/mirror/image/demote/{pool}/{imageName}
Demote Image Mirroring
Glue 의 이미지를 Demote 합니다.
Name
Located in
Description
Required
Schema
mirrorPool
path
Pool Name for Mirroring
Yes
string
imageName
path
Image Name for Mirroring
Yes
string
/api/v1/mirror/image/demote/peer/{pool}/{imageName}
Demote Peer Image Mirroring
Peer Glue 의 이미지를 Demote 합니다.
Name
Located in
Description
Required
Schema
mirrorPool
path
Pool Name for Mirroring
Yes
string
imageName
path
Image Name for Mirroring
Yes
string
/api/v1/mirror/image/resync/{pool}/{imageName}
Resync Image Mirroring
Glue 의 이미지를 Resync 합니다.
Name
Located in
Description
Required
Schema
mirrorPool
path
Pool Name for Mirroring
Yes
string
imageName
path
Image Name for Mirroring
Yes
string
/api/v1/mirror/image/resync/peer/{pool}/{imageName}
Resync Peer Image Mirroring
Peer Glue 의 이미지를 Resync 합니다.
Name
Located in
Description
Required
Schema
mirrorPool
path
Pool Name for Mirroring
Yes
string
imageName
path
Image Name for Mirroring
Yes
string
/api/v1/mirror/image/{pool}/{imagename}
Show Information of Mirrored Snapshot
미러링중인 이미지의 정보를 보여줍니다.
Name
Located in
Description
Required
Schema
imageName
path
imageName
Yes
string
mirrorPool
path
mirrorPool
Yes
string
/api/v1/mirror/image/{pool}/{imagename}
Delete Mirrored Snapshot Schedule
이미지의 미러링 스케줄링을 비활성화 합니다.
Name
Located in
Description
Required
Schema
imageName
path
imageName
Yes
string
mirrorPool
path
mirrorPool
Yes
string
/api/v1/mirror/image/{pool}/{imagename}/{hostname}/{vmname}
Setup Image Mirroring Schedule
Glue 의 이미지에 미러링 스케줄을 설정합니다.
Name
Located in
Description
Required
Schema
mirrorPool
path
Pool Name of Mirroring
Yes
string
imageName
path
Image Name for Mirroring
Yes
string
hostName
path
Host Name for Mirroring VM
Yes
string
vmName
path
VM Name for Mirroring Image
Yes
string
volType
formData
Volume Type
Yes
string
/api/v1/mirror/image/snapshot/{pool}/{imagename}
Take Image Mirroring Snapshot or Setup Image Mirroring Snapshot Schedule
Glue의 이미지에 미러링 스냅샷을 생성하거나 스케줄을 설정합니다.
Name
Located in
Description
Required
Schema
mirrorPool
path
Pool Name of Mirroring
Yes
string
vmName
path
VM Name for Mirroring Image
Yes
string
hostName
formData
Host Name for Mirroring VM
No
string
imageName
formData
Image Name for Mirroring Image (Schedule)
No
string
imageList
formData
Image List for Mirroring (Manual)
No
string
Show List of Glue NFS Cluster
Glue NFS Cluster의 리스트를 보여줍니다..
Show Info of Glue NFS Cluster
Glue NFS Cluster의 상세정보를 보여줍니다..
Name
Located in
Description
Required
Schema
cluster_id
path
NFS Cluster Identifier
Yes
string
Delete of Glue NFS Cluster
Glue NFS Cluster를 삭제합니다..
Name
Located in
Description
Required
Schema
cluster_id
path
NFS Cluster Identifier
Yes
string
/api/v1/nfs/{cluster_id}/{port}
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
/api/v1/nfs/export/{cluster_id}
Show Detailed of Glue NFS Export
Glue NFS Export의 상세정보를 보여줍니다..
Name
Located in
Description
Required
Schema
cluster_id
path
NFS Cluster Identifier
Yes
string
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
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
/api/v1/nfs/export/{cluster_id}/{export_id}
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
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
Show of Iscsi Discovery Auth Details
Iscsi 계정 정보를 가져옵니다.
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
Show List of Iscsi Target
Iscsi 타겟 리스트를 가져옵니다.
Name
Located in
Description
Required
Schema
iqn_id
query
Iscsi Target IQN Name
No
string
Delete of Iscsi Target
Iscsi 타겟을 삭제합니다.
Name
Located in
Description
Required
Schema
iqn_id
query
Iscsi Target IQN Name
No
string
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
Show Status of Smb Servcie Daemon
SMB 서비스 데몬 상태를 조회합니다.
Delete of Smb Service
SMB 서비스 전체를 삭제합니다.
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
Update User of Smb Service
SMB 서비스 사용자의 패스워드를 변경합니다.
Name
Located in
Description
Required
Schema
username
formData
SMB Username
Yes
string
password
formData
SMB Password
Yes
string
Delete User of Smb Service
SMB 서비스 사용자를 삭제합니다.
Name
Located in
Description
Required
Schema
username
formData
SMB Username
Yes
string
Create User of Smb Service
SMB 서비스 사용자를 생성합니다.
Name
Located in
Description
Required
Schema
username
formData
SMB Username
Yes
string
password
formData
SMB Password
Yes
string
Show Versions of API
API 의 버전을 보여줍니다.
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
HTTP500InternalServerError
Name
Type
Description
Required
code
integer
No
message
string
No
Name
Type
Description
Required
image
string
No
items
[ MirrorImageItem ]
No
namespace
string
No
pool
string
No
Name
Type
Description
Required
daemon_service
object
No
description
string
No
global_id
string
No
last_update
string
No
name
string
No
peer_sites
array
No
snapshots
array
No
state
string
No
Name
Type
Description
Required
message
string
No
Name
Type
Description
Required
name
string
No
id
string
No
size
string
No
snapshot_count
integer
No
parent
array
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
Summary
object
No
Daemons
object
No
Images
[ MirrorListImages ]
No
states
string
No
Name
Type
Description
Required
name
string
No
global_id
string
No
state
string
No
description
string
No
daemon_service
string
No
last_update
string
No
peer_sites
array
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