This project is no longer being developed and has limited support. In the near future this repository will be fully deprecated. Please consider using other OneView projects, such as Golang and Python.
Apache License 2.0
12
stars
16
forks
source link
Unable to create a Server Profile with Deployment Plan settings #212
I'm not able to create any Server Profile using an existing Deployment Plan.
There is no way to get the URI of a Deployment Plan, unless copying it from the GUI.
The GET /rest/os-deployment-plans/{id}, from the OneView API 300, returns two URIs in the response data:
The nativePlanUri is the same URI from ImageStreamer, and it doesn't work for Server Profile creation.
I must pass in the uri, which is the canonical URI.
Follow an example of the Deployment Setting from an existing Server Profile:
Scenario/Intent
I'm not able to create any Server Profile using an existing Deployment Plan. There is no way to get the URI of a Deployment Plan, unless copying it from the GUI.
The GET /rest/os-deployment-plans/{id}, from the OneView API 300, returns two URIs in the response data:
and
The
nativePlanUri
is the same URI from ImageStreamer, and it doesn't work for Server Profile creation. I must pass in theuri
, which is the canonical URI.Follow an example of the Deployment Setting from an existing Server Profile:
Thus, the endpoints from the OneView Rest API 300 are really useful and must be implemented as soon as possible.
Environment Details
Steps to Reproduce
Call
OneviewSDK::API300::Synergy::OSDeploymentPlan.find_by
(or anything similar, not sure about the class name)Expected Result
Return a list of OS Deployment Plans.
Actual Result
This resource is not implemented yet.