Project

General

Profile

Bug #24072

Bug #24071: Add VM device to API

please provide the following for 24071

Added by Vaibhav Chauhan over 3 years ago. Updated about 3 years ago.

Status:
Closed: Not Applicable
Priority:
Expected
Assignee:
Marcelo Araujo
Category:
Middleware
Target version:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

1). need more elaborate examples in VM section http://10.211.1.193/api/docs/#vm, which specifies how a websocket calls with args would look like,

midclt call vm.update '1' '{"devices": [{"dtype": "VNC", "attributes": {"wait": true, "vnc_port": "9100", "vnc_resolution": "640x480"}}, {"dtype": "NIC", "attributes": {"type": "VIRTIO", "mac": "00:a0:98:FF:FF:CC"}}, {"dtype": "CDROM", "attributes": {"path": null}}, {"dtype": "DISK", "attributes": {"path": "/dev/", "type": ""}}, {"dtype": "NIC", "attributes": {"type": "", "mac": ""}}, {"dtype": "VNC", "attributes": {"wait": true, "vnc_port": "2026", "vnc_resolution": "1024x768"}}]}'

2). clearly, state the limitations of the existing calls in the documentation.

History

#1 Avatar?id=14398&size=24x24 Updated by Kris Moore over 3 years ago

  • Target version changed from 11.0 to 11.1

#2 Updated by Marcelo Araujo over 3 years ago

  • Status changed from Unscreened to Screened

#3 Updated by Marcelo Araujo about 3 years ago

  • Status changed from Screened to Closed: Not Applicable

midclt is a developer tool and it should not be part of API documentation.
There are reasons for that, one is, if we document it and people start to use it to make scripts to automate tasks we need to maintain that.
I discussed with William about it too, and it should not be part of API docs.

I have sent you by email the basic usage of midclt with vm plugin.

#4 Updated by Dru Lavigne about 3 years ago

  • Target version changed from 11.1 to N/A

Also available in: Atom PDF