From 5b2345cc10767df7a142eef4a0f66ad5e641d7d0 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 1 Aug 2012 13:30:27 -0700 Subject: Add support for vswitch Placeholder for possible future work. --- lib/Vyatta/Interface.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Vyatta/Interface.pm b/lib/Vyatta/Interface.pm index 9cf13f7..c636d51 100755 --- a/lib/Vyatta/Interface.pm +++ b/lib/Vyatta/Interface.pm @@ -84,6 +84,7 @@ my %net_prefix = ( '^wlan\d+$' => { path => 'wireless', vif => 'vif' }, '^ifb\d+$' => { path => 'input' }, '^dp\d+' => { path => 'dataplane', vif => 'vif' }, + '^vsw\d+$' => { path => 'vswitch', vif => 'vif' }, ); sub get_net_prefix { -- cgit v1.2.3