##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
 * Enhancement Request

##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
API
~~~

##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on master 
branch.
-->

~~~
4.12
~~~

##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network, advanced 
networking, etc.  N/A otherwise
--
N/A 

##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
N/A 

##### SUMMARY
<!-- Explain the problem/feature briefly -->
It seems no API is returning the value of `requrieshvm`. 

##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal test-case. 
Use Screenshots if accurate.

For new features, show how the feature would be used.
-->

<!-- Paste example playbooks or commands between quotes below -->
~~~
 $ cs listTemplates templatefilter=self
~~~

<!-- You can also paste gist.github.com links for larger files -->

##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->

~~~json
{
  "count": 2, 
  "template": [
    {
      "account": "admin", 
      "bits": 0, 
      "crossZones": false, 
      "directdownload": false, 
      "displaytext": "ansible-template-sufix", 
      "domain": "ROOT", 
      "domainid": "82853c3e-a84e-11e8-b2c2-0242ac110002", 
      "format": "OVA", 
      "hypervisor": "Simulator", 
      "id": "a50873bf-a44f-41e5-88e9-0275d8b56391", 
      "isdynamicallyscalable": false, 
      "isextractable": false, 
      "isfeatured": false, 
      "ispublic": true, 
      "isready": false, 
      "requireshvm": true, 
      "name": "ansible-template-sufix", 
      "ostypeid": "8266d7c8-a84e-11e8-b2c2-0242ac110002", 
      "ostypename": "Other Linux (64-bit)", 
      "passwordenabled": false, 
      "sshkeyenabled": false, 
      "status": "Active", 
      "tags": [], 
      "templatetype": "USER", 
      "zoneid": "a68287cf-c2ee-42c6-90f1-df70e3bc1f56", 
      "zonename": "Sandbox-simulator-basic"
    }
]
~~~


##### ACTUAL RESULTS
<!-- What actually happened? -->

<!-- Paste verbatim command output between quotes below -->
~~~json
{
  "count": 2, 
  "template": [
    {
      "account": "admin", 
      "bits": 0, 
      "crossZones": false, 
      "directdownload": false, 
      "displaytext": "ansible-template-sufix", 
      "domain": "ROOT", 
      "domainid": "82853c3e-a84e-11e8-b2c2-0242ac110002", 
      "format": "OVA", 
      "hypervisor": "Simulator", 
      "id": "a50873bf-a44f-41e5-88e9-0275d8b56391", 
      "isdynamicallyscalable": false, 
      "isextractable": false, 
      "isfeatured": false, 
      "ispublic": true, 
      "isready": false, 
      "name": "ansible-template-sufix", 
      "ostypeid": "8266d7c8-a84e-11e8-b2c2-0242ac110002", 
      "ostypename": "Other Linux (64-bit)", 
      "passwordenabled": false, 
      "sshkeyenabled": false, 
      "status": "Active", 
      "tags": [], 
      "templatetype": "USER", 
      "zoneid": "a68287cf-c2ee-42c6-90f1-df70e3bc1f56", 
      "zonename": "Sandbox-simulator-basic"
    }
]
~~~


[ Full content available at: https://github.com/apache/cloudstack/issues/2821 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to