02-13-2020 09:57 AM
*Seeking assistance with p3*
Currently working through an automation project that utilizes DNAC and ISE APIs. The objective is to onboard an SDA edge node to our fabric via python & APIs. The phases are as follows:
p1: Add device to inventory (Add Device) --Completed
p2: Assign to site (Assign Device To Site) --Completed
p3: *Update ISE NAD location & group (utilizing ISE APIs) --Almost completed
p4: Join to fabric (Add edge device in SDA Fabric)
p5: Update interfaces for user device & closed auth (Add Port assignment for user device in SDA Fabric)
I am wondering if there is a way to simply just update the NAD fields in ISE that I wish to update without having to pass all fields to ensure information passed via pxgrid from DNAC to ISE once device is added to site is not changed to null/deleted. All I wish to update are the Device location & device type (for policy reasons). Is there syntax to pass for the required fields that will not overwrite or delete information gathered from DNAC (for example coa port or radius shared secret)? I would prefer to not have to populate the json data with specific info and just leave it blank so it is unchanged. However, I tried "" and that deletes the info received from DNAC.
Thanks in advance!