summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2021-05-19 21:50:04 +0300
committerGitHub <noreply@github.com>2021-05-19 20:50:04 +0200
commitd962ef0f2c15333411e719f7d1b02dd7575ebdee (patch)
treea5bf11eb8a2b6363077eaebdfffa55b6834a4866 /templates
parentcc8a03a6711d99c1c877c1abb84e60a271143e65 (diff)
downloadvyatta-cfg-quagga-d962ef0f2c15333411e719f7d1b02dd7575ebdee.tar.gz
vyatta-cfg-quagga-d962ef0f2c15333411e719f7d1b02dd7575ebdee.zip
ospfv3: T3554: Add area-type stub for 1.3 (#78)
Diffstat (limited to 'templates')
-rw-r--r--templates/protocols/ospfv3/area/node.tag/area-type/node.def2
-rw-r--r--templates/protocols/ospfv3/area/node.tag/area-type/stub/no-summary/node.def12
-rw-r--r--templates/protocols/ospfv3/area/node.tag/area-type/stub/node.def11
3 files changed, 25 insertions, 0 deletions
diff --git a/templates/protocols/ospfv3/area/node.tag/area-type/node.def b/templates/protocols/ospfv3/area/node.tag/area-type/node.def
new file mode 100644
index 00000000..21d70cb7
--- /dev/null
+++ b/templates/protocols/ospfv3/area/node.tag/area-type/node.def
@@ -0,0 +1,2 @@
+help: OSPFv3 Area type
+val_help: stub; Stub Area type
diff --git a/templates/protocols/ospfv3/area/node.tag/area-type/stub/no-summary/node.def b/templates/protocols/ospfv3/area/node.tag/area-type/stub/no-summary/node.def
new file mode 100644
index 00000000..10ce5dd4
--- /dev/null
+++ b/templates/protocols/ospfv3/area/node.tag/area-type/stub/no-summary/node.def
@@ -0,0 +1,12 @@
+help: Do not inject inter-area routes into stub
+
+create:
+ vtysh -c "configure terminal" \
+ -c "router ospf6" \
+ -c "area $VAR(../../../@) stub no-summary "
+
+delete:
+ vtysh -c "configure terminal" \
+ -c "router ospf6" \
+ -c "no area $VAR(../../../@) stub no-summary " \
+ -c "area $VAR(../../../@) stub "
diff --git a/templates/protocols/ospfv3/area/node.tag/area-type/stub/node.def b/templates/protocols/ospfv3/area/node.tag/area-type/stub/node.def
new file mode 100644
index 00000000..4b49cd3f
--- /dev/null
+++ b/templates/protocols/ospfv3/area/node.tag/area-type/stub/node.def
@@ -0,0 +1,11 @@
+help: Stub OSPFv3 area
+
+create:
+ vtysh -c "configure terminal" \
+ -c "router ospf6" \
+ -c "area $VAR(../../@) stub"
+
+delete:
+ vtysh -c "configure terminal" \
+ -c "router ospf6" \
+ -c "no area $VAR(../../@) stub"