Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Using the API I am unable to list networks and nics for all vms with a single API call. These collections are off of the vm.hardware association and can be added to the base vm_or_template model to allow this. Version-Release number of selected component (if applicable): master How reproducible: 100% Steps to Reproduce: 1. curl --user admin:smartvm 'http://localhost:3000/api/vms?expand=resources&attributes=name,networks,nics,disks,lans' Actual results: { "error": { "kind": "bad_request", "klass": "Api::BadRequestError", "message": "Invalid attributes specified: networks,nics" } } Expected results: returns networks and nics with the vm data Additional info:
https://github.com/ManageIQ/manageiq/pull/19861