Commit c4872897 by Bach Dániel

vm: remove accept_states lines

parent f6861f2b
......@@ -612,7 +612,6 @@ class RemovePortOperation(InstanceOperation):
description = _("Close the specified port.")
concurrency_check = False
required_perms = ('vm.config_ports', )
accept_states = ()
def _operation(self, activity, rule):
interface = rule.host.interface_set.get()
......@@ -631,7 +630,6 @@ class AddPortOperation(InstanceOperation):
description = _("Open the specified port.")
concurrency_check = False
required_perms = ('vm.config_ports', )
accept_states = ()
def _operation(self, activity, host, proto, port):
if host.interface_set.get().instance != self.instance:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment