Blogs

Scripting How-to: Running an Op-Script over NETCONF

By Erdem posted 08-07-2015 16:58

  

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


#op-script
#netconf
#How-To