07-06-2023 04:25 AM
Hello
Can someone help me with the postman script:
POST URL, BODY and CSV to automate creating leaf profile and interface selectors for the profile.
Thank you
07-06-2023 06:40 AM
Have you gone through the readily available content online yet?
Robert
07-07-2023 11:00 AM
Robert, I am not sure how your response helps me with this specific ask. I have used postman to perform other tasks on ACI, but struggling to achieve what i initially posted. If you know how to do that, please post the answer here that will benefit me and others looking. This is the reason Cisco has a public postman collection available online, unfortunately does not include what i need. Hopefully someone finds the link below helpful.
07-07-2023 02:57 PM
Hi @mannycho ,
Can you please explain exactly what you are trying to achieve?
And how "CSV" fits into the picture. When you post content to the APIC, you post either JSON or XML - CSV has nothing to do with it.
However, there are a few python programs floating around Github that will take CSV files and produce the desired JSON/XML - perhaps you have a question about Python programming?
And do you realise that the whole game changes as far as leaf profiles and interface selectors go with version 5.2(7g) onwards - the process is completely different from that point on - so let us know what version of APIC you are working with too.
07-09-2023 03:37 AM
Hello RedNectar
Thank you for responding. Postman does allow you to select a CSV file to make entries in the variables defined in the JSON script. I am running 6.0 and I think I figured it out. Thanks again
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