Hello all in Automation Land! I hope the summer has been successful for you and you starting to enjoy a little cooler weather, a little football (Go Texans!), and kids back in school. We have been hard at work, as always, and have been training more TAC units on the uses of Orchestrator and CIAC. I wanted to dedicate this blog to function writing! This is a great thing to do and use within Orchestrator as we attempt to write bigger, better, more effective content. We must remember Orchestrator is our own personal visual development environment. In good development we need to create resuable/recyclable functions to make our overall content and programming better.
If we write complete functions then we write better code and content and it can be exported and used by many others. So I decided it was a good time to do a video blog on this exact topic. In the below recording I will walk you through a function case. This case is that you want to take a URL and convert it to the "escaped" version of that URL. For example, if you have a URL with a space in it, then when you escape that, it turns the space to a "%20" and so on. The other functions I cover are a read file function, string length function, and a few others. All of these processes are written by myself and the TAPs are attached below and are free to be used. They come with no warranty and no expectations what so ever. If you have issues with them, feel free to change them as you see fit, or ask me questions.
The goal behind writing good functions is to make them generic enough to be used in multiple situations. You want to make your content well documented and to logically make sense when someone else reads it. You want to properly label variables. Do not just drag and drop the "Set Variable" activity and leave it like that. If, for example, the set varible activity is updating a rolling value, call it "Update Rolling Variable X" or something to that effect. A key goal of these blogs is getting better practices out to those customers who write content. The easier your content is to read, the easier it is to support, and the better it will be in the long run.
No questions this week! Hopefully we'll get some in to answer for next week!
Ever week I will pick a handful of questions from you, the reading CPO public, to answer in this part of the blog. Please post comments/questions below. I will no longer be using the external e-mail from previous blogs.
Please also let me know if you like the format of this blog and what else you would like to see/know about. Feel free to give any ideas as to future blog posts, etc and I will be happy to post them. I hope to do more how-tos, best practices, tips, tricks, and hopefully some interviews of the important people behind the scenes of CPO.
WEEKLY CPO BLOG DISCLAIMER: As always, this is a blog and my (Shaun Roberts) thoughts on CPO, 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 (650-475-4600 or 877-55-TIDAL) or via e-mail at firstname.lastname@example.org (please include your Cisco ID when emailing in) or email@example.com
Hi there.I'm confused about licenses and requirements needed for implementing cisco ACI Multi-Site.in cisco build and price, while you choose Nexus 9500, It doesn't let you select any 'ACI Advantage Term N9500' due to subscription License is not required ...
Hi,Is it possible to create a L3 port-channel from each spine to each IPN device?In my case, two 6509 in VSS are the IPN devices and I was thinking to have a layer 3 port-channel from each spine where each link ends in a different VSS member. In thi...
Hi community,Has anyone successfully configured PBR in a contract with vzAny acting as both Provider and Consumer (any to any)?Apparently, the release notes of 3.2(1), White Paper and Cisco Live BRKSEC-2048 all briefly mentioned we could, without fur...
I am doing a fresh install of APIC on my lab Standalone Controller due to HDD Replacement.APIC-SERVER-L2BIOS Version: C220M220.127.116.11c getting installation error, I feel it is related to TPM. Anyone who has faced similar challenge?Attaching snapsh...
Hi,Cisco Nexus, Other Data Center SwitchesJust need help to confirm the difference between the 3 Part Numbers for Cisco Nexus 9500 Series Chassis. As per my further research, it shows the only difference between the 3 is in the bundling (Components) as sh...