summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-01-03 16:28:46 +0100
committerChristian Poessinger <christian@poessinger.com>2020-01-03 16:29:26 +0100
commit0c417f6806ed14003f407d47c176e9e996a9c326 (patch)
tree6c93debaab68064342b72d7eb6e9a908c19d9d57
parentbf4d7faa374b162ad7d176f3555182d1892c9350 (diff)
downloadvyatta-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-xgen-interface-templates.pl12
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