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

NSO action result as url link

tsiemers1
Spotlight
Spotlight

Is it possible through yang to display a result as a url link in the webui?

 

I was watching the following example video where at the 11 min mark they show a result and in the NSO webui it appears as a clickable url.

https://community.cisco.com/t5/nso-developer-hub-videos/os-upgrade-using-nso/ba-p/3668033

The result yang I am using currently is:

list request {
leaf diff_report {
config false;
tailf:cdb-oper {
tailf:persistent true;
}
type string;
}
}

Code:

maagic.cd(root, str(kp)).diff_report = 'http://localhost.test_report.com'

How do you minipulate the native webui to show results as url links, or does this require custom web scripting?

 

Below in the diff_report flag is where I was hoping to change the string to link.

Capture.PNG

0 Replies 0