diff options
Diffstat (limited to 'templates/protocols/ospf/area')
-rw-r--r-- | templates/protocols/ospf/area/node.def | 4 | ||||
-rw-r--r-- | templates/protocols/ospf/area/node.tag/network/node.def | 7 | ||||
-rw-r--r-- | templates/protocols/ospf/area/node.tag/node.def | 3 |
3 files changed, 14 insertions, 0 deletions
diff --git a/templates/protocols/ospf/area/node.def b/templates/protocols/ospf/area/node.def new file mode 100644 index 00000000..d06ef605 --- /dev/null +++ b/templates/protocols/ospf/area/node.def @@ -0,0 +1,4 @@ +tag: +type: txt +help: "Area" + diff --git a/templates/protocols/ospf/area/node.tag/network/node.def b/templates/protocols/ospf/area/node.tag/network/node.def new file mode 100644 index 00000000..b6480f54 --- /dev/null +++ b/templates/protocols/ospf/area/node.tag/network/node.def @@ -0,0 +1,7 @@ +type: ipv4net +help: "OSPF network" +syntax: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --check-prefix-boundry $(@)" +update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"network $(@) area $(../@)\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no network $(@) area $(../@)\"; " diff --git a/templates/protocols/ospf/area/node.tag/node.def b/templates/protocols/ospf/area/node.tag/node.def new file mode 100644 index 00000000..391ddf6b --- /dev/null +++ b/templates/protocols/ospf/area/node.tag/node.def @@ -0,0 +1,3 @@ +help: "IPv4 network" + + |