diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-08-01 13:30:27 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-08-01 13:30:27 -0700 |
commit | 5b2345cc10767df7a142eef4a0f66ad5e641d7d0 (patch) | |
tree | 056bf53329f6210fab7a2bffe6a8c63eb83fa6c2 | |
parent | 9fdb329de95bc5a765072b14327df22f50b301aa (diff) | |
download | vyatta-cfg-5b2345cc10767df7a142eef4a0f66ad5e641d7d0.tar.gz vyatta-cfg-5b2345cc10767df7a142eef4a0f66ad5e641d7d0.zip |
Add support for vswitch
Placeholder for possible future work.
-rwxr-xr-x | lib/Vyatta/Interface.pm | 1 |
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 { |