RPC API TYPES
From Zentific Wiki
<= Return to the RPC_API
Contents |
[edit] VM
Attributes
- name
- Type:string
- Description:Name of the Virtual machine. Alphanumeric and _-.:+ characters. Length 256 characters.
- uuid
- Type:string
- Description: UUID, Identifies virtual machine within a node and across a cluster.
- puuid
- Type:string
- Description: UUID, Identifies node upon which virtual machine is running.
- type
- Type:string
- os
- Type:string
- id
- Type:int
- kernel
- Type:string
- ramdisk
- Type:string
- cmdline
- Type:string
- on_reboot
- Type:string
- on_poweroff
- Type:string
- on_crash
- Type:string
- mem
- Type:int
- maxmem
- Type:int
- vcpus
- Type:int
- cpupct
- Type:double
- cputime
- Type:double
- uptime
- Type:int
- vncport
- Type:int
- vncpasswd
- Type:string
- state
- Type:string
- numvbds
- Type:int
- disks
- Type:array<DISK>
- numnets
- Type:int
- rxbw
- Type:int
- txbw
- Type:int
- vifs
- Type:array<VIF>
Comments
- //FIXME:this should be more generic
- //FIXME:builder, device model?
- //FIXME:platform type?
[edit] JOB
[edit] USER
[edit] GROUP
[edit] PLUGIN
Attributes
- name
- Type:string
- Description: Name of the plugin.
- description
- Type:string
- Description: Details about the plugin.
- frontend
- Type:boolean
- Description: Flag indicating whether the plugin has a component in the frontend code.
- rpc
- Type:boolean
- Description: Flag indicating whether the plugin has a component in the rpc code.
- scheduler
- Type:boolean
- Description: Flag indicating whether the plugin has a component in the scheduler code.
- poller
- Type:boolean
- Description: Flag indicating whether the plugin has a component in the poller code.
- enabled
- Type:boolean
- Description: Flag indicating whether the plugin is currently enabled.
- permissions
- Type:int
- Description: Integer constant representing the minimum level of user permission to utilize the plugin.
[edit] DISK
[edit] LOG
[edit] TEMPLATE
[edit] NETWORK
- // higher level than bridge
[edit] BRIDGE
[edit] VIF
[edit] NODE
[edit] NODE_STATS
- //kill off?
