06-09-2021 05:44 AM
Dear All,
Hope you are well.
For a customer of ours we make use of Fabric-in-a-box for quite some sites. I was wondering if there is an API to mimic the workflow when assigning multiple roles to the devices prior addinf it to the fabric. In DNAC GUI when I select a device I can proceed with assigning all the roles (CP, B, E and W) prior deploying it. With the below available APIs after assigning a role, the device is made immediately part of the fabric. Once the device is part of the fabric, no other roles can be assigned.
/dna/intent/api/v1/business/sda/control-plane-device
/dna/intent/api/v1/business/sda/border-device
/dna/intent/api/v1/business/sda/edge-device
Thank you.
Solved! Go to Solution.
06-09-2021 06:59 AM
Unfortunately, this is a big gap in our APIs and it isn't doable today. Because we have one API per fabric role, it essentially makes the border and control-plane APIs more or less useless as well. Most deployments have a co-located border/control-plane and the way fabric roles are structured today, you cannot assign an additional/incremental role to a device once it is already assigned a fabric role. Which means once you've used the border API (as an example), the subsequent control-plane API will fail.
We are trying to prioritize this (have one API that allows for all fabric roles) in our future releases.
Cheers,
Aninda
06-09-2021 06:59 AM
Unfortunately, this is a big gap in our APIs and it isn't doable today. Because we have one API per fabric role, it essentially makes the border and control-plane APIs more or less useless as well. Most deployments have a co-located border/control-plane and the way fabric roles are structured today, you cannot assign an additional/incremental role to a device once it is already assigned a fabric role. Which means once you've used the border API (as an example), the subsequent control-plane API will fail.
We are trying to prioritize this (have one API that allows for all fabric roles) in our future releases.
Cheers,
Aninda
06-09-2021 07:02 AM
Thank you Aninda for the information.
02-14-2023 04:45 PM
Hi. Any updates on this. Is it possible to do this now?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide