188.8.131.52 - major code clean and publish. If you need old version, please email me for them.
184.108.40.206 - code cleanup. made a couple archiving changes
220.127.116.11 - Added some number scripts and encoding function. Fixed up some random generators.
18.104.22.168 - Added some new powershell file scripts (check file exists, recursive deletes) and cleaned up some things around targets and archiving
22.214.171.124 - clean up general code
126.96.36.199 - updates and clean of code for use with splunk api
188.8.131.52 - added multiple function calls (see function list) and cleaned up code with those calls, added extension for process queue (see other doc post)
184.108.40.206 - cleaned up HTML extract
220.127.116.11 - added HTML extract
18.104.22.168- updates and cleaning
22.214.171.124 - cleaned up some code for CPO 3.0 base, updated version to match all other 3.0 TAPs
126.96.36.199 - Updated to CPO 3.0 base. Added Hash File function and moved targets from the "main CPO" server to start on target at start time.Only CPO 3.0 development will be done on this going forward.
188.8.131.52 - added Extract GUID back into automation pack. Added in 2x new functions called "Unzip File" and "Zip Folder"
184.108.40.206 - retooled Extract GUID to use XPath query
220.127.116.11 - Added splunk only unique encoding to URL character encoding and cleaned up the process more
18.104.22.168 - Added Unix Function for Find and Replace in text file. Further tidying up of URL encode function
22.214.171.124 - Added rounding function
126.96.36.199 - further program updates to URL character encoding. Fixed bug in Extrat String function
188.8.131.52 - updated convert URL characters to better handle more cases
Collection of Automation Functional Tools I've built over time.
Convert multi-line string to single line string -> does what it says, takes in a multi-line based string and converts to single
Convert String to Array of Characters -> takes an input string and outputs a table with 1 column being the index of the array, 1 colum being the character
Convert URL Characters to Escaped Characters -> takes a web URL and adds escaped characters where needed. You can input characters to "skip" conversion as well.
Execute DIV Function -> does a whole number divide of Input 1 / Input 2
Execute MOD Funciton -> does a modular of input 1 and input 2 , or input 1 MOD input 2
Extract GUID -> pulls the GUID out of return XML from CPO NBWS activities
Extract String with Ending Character -> takes in string, index (N) of where to start and a terminating character. It returns the string segment starting from the index to the terminating character
Execute Round Number -> takes in a number(decimal) and an optional number of places after decimal to round to. Rounds the number and returns it
Nix - Find_And_Replace_Text_In_File -> uses the "sed" command to allow for quick search and replace to files in a Unix/Linux environment
Read File -> reads a flat file to output
Remove Target -> removes a target via NBWS from CPO
Hash File -> takes a file location, file name, and HASH TYPE, and returns the file hash for that file. Type examples are MD5, SHA, etc
Convert HTML Email To Text -> Takes in an HTML/RTF based email and strips tags and returns Text only
Extract HTML Tag -> extracts text from an HTML tag
Add_NewLine_Characters_To_Multi_Line_String -> takes a multi-line string and adds "\n" to each end of line for API processing
Create_JSON_Serialized_String -> uses windows powershell to ceeate a json serialized string
Check For File Existence - Takes in a file or folder path and returns if that path exists. If you select Check if Directory is Empty , then it will check if the directory has files in it or not. Returns True if files exist, false if nothing. If you just want to see if a directory exists, leave Check.If.Directory.Empty as false
Recursive File Delete - Delete all files from input folder. Delete folders/sub folders(and their files) depending on input settings
Base64Encode Basic Username and Password - takes in a username and pass and converts it to the string "username:password" and encodes it via Base64
Execute Factorial - takes an input number and returns it's factorial
Generate Random Decimal - takes in optional values of numbers before the decimal place and numbers after and generates a random number for each place wanted. If 0 is the input for each place, then the decimal will have a random number of numbers before and after decimal up to 15 places (CPO restriction)
Generate Random String - takes in a source library (defaults to the ASCII library) and a string length wanted and produces a random string of given length
Hello,we have a UCS mini implementation with a pair of FI6324s and we would like to acquire a pair of Nexus switches which will be strictly used for the interconnection between the FIs and 3 Netapp AFF C190 Storage Arrays. The blades (four actually) are B...
Hi All, Is there any CLI command available on Cisco ACI Leaf to check the live traffic statistics on particular interface...as like we are checking with IOS / NX-OS with "sh interface eth1/2" This command is working on Leaf But not showing...
I'm trying to find some documentation for the MDS9148S Switch that proves the support of the following port types: F_Port (Fabric), M_Port (Mirror Port) and E_Port (Switch-to-Switch). I easily found F_Port and E_Port:Fiber Channel standard port types...
I am trying to find out where zoning changes are logged to. For example, an admin creates a new zone, adds it to the active zoneset and commits the changes (we usually do this via CLI). A little while later we get a report of an issue and...
Hi Cisco experts, I need your help to understand why the VRFs have to be configured with a set of "route-target both auto" and "route-target both auto evpn" in a Fabric with VXLAN BGP EVPN. Knowing that the Fabric can work normally with a set of ...