Description of problem:
i'd like to set ballooning to False but i can't do it via rhevm-shell.
add vm --name blabla cluster-name Default --template-name Blank --memory<TAB>
shows
--memory --memory_policy-guaranteed
I would expect to see 'memory' and 'memory_policy' like in api output.
...
<memory_policy><guaranteed>1073741824</guaranteed><ballooning>false</ballooning></memory_policy>
...
I'm not sure but shouldn't be command like this?
add vm --name blabla cluster-name Default --template-name Blank --memory-policy {ballooning=False}
as 'ballooning' is subparam?
Version-Release number of selected component (if applicable):
rhevm-cli-3.5.0.4-1.el6ev.noarch & rhevm-cli-3.4.0.6-4.el6ev.noarch
How reproducible:
100%
Steps to Reproduce:
1. try to add a vm via cli with ballooning disabled
2.
3.
Actual results:
not possible (??)
Expected results:
should work
Additional info:
i tried to as workaround of BZ1135939
The command should be like this:
add vm --name blabla --cluster-name Default --template-name Blank --memory_policy-ballooning true
This should work with the current version of the CLI, even if the option isn't offered by the auto-completion mechanism. To fix the auto-completion we need to document the option in the RSDL metadata, and then we need to regenerate the Python SDK.