summaryrefslogtreecommitdiff
path: root/gen-interface-templates.pl
diff options
context:
space:
mode:
authorKim Hagen <khagen@multi-development.com>2014-07-02 00:29:58 +0200
committerKim Hagen <khagen@multi-development.com>2014-07-02 00:29:58 +0200
commitb05ccf040f9ccd4d215794d5b4f03316343529dc (patch)
tree9efcc12dbbe5956c7a86c12e118e9cafb4e314e9 /gen-interface-templates.pl
parent60b94f9699e623d05e5cf554e66047fcf5142c70 (diff)
downloadvyatta-cfg-system-b05ccf040f9ccd4d215794d5b4f03316343529dc.tar.gz
vyatta-cfg-system-b05ccf040f9ccd4d215794d5b4f03316343529dc.zip
Set separate virtual interface for QinQ.
Diffstat (limited to 'gen-interface-templates.pl')
-rwxr-xr-xgen-interface-templates.pl9
1 files changed, 6 insertions, 3 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index 4118ff1c..ed3d5843 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -31,15 +31,18 @@ my $debug = $ENV{'DEBUG'};
my %interface_hash = (
'ethernet/node.tag' => '$VAR(@)',
'ethernet/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
- 'ethernet/node.tag/vif/node.tag/vif/node.tag' => '$VAR(../../@).$VAR(../@).$VAR(@)',
+ 'ethernet/node.tag/vif-s/node.tag' => '$VAR(../@).$VAR(@)',
+ 'ethernet/node.tag/vif-s/node.tag/vif-c/node.tag' => '$VAR(../../@).$VAR(../@).$VAR(@)',
'wireless/node.tag' => '$VAR(@)',
'wireless/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
'pseudo-ethernet/node.tag' => '$VAR(@)',
'pseudo-ethernet/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
- 'pseudo-ethernet/node.tag/vif/node.tag/vif/node.tag' => '$VAR(../../@).$VAR(../@).$VAR(@)',
+ 'pseudo-ethernet/node.tag/vif-s/node.tag' => '$VAR(../@).$VAR(@)',
+ 'pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag' => '$VAR(../../@).$VAR(../@).$VAR(@)',
'bonding/node.tag' => '$VAR(@)',
'bonding/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)',
- 'bonding/node.tag/vif/node.tag/vif/node.tag' => '$VAR(../../@).$VAR(../@).$VAR(@)',
+ 'bonding/node.tag/vif-s/node.tag' => '$VAR(../@).$VAR(@)',
+ 'bonding/node.tag/vif-s/node.tag/vif-c/node.tag' => '$VAR(../../@).$VAR(../@).$VAR(@)',
'tunnel/node.tag' => '$VAR(@)',
'bridge/node.tag' => '$VAR(@)',
);