diff options
author | Kim Hagen <khagen@multi-development.com> | 2014-07-02 00:28:52 +0200 |
---|---|---|
committer | Kim Hagen <khagen@multi-development.com> | 2014-07-02 00:28:52 +0200 |
commit | 416fc1c460ea1a3d7b14918892fafca34329a08f (patch) | |
tree | 551a071bcc96540dadf280112eff5c8522439031 | |
parent | 32fcaf5e7a91df6fe67488a64773ab494076b2e7 (diff) | |
download | vyatta-cfg-qos-416fc1c460ea1a3d7b14918892fafca34329a08f.tar.gz vyatta-cfg-qos-416fc1c460ea1a3d7b14918892fafca34329a08f.zip |
Set separate virtual interface for QinQ.
-rwxr-xr-x | gen-interface-templates.pl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl index 85eaa43..9c9c4d9 100755 --- a/gen-interface-templates.pl +++ b/gen-interface-templates.pl @@ -33,12 +33,13 @@ 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(@)', - 'ethernet/node.tag/vif/node.tag/vif/node.tag' => '$VAR(../../@).$VAR(../@).$VAR(@)', - 'ethernet/node.tag/vif/node.tag/vif/node.tag/pppoe/node.tag' => 'pppoe$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(@)', '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(@)', 'pseudo-ethernet/node.tag' => '$VAR(@)', # 'pseudo-ethernet/node.tag/vif/node.tag' => '$VAR(../@).$VAR(@)', |