cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
517
Views
0
Helpful
0
Replies

request: Hello World script for prime velocity scripting. (put command output in variable for parsing)

Michel Hegeraat
Level 7
Level 7

Dears,

 

For a customer I'd like to validate a number of thing on their devices, and take appropriate action is something is not right.

 

P.I. has a scripting language called velocity that can be used in the configuration templates.

 

I'm looking for a simple example of a velocity script, that shows how you can get the resulting text output of a command, executed on a device, in a script variable so you can parse its contents.

 

If anyone has an idea how this can be done please let me know.

 

Cheers,

 

Michel

0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco