Howdy to all you out there in Automation Land! Hope the summer treated you well and you are moving into the great fall weather, enjoying some football, and whatever else you like to do outside! I have been away at a couple events and had some major project work going on so my time for blogs has been next to none... however I found a new topic for CPO that I could not go without blogging about because well... it's just plain awesome! I'm talking about SWAGGER integrated into CPO. I did a past blog on the new Rest API but now, as of 3.2.2 we have integrated SWAGGER for the rest API into CPO!!!
If you are unaware, SWAGGER gives you the API calls and formats and allows you to make test calls so you can write all those CPO web service calls with ease. It gives you all the formats, all the JSON, all the endpoints, all the requirements... all you do is a little configure, a little test, and there you go... it even gives you the CURL commands... could it get any easier???? So if you are like me and you like to automate back into CPO (ie. creating targets dynamically or starting other processes dynamically, etc) then you have a great love for the CPO NorthBound Web Services. Adding REST to CPO was super, but this just makes the icing on the cake taste great! So how do we get it to work?
Couple of quick steps...
1) Assuming REST API is disabled or you have a new CPO server.... if REST is enabled go to the last step
2) Go to File->Environment Properties
3) Go to the Web Services tab
4) Click the checkbox next to one of the REST services (HTTP or HTTPS) and configure the port(s) you want and click OK
5) Click OK to restart the web services if prompted
6) Now you can go to swagger at (assuming REST on HTTP) -> http://<hostname_of_cpo>:<port_of_web_Services>/swagger/ui/index/
That's all! And you ask... "Do you have a VOD of this?" and well.. .it's me , so of course I do!
Thanks as always to all my wonderful readers and those who continue to stick with and use CPO. Big things are on the horizon and I hope that you will continue to use CPO and find great uses for it! If you have a really exciting automation story, please email me it! (see below) I would love to compile some stories and feature customers or individual stories in an upcoming blog!!!
AUTOMATION BLOG DISCLAIMER: As always, this is a blog and my (Shaun Roberts) thoughts on CPO and automation, my thoughts on best practices, and my experiences with the product and customers. The above views are in no way representative of Cisco or any of it's partners, etc. None of these views, etc are supported and this is not a place to find standard product support. If you need standard product support please do so via the current call in numbers on Cisco.com or email email@example.com
Dears ,Please check as the ACI sandbox does not accept any simple action on it from yesterday ? even creation of a tenant returns "Error: 400 - the messaging layer was unable to deliver the stimulus (connection error, Connection refused)"
Our DX80 is connected to the corp network, we use for video conf and also to display screen contents via HDMI connection to a laptop. When both are in progress, the call controls constantly flash as if the screen was being constantly touched, so oft...
Hello:i have this problem: i connected a dell tape library tl2000 to my switch cisco nexus 5548 via fiber channel, i need the tape library to be recognized by a server who has Veeam software running, this server is also connected to the cisco nexus the se...
Does anybody know an estimated end of sale date (EOS) for the Cisco MDS 9250i? We have been recommended this MDS switch but to my mind this product is way past its sell by date and should be sunset fairly soon. Thanks MDS 9250i
Hi,I had read thru many documents about PVLAN. Some how there some questions I need expert advice.Especially the PVLAN trunking , also the what is common practise interface type use for VMWARE ESXi host. Please open attached powerpoint fi...