Skip to content

Template APIs should return requireshvm #2821

Description

@resmo
ISSUE TYPE
  • Enhancement Request
COMPONENT NAME
API
CLOUDSTACK VERSION
4.12
CONFIGURATION

N/A

SUMMARY

It seems no API is returning the value of requrieshvm.

STEPS TO REPRODUCE
 $ cs listTemplates templatefilter=self
EXPECTED RESULTS
{
  "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
{
  "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"
    }
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions