summaryrefslogtreecommitdiff
path: root/templates/protocols/ospfv3/area
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospfv3/area')
-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"