def create_with_set(lib, argv, modifiers): """ create order constraint with resource set object lib exposes library list argv see usage for "constraint colocation set" dict like object modifiers can contain "force" allows resource in clone/master and constraint duplicity "autocorrect" allows correct resource to its clone/master parent """ command.create_with_set(lib.constraint_order.set, argv, modifiers)
def create_with_set(lib, argv, modificators): """ create order constraint with resource set object lib exposes library list argv see usage for "constraint colocation set" dict like object modificators can contain "force" allows resource in clone/master and constraint duplicity "autocorrect" allows correct resource to its clone/master parent """ command.create_with_set(lib.constraint_order.set, argv, modificators)
def create_with_set(lib, argv, modifiers): """ create order constraint with resource set object lib exposes library list argv see usage for "constraint colocation set" dict like object modifiers can contain "force" allows resource in clone/master and constraint duplicity Options: * --force - allow resource inside clone (or master), allow duplicate element * -f - CIB file """ modifiers.ensure_only_supported("--force", "-f") command.create_with_set(lib.constraint_order.set, argv, modifiers)
def create_with_set(lib, argv, modifiers): """ create colocation constraint with resource set object lib exposes library list argv see usage for "constraint colocation set" dict like object modifiers can contain "force" allows resource in clone/master and constraint duplicity Options: * --force - allow resource inside clone (or master), allow duplicate element * -f - CIB file """ modifiers.ensure_only_supported("-f", "--force") command.create_with_set( lib.constraint_colocation.set, argv, modifiers, )