summaryrefslogtreecommitdiff
path: root/gen-interface-templates.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-02 16:08:45 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-07-09 16:50:06 -0700
commit69db53b3ad7495759ef94066f94c6dff8b628a95 (patch)
tree4a6c0bd872e566ba8949aab528bd309784991699 /gen-interface-templates.pl
parent753d4aaca9b0e0ffe21b0c02106ce8bfe03b803a (diff)
downloadvyatta-cfg-quagga-69db53b3ad7495759ef94066f94c6dff8b628a95.tar.gz
vyatta-cfg-quagga-69db53b3ad7495759ef94066f94c6dff8b628a95.zip
Add pseudo-ethernet
Should be able to set ospf/rip values on pseudo-ethernet devices. (cherry picked from commit e7e5fcbeb15a85cb61e85ca7d42f2cd7306b09b3)
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-xgen-interface-templates.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 5e17fa0c..8a5e12af 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -34,6 +34,8 @@ my %interface_hash = (
'ethernet/node.tag/pppoe/node.tag' => 'pppoe$VAR(@)',
'ethernet/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
'ethernet/node.tag/vif/node.tag/pppoe/node.tag' => 'pppoe$VAR(@)',
+ 'pseudo-ethernet/node.tag' => '$VAR(@)',
+ 'pseudo-ethernet/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
'bonding/node.tag' => '$VAR(@)',
'bonding/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
'tunnel/node.tag' => '$VAR(@)',