ABCDEFGHIJKLMNOPQRST
1
ModelFieldTypeAttrShort DescriptionExample
2
ServiceidIntegerPKUnique Id1,2...
3
hostStringrunning host namelocalhost
4
binaryStringtype of servicenova-compute
5
topicStringAMQP topic namecompute-host1
6
report_countIntegerNot Null, Default 0number of "report_state" called
7
disabledBooleanDefault Falsedisable flag
8
availability_zoneStringdefault novaservice's zonenova
9
ComputeNodeidIntegerPKUnique Id
10
service_idIntegerrelation Service(disabled = false)Service reference Id
11
vcpusIntegernum of vcpu4
12
memory_mbIntegermemory size by mb2048
13
local_gbIntegerlocal disk size by gb40
14
vcpus_usedIntegernum of used vcpu2
15
memory_mb_usedIntegersize of used memory by mb1024
16
local_gb_usedIntegersize of used local disk by gb20
17
hypervisor_typeTextname of hypervisorlibvirt
18
hypervisor_versionIntegerversion of hypervisor. use for live migration. if source/dest hypervisor version is not same, fail to migration1
19
cpu_infoTextcpu details info represented as json format # '{"arch":"x86_64",
# "model":"Nehalem",
# "topology":{"sockets":1, "threads":2, "cores":3},
# "features":["tdtscp", "xtpr"]}'
20
CertificateidIntegerPKUnique Id
21
user_idStringcertificate's usershida
22
project_idStringcertificate's projectdev project
23
file_nameStringpublic key file namenewcerts/inbound.pem
24
InstanceidIntegerPK, Auto IncrementUnique Id
25
nameStringinstance namei-XXXXXX, i-XXXXXX-rescure
26
user_idStringinstance owner user shida
27
project_idStringinstance owned projectdev project
28
image_refStringreferenced image idami-xxxxxxxx
29
kernel_idStringreferenced kernel image idaki-xxxxxxxx
30
ramdisk_idStringreferenced ramdisk image idari-xxxxxxxx
31
server_nameStringname represented OSAPI new-server-test
32
launch_indexIntegerindex of launch sequence
33
key_nameStringkeypair namemykey
34
key_dataTextpublic key fingerprint 43:51:43:a1:b5:fc:8b:b7:0a:3a:a9:b1:0f:66:73:a8
35
power_stateIntegercode of power stateNOSTATE = 0x00
RUNNING = 0x01
BLOCKED = 0x02
PAUSED = 0x03
SHUTDOWN = 0x04
SHUTOFF = 0x05
CRASHED = 0x06
SUSPENDED = 0x07
FAILED = 0x08
BUILDING = 0x09
36
vm_stateStringvalue of vm stateACTIVE = 'active'
BUILDING = 'building'
REBUILDING = 'rebuilding'
PAUSED = 'paused'
SUSPENDED = 'suspended'
RESCUED = 'rescued'
DELETED = 'deleted'
STOPPED = 'stopped'
MIGRATING = 'migrating'
RESIZING = 'resizing'
ERROR = 'error'
37
task_stateStringvalue of instance task stateSCHEDULING = 'scheduling'
BLOCK_DEVICE_MAPPING = 'block_device_mapping'
NETWORKING = 'networking'
SPAWNING = 'spawning'
IMAGE_SNAPSHOT = 'image_snapshot'
IMAGE_BACKUP = 'image_backup'
UPDATING_PASSWORD = 'updating_password'
RESIZE_PREP = 'resize_prep'
RESIZE_MIGRATING = 'resize_migrating'
RESIZE_MIGRATED = 'resize_migrated'
RESIZE_FINISH = 'resize_finish'
RESIZE_REVERTING = 'resize_reverting'
RESIZE_CONFIRMING = 'resize_confirming'
RESIZE_VERIFY = 'resize_verify'
REBUILDING = 'rebuilding'
REBOOTING = 'rebooting'
PAUSING = 'pausing'
UNPAUSING = 'unpausing'
SUSPENDING = 'suspending'
RESUMING = 'resuming'
RESCUING = 'rescuing'
UNRESCUING = 'unrescuing'
DELETING = 'deleting'
STOPPING = 'stopping'
STARTING = 'starting'
38
memory_mbIntegeruserd memory1024
39
vcpus Integerused vcpu2
40
local_gbIntegerused local disk20
41
hostnameStringrunning host name
42
hostStringreference of ComputeNode
43
instance_type_idIntegerreference for InstanceTypes
44
user_dataTextinstance user_data
45
reservation_idStringreservation idr-xxxxxx
46
scheduled_atDateTimetime of scheduled
47
launched_atDateTimetime of spawn instance
48
terminated_atDateTimetime of terminated
49
availability_zoneStringrunning zone namenova
50
display_nameStringUser editable field for display in user-facing UIsmy first instance
51
display_descriptionStringUser editable field for display in user-facing UIsDjango + MySQL
52
launched_onTextfirst launched host infocompute1
53
lockedBooleaninstance lock flag. When server.lock api called this flag turn on
54
os_typeStringLinux/Windows or othersLinux
55
architectureStringx86/i386
56
vm_modeStringmode of vms. para virtualization or hardware virtualizationpv
hv
hvm
57
uuidStringuniversal unique id for live migrationcompute1-xxxxxxxx
58
root_device_nameStringdevice name for EBS boot/dev/sda
59
config_driveStringvalues for vsa volume/dev/sdh
60
access_ip_v4Stringip for connect to the instance64.142.4.112
61
access_ip_v6Stringip for connect to the instance2001:0DB8:AC10:FE01
62
VirtualStorageArrayidIntegerPK, Auto Increment
63
nameStringname of vsavsa-xxxxxxxx
64
display_nameStringdisplay in user-facing UIsMy vsa
65
display_descriptionStringdisplay in user-facing UIsused for database store
66
project_idStringvsa owned project namedev project
67
availability_zoneStringvsa joined zone
68
instance_type_idIntegerreference for InstanceTypes
69
image_refString
70
vc_countIntegerdefault 0
71
vol_countIntegerdefaut 0
72
statusString
73
InstanceActionsidIntegerPK
74
instance_idIntegerFK Instance
75
actionStringaction name for OSAPI extensionadd_tweedle
76
errorTexterror string
77
InstanceTypesidIntegerPK
78
nameStringUnique
79
memory_mbInteger
80
vcpusInteger
81
local_gbInteger
82
flavoridIntegerUnique
83
swapIntegerNot Null, default 0swap size associate with flavor
84
rxtx_quotaIntegerNot Null, default 0It looks deprecate
85
rxtx_capIntegerNot Null, default 0capacity of virtual network as mbps100
86
VolumeidIntegerPK, Auto Increment
87
nameStringname of volumevol-xxxxxxxx
88
user_idStringshida
89
project_idStringdev_project
90
snapshot_idStringsnapshot id which volume's sourcesnap-xxxxxxxx
91
hostStringhost name of nova-volumelocalhost
92
sizeIntegersize of volume by gb2
93
availability_zoneStringavailability zone namenova
94
instance_idIntegerFK: Instances.id(Volume.deleted=false)volume attached instance id
95
mountpointStringdevice name of attached/dev/sdh
96
attach_timeStringtime of attached
97
statusStringstatus of volumein-use
available
creating
deleting
error
error_deleteing
98
attach_statusStringstatus of attach/dettachattached
detached
99
scheduled_atDateTime
100
launched_atDateTime