Note about vlan problem on 10.04

This commit is contained in:
Brian Candler
2011-05-08 11:22:30 +01:00
parent 0df9fc6b32
commit 57b011b4cf
2 changed files with 6 additions and 2 deletions

View File

@@ -72,6 +72,10 @@ class TestAddr < Test::Unit::TestCase
@ip.vlan.list(:link=>"lo").map { |x| x.linkinfo.data.id }
end
# FIXME: On 10.04.2 LTS (32 and 64 bit) this gives Errno::EOPNOTSUPP; but
# ip link add link lo type vlan id 1234
# ip link delete vlan0
# both work fine.
test "Add and remove vlan" do
begin
@ip.vlan.delete(:link=>"lo", :vlan_id=>1234)