summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2011-12-16 13:16:14 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-12-16 13:16:14 -0800
commit6235e8a1db72d45e9f614454ad911cc96bddbe0b (patch)
tree43e13ab6845ed18f8a5a02be6aafe6180c2b292b
parent01f5ff73b084053446a4da1e082638d248d556fa (diff)
downloadvyatta-cfg-6235e8a1db72d45e9f614454ad911cc96bddbe0b.tar.gz
vyatta-cfg-6235e8a1db72d45e9f614454ad911cc96bddbe0b.zip
Add support for dataplane config
-rwxr-xr-xlib/Vyatta/Interface.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm
index 7deeb13..10f3f25 100755
--- a/lib/Vyatta/Interface.pm
+++ b/lib/Vyatta/Interface.pm
@@ -80,6 +80,7 @@ my %net_prefix = (
vif => 'vif', },
'^wlan[\d]+$' => { path => 'wireless', vif => 'vif' },
'^ifb[\d]+$' => { path => 'input' },
+ '^dp\d+p\d+p\d+$' => { path => 'dataplane', vif => 'vif' },
);
sub get_net_prefix {