Description:
We want to custom placement logic, basically we replace some custom input value with our cloud policy.
The placement logic must happen during CONFIGURATION phase.
Our cloud policy is defined in cloud profile.
uring post provision, we can just do morpheus[‘cloud’][‘profile’]
But this profile value does not exist in configuration stage,
I am trying to get REST api, it does not get me profile info either, do we have another API to do so, thanks!
Here is the example
if “placement” in morpheus[‘cloud’][‘profile’]:
placement = morpheus[‘cloud’][‘profile’][‘placement’]
But my placement code is in “configuration” step, this method does not work.
I have cloudID, but there is no REST API for cloud profile either
Example/Use case(s):
We want to custom placement logic, basically we replace some custom input value with our cloud policy.
The placement logic must happen during CONFIGURATION phase.