summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-08-01 13:30:27 -0700
committerStephen Hemminger <shemminger@vyatta.com>2012-08-01 13:30:27 -0700
commit5b2345cc10767df7a142eef4a0f66ad5e641d7d0 (patch)
tree056bf53329f6210fab7a2bffe6a8c63eb83fa6c2 /lib/Vyatta
parent9fdb329de95bc5a765072b14327df22f50b301aa (diff)
downloadvyatta-cfg-5b2345cc10767df7a142eef4a0f66ad5e641d7d0.tar.gz
vyatta-cfg-5b2345cc10767df7a142eef4a0f66ad5e641d7d0.zip
Add support for vswitch
Placeholder for possible future work.
Diffstat (limited to 'lib/Vyatta')
-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 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 {