From ef88c88db2de3268ea4b2f1af9716f1cf70f289a Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 21 Dec 2011 11:12:24 -0800 Subject: Add support for future dataplane Sub package for future dataplane interface types. --- .gitignore | 1 + debian/control | 6 ++++++ debian/vyatta-cfg-quagga-dataplane.install | 2 ++ gen-interface-templates.pl | 3 +++ 4 files changed, 12 insertions(+) create mode 100644 debian/vyatta-cfg-quagga-dataplane.install diff --git a/.gitignore b/.gitignore index 07305450..489b01f1 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ debian/files debian/tmp debian/vyatta-cfg-quagga debian/vyatta-cfg-quagga-serial +debian/vyatta-cfg-quagga-dataplane debian/*.debhelper.log debian/*.substvars INSTALL diff --git a/debian/control b/debian/control index 4415c544..daac3b11 100644 --- a/debian/control +++ b/debian/control @@ -30,3 +30,9 @@ Depends: vyatta-cfg-quagga, vyatta-serial Replaces: vyatta-cfg-quagga Description: vyatta-cfg-quagga serial templates Vyatta configuration templates for Quagga use on serial devices + +Package: vyatta-cfg-quagga-dataplane +Architecture: all +Depends: vyatta-cfg-quagga, vyatta-cfg-dataplane +Description: vyatta-cfg-quagga dataplane templates + Vyatta configuration templates for Quagga use on dataplane devices diff --git a/debian/vyatta-cfg-quagga-dataplane.install b/debian/vyatta-cfg-quagga-dataplane.install new file mode 100644 index 00000000..57f6ffcd --- /dev/null +++ b/debian/vyatta-cfg-quagga-dataplane.install @@ -0,0 +1,2 @@ +opt/vyatta/share/vyatta-cfg/templates/interfaces/dataplane + diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl index 88404e94..713e2044 100755 --- a/gen-interface-templates.pl +++ b/gen-interface-templates.pl @@ -60,6 +60,9 @@ my %interface_hash = ( 'serial/node.tag/cisco-hdlc/vif/node.tag' => '$VAR(../../@).$VAR(@)', 'serial/node.tag/frame-relay/vif/node.tag' => '$VAR(../../@).$VAR(@)', 'serial/node.tag/ppp/vif/node.tag' => '$VAR(../../@).$VAR(@)', + + 'dataplane/node.tag' => '$VAR(@)', + 'dataplane/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)', ); sub gen_template { -- cgit v1.2.3