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
|