summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Hagen <khagen@multi-development.com>2014-07-02 00:29:33 +0200
committerKim Hagen <khagen@multi-development.com>2014-07-02 00:29:33 +0200
commitfd865ff0656324eec9aefcce43c130cd27afe0ed (patch)
treeea22bdeb669aaf23da77be61bde6dfffe78e84cb
parent667ce9a95b610db7c8d9748f143879cc267fd97e (diff)
downloadvyatta-cfg-quagga-fd865ff0656324eec9aefcce43c130cd27afe0ed.tar.gz
vyatta-cfg-quagga-fd865ff0656324eec9aefcce43c130cd27afe0ed.zip
Set separate virtual interface for QinQ.
-rwxr-xr-xgen-interface-templates.pl10
1 files changed, 6 insertions, 4 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl
index a2966957..9f703bfd 100755
--- a/gen-interface-templates.pl
+++ b/gen-interface-templates.pl
@@ -33,17 +33,19 @@ my %interface_hash = (
'ethernet/node.tag' => '$VAR(@)',
'ethernet/node.tag/pppoe/node.tag' => 'pppoe$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(@)',
'ethernet/node.tag/vif/node.tag/pppoe/node.tag' => 'pppoe$VAR(@)',
- 'ethernet/node.tag/vif/node.tag/vif/node.tag/pppoe/node.tag' => 'pppoe$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(@)',
'vti/node.tag' => '$VAR(@)',
'bridge/node.tag' => '$VAR(@)',