While working on Feature #3779: Expose console access through the API - Foreman I realized I
should define a proper API for console access.
Proposal:
{
"console": {
"host": "foreman.example.org",
"port": 5900,
"password": "something",
"type": "vnc"
}
}
Now I'm unsure about what fields spice defines. I've seen secure_port
for example.
A WIP PR is on https://github.com/theforeman/foreman/pull/1163 which
works for VNC. I'd appreciate any feedback because it would be a useful
thing for us to have.