Automation

Scripting How-To: Run an op script over NETCONF

By Elevate posted 08-10-2015 21:29

  

Run an op Script Over NETCONF

 

The following example demonstrates how to run an op script over NETCONF:

 

1 % cat sample.netconf
2 <rpc>
3     <op-script>
4         <script>sample</script>
5         <arg1>$arg1</arg1>
6         <arg2>$arg2</arg2>
7         <arg3>$arg3</arg3>
8     </op-script>
9 </rpc>
10  
11 $  junoscript netconf < sample.netconf

#junoscript
#ScriptingHow-To
#opscript
#netconf
#How-To
0 comments
0 views

Permalink