def acl_disable(lib, argv, modifiers): """ Options: * -f - CIB file """ # TODO move to lib once lib supports cluster properties modifiers.ensure_only_supported("-f") prop.set_property(lib, ["enable-acl=false"], modifiers.get_subset("-f"))
def acl_enable(lib, argv, modifiers): """ Options: * -f - CIB file """ # TODO move to lib once lib supports cluster properties modifiers.ensure_only_supported("-f") if argv: raise CmdLineInputError() prop.set_property(lib, ["enable-acl=true"], modifiers.get_subset("-f"))
def acl_disable(lib, argv, modifiers): """ Options: * -f - CIB file """ # TODO move to lib once lib supports cluster properties modifiers.ensure_only_supported("-f") if argv: raise CmdLineInputError() prop.set_property(lib, ["enable-acl=false"], modifiers.get_subset("-f"))
def acl_disable(argv): # TODO move to lib once lib supports cluster properties prop.set_property(["enable-acl=false"])
def acl_disable(argv): prop.set_property(["enable-acl=false"])
def acl_enable(argv): prop.set_property(["enable-acl=true"])