Commit 8cffc4e7 authored by duanjinfei's avatar duanjinfei

change vm status constant

parent 96818f0d
package common
const (
Stopped = "stopped"
Running = "running"
Ens18 = "ens18"
Ipv4 = "ipv4"
Ipv6 = "ipv6"
SuccessCode = 200
LocalHost = "127.0.0.1"
DefaultSshPort = "22"
DefaultVncPort = "5901"
NpsReqFailedStatus int64 = 0
SplitSupportType = "-"
VmSupportConnectVnc = 1
VmSupportConnectSsh = 2
VmSupportConnectAll = 3
VmStatusEnabled, VmStatusDisable, VmStatusReboot, VmStatusDelete uint8 = 1, 2, 3, 4
Stopped = "stopped"
Running = "running"
Ens18 = "ens18"
Ipv4 = "ipv4"
Ipv6 = "ipv6"
SuccessCode = 200
LocalHost = "127.0.0.1"
DefaultSshPort = "22"
DefaultVncPort = "5901"
NpsReqFailedStatus int64 = 0
SplitSupportType = "-"
VmSupportConnectVnc = 1
VmSupportConnectSsh = 2
VmSupportConnectAll = 3
VmStatusEnabled uint8 = 1
VmStatusDisable uint8 = 2
VmStatusReboot uint8 = 3
VmStatusDelete uint8 = 4
)
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment