From 0c417f6806ed14003f407d47c176e9e996a9c326 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 3 Jan 2020 16:28:46 +0100 Subject: 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. --- gen-interface-templates.pl | 12 ------------ 1 file changed, 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 -- cgit v1.2.3