aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/service-blueprint/PNF_DEMO/Templates/netconfrpc-template.vtl
blob: a9229b5c28b7c9179039f7d38aeed63cd3816be0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1">
 <edit-config>
 <target>
 <running/>
 </target>
 <config>
    <sample-plugin xmlns="urn:opendaylight:params:xml:ns:yang:sample-plugin">
      <pg-streams>
       #foreach($i in [1..${stream-count.asInt()}])
       <pg-stream>
        <id>fw_udp_$i</id>
        <is-enabled>true</is-enabled>
       </pg-stream>
       #end
    </pg-streams>
    </sample-plugin>
 </config>
 </edit-config>
</rpc>