summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-12-21 11:12:24 -0800
committerStephen Hemminger <shemminger@vyatta.com>2011-12-21 11:12:24 -0800
commitef88c88db2de3268ea4b2f1af9716f1cf70f289a (patch)
tree31d9ccc1cffbe311416e7d60429231f2d22a3e99
parentfb174d3e040f78e485a83a969378390065f396eb (diff)
downloadvyatta-cfg-quagga-ef88c88db2de3268ea4b2f1af9716f1cf70f289a.tar.gz
vyatta-cfg-quagga-ef88c88db2de3268ea4b2f1af9716f1cf70f289a.zip
Add support for future dataplane
Sub package for future dataplane interface types.
-rw-r--r--.gitignore1
-rw-r--r--debian/control6
-rw-r--r--debian/vyatta-cfg-quagga-dataplane.install2
-rwxr-xr-xgen-interface-templates.pl3
4 files changed, 12 insertions, 0 deletions
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 {