cloudstack/framework
Abhishek Kumar 928972f767
extension/proxmox: add console access for instances (#11601)
This PR introduces console access support for instances deployed using Orchestrator Extensions, available via either VNC or a direct URL.

- CloudStack queries the extension using the getconsole action.
- For VNC-based access, the extension must return host/port/ticket details. CloudStack then forwards these to the Console Proxy VM (CPVM) in the instance’s zone. It is assumed that the CPVM can reach the specified host and port.
- For direct URL access, the extension returns a console URL with the protocol set to `direct`. The URL is then provided directly to the user.
- The built-in Proxmox Orchestrator Extension now supports console access via VNC. The extension calls the Proxmox API to fetch console details and returns them in the required format.

Also, adds changes to send caller details to the extension payload.
```
# cat /var/lib/cloudstack/management/extensions/Proxmox/02b650f6-bb98-49cb-8cac-82b7a78f43a2.json | jq
{
  "caller": {
    "roleid": "6b86674b-7e61-11f0-ba77-1e00c8000158",
    "rolename": "Root Admin",
    "name": "admin",
    "roletype": "Admin",
    "id": "93567ed9-7e61-11f0-ba77-1e00c8000158",
    "type": "ADMIN"
  },
  "virtualmachineid": "126f4562-1f0f-4313-875e-6150cabeb72f",
  ...
```

Documentation PR: https://github.com/apache/cloudstack-documentation/pull/560

---------

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2025-09-27 08:54:27 +05:30
..
agent-lb Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
ca Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
cluster Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
config [router] make a distinction between fatal errors, warnings and unknown as healthcheck result (#10710) 2025-09-22 11:39:05 +05:30
db Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
direct-download Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
events Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
extensions extension/proxmox: add console access for instances (#11601) 2025-09-27 08:54:27 +05:30
ipc Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
jobs Merge remote-tracking branch 'apache/4.20' 2025-09-24 09:27:08 +02:00
managed-context Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
quota Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
rest Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
security Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
spring Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30
pom.xml Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30