From fd865ff0656324eec9aefcce43c130cd27afe0ed Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Wed, 2 Jul 2014 00:29:33 +0200 Subject: Set separate virtual interface for QinQ. --- gen-interface-templates.pl | 10 ++++++---- 1 file 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(@)', -- cgit v1.2.3