diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-01-03 16:28:46 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-01-03 16:29:26 +0100 |
commit | 0c417f6806ed14003f407d47c176e9e996a9c326 (patch) | |
tree | 6c93debaab68064342b72d7eb6e9a908c19d9d57 | |
parent | bf4d7faa374b162ad7d176f3555182d1892c9350 (diff) | |
download | vyatta-cfg-system-0c417f6806ed14003f407d47c176e9e996a9c326.tar.gz vyatta-cfg-system-0c417f6806ed14003f407d47c176e9e996a9c326.zip |
T1939: provide abstraction for interface "ip" option
Do not longer generate the old node.def files for interfaces already
migrated to the new XML/Python implementation.
-rwxr-xr-x | gen-interface-templates.pl | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gen-interface-templates.pl b/gen-interface-templates.pl index dab604a8..7f0fb818 100755 --- a/gen-interface-templates.pl +++ b/gen-interface-templates.pl @@ -29,23 +29,11 @@ my $debug = $ENV{'DEBUG'}; # Mapping from configuration level to ifname used AT THAT LEVEL my %interface_hash = ( - 'ethernet/node.tag' => '$VAR(@)', - 'ethernet/node.tag/vif/node.tag' => '$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-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-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(@)', - 'vxlan/node.tag' => '$VAR(@)', ); # Hash table to check if the priority needs to set @ root |