Go-api backend is changed as per the attached spec. the changes are available from build #139(has other bugs).build #141 will be usable.
So parent information is mandatory in the REST payload.
Backend infers parent information from parent_type/parent_uuid or parent_type/fq_name,
So all the resources should have either parent_type/parent_uuid or parent_type/fq_name in the /sync api payload.
Please modify your tools to send this information.
+ Nitish
From: Ignatious Johnson <<email address hidden> <mailto: <email address hidden>>> <mailto: <email address hidden>>>, Leela Bharath Kumar Kassetti <<email address hidden> <mailto: <email address hidden>>>, Prachi Yadav <<email address hidden> <mailto: <email address hidden>>>, Prasanna Mucharikar <<email address hidden> <mailto: <email address hidden>>>, Ram Yadav <<email address hidden> <mailto: <email address hidden>>> <mailto: <email address hidden>>>
Date: Thursday, July 12, 2018 at 4:16 PM
To: Soumil Kulkarni <<email address hidden>
Cc: Ramprakash Ram Mohan <<email address hidden>
Subject: Change in REST API payload
Hi Team,
Go-api backend is changed as per the attached spec. the changes are available from build #139(has other bugs).build #141 will be usable.
So parent information is mandatory in the REST payload.
Backend infers parent information from parent_ type/parent_ uuid or parent_ type/fq_ name, type/parent_ uuid or parent_type/fq_name in the /sync api payload.
So all the resources should have either parent_
Please modify your tools to send this information.
Parent of the resources used, system- config (earlier it was project) https:/ /github. com/Juniper/ contrail/ blob/master/ schemas/ fabric/ contrail_ cluster. yml#L9 system- config (earlier it was contrail-cluster) https:/ /github. com/Juniper/ contrail/ blob/master/ schemas/ fabric/ node.yml# L6
contrail-cluster -> global-
node -> global-
Let me know if you have queries,
Thanks,
Ignatious