diff options
author | Kim Hagen <khagen@multi-development.com> | 2014-07-02 00:29:33 +0200 |
---|---|---|
committer | Kim Hagen <khagen@multi-development.com> | 2014-07-02 00:29:33 +0200 |
commit | fd865ff0656324eec9aefcce43c130cd27afe0ed (patch) | |
tree | ea22bdeb669aaf23da77be61bde6dfffe78e84cb | |
parent | 667ce9a95b610db7c8d9748f143879cc267fd97e (diff) | |
download | vyatta-cfg-quagga-fd865ff0656324eec9aefcce43c130cd27afe0ed.tar.gz vyatta-cfg-quagga-fd865ff0656324eec9aefcce43c130cd27afe0ed.zip |
Set separate virtual interface for QinQ.
-rwxr-xr-x | gen-interface-templates.pl | 10 |
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(@)', |