From d962ef0f2c15333411e719f7d1b02dd7575ebdee Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Wed, 19 May 2021 21:50:04 +0300 Subject: ospfv3: T3554: Add area-type stub for 1.3 (#78) --- templates/protocols/ospfv3/area/node.tag/area-type/node.def | 2 ++ .../ospfv3/area/node.tag/area-type/stub/no-summary/node.def | 12 ++++++++++++ .../protocols/ospfv3/area/node.tag/area-type/stub/node.def | 11 +++++++++++ 3 files changed, 25 insertions(+) create mode 100644 templates/protocols/ospfv3/area/node.tag/area-type/node.def create mode 100644 templates/protocols/ospfv3/area/node.tag/area-type/stub/no-summary/node.def create mode 100644 templates/protocols/ospfv3/area/node.tag/area-type/stub/node.def (limited to 'templates/protocols') 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" -- cgit v1.2.3