From 8d1488c95f7b1c3d5350cf5e5f98937e9392b46f Mon Sep 17 00:00:00 2001 From: Endi S. Dewata Date: Jan 11 2012 17:04:20 +0000 Subject: Added commands into metadata. The json_metadata command has been modified to accept some new options and return the commands metadata. The API.txt has been updated as well. The UI has been modified to use commands metadata instead of methods metadata. Ticket #388 --- diff --git a/API.txt b/API.txt index e06a047..ed8b555 100644 --- a/API.txt +++ b/API.txt @@ -1684,11 +1684,15 @@ command: i18n_messages args: 0,0,1 output: Output('messages', , None) command: json_metadata -args: 2,0,2 +args: 2,3,3 arg: Str('objname?') arg: Str('methodname?') +option: Str('object?') +option: Str('method?') +option: Str('command?') output: Output('objects', , None) output: Output('methods', , None) +output: Output('commands', , None) command: krbtpolicy_mod args: 1,9,3 arg: Str('uid', attribute=True, cli_name='user', multivalue=False, primary_key=True, query=True, required=False) diff --git a/install/ui/automount.js b/install/ui/automount.js index 67a58a5..11034ea 100644 --- a/install/ui/automount.js +++ b/install/ui/automount.js @@ -132,12 +132,12 @@ IPA.automount.map_entity = function(spec) { fields: [ { name: 'key', - label: IPA.get_method_option( + label: IPA.get_command_option( 'automountmap_add_indirect', 'key').label }, { name: 'parentmap', - label: IPA.get_method_option( + label: IPA.get_command_option( 'automountmap_add_indirect', 'parentmap').label } ] diff --git a/install/ui/dns.js b/install/ui/dns.js index 3963047..e9505dc 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -145,7 +145,7 @@ IPA.dns.zone_entity = function(spec) { { type: 'force_dnszone_add_checkbox', name: 'force', - metadata: IPA.get_method_option('dnszone_add', 'force') + metadata: IPA.get_command_option('dnszone_add', 'force') } ] } @@ -745,7 +745,7 @@ IPA.dnsrecord_type_widget = function(spec) { }; IPA.force_dnszone_add_checkbox_widget = function(spec) { - var metadata = IPA.get_method_option('dnszone_add', spec.name); + var metadata = IPA.get_command_option('dnszone_add', spec.name); spec.label = metadata.label; spec.tooltip = metadata.doc; return IPA.checkbox_widget(spec); diff --git a/install/ui/entitle.js b/install/ui/entitle.js index 066ecec..0a87e3e 100644 --- a/install/ui/entitle.js +++ b/install/ui/entitle.js @@ -51,7 +51,7 @@ IPA.entitle.entity = function(spec) { fields: [ { name: 'uuid', - label: IPA.get_method_option('entitle_register', 'ipaentitlementid').label, + label: IPA.get_command_option('entitle_register', 'ipaentitlementid').label, read_only: true }, { @@ -72,7 +72,7 @@ IPA.entitle.entity = function(spec) { }, { name: 'quantity', - label: IPA.get_method_arg('entitle_consume', 'quantity').label, + label: IPA.get_command_arg('entitle_consume', 'quantity').label, read_only: true }, { @@ -96,7 +96,7 @@ IPA.entitle.entity = function(spec) { }, { name: 'quantity', - label: IPA.get_method_arg('entitle_consume', 'quantity').label + label: IPA.get_command_arg('entitle_consume', 'quantity').label }, { name: 'start', @@ -121,17 +121,17 @@ IPA.entitle.entity = function(spec) { fields: [ { name: 'username', - label: IPA.get_method_arg('entitle_register', 'username').label + label: IPA.get_command_arg('entitle_register', 'username').label }, { name: 'password', - label: IPA.get_method_option('entitle_register', 'password').label, + label: IPA.get_command_option('entitle_register', 'password').label, type: 'password' } /* currently not supported , { name: 'ipaentitlementid', - label: IPA.get_method_option('entitle_register', 'ipaentitlementid').label + label: IPA.get_command_option('entitle_register', 'ipaentitlementid').label } */ ] @@ -155,8 +155,8 @@ IPA.entitle.entity = function(spec) { fields: [ { name: 'quantity', - label: IPA.get_method_arg('entitle_consume', 'quantity').label, - metadata: IPA.get_method_arg('entitle_consume', 'quantity') + label: IPA.get_command_arg('entitle_consume', 'quantity').label, + metadata: IPA.get_command_arg('entitle_consume', 'quantity') } ] }). diff --git a/install/ui/host.js b/install/ui/host.js index 654b34d..357eb3f 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -144,12 +144,12 @@ IPA.host.entity = function(spec) { fields: [ { name: 'ip_address', - metadata: IPA.get_method_option('host_add', 'ip_address') + metadata: IPA.get_command_option('host_add', 'ip_address') }, { type: 'force_host_add_checkbox', name: 'force', - metadata: IPA.get_method_option('host_add', 'force') + metadata: IPA.get_command_option('host_add', 'force') } ] } @@ -392,7 +392,7 @@ IPA.host_deleter_dialog = function(spec) { that.deleter_dialog_create(); - var metadata = IPA.get_method_option('host_del', 'updatedns'); + var metadata = IPA.get_command_option('host_del', 'updatedns'); that.updatedns = $('', { type: 'checkbox', @@ -492,7 +492,7 @@ IPA.utc_date_column_format = function(value){ IPA.force_host_add_checkbox_widget = function(spec) { - var metadata = IPA.get_method_option('host_add', spec.name); + var metadata = IPA.get_command_option('host_add', spec.name); spec.label = metadata.label; spec.tooltip = metadata.doc; return IPA.checkbox_widget(spec); diff --git a/install/ui/ipa.js b/install/ui/ipa.js index a145740..b579a5e 100644 --- a/install/ui/ipa.js +++ b/install/ui/ipa.js @@ -66,41 +66,14 @@ var IPA = function() { $.ajaxSetup(that.ajax_options); - var methods = IPA.command({ - name: 'ipa_init_methods', - method: 'json_metadata', - options: { - methodname: 'all' - }, - on_success: function(data, text_status, xhr) { - that.metadata.methods = data.result.methods; - } - }); - - var objects = IPA.command({ - name: 'ipa_init_objects', - method: 'json_metadata', - options: { - objname: 'all' - }, - on_success: function(data, text_status, xhr) { - that.metadata.objects = data.result.objects; - } - }); - - var metadata_command = IPA.concurrent_command({ - commands: [ - methods, - objects - ], - on_success: params.on_success - }); - var batch = IPA.batch_command({ name: 'ipa_init', retry: false, on_success: function() { - metadata_command.execute(); + that.init_metadata({ + on_success: params.on_success, + on_error: params.on_error + }); }, on_error: function(xhr, text_status, error_thrown) { @@ -177,6 +150,42 @@ var IPA = function() { batch.execute(); }; + that.init_metadata = function(params) { + + var objects = IPA.command({ + name: 'ipa_init_objects', + method: 'json_metadata', + options: { + object: 'all' + }, + on_success: function(data, text_status, xhr) { + that.metadata.objects = data.result.objects; + } + }); + + var commands = IPA.command({ + name: 'ipa_init_commands', + method: 'json_metadata', + options: { + command: 'all' + }, + on_success: function(data, text_status, xhr) { + that.metadata.commands = data.result.commands; + } + }); + + var metadata_command = IPA.concurrent_command({ + commands: [ + objects, + commands + ], + on_success: params.on_success, + on_error: params.on_error + }); + + metadata_command.execute(); + }; + that.register = function(name, factory) { that.remove_entity(name); that.entity_factories[name] = factory; @@ -807,9 +816,9 @@ IPA.get_entity_param = function(entity_name, name) { return null; }; -IPA.get_method_arg = function(method_name, name) { +IPA.get_command_arg = function(command_name, arg_name) { - var metadata = IPA.metadata.methods[method_name]; + var metadata = IPA.metadata.commands[command_name]; if (!metadata) { return null; } @@ -820,7 +829,7 @@ IPA.get_method_arg = function(method_name, name) { } for (var i=0; i", + "multivalue": false, + "name": "test", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "aci_del": { + "name": "aci_del", + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "prefix", + "cli_short_name": null, + "default": null, + "doc": "Prefix used to distinguish ACI types (permission, delegation, selfservice, none)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "ACI prefix", + "multivalue": false, + "name": "aciprefix", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "permission", + "delegation", + "selfservice", + "none" + ] + } + ] + }, + "aci_find": { + "name": "aci_find", + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "prefix", + "cli_short_name": null, + "default": null, + "doc": "Prefix used to distinguish ACI types (permission, delegation, selfservice, none)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "ACI prefix", + "multivalue": false, + "name": "aciprefix", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode", + "values": [ + "permission", + "delegation", + "selfservice", + "none" + ] + } + ] + }, + "aci_mod": { + "name": "aci_mod", + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "prefix", + "cli_short_name": null, + "default": null, + "doc": "Prefix used to distinguish ACI types (permission, delegation, selfservice, none)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "ACI prefix", + "multivalue": false, + "name": "aciprefix", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "permission", + "delegation", + "selfservice", + "none" + ] + } + ] + }, + "aci_rename": { + "name": "aci_rename", + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "prefix", + "cli_short_name": null, + "default": null, + "doc": "Prefix used to distinguish ACI types (permission, delegation, selfservice, none)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "ACI prefix", + "multivalue": false, + "name": "aciprefix", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "permission", + "delegation", + "selfservice", + "none" + ] + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "newname", + "cli_short_name": null, + "default": null, + "doc": "New ACI name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "newname", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "aci_show": { + "name": "aci_show", + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "prefix", + "cli_short_name": null, + "default": null, + "doc": "Prefix used to distinguish ACI types (permission, delegation, selfservice, none)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "ACI prefix", + "multivalue": false, + "name": "aciprefix", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "permission", + "delegation", + "selfservice", + "none" + ] + } + ] + }, + "automember_add": { + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "automember_rule", + "cli_short_name": null, + "default": null, + "doc": "Automember Rule", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Automember Rule", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "type", + "cli_short_name": null, + "default": null, + "doc": "Grouping to which the rule applies", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Grouping Type", + "multivalue": false, + "name": "type", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "group", + "hostgroup" + ] + } + ] + }, + "automember_add_condition": { + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "automember_rule", + "cli_short_name": null, + "default": null, + "doc": "Automember Rule", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Automember Rule", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [ + { + "alwaysask": true, + "attribute": false, + "autofill": false, + "class": "List", + "cli_name": "inclusive_regex", + "cli_short_name": null, + "default": null, + "doc": "Inclusive Regex", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Inclusive Regex", + "multivalue": true, + "name": "automemberinclusiveregex", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, + "sortorder": 2, + "type": "tuple" + }, + { + "alwaysask": true, + "attribute": false, + "autofill": false, + "class": "List", + "cli_name": "exclusive_regex", + "cli_short_name": null, + "default": null, + "doc": "Exclusive Regex", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Exclusive Regex", + "multivalue": true, + "name": "automemberexclusiveregex", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, + "sortorder": 2, + "type": "tuple" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "key", + "cli_short_name": null, + "default": null, + "doc": "Attribute to filter via regex. For example fqdn for a host, or manager for a user", + "exclude": null, + "flags": [ + "no_update", + "no_create", + "no_search" + ], + "hint": null, + "include": null, + "label": "Attribute Key", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "key", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "type", + "cli_short_name": null, + "default": null, + "doc": "Grouping to which the rule applies", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Grouping Type", + "multivalue": false, + "name": "type", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "group", + "hostgroup" + ] + } + ] + }, + "automember_default_group_remove": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "type", + "cli_short_name": null, + "default": null, + "doc": "Grouping to which the rule applies", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Grouping Type", + "multivalue": false, + "name": "type", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "group", + "hostgroup" + ] + } + ] + }, + "automember_default_group_set": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "default_group", + "cli_short_name": null, + "default": null, + "doc": "Default group for entires to land", + "exclude": null, + "flags": [ + "no_update", + "no_create" + ], + "hint": null, + "include": null, + "label": "Default Group", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "automemberdefaultgroup", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "type", + "cli_short_name": null, + "default": null, + "doc": "Grouping to which the rule applies", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Grouping Type", + "multivalue": false, + "name": "type", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "group", + "hostgroup" + ] + } + ] + }, + "automember_default_group_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "type", + "cli_short_name": null, + "default": null, + "doc": "Grouping to which the rule applies", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Grouping Type", + "multivalue": false, + "name": "type", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "group", + "hostgroup" + ] + } + ] + }, + "automember_del": { + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "automember_rule", + "cli_short_name": null, + "default": null, + "doc": "Automember Rule", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Automember Rule", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "type", + "cli_short_name": null, + "default": null, + "doc": "Grouping to which the rule applies", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Grouping Type", + "multivalue": false, + "name": "type", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "group", + "hostgroup" + ] + } + ] + }, + "automember_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "type", + "cli_short_name": null, + "default": null, + "doc": "Grouping to which the rule applies", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Grouping Type", + "multivalue": false, + "name": "type", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "group", + "hostgroup" + ] + } + ] + }, + "automember_mod": { + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "automember_rule", + "cli_short_name": null, + "default": null, + "doc": "Automember Rule", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Automember Rule", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "type", + "cli_short_name": null, + "default": null, + "doc": "Grouping to which the rule applies", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Grouping Type", + "multivalue": false, + "name": "type", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "group", + "hostgroup" + ] + } + ] + }, + "automember_remove_condition": { + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "automember_rule", + "cli_short_name": null, + "default": null, + "doc": "Automember Rule", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Automember Rule", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [ + { + "alwaysask": true, + "attribute": false, + "autofill": false, + "class": "List", + "cli_name": "inclusive_regex", + "cli_short_name": null, + "default": null, + "doc": "Inclusive Regex", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Inclusive Regex", + "multivalue": true, + "name": "automemberinclusiveregex", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, + "sortorder": 2, + "type": "tuple" + }, + { + "alwaysask": true, + "attribute": false, + "autofill": false, + "class": "List", + "cli_name": "exclusive_regex", + "cli_short_name": null, + "default": null, + "doc": "Exclusive Regex", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Exclusive Regex", + "multivalue": true, + "name": "automemberexclusiveregex", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, + "sortorder": 2, + "type": "tuple" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "key", + "cli_short_name": null, + "default": null, + "doc": "Attribute to filter via regex. For example fqdn for a host, or manager for a user", + "exclude": null, + "flags": [ + "no_update", + "no_create", + "no_search" + ], + "hint": null, + "include": null, + "label": "Attribute Key", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "key", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "type", + "cli_short_name": null, + "default": null, + "doc": "Grouping to which the rule applies", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Grouping Type", + "multivalue": false, + "name": "type", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "group", + "hostgroup" + ] + } + ] + }, + "automember_show": { + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "automember_rule", + "cli_short_name": null, + "default": null, + "doc": "Automember Rule", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Automember Rule", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "StrEnum", + "cli_name": "type", + "cli_short_name": null, + "default": null, + "doc": "Grouping to which the rule applies", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Grouping Type", + "multivalue": false, + "name": "type", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode", + "values": [ + "group", + "hostgroup" + ] + } + ] + }, + "automountkey_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "automountkey_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "IA5Str", + "cli_name": "key", + "cli_short_name": null, + "default": null, + "doc": "Automount key name.", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Key", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "automountkey", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "IA5Str", + "cli_name": "info", + "cli_short_name": null, + "default": null, + "doc": "Mount information", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Mount information", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "automountinformation", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "automountkey_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "automountkey_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "IA5Str", + "cli_name": "newinfo", + "cli_short_name": null, + "default": null, + "doc": "New mount information", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "New mount information", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "newautomountinformation", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "automountkey_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "IA5Str", + "cli_name": "key", + "cli_short_name": null, + "default": null, + "doc": "Automount key name.", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Key", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "automountkey", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "IA5Str", + "cli_name": "info", + "cli_short_name": null, + "default": null, + "doc": "Mount information", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Mount information", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "automountinformation", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "automountlocation_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "automountlocation_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "automountlocation_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "automountlocation_import": { + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "masterfile", + "cli_short_name": null, + "default": null, + "doc": "Automount master file.", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Master file", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "masterfile", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous operation mode. Errors are reported but the process continues.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "automountlocation_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "automountlocation_tofiles": { + "takes_args": [], + "takes_options": [] + }, + "automountmap_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "automountmap_add_indirect": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "mount", + "cli_short_name": null, + "default": null, + "doc": "Mount point", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Mount point", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "key", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "parentmap", + "cli_short_name": null, + "default": "auto.master", + "doc": "Name of parent automount map (default: auto.master).", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Parent map", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "parentmap", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "automountmap_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "automountmap_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "automountmap_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "automountmap_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "batch": { + "name": "batch", + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "List", + "cli_name": "methods", + "cli_short_name": null, + "default": null, + "doc": "Nested Methods to execute", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": true, + "name": "methods", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, + "sortorder": 2, + "type": "tuple" + } + ], + "takes_options": [] + }, + "cert_remove_hold": { + "name": "cert_remove_hold", + "takes_args": { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "serial_number", + "cli_short_name": null, + "default": null, + "doc": "Serial number in decimal or if prefixed with 0x in hexadecimal", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Serial number", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "serial_number", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + "takes_options": [] + }, + "cert_request": { + "name": "cert_request", + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "File", + "cli_name": "csr_file", + "cli_short_name": null, + "default": null, + "doc": "CSR", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "CSR", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "csr", + "noextrawhitespace": false, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "stdin_if_missing": false, + "type": "unicode" + } + ], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "principal", + "cli_short_name": null, + "default": null, + "doc": "Service principal for this certificate (e.g. HTTP/test.example.com)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Principal", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "principal", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "request_type", + "cli_short_name": null, + "default": "pkcs10", + "doc": "", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "request_type", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "add", + "cli_short_name": null, + "default": false, + "doc": "automatically add the principal if it doesn't exist", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "add", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "cert_revoke": { + "name": "cert_revoke", + "takes_args": { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "serial_number", + "cli_short_name": null, + "default": null, + "doc": "Serial number in decimal or if prefixed with 0x in hexadecimal", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Serial number", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "serial_number", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Int", + "cli_name": "revocation_reason", + "cli_short_name": null, + "default": 0, + "doc": "Reason for revoking the certificate (0-10)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Reason", + "maxvalue": 10, + "minvalue": 0, + "multivalue": false, + "name": "revocation_reason", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "cert_show": { + "name": "cert_show", + "takes_args": { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "serial_number", + "cli_short_name": null, + "default": null, + "doc": "Serial number in decimal or if prefixed with 0x in hexadecimal", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Serial number", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "serial_number", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "out", + "cli_short_name": null, + "default": null, + "doc": "File to store the certificate in.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Output filename", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "out", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "cert_status": { + "name": "cert_status", + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "request_id", + "cli_short_name": null, + "default": null, + "doc": "Request id", + "exclude": null, + "flags": [ + "no_update", + "no_create", + "no_search" + ], + "hint": null, + "include": null, + "label": "Request id", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "request_id", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [] + }, + "config_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "config_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "cosentry_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "cosentry_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "cosentry_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "cosentry_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "cosentry_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "delegation_add": { + "name": "delegation_add", + "takes_args": [], + "takes_options": [] + }, + "delegation_del": { + "name": "delegation_del", + "takes_args": [], + "takes_options": [] + }, + "delegation_find": { + "name": "delegation_find", + "takes_args": [], + "takes_options": [] + }, + "delegation_mod": { + "name": "delegation_mod", + "takes_args": [], + "takes_options": [] + }, + "delegation_show": { + "name": "delegation_show", + "takes_args": [], + "takes_options": [] + }, + "dns_is_enabled": { + "name": "dns_is_enabled", + "takes_args": [], + "takes_options": [] + }, + "dns_resolve": { + "name": "dns_resolve", + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "hostname", + "cli_short_name": null, + "default": null, + "doc": "Hostname", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Hostname", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "hostname", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [] + }, + "dnsrecord_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "force", + "cli_short_name": null, + "default": false, + "doc": "force NS record creation even if its hostname is not in DNS", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [ + "no_option", + "no_output" + ], + "hint": null, + "include": null, + "label": "Force", + "multivalue": false, + "name": "force", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "dnsrecord_add_record": { + "takes_args": [], + "takes_options": [] + }, + "dnsrecord_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "del_all", + "cli_short_name": null, + "default": false, + "doc": "Delete all associated records", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Delete all associated records", + "multivalue": false, + "name": "del_all", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "dnsrecord_delentry": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "dnsrecord_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "dnsrecord_mod": { + "takes_args": [], + "takes_options": [] + }, + "dnsrecord_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "dnszone_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "force", + "cli_short_name": null, + "default": false, + "doc": "Force DNS zone creation even if nameserver not in DNS.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Force", + "multivalue": false, + "name": "force", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "ip_address", + "cli_short_name": null, + "default": null, + "doc": "Add the nameserver to DNS with this IP address", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "ip_address", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "dnszone_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "dnszone_disable": { + "takes_args": [], + "takes_options": [] + }, + "dnszone_enable": { + "takes_args": [], + "takes_options": [] + }, + "dnszone_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "forward_only", + "cli_short_name": null, + "default": false, + "doc": "Search for forward zones only", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Forward zones only", + "multivalue": false, + "name": "forward_only", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "dnszone_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "dnszone_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "entitle_consume": { + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "quantity", + "cli_short_name": null, + "default": null, + "doc": "Quantity", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Quantity", + "maxvalue": 2147483647, + "minvalue": 1, + "multivalue": false, + "name": "quantity", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "int" + } + ], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Int", + "cli_name": "hidden", + "cli_short_name": null, + "default": 1, + "doc": "Quantity", + "exclude": null, + "flags": [ + "no_option", + "no_output" + ], + "hint": null, + "include": null, + "label": "Quantity", + "maxvalue": 2147483647, + "minvalue": 1, + "multivalue": false, + "name": "hidden", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "int" + } + ] + }, + "entitle_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "entitle_get": { + "name": "entitle_get", + "takes_args": [], + "takes_options": [] + }, + "entitle_import": { + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "File", + "cli_name": "certificate_file", + "cli_short_name": null, + "default": null, + "doc": "", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "usercertificate", + "noextrawhitespace": false, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "stdin_if_missing": false, + "type": "unicode" + } + ], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "uuid", + "cli_short_name": null, + "default": "IMPORTED", + "doc": "Enrollment UUID", + "exclude": null, + "flags": [ + "no_update", + "no_create" + ], + "hint": null, + "include": null, + "label": "UUID", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "uuid", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "entitle_register": { + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "username", + "cli_short_name": null, + "default": null, + "doc": "Username", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Username", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "username", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "ipaentitlementid", + "cli_short_name": null, + "default": null, + "doc": "Enrollment UUID (not implemented)", + "exclude": null, + "flags": [ + "no_update", + "no_create" + ], + "hint": null, + "include": null, + "label": "UUID", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "ipaentitlementid", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Password", + "cli_name": "password", + "cli_short_name": null, + "confirm": false, + "default": null, + "doc": "Registration password", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Password", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "password", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "entitle_status": { + "name": "entitle_status", + "takes_args": [], + "takes_options": [] + }, + "entitle_sync": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Int", + "cli_name": "hidden", + "cli_short_name": null, + "default": 1, + "doc": "Quantity", + "exclude": null, + "flags": [ + "no_option", + "no_output" + ], + "hint": null, + "include": null, + "label": "Quantity", + "maxvalue": 2147483647, + "minvalue": 1, + "multivalue": false, + "name": "hidden", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "int" + } + ] + }, + "env": { + "name": "env", + "takes_args": [ + "variables*" + ], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "server", + "cli_short_name": null, + "default": false, + "doc": "Forward to server instead of running locally", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "server", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "all", + "cli_short_name": null, + "default": true, + "doc": "retrieve and print all attributes from the server. Affects command output.", + "exclude": [ + "webui" + ], + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [ + "no_output" + ], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "all", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "group_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "nonposix", + "cli_short_name": null, + "default": false, + "doc": "Create as a non-POSIX group", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "nonposix", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "group_add_member": { + "takes_args": [], + "takes_options": [] + }, + "group_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "group_detach": { + "takes_args": [], + "takes_options": [] + }, + "group_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "private", + "cli_short_name": null, + "default": false, + "doc": "search for private groups", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "private", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "group_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "posix", + "cli_short_name": null, + "default": false, + "doc": "change to a POSIX group", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "posix", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "group_remove_member": { + "takes_args": [], + "takes_options": [] + }, + "group_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "hbacrule_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "hbacrule_add_host": { + "takes_args": [], + "takes_options": [] + }, + "hbacrule_add_service": { + "takes_args": [], + "takes_options": [] + }, + "hbacrule_add_sourcehost": { + "takes_args": [], + "takes_options": [] + }, + "hbacrule_add_user": { + "takes_args": [], + "takes_options": [] + }, + "hbacrule_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "hbacrule_disable": { + "takes_args": [], + "takes_options": [] + }, + "hbacrule_enable": { + "takes_args": [], + "takes_options": [] + }, + "hbacrule_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "hbacrule_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "hbacrule_remove_host": { + "takes_args": [], + "takes_options": [] + }, + "hbacrule_remove_service": { + "takes_args": [], + "takes_options": [] + }, + "hbacrule_remove_sourcehost": { + "takes_args": [], + "takes_options": [] + }, + "hbacrule_remove_user": { + "takes_args": [], + "takes_options": [] + }, + "hbacrule_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "hbacsvc_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "hbacsvc_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "hbacsvc_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "hbacsvc_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "hbacsvc_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "hbacsvcgroup_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "hbacsvcgroup_add_member": { + "takes_args": [], + "takes_options": [] + }, + "hbacsvcgroup_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "hbacsvcgroup_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "hbacsvcgroup_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "hbacsvcgroup_remove_member": { + "takes_args": [], + "takes_options": [] + }, + "hbacsvcgroup_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "hbactest": { + "name": "hbactest", + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "user", + "cli_short_name": null, + "default": null, + "doc": "User name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "User name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "user", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "srchost", + "cli_short_name": null, + "default": null, + "doc": "Source host", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Source host", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "sourcehost", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "host", + "cli_short_name": null, + "default": null, + "doc": "Target host", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Target host", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "targethost", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "service", + "cli_short_name": null, + "default": null, + "doc": "Service", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Service", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "service", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "List", + "cli_name": "rules", + "cli_short_name": null, + "default": null, + "doc": "Rules to test. If not specified, --enabled is assumed", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Rules to test. If not specified, --enabled is assumed", + "multivalue": true, + "name": "rules", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, + "sortorder": 2, + "type": "tuple" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "nodetail", + "cli_short_name": null, + "default": false, + "doc": "Hide details which rules are matched, not matched, or invalid", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Hide details which rules are matched, not matched, or invalid", + "multivalue": false, + "name": "nodetail", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "enabled", + "cli_short_name": null, + "default": false, + "doc": "Include all enabled IPA rules into test [default]", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Include all enabled IPA rules into test [default]", + "multivalue": false, + "name": "enabled", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "disabled", + "cli_short_name": null, + "default": false, + "doc": "Include all disabled IPA rules into test", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Include all disabled IPA rules into test", + "multivalue": false, + "name": "disabled", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "host_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "force", + "cli_short_name": null, + "default": false, + "doc": "force host name even if not in DNS", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Force", + "multivalue": false, + "name": "force", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "no_reverse", + "cli_short_name": null, + "default": false, + "doc": "skip reverse DNS detection", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "no_reverse", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "ip_address", + "cli_short_name": null, + "default": null, + "doc": "Add the host to DNS with this IP address", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "IP Address", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "ip_address", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "host_add_managedby": { + "takes_args": [], + "takes_options": [] + }, + "host_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "updatedns", + "cli_short_name": null, + "default": false, + "doc": "Remove entries from DNS", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "updatedns", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "host_disable": { + "takes_args": [], + "takes_options": [] + }, + "host_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "host_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": true, + "autofill": false, + "class": "Str", + "cli_name": "principalname", + "cli_short_name": null, + "default": null, + "doc": "Kerberos principal name for this host", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Principal name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "krbprincipalname", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "host_remove_managedby": { + "takes_args": [], + "takes_options": [] + }, + "host_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "out", + "cli_short_name": null, + "default": null, + "doc": "file to store certificate in", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "out", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "hostgroup_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "hostgroup_add_member": { + "takes_args": [], + "takes_options": [] + }, + "hostgroup_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "hostgroup_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "hostgroup_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "hostgroup_remove_member": { + "takes_args": [], + "takes_options": [] + }, + "hostgroup_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "i18n_messages": { + "name": "i18n_messages", + "takes_args": [], + "takes_options": [] + }, + "join": { + "name": "join", + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "hostname", + "cli_short_name": null, + "default": null, + "doc": "The hostname to register as", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cn", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "realm", + "cli_short_name": null, + "default": null, + "doc": "The IPA realm", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "realm", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "platform", + "cli_short_name": null, + "default": null, + "doc": "Hardware platform of the host (e.g. Lenovo T61)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "nshardwareplatform", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "os", + "cli_short_name": null, + "default": null, + "doc": "Operating System and version of the host (e.g. Fedora 9)", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "nsosversion", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "json_metadata": { + "name": "json_metadata", + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "cmdname", + "cli_short_name": null, + "default": null, + "doc": "Name of command to export", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "cmdname", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "objname", + "cli_short_name": null, + "default": null, + "doc": "Name of object to export", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "objname", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "methodname", + "cli_short_name": null, + "default": null, + "doc": "Name of method to export", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "methodname", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [] + }, + "krbtpolicy_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "krbtpolicy_reset": { + "takes_args": [], + "takes_options": [] + }, + "krbtpolicy_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "migrate_ds": { + "name": "migrate_ds", + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "ldap_uri", + "cli_short_name": null, + "default": null, + "doc": "LDAP URI of DS server to migrate from", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "LDAP URI", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "ldapuri", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Password", + "cli_name": "password", + "cli_short_name": null, + "confirm": false, + "default": null, + "doc": "bind password", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Password", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "bindpw", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "bind_dn", + "cli_short_name": null, + "default": "cn=directory manager", + "doc": "Bind DN", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Bind DN", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "binddn", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "user_container", + "cli_short_name": null, + "default": "ou=people", + "doc": "RDN of container for users in DS", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "User container", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "usercontainer", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "group_container", + "cli_short_name": null, + "default": "ou=groups", + "doc": "RDN of container for groups in DS", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Group container", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "groupcontainer", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "List", + "cli_name": "user_objectclass", + "cli_short_name": null, + "default": [ + "person" + ], + "doc": "Comma-separated list of objectclasses used to search for user entries in DS", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "User object class", + "multivalue": true, + "name": "userobjectclass", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, + "sortorder": 2, + "type": "tuple" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "List", + "cli_name": "group_objectclass", + "cli_short_name": null, + "default": [ + "groupOfUniqueNames", + "groupOfNames" + ], + "doc": "Comma-separated list of objectclasses used to search for group entries in DS", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Group object class", + "multivalue": true, + "name": "groupobjectclass", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, + "sortorder": 2, + "type": "tuple" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "List", + "cli_name": "user_ignore_objectclass", + "cli_short_name": null, + "default": [], + "doc": "Comma-separated list of objectclasses to be ignored for user entries in DS", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Ignore user object class", + "multivalue": true, + "name": "userignoreobjectclass", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, + "sortorder": 2, + "type": "tuple" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "List", + "cli_name": "user_ignore_attribute", + "cli_short_name": null, + "default": [], + "doc": "Comma-separated list of attributes to be ignored for user entries in DS", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Ignore user attribute", + "multivalue": true, + "name": "userignoreattribute", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, + "sortorder": 2, + "type": "tuple" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "List", + "cli_name": "group_ignore_objectclass", + "cli_short_name": null, + "default": [], + "doc": "Comma-separated list of objectclasses to be ignored for group entries in DS", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Ignore group object class", + "multivalue": true, + "name": "groupignoreobjectclass", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, + "sortorder": 2, + "type": "tuple" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "List", + "cli_name": "group_ignore_attribute", + "cli_short_name": null, + "default": [], + "doc": "Comma-separated list of attributes to be ignored for group entries in DS", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Ignore group attribute", + "multivalue": true, + "name": "groupignoreattribute", + "primary_key": false, + "query": false, + "required": false, + "separator": ",", + "skipspace": true, + "sortorder": 2, + "type": "tuple" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "group_overwrite_gid", + "cli_short_name": null, + "default": false, + "doc": "When migrating a group already existing in IPA domain overwrite the group GID and report as success", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Overwrite GID", + "multivalue": false, + "name": "groupoverwritegid", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "StrEnum", + "cli_name": "schema", + "cli_short_name": null, + "default": "RFC2307bis", + "doc": "The schema used on the LDAP server. Supported values are RFC2307 and RFC2307bis. The default is RFC2307bis", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "LDAP schema", + "multivalue": false, + "name": "schema", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode", + "values": [ + "RFC2307bis", + "RFC2307" + ] + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous operation mode. Errors are reported but the process continues", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Continue", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "netgroup_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "netgroup_add_member": { + "takes_args": [], + "takes_options": [] + }, + "netgroup_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "netgroup_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "private", + "cli_short_name": null, + "default": false, + "doc": "", + "exclude": [ + "webui" + ], + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [ + "no_option", + "no_output" + ], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "private", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "managed", + "cli_short_name": null, + "default": false, + "doc": "search for managed groups", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "managed", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "netgroup_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "netgroup_remove_member": { + "takes_args": [], + "takes_options": [] + }, + "netgroup_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "passwd": { + "name": "passwd", + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Str", + "cli_name": "user", + "cli_short_name": null, + "default": null, + "doc": "User name", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "User name", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "principal", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": true, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Password", + "cli_name": "password", + "cli_short_name": null, + "confirm": true, + "default": null, + "doc": "New Password", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "New Password", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "password", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Password", + "cli_name": "current_password", + "cli_short_name": null, + "confirm": false, + "default": null, + "doc": "Current Password", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Current Password", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "current_password", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": -1, + "type": "unicode" + } + ], + "takes_options": [] + }, + "permission_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "permission_add_member": { + "takes_args": [], + "takes_options": [] + }, + "permission_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "permission_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "permission_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "permission_remove_member": { + "takes_args": [], + "takes_options": [] + }, + "permission_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "ping": { + "name": "ping", + "takes_args": [], + "takes_options": [] + }, + "pkinit_anonymous": { + "name": "pkinit_anonymous", + "takes_args": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "action", + "cli_short_name": null, + "default": null, + "doc": "", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "action", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ], + "takes_options": [] + }, + "plugins": { + "name": "plugins", + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "server", + "cli_short_name": null, + "default": false, + "doc": "Forward to server instead of running locally", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "server", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "all", + "cli_short_name": null, + "default": true, + "doc": "retrieve and print all attributes from the server. Affects command output.", + "exclude": [ + "webui" + ], + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [ + "no_output" + ], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "all", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "privilege_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "privilege_add_member": { + "takes_args": [], + "takes_options": [] + }, + "privilege_add_permission": { + "takes_args": [], + "takes_options": [] + }, + "privilege_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "privilege_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "privilege_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "privilege_remove_member": { + "takes_args": [], + "takes_options": [] + }, + "privilege_remove_permission": { + "takes_args": [], + "takes_options": [] + }, + "privilege_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "pwpolicy_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "pwpolicy_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "pwpolicy_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "pwpolicy_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "pwpolicy_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "user", + "cli_short_name": null, + "default": null, + "doc": "Display effective policy for a specific user", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "User", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "user", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "role_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "role_add_member": { + "takes_args": [], + "takes_options": [] + }, + "role_add_privilege": { + "takes_args": [], + "takes_options": [] + }, + "role_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "role_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "role_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "role_remove_member": { + "takes_args": [], + "takes_options": [] + }, + "role_remove_privilege": { + "takes_args": [], + "takes_options": [] + }, + "role_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "selfservice_add": { + "name": "selfservice_add", + "takes_args": [], + "takes_options": [] + }, + "selfservice_del": { + "name": "selfservice_del", + "takes_args": [], + "takes_options": [] + }, + "selfservice_find": { + "name": "selfservice_find", + "takes_args": [], + "takes_options": [] + }, + "selfservice_mod": { + "name": "selfservice_mod", + "takes_args": [], + "takes_options": [] + }, + "selfservice_show": { + "name": "selfservice_show", + "takes_args": [], + "takes_options": [] + }, + "service_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "force", + "cli_short_name": null, + "default": false, + "doc": "force principal name even if not in DNS", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Force", + "multivalue": false, + "name": "force", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "service_add_host": { + "takes_args": [], + "takes_options": [] + }, + "service_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "service_disable": { + "takes_args": [], + "takes_options": [] + }, + "service_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "service_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "service_remove_host": { + "takes_args": [], + "takes_options": [] + }, + "service_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "out", + "cli_short_name": null, + "default": null, + "doc": "file to store certificate in", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "out", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "sudocmd_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "sudocmd_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "sudocmd_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "sudocmd_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "sudocmd_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "sudocmdgroup_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "sudocmdgroup_add_member": { + "takes_args": [], + "takes_options": [] + }, + "sudocmdgroup_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "sudocmdgroup_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "sudocmdgroup_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "sudocmdgroup_remove_member": { + "takes_args": [], + "takes_options": [] + }, + "sudocmdgroup_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "sudorule_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "sudorule_add_allow_command": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_add_deny_command": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_add_host": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_add_option": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "sudooption", + "cli_short_name": null, + "default": null, + "doc": "Sudo Option", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Sudo Option", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "ipasudoopt", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "sudorule_add_runasgroup": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_add_runasuser": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_add_user": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "sudorule_disable": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_enable": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + } + ] + }, + "sudorule_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "sudorule_remove_allow_command": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_remove_deny_command": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_remove_host": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_remove_option": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "sudooption", + "cli_short_name": null, + "default": null, + "doc": "Sudo Option", + "exclude": null, + "flags": [], + "hint": null, + "include": null, + "label": "Sudo Option", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": false, + "name": "ipasudoopt", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "type": "unicode" + } + ] + }, + "sudorule_remove_runasgroup": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_remove_runasuser": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_remove_user": { + "takes_args": [], + "takes_options": [] + }, + "sudorule_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "user_add": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "noprivate", + "cli_short_name": null, + "default": false, + "doc": "Don't create user private group", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "noprivate", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "user_del": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "continue", + "cli_short_name": null, + "default": false, + "doc": "Continuous mode: Don't stop on errors.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "multivalue": false, + "name": "continue", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "user_disable": { + "takes_args": [], + "takes_options": [] + }, + "user_enable": { + "takes_args": [], + "takes_options": [] + }, + "user_find": { + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "timelimit", + "cli_short_name": null, + "default": null, + "doc": "Time limit of search in seconds", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Time Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "timelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Int", + "cli_name": "sizelimit", + "cli_short_name": null, + "default": null, + "doc": "Maximum number of entries returned", + "exclude": null, + "flags": [ + "no_display" + ], + "hint": null, + "include": null, + "label": "Size Limit", + "maxvalue": 2147483647, + "minvalue": 0, + "multivalue": false, + "name": "sizelimit", + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "int" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "whoami", + "cli_short_name": null, + "default": false, + "doc": "Display user record for current Kerberos principal", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Self", + "multivalue": false, + "name": "whoami", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "user_mod": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "addattr", + "cli_short_name": null, + "default": null, + "doc": "Add an attribute/value pair. Format is attr=value. The attribute must be part of the schema.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "addattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": false, + "class": "Str", + "cli_name": "setattr", + "cli_short_name": null, + "default": null, + "doc": "Set an attribute to a name/value pair. Format is attr=value.\nFor multi-valued attributes, the command replaces the values already present.", + "exclude": [ + "webui" + ], + "flags": [], + "hint": null, + "include": null, + "label": "", + "length": null, + "maxlength": null, + "minlength": null, + "multivalue": true, + "name": "setattr", + "noextrawhitespace": true, + "pattern": null, + "pattern_errmsg": null, + "primary_key": false, + "query": false, + "required": false, + "sortorder": 2, + "type": "unicode" + }, + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "user_show": { + "takes_args": [], + "takes_options": [ + { + "alwaysask": false, + "attribute": false, + "autofill": true, + "class": "Flag", + "cli_name": "rights", + "cli_short_name": null, + "default": false, + "doc": "Display the access rights of this entry (requires --all). See ipa man page for details.", + "exclude": null, + "falsehoods": [ + 0, + "0", + "false", + "FALSE" + ], + "flags": [], + "hint": null, + "include": null, + "label": "Rights", + "multivalue": false, + "name": "rights", + "primary_key": false, + "query": false, + "required": true, + "sortorder": 2, + "truths": [ + "1", + 1, + "true", + "TRUE" + ], + "type": "bool" + } + ] + }, + "user_unlock": { + "takes_args": [], + "takes_options": [] + } + }, + "methods": {}, + "objects": {} + } +} diff --git a/ipalib/frontend.py b/ipalib/frontend.py index b79aad9..028e17e 100644 --- a/ipalib/frontend.py +++ b/ipalib/frontend.py @@ -941,6 +941,17 @@ class Command(HasParam): return rv + # list of attributes we want exported to JSON + json_friendly_attributes = ( + 'name', 'takes_args', 'takes_options', + ) + + def __json__(self): + json_dict = dict( + (a, getattr(self, a)) for a in self.json_friendly_attributes + ) + return json_dict + class LocalOrRemote(Command): """ A command that is explicitly executed locally or remotely. diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index 32d5951..9e7b0dd 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -48,16 +48,34 @@ class json_metadata(Command): ), ) + takes_options = ( + Str('object?', + doc=_('Name of object to export'), + ), + Str('method?', + doc=_('Name of method to export'), + ), + Str('command?', + doc=_('Name of command to export'), + ), + ) + has_output = ( Output('objects', dict, doc=_('Dict of JSON encoded IPA Objects')), Output('methods', dict, doc=_('Dict of JSON encoded IPA Methods')), + Output('commands', dict, doc=_('Dict of JSON encoded IPA Commands')), ) - def execute(self, objname, methodname): + def execute(self, objname, methodname, **options): objects = dict() methods = dict() + commands = dict() - if objname : + empty = True + + try: + if not objname: + objname = options['object'] if objname in self.api.Object: o = self.api.Object[objname] objects = dict([(o.name, json_serialize(o))]) @@ -65,25 +83,52 @@ class json_metadata(Command): objects = dict( (o.name, json_serialize(o)) for o in self.api.Object() ) - elif methodname: - if methodname in self.api.Method: + empty = False + except KeyError: + pass + + try: + if not methodname: + methodname = options['method'] + if methodname in self.api.Method: m = self.api.Method[methodname] methods = dict([(m.name, json_serialize(m))]) elif methodname == "all": methods = dict( (m.name, json_serialize(m)) for m in self.api.Method() ) - else: + empty = False + except KeyError: + pass + + try: + cmdname = options['command'] + if cmdname in self.api.Command: + c = self.api.Command[cmdname] + commands = dict([(c.name, json_serialize(c))]) + elif cmdname == "all": + commands = dict( + (c.name, json_serialize(c)) for c in self.api.Command() + ) + empty = False + except KeyError: + pass + + if empty: objects = dict( (o.name, json_serialize(o)) for o in self.api.Object() ) methods = dict( (m.name, json_serialize(m)) for m in self.api.Method() ) + commands = dict( + (c.name, json_serialize(c)) for c in self.api.Command() + ) retval = dict([ ("objects", objects), ("methods", methods), + ("commands", commands), ]) return retval @@ -315,6 +360,9 @@ class i18n_messages(Command): "hbacsvcgroup": { "services": _("Services"), }, + "hbactest": { + "label": _("HBAC Test"), + }, "host": { "certificate": _("Host Certificate"), "cn": _("Host Name"),