Multi-Node Script
Widget Connector | ||||||
---|---|---|---|---|---|---|
|
Video Transcript
Hello, this is Amir Shehata with another quick tip on the LUTF.
...
Let's jump right into it.
Script Description
Here is a simple script which gathers the interfaces on the remote and returns them to the main script.
...
- I'll find any available agent.
- Instantiate my class passing it the name of that agent
- call the get_intfs_and_add() method
- Return the results back to the LUTF using the lutfrc() function.
That's it.
Let's look at the local interfaces first before we look at the results to prove that the method was actually executed on the remote.
Let's run the script
Now let's look at the Global YAML result
It's a simple as that.
Creating a New Script
Let's show how you can create a new script:
...