forked from oVirt/ovirt-vmconsole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.API
54 lines (43 loc) · 1.11 KB
/
README.API
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
OVIRT-VMCONSOLE API
===================
OVIRT-VMCONSOLE-PROXY
---------------------
KEY LIST
The command is set in configuration proxy:key_list.
Substitutions:
- {version}
- {keyfp}*
- {keytype}* - example: ssh-rsa, ecdsa-sha2-nistp256
- {key}* - key content
* if empty list all keys.
Standard output is at the following json notation:
{
"content": "key_list",
"version": 1,
"keys": [
{
"entityid": "", # entity unique id
"entity": "", # entity name
"key": "" # ssh public key no new line allowed
}
]
}
entity and entityid must be plain ASCII (digits, letters, -_{})
CONSOLE LIST
The command is set in configuration proxy:console_list.
Substitutions:
- {version}
- {entityid}
Standard output is at the following json notation:
{
"content": "console_list",
"version": 1,
"consoles": [
{
"vmid": "", # vm unique id
"vm": "", # vm name
"host": "", # host address where console resides
"console": "" # console name at host
}
]
}