diff options
Diffstat (limited to 'templates/protocols/ospf/mpls-te')
-rw-r--r-- | templates/protocols/ospf/mpls-te/enable/node.def | 5 | ||||
-rw-r--r-- | templates/protocols/ospf/mpls-te/node.def | 1 | ||||
-rw-r--r-- | templates/protocols/ospf/mpls-te/router-address/node.def | 6 |
3 files changed, 12 insertions, 0 deletions
diff --git a/templates/protocols/ospf/mpls-te/enable/node.def b/templates/protocols/ospf/mpls-te/enable/node.def new file mode 100644 index 00000000..f1401956 --- /dev/null +++ b/templates/protocols/ospf/mpls-te/enable/node.def @@ -0,0 +1,5 @@ +help: "Enable the MPLS-TE functionality" +create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"mpls-te on\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no mpls-te\"; " diff --git a/templates/protocols/ospf/mpls-te/node.def b/templates/protocols/ospf/mpls-te/node.def new file mode 100644 index 00000000..997d3406 --- /dev/null +++ b/templates/protocols/ospf/mpls-te/node.def @@ -0,0 +1 @@ +help: "Configure MPLS-TE parameters" diff --git a/templates/protocols/ospf/mpls-te/router-address/node.def b/templates/protocols/ospf/mpls-te/router-address/node.def new file mode 100644 index 00000000..4102dfd1 --- /dev/null +++ b/templates/protocols/ospf/mpls-te/router-address/node.def @@ -0,0 +1,6 @@ +type: ipv4 +help: "Stable IP address of the advertising router" +update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"mpls-te router-address $(@)\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no mpls-te\"; " |