Compute Resource - Make URL optional for certain providers(example: VMware)
|Status:||Ready For Testing|
|Assigned To:||Swapnil Abnave|
|Target version:||Team Anurag Iteration 16|
|Found in release:||nightly||Pull request:||https://github.com/theforeman/foreman/pull/4461|
|Velocity based estimate||-|
#4 Updated by Swapnil Abnave 2 months ago
Dominic Cleal wrote:
Why would the URL be optional on a VMware compute resource? How would the CR be accessed, is there a well-known default?
(Fog::Compute::Vsphere specifies the server address as required.)
I suppose server attribute is an alias for url and it is required in Foreman::Model::Vmware https://github.com/theforeman/foreman/blob/develop/app/models/compute_resources/foreman/model/vmware.rb#L9
Attribute server is mandatory per API and Web. I think making URL not required for VMware would be fine.