Missing destroy on port

This commit is contained in:
Endre Karlson 2012-10-05 14:43:56 +02:00
parent 3c6de783e7
commit a9f197398d

View File

@ -10,4 +10,8 @@ Puppet::Type.type(:vs_port).provide(:ovs) do
def create
vsctl("add-port", @resource[:bridge], @resource[:interface])
end
def destroy
vsctl("del-port", @resource[:bridge], @resource[:interface])
end
end