-
Notifications
You must be signed in to change notification settings - Fork 0
/
add-lsp.xml.mustache
32 lines (32 loc) · 1.51 KB
/
add-lsp.xml.mustache
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<input xmlns="urn:opendaylight:params:xml:ns:yang:topology:pcep">
<node>pcc://{{pccip}}</node>
<name>{{pathname}}</name>
<arguments>
<lsp xmlns="urn:opendaylight:params:xml:ns:yang:pcep:ietf:stateful">
<delegate>true</delegate>
<administrative>true</administrative>
<operational>{{operational}}</operational>
</lsp>
<endpoints-obj>
<ipv4>
<source-ipv4-address>{{source-ipv4}}</source-ipv4-address>
<destination-ipv4-address>{{destination-ipv4}}</destination-ipv4-address>
</ipv4>
</endpoints-obj>
<path-setup-type xmlns="urn:opendaylight:params:xml:ns:yang:pcep:ietf:stateful">
<pst>1</pst>
</path-setup-type>
<ero>
{{#hop}}
<subobject>
<loose>false</loose>
<sid-type xmlns="urn:opendaylight:params:xml:ns:yang:pcep:segment:routing">ipv4-node-id</sid-type>
<m-flag xmlns="urn:opendaylight:params:xml:ns:yang:pcep:segment:routing">true</m-flag>
<sid xmlns="urn:opendaylight:params:xml:ns:yang:pcep:segment:routing">{{sid}}</sid>
<ip-address xmlns="urn:opendaylight:params:xml:ns:yang:pcep:segment:routing">{{ip}}</ip-address>
</subobject>
{{/hop}}
</ero>
</arguments>
<network-topology-ref xmlns:topo="urn:TBD:params:xml:ns:yang:network-topology">/topo:network-topology/topo:topology[topo:topology-id="pcep-topology"]</network-topology-ref>
</input>