From 9915b93737fe5e31a53f2fdb169427a0b4d7e002 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Thu, 24 Mar 2011 09:56:47 +0100 Subject: [PATCH] Remove doc from API.txt Doc parts are not removed from the API completely. This leads to unnecessary updates to API.txt when the option/argument documentation is changed. This patch replaces unreliable doc stripping function with a regular expression. It works for all current doc strings (simple string or GetText). The only limitation is that the RE supports only up to 2 levels of nested parentheses in doc string. https://fedorahosted.org/freeipa/ticket/1057 --- API.txt | 626 ++++++++++++++++++++++++++++---------------------------- makeapi | 11 +- 2 files changed, 318 insertions(+), 319 deletions(-) diff --git a/API.txt b/API.txt index 13b877c43..2f7b95124 100644 --- a/API.txt +++ b/API.txt @@ -12,7 +12,7 @@ option: Str('subtree', attribute=True, cli_name='subtree', label=Gettext('Subtre option: Str('targetgroup', attribute=True, cli_name='targetgroup', label=Gettext('Target group', domain='ipa', localedir=None), multivalue=False, required=False) option: Flag('selfaci', attribute=True, autofill=True, cli_name='self', default=False, label=Gettext('Target your own entry (self)', domain='ipa', localedir=None), multivalue=False, required=False) option: StrEnum('aciprefix', cli_name='prefix', label=Gettext('ACI prefix', domain='ipa', localedir=None), values=(u'permission', u'delegation', u'selfservice', u'none')) -option: Flag('test?', autofill=True, default=False,lag('test?', autofill=True, default=False, doc=Gettext("Test the ACI syntax but don't write anything", domain='ipa', localedir=None)) +option: Flag('test?', autofill=True, default=False) option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) @@ -82,7 +82,7 @@ option: Str('subtree', attribute=True, autofill=False, cli_name='subtree', label option: Str('targetgroup', attribute=True, autofill=False, cli_name='targetgroup', label=Gettext('Target group', domain='ipa', localedir=None), multivalue=False, required=False) option: Flag('selfaci', attribute=True, autofill=True, cli_name='self', default=False, label=Gettext('Target your own entry (self)', domain='ipa', localedir=None), multivalue=False, required=False) option: StrEnum('aciprefix', cli_name='prefix', label=Gettext('ACI prefix', domain='ipa', localedir=None), values=(u'permission', u'delegation', u'selfservice', u'none')) -option: Str('newname',tr('newname', doc=Gettext('New ACI name', domain='ipa', localedir=None)) +option: Str('newname') option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) @@ -117,7 +117,7 @@ command: automountkey_del args: 2,3,3 arg: Str('automountlocationcn', cli_name='automountlocation', label=Gettext('Location', domain='ipa', localedir=None), query=True, required=True) arg: IA5Str('automountmapautomountmapname', cli_name='automountmap', label=Gettext('Map', domain='ipa', localedir=None), query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) option: IA5Str('automountkey', cli_name='key', label=Gettext('Key', domain='ipa', localedir=None)) option: IA5Str('automountinformation', cli_name='info', label=Gettext('Mount information', domain='ipa', localedir=None)) output: Output('summary', (, ), 'User-friendly description of action performed') @@ -152,7 +152,7 @@ option: IA5Str('newautomountinformation', cli_name='newinfo', label=Gettext('New option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: Str('rename', cli_name='rename', multivalue=False, primary_key=True, required=False) +option: Str('rename', cli_name='rename', exclude='webui', flags=['no_create', 'no_update', 'no_search', 'no_output'], label=Gettext('Rename', domain='ipa', localedir=None), multivalue=False, primary_key=True, required=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -183,7 +183,7 @@ output: Output('value', , "The primary_key value of the entry, e command: automountlocation_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='location', label=Gettext('Location', domain='ipa', localedir=None), multivalue=True, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -204,7 +204,7 @@ command: automountlocation_import args: 2,1,1 arg: Str('cn', attribute=True, cli_name='location', label=Gettext('Location', domain='ipa', localedir=None), multivalue=False, primary_key=True, query=True, required=True) arg: Str('masterfile', label=Gettext('Master file', domain='ipa', localedir=None)) -option: Flag('continue?', autofill=True, cli_name='continue', default=False,lag('continue?', autofill=True, cli_name='continue', default=False, doc=Gettext('Continuous operation mode. Errors are reported but the process continues.', domain='ipa', localedir=None)) +option: Flag('continue?', autofill=True, cli_name='continue', default=False) output: Output('result', None, None) command: automountlocation_show args: 1,4,3 @@ -252,7 +252,7 @@ command: automountmap_del args: 2,1,3 arg: Str('automountlocationcn', cli_name='automountlocation', label=Gettext('Location', domain='ipa', localedir=None), query=True, required=True) arg: IA5Str('automountmapname', attribute=True, cli_name='map', label=Gettext('Map', domain='ipa', localedir=None), multivalue=True, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -310,7 +310,7 @@ args: 1,3,1 arg: File('csr', validate_csr, cli_name='csr_file', normalizer=normalize_csr) option: Str('principal', label=Gettext('Principal', domain='ipa', localedir=None)) option: Str('request_type', autofill=True, default=u'pkcs10') -option: Flag('add', autofill=True, default=False,lag('add', autofill=True, default=False, doc=Gettext("automatically add the principal if it doesn't exist", domain='ipa', localedir=None)) +option: Flag('add', autofill=True, default=False) output: Output('result', , Gettext('Dictionary mapping variable name to value', domain='ipa', localedir=None)) command: cert_revoke args: 1,1,1 @@ -333,7 +333,7 @@ option: IA5Str('ipahomesrootdir', attribute=True, autofill=False, cli_name='home option: Str('ipadefaultloginshell', attribute=True, autofill=False, cli_name='defaultshell', label=Gettext('Default shell', domain='ipa', localedir=None), multivalue=False, required=False) option: Str('ipadefaultprimarygroup', attribute=True, autofill=False, cli_name='defaultgroup', label=Gettext('Default users group', domain='ipa', localedir=None), multivalue=False, required=False) option: Str('ipadefaultemaildomain', attribute=True, autofill=False, cli_name='emaildomain', label=Gettext('Default e-mail domain for new users', domain='ipa', localedir=None), multivalue=False, required=False) -option: Int('ipasearchtimelimit', validate_searchtimelimit, attribute=True, autofill=False, cli_name='searchtimelimit', label=Gettext('Search time limit', domain='ipa', localedir=None), minvalue=-1, multivalue=False, required=False) +option: Int('ipasearchtimelimit', validate_searchtimelimit, attribute=True, autofill=False, cli_name='searchtimelimit'('Max. amount of time (sec.) for a search (> 0, or -1 for unlimited).', domain='ipa', localedir=None), label=Gettext('Search time limit', domain='ipa', localedir=None), minvalue=-1, multivalue=False, required=False) option: Int('ipasearchrecordslimit', attribute=True, autofill=False, cli_name='searchrecordslimit', label=Gettext('Search size limit', domain='ipa', localedir=None), minvalue=-1, multivalue=False, required=False) option: IA5Str('ipausersearchfields', attribute=True, autofill=False, cli_name='usersearch', label=Gettext('User search fields', domain='ipa', localedir=None), multivalue=False, required=False) option: IA5Str('ipagroupsearchfields', attribute=True, autofill=False, cli_name='groupsearch', label='Group search fields', multivalue=False, required=False) @@ -375,7 +375,7 @@ output: Output('value', , "The primary_key value of the entry, e command: cosentry_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='cn', label=FixMe('cn'), multivalue=True, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -497,40 +497,40 @@ option: Flag('force', autofill=True, default=False, flags=['no_option', 'no_outp option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('arecord?', _validate_ipaddr, attribute=True, cli_name='a_rec',ist('arecord?', _validate_ipaddr, attribute=True, cli_name='a_rec', doc='comma-separated list of A records', label='A record', multivalue=True) -option: List('aaaarecord?', _validate_ipaddr, attribute=True, cli_name='aaaa_rec',ist('aaaarecord?', _validate_ipaddr, attribute=True, cli_name='aaaa_rec', doc='comma-separated list of AAAA records', label='AAAA record', multivalue=True) -option: List('a6record?', attribute=True, cli_name='a6_rec',ist('a6record?', attribute=True, cli_name='a6_rec', doc='comma-separated list of A6 records', label='A6 record', multivalue=True) -option: List('afsdbrecord?', attribute=True, cli_name='afsdb_rec',ist('afsdbrecord?', attribute=True, cli_name='afsdb_rec', doc='comma-separated list of AFSDB records', label='AFSDB record', multivalue=True) -option: List('aplrecord?', _validate_ipnet, attribute=True, cli_name='apl_rec',ist('aplrecord?', _validate_ipnet, attribute=True, cli_name='apl_rec', doc='comma-separated list of APL records', label='APL record', multivalue=True) -option: List('certrecord?', attribute=True, cli_name='cert_rec',ist('certrecord?', attribute=True, cli_name='cert_rec', doc='comma-separated list of CERT records', label='CERT record', multivalue=True) -option: List('cnamerecord?', attribute=True, cli_name='cname_rec',ist('cnamerecord?', attribute=True, cli_name='cname_rec', doc='comma-separated list of CNAME records', label='CNAME record', multivalue=True) -option: List('dhcidrecord?', attribute=True, cli_name='dhcid_rec',ist('dhcidrecord?', attribute=True, cli_name='dhcid_rec', doc='comma-separated list of DHCID records', label='DHCID record', multivalue=True) -option: List('dlvrecord?', attribute=True, cli_name='dlv_rec',ist('dlvrecord?', attribute=True, cli_name='dlv_rec', doc='comma-separated list of DLV records', label='DLV record', multivalue=True) -option: List('dnamerecord?', attribute=True, cli_name='dname_rec',ist('dnamerecord?', attribute=True, cli_name='dname_rec', doc='comma-separated list of DNAME records', label='DNAME record', multivalue=True) -option: List('dnskeyrecord?', attribute=True, cli_name='dnskey_rec',ist('dnskeyrecord?', attribute=True, cli_name='dnskey_rec', doc='comma-separated list of DNSKEY records', label='DNSKEY record', multivalue=True) -option: List('dsrecord?', attribute=True, cli_name='ds_rec',ist('dsrecord?', attribute=True, cli_name='ds_rec', doc='comma-separated list of DS records', label='DS record', multivalue=True) -option: List('hiprecord?', attribute=True, cli_name='hip_rec',ist('hiprecord?', attribute=True, cli_name='hip_rec', doc='comma-separated list of HIP records', label='HIP record', multivalue=True) -option: List('ipseckeyrecord?', attribute=True, cli_name='ipseckey_rec',ist('ipseckeyrecord?', attribute=True, cli_name='ipseckey_rec', doc='comma-separated list of IPSECKEY records', label='IPSECKEY record', multivalue=True) -option: List('keyrecord?', attribute=True, cli_name='key_rec',ist('keyrecord?', attribute=True, cli_name='key_rec', doc='comma-separated list of KEY records', label='KEY record', multivalue=True) -option: List('kxrecord?', attribute=True, cli_name='kx_rec',ist('kxrecord?', attribute=True, cli_name='kx_rec', doc='comma-separated list of KX records', label='KX record', multivalue=True) -option: List('locrecord?', attribute=True, cli_name='loc_rec',ist('locrecord?', attribute=True, cli_name='loc_rec', doc='comma-separated list of LOC records', label='LOC record', multivalue=True) -option: List('mxrecord?', _validate_mx, attribute=True, cli_name='mx_rec',ist('mxrecord?', _validate_mx, attribute=True, cli_name='mx_rec', doc='comma-separated list of MX records', label='MX record', multivalue=True) -option: List('naptrrecord?', _validate_naptr, attribute=True, cli_name='naptr_rec',ist('naptrrecord?', _validate_naptr, attribute=True, cli_name='naptr_rec', doc='comma-separated list of NAPTR records', label='NAPTR record', multivalue=True) -option: List('nsrecord?', attribute=True, cli_name='ns_rec',ist('nsrecord?', attribute=True, cli_name='ns_rec', doc='comma-separated list of NS records', label='NS record', multivalue=True) -option: List('nsecrecord?', attribute=True, cli_name='nsec_rec',ist('nsecrecord?', attribute=True, cli_name='nsec_rec', doc='comma-separated list of NSEC records', label='NSEC record', multivalue=True) -option: List('nsec3record?', attribute=True, cli_name='nsec3_rec',ist('nsec3record?', attribute=True, cli_name='nsec3_rec', doc='comma-separated list of NSEC3 records', label='NSEC3 record', multivalue=True) -option: List('nsec3paramrecord?', attribute=True, cli_name='nsec3param_rec',ist('nsec3paramrecord?', attribute=True, cli_name='nsec3param_rec', doc='comma-separated list of NSEC3PARAM records', label='NSEC3PARAM record', multivalue=True) -option: List('ptrrecord?', attribute=True, cli_name='ptr_rec',ist('ptrrecord?', attribute=True, cli_name='ptr_rec', doc='comma-separated list of PTR records', label='PTR record', multivalue=True) -option: List('rrsigrecord?', attribute=True, cli_name='rrsig_rec',ist('rrsigrecord?', attribute=True, cli_name='rrsig_rec', doc='comma-separated list of RRSIG records', label='RRSIG record', multivalue=True) -option: List('rprecord?', attribute=True, cli_name='rp_rec',ist('rprecord?', attribute=True, cli_name='rp_rec', doc='comma-separated list of RP records', label='RP record', multivalue=True) -option: List('sigrecord?', attribute=True, cli_name='sig_rec',ist('sigrecord?', attribute=True, cli_name='sig_rec', doc='comma-separated list of SIG records', label='SIG record', multivalue=True) -option: List('spfrecord?', attribute=True, cli_name='spf_rec',ist('spfrecord?', attribute=True, cli_name='spf_rec', doc='comma-separated list of SPF records', label='SPF record', multivalue=True) -option: List('srvrecord?', _validate_srv, attribute=True, cli_name='srv_rec',ist('srvrecord?', _validate_srv, attribute=True, cli_name='srv_rec', doc='comma-separated list of SRV records', label='SRV record', multivalue=True) -option: List('sshfprecord?', attribute=True, cli_name='sshfp_rec',ist('sshfprecord?', attribute=True, cli_name='sshfp_rec', doc='comma-separated list of SSHFP records', label='SSHFP record', multivalue=True) -option: List('tarecord?', attribute=True, cli_name='ta_rec',ist('tarecord?', attribute=True, cli_name='ta_rec', doc='comma-separated list of TA records', label='TA record', multivalue=True) -option: List('tkeyrecord?', attribute=True, cli_name='tkey_rec',ist('tkeyrecord?', attribute=True, cli_name='tkey_rec', doc='comma-separated list of TKEY records', label='TKEY record', multivalue=True) -option: List('tsigrecord?', attribute=True, cli_name='tsig_rec',ist('tsigrecord?', attribute=True, cli_name='tsig_rec', doc='comma-separated list of TSIG records', label='TSIG record', multivalue=True) -option: List('txtrecord?', attribute=True, cli_name='txt_rec',ist('txtrecord?', attribute=True, cli_name='txt_rec', doc='comma-separated list of TXT records', label='TXT record', multivalue=True) +option: List('arecord?', _validate_ipaddr, attribute=True, cli_name='a_rec', label='A record', multivalue=True) +option: List('aaaarecord?', _validate_ipaddr, attribute=True, cli_name='aaaa_rec', label='AAAA record', multivalue=True) +option: List('a6record?', attribute=True, cli_name='a6_rec', label='A6 record', multivalue=True) +option: List('afsdbrecord?', attribute=True, cli_name='afsdb_rec', label='AFSDB record', multivalue=True) +option: List('aplrecord?', _validate_ipnet, attribute=True, cli_name='apl_rec', label='APL record', multivalue=True) +option: List('certrecord?', attribute=True, cli_name='cert_rec', label='CERT record', multivalue=True) +option: List('cnamerecord?', attribute=True, cli_name='cname_rec', label='CNAME record', multivalue=True) +option: List('dhcidrecord?', attribute=True, cli_name='dhcid_rec', label='DHCID record', multivalue=True) +option: List('dlvrecord?', attribute=True, cli_name='dlv_rec', label='DLV record', multivalue=True) +option: List('dnamerecord?', attribute=True, cli_name='dname_rec', label='DNAME record', multivalue=True) +option: List('dnskeyrecord?', attribute=True, cli_name='dnskey_rec', label='DNSKEY record', multivalue=True) +option: List('dsrecord?', attribute=True, cli_name='ds_rec', label='DS record', multivalue=True) +option: List('hiprecord?', attribute=True, cli_name='hip_rec', label='HIP record', multivalue=True) +option: List('ipseckeyrecord?', attribute=True, cli_name='ipseckey_rec', label='IPSECKEY record', multivalue=True) +option: List('keyrecord?', attribute=True, cli_name='key_rec', label='KEY record', multivalue=True) +option: List('kxrecord?', attribute=True, cli_name='kx_rec', label='KX record', multivalue=True) +option: List('locrecord?', attribute=True, cli_name='loc_rec', label='LOC record', multivalue=True) +option: List('mxrecord?', _validate_mx, attribute=True, cli_name='mx_rec', label='MX record', multivalue=True) +option: List('naptrrecord?', _validate_naptr, attribute=True, cli_name='naptr_rec', label='NAPTR record', multivalue=True) +option: List('nsrecord?', attribute=True, cli_name='ns_rec', label='NS record', multivalue=True) +option: List('nsecrecord?', attribute=True, cli_name='nsec_rec', label='NSEC record', multivalue=True) +option: List('nsec3record?', attribute=True, cli_name='nsec3_rec', label='NSEC3 record', multivalue=True) +option: List('nsec3paramrecord?', attribute=True, cli_name='nsec3param_rec', label='NSEC3PARAM record', multivalue=True) +option: List('ptrrecord?', attribute=True, cli_name='ptr_rec', label='PTR record', multivalue=True) +option: List('rrsigrecord?', attribute=True, cli_name='rrsig_rec', label='RRSIG record', multivalue=True) +option: List('rprecord?', attribute=True, cli_name='rp_rec', label='RP record', multivalue=True) +option: List('sigrecord?', attribute=True, cli_name='sig_rec', label='SIG record', multivalue=True) +option: List('spfrecord?', attribute=True, cli_name='spf_rec', label='SPF record', multivalue=True) +option: List('srvrecord?', _validate_srv, attribute=True, cli_name='srv_rec', label='SRV record', multivalue=True) +option: List('sshfprecord?', attribute=True, cli_name='sshfp_rec', label='SSHFP record', multivalue=True) +option: List('tarecord?', attribute=True, cli_name='ta_rec', label='TA record', multivalue=True) +option: List('tkeyrecord?', attribute=True, cli_name='tkey_rec', label='TKEY record', multivalue=True) +option: List('tsigrecord?', attribute=True, cli_name='tsig_rec', label='TSIG record', multivalue=True) +option: List('txtrecord?', attribute=True, cli_name='txt_rec', label='TXT record', multivalue=True) output: Output('summary', (, ), 'User-friendly description of action performed') output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -541,40 +541,40 @@ arg: Str('idnsname', attribute=True, cli_name='name', label=Gettext('Record name option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('arecord?', _validate_ipaddr, attribute=True, cli_name='a_rec',ist('arecord?', _validate_ipaddr, attribute=True, cli_name='a_rec', doc='comma-separated list of A records', label='A record', multivalue=True) -option: List('aaaarecord?', _validate_ipaddr, attribute=True, cli_name='aaaa_rec',ist('aaaarecord?', _validate_ipaddr, attribute=True, cli_name='aaaa_rec', doc='comma-separated list of AAAA records', label='AAAA record', multivalue=True) -option: List('a6record?', attribute=True, cli_name='a6_rec',ist('a6record?', attribute=True, cli_name='a6_rec', doc='comma-separated list of A6 records', label='A6 record', multivalue=True) -option: List('afsdbrecord?', attribute=True, cli_name='afsdb_rec',ist('afsdbrecord?', attribute=True, cli_name='afsdb_rec', doc='comma-separated list of AFSDB records', label='AFSDB record', multivalue=True) -option: List('aplrecord?', _validate_ipnet, attribute=True, cli_name='apl_rec',ist('aplrecord?', _validate_ipnet, attribute=True, cli_name='apl_rec', doc='comma-separated list of APL records', label='APL record', multivalue=True) -option: List('certrecord?', attribute=True, cli_name='cert_rec',ist('certrecord?', attribute=True, cli_name='cert_rec', doc='comma-separated list of CERT records', label='CERT record', multivalue=True) -option: List('cnamerecord?', attribute=True, cli_name='cname_rec',ist('cnamerecord?', attribute=True, cli_name='cname_rec', doc='comma-separated list of CNAME records', label='CNAME record', multivalue=True) -option: List('dhcidrecord?', attribute=True, cli_name='dhcid_rec',ist('dhcidrecord?', attribute=True, cli_name='dhcid_rec', doc='comma-separated list of DHCID records', label='DHCID record', multivalue=True) -option: List('dlvrecord?', attribute=True, cli_name='dlv_rec',ist('dlvrecord?', attribute=True, cli_name='dlv_rec', doc='comma-separated list of DLV records', label='DLV record', multivalue=True) -option: List('dnamerecord?', attribute=True, cli_name='dname_rec',ist('dnamerecord?', attribute=True, cli_name='dname_rec', doc='comma-separated list of DNAME records', label='DNAME record', multivalue=True) -option: List('dnskeyrecord?', attribute=True, cli_name='dnskey_rec',ist('dnskeyrecord?', attribute=True, cli_name='dnskey_rec', doc='comma-separated list of DNSKEY records', label='DNSKEY record', multivalue=True) -option: List('dsrecord?', attribute=True, cli_name='ds_rec',ist('dsrecord?', attribute=True, cli_name='ds_rec', doc='comma-separated list of DS records', label='DS record', multivalue=True) -option: List('hiprecord?', attribute=True, cli_name='hip_rec',ist('hiprecord?', attribute=True, cli_name='hip_rec', doc='comma-separated list of HIP records', label='HIP record', multivalue=True) -option: List('ipseckeyrecord?', attribute=True, cli_name='ipseckey_rec',ist('ipseckeyrecord?', attribute=True, cli_name='ipseckey_rec', doc='comma-separated list of IPSECKEY records', label='IPSECKEY record', multivalue=True) -option: List('keyrecord?', attribute=True, cli_name='key_rec',ist('keyrecord?', attribute=True, cli_name='key_rec', doc='comma-separated list of KEY records', label='KEY record', multivalue=True) -option: List('kxrecord?', attribute=True, cli_name='kx_rec',ist('kxrecord?', attribute=True, cli_name='kx_rec', doc='comma-separated list of KX records', label='KX record', multivalue=True) -option: List('locrecord?', attribute=True, cli_name='loc_rec',ist('locrecord?', attribute=True, cli_name='loc_rec', doc='comma-separated list of LOC records', label='LOC record', multivalue=True) -option: List('mxrecord?', _validate_mx, attribute=True, cli_name='mx_rec',ist('mxrecord?', _validate_mx, attribute=True, cli_name='mx_rec', doc='comma-separated list of MX records', label='MX record', multivalue=True) -option: List('naptrrecord?', _validate_naptr, attribute=True, cli_name='naptr_rec',ist('naptrrecord?', _validate_naptr, attribute=True, cli_name='naptr_rec', doc='comma-separated list of NAPTR records', label='NAPTR record', multivalue=True) -option: List('nsrecord?', attribute=True, cli_name='ns_rec',ist('nsrecord?', attribute=True, cli_name='ns_rec', doc='comma-separated list of NS records', label='NS record', multivalue=True) -option: List('nsecrecord?', attribute=True, cli_name='nsec_rec',ist('nsecrecord?', attribute=True, cli_name='nsec_rec', doc='comma-separated list of NSEC records', label='NSEC record', multivalue=True) -option: List('nsec3record?', attribute=True, cli_name='nsec3_rec',ist('nsec3record?', attribute=True, cli_name='nsec3_rec', doc='comma-separated list of NSEC3 records', label='NSEC3 record', multivalue=True) -option: List('nsec3paramrecord?', attribute=True, cli_name='nsec3param_rec',ist('nsec3paramrecord?', attribute=True, cli_name='nsec3param_rec', doc='comma-separated list of NSEC3PARAM records', label='NSEC3PARAM record', multivalue=True) -option: List('ptrrecord?', attribute=True, cli_name='ptr_rec',ist('ptrrecord?', attribute=True, cli_name='ptr_rec', doc='comma-separated list of PTR records', label='PTR record', multivalue=True) -option: List('rrsigrecord?', attribute=True, cli_name='rrsig_rec',ist('rrsigrecord?', attribute=True, cli_name='rrsig_rec', doc='comma-separated list of RRSIG records', label='RRSIG record', multivalue=True) -option: List('rprecord?', attribute=True, cli_name='rp_rec',ist('rprecord?', attribute=True, cli_name='rp_rec', doc='comma-separated list of RP records', label='RP record', multivalue=True) -option: List('sigrecord?', attribute=True, cli_name='sig_rec',ist('sigrecord?', attribute=True, cli_name='sig_rec', doc='comma-separated list of SIG records', label='SIG record', multivalue=True) -option: List('spfrecord?', attribute=True, cli_name='spf_rec',ist('spfrecord?', attribute=True, cli_name='spf_rec', doc='comma-separated list of SPF records', label='SPF record', multivalue=True) -option: List('srvrecord?', _validate_srv, attribute=True, cli_name='srv_rec',ist('srvrecord?', _validate_srv, attribute=True, cli_name='srv_rec', doc='comma-separated list of SRV records', label='SRV record', multivalue=True) -option: List('sshfprecord?', attribute=True, cli_name='sshfp_rec',ist('sshfprecord?', attribute=True, cli_name='sshfp_rec', doc='comma-separated list of SSHFP records', label='SSHFP record', multivalue=True) -option: List('tarecord?', attribute=True, cli_name='ta_rec',ist('tarecord?', attribute=True, cli_name='ta_rec', doc='comma-separated list of TA records', label='TA record', multivalue=True) -option: List('tkeyrecord?', attribute=True, cli_name='tkey_rec',ist('tkeyrecord?', attribute=True, cli_name='tkey_rec', doc='comma-separated list of TKEY records', label='TKEY record', multivalue=True) -option: List('tsigrecord?', attribute=True, cli_name='tsig_rec',ist('tsigrecord?', attribute=True, cli_name='tsig_rec', doc='comma-separated list of TSIG records', label='TSIG record', multivalue=True) -option: List('txtrecord?', attribute=True, cli_name='txt_rec',ist('txtrecord?', attribute=True, cli_name='txt_rec', doc='comma-separated list of TXT records', label='TXT record', multivalue=True) +option: List('arecord?', _validate_ipaddr, attribute=True, cli_name='a_rec', label='A record', multivalue=True) +option: List('aaaarecord?', _validate_ipaddr, attribute=True, cli_name='aaaa_rec', label='AAAA record', multivalue=True) +option: List('a6record?', attribute=True, cli_name='a6_rec', label='A6 record', multivalue=True) +option: List('afsdbrecord?', attribute=True, cli_name='afsdb_rec', label='AFSDB record', multivalue=True) +option: List('aplrecord?', _validate_ipnet, attribute=True, cli_name='apl_rec', label='APL record', multivalue=True) +option: List('certrecord?', attribute=True, cli_name='cert_rec', label='CERT record', multivalue=True) +option: List('cnamerecord?', attribute=True, cli_name='cname_rec', label='CNAME record', multivalue=True) +option: List('dhcidrecord?', attribute=True, cli_name='dhcid_rec', label='DHCID record', multivalue=True) +option: List('dlvrecord?', attribute=True, cli_name='dlv_rec', label='DLV record', multivalue=True) +option: List('dnamerecord?', attribute=True, cli_name='dname_rec', label='DNAME record', multivalue=True) +option: List('dnskeyrecord?', attribute=True, cli_name='dnskey_rec', label='DNSKEY record', multivalue=True) +option: List('dsrecord?', attribute=True, cli_name='ds_rec', label='DS record', multivalue=True) +option: List('hiprecord?', attribute=True, cli_name='hip_rec', label='HIP record', multivalue=True) +option: List('ipseckeyrecord?', attribute=True, cli_name='ipseckey_rec', label='IPSECKEY record', multivalue=True) +option: List('keyrecord?', attribute=True, cli_name='key_rec', label='KEY record', multivalue=True) +option: List('kxrecord?', attribute=True, cli_name='kx_rec', label='KX record', multivalue=True) +option: List('locrecord?', attribute=True, cli_name='loc_rec', label='LOC record', multivalue=True) +option: List('mxrecord?', _validate_mx, attribute=True, cli_name='mx_rec', label='MX record', multivalue=True) +option: List('naptrrecord?', _validate_naptr, attribute=True, cli_name='naptr_rec', label='NAPTR record', multivalue=True) +option: List('nsrecord?', attribute=True, cli_name='ns_rec', label='NS record', multivalue=True) +option: List('nsecrecord?', attribute=True, cli_name='nsec_rec', label='NSEC record', multivalue=True) +option: List('nsec3record?', attribute=True, cli_name='nsec3_rec', label='NSEC3 record', multivalue=True) +option: List('nsec3paramrecord?', attribute=True, cli_name='nsec3param_rec', label='NSEC3PARAM record', multivalue=True) +option: List('ptrrecord?', attribute=True, cli_name='ptr_rec', label='PTR record', multivalue=True) +option: List('rrsigrecord?', attribute=True, cli_name='rrsig_rec', label='RRSIG record', multivalue=True) +option: List('rprecord?', attribute=True, cli_name='rp_rec', label='RP record', multivalue=True) +option: List('sigrecord?', attribute=True, cli_name='sig_rec', label='SIG record', multivalue=True) +option: List('spfrecord?', attribute=True, cli_name='spf_rec', label='SPF record', multivalue=True) +option: List('srvrecord?', _validate_srv, attribute=True, cli_name='srv_rec', label='SRV record', multivalue=True) +option: List('sshfprecord?', attribute=True, cli_name='sshfp_rec', label='SSHFP record', multivalue=True) +option: List('tarecord?', attribute=True, cli_name='ta_rec', label='TA record', multivalue=True) +option: List('tkeyrecord?', attribute=True, cli_name='tkey_rec', label='TKEY record', multivalue=True) +option: List('tsigrecord?', attribute=True, cli_name='tsig_rec', label='TSIG record', multivalue=True) +option: List('txtrecord?', attribute=True, cli_name='txt_rec', label='TXT record', multivalue=True) output: Output('summary', (, ), 'User-friendly description of action performed') output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -586,40 +586,40 @@ option: Flag('del_all', autofill=True, default=False, label=Gettext('Delete all option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('arecord?', _validate_ipaddr, attribute=True, cli_name='a_rec',ist('arecord?', _validate_ipaddr, attribute=True, cli_name='a_rec', doc='comma-separated list of A records', label='A record', multivalue=True) -option: List('aaaarecord?', _validate_ipaddr, attribute=True, cli_name='aaaa_rec',ist('aaaarecord?', _validate_ipaddr, attribute=True, cli_name='aaaa_rec', doc='comma-separated list of AAAA records', label='AAAA record', multivalue=True) -option: List('a6record?', attribute=True, cli_name='a6_rec',ist('a6record?', attribute=True, cli_name='a6_rec', doc='comma-separated list of A6 records', label='A6 record', multivalue=True) -option: List('afsdbrecord?', attribute=True, cli_name='afsdb_rec',ist('afsdbrecord?', attribute=True, cli_name='afsdb_rec', doc='comma-separated list of AFSDB records', label='AFSDB record', multivalue=True) -option: List('aplrecord?', _validate_ipnet, attribute=True, cli_name='apl_rec',ist('aplrecord?', _validate_ipnet, attribute=True, cli_name='apl_rec', doc='comma-separated list of APL records', label='APL record', multivalue=True) -option: List('certrecord?', attribute=True, cli_name='cert_rec',ist('certrecord?', attribute=True, cli_name='cert_rec', doc='comma-separated list of CERT records', label='CERT record', multivalue=True) -option: List('cnamerecord?', attribute=True, cli_name='cname_rec',ist('cnamerecord?', attribute=True, cli_name='cname_rec', doc='comma-separated list of CNAME records', label='CNAME record', multivalue=True) -option: List('dhcidrecord?', attribute=True, cli_name='dhcid_rec',ist('dhcidrecord?', attribute=True, cli_name='dhcid_rec', doc='comma-separated list of DHCID records', label='DHCID record', multivalue=True) -option: List('dlvrecord?', attribute=True, cli_name='dlv_rec',ist('dlvrecord?', attribute=True, cli_name='dlv_rec', doc='comma-separated list of DLV records', label='DLV record', multivalue=True) -option: List('dnamerecord?', attribute=True, cli_name='dname_rec',ist('dnamerecord?', attribute=True, cli_name='dname_rec', doc='comma-separated list of DNAME records', label='DNAME record', multivalue=True) -option: List('dnskeyrecord?', attribute=True, cli_name='dnskey_rec',ist('dnskeyrecord?', attribute=True, cli_name='dnskey_rec', doc='comma-separated list of DNSKEY records', label='DNSKEY record', multivalue=True) -option: List('dsrecord?', attribute=True, cli_name='ds_rec',ist('dsrecord?', attribute=True, cli_name='ds_rec', doc='comma-separated list of DS records', label='DS record', multivalue=True) -option: List('hiprecord?', attribute=True, cli_name='hip_rec',ist('hiprecord?', attribute=True, cli_name='hip_rec', doc='comma-separated list of HIP records', label='HIP record', multivalue=True) -option: List('ipseckeyrecord?', attribute=True, cli_name='ipseckey_rec',ist('ipseckeyrecord?', attribute=True, cli_name='ipseckey_rec', doc='comma-separated list of IPSECKEY records', label='IPSECKEY record', multivalue=True) -option: List('keyrecord?', attribute=True, cli_name='key_rec',ist('keyrecord?', attribute=True, cli_name='key_rec', doc='comma-separated list of KEY records', label='KEY record', multivalue=True) -option: List('kxrecord?', attribute=True, cli_name='kx_rec',ist('kxrecord?', attribute=True, cli_name='kx_rec', doc='comma-separated list of KX records', label='KX record', multivalue=True) -option: List('locrecord?', attribute=True, cli_name='loc_rec',ist('locrecord?', attribute=True, cli_name='loc_rec', doc='comma-separated list of LOC records', label='LOC record', multivalue=True) -option: List('mxrecord?', _validate_mx, attribute=True, cli_name='mx_rec',ist('mxrecord?', _validate_mx, attribute=True, cli_name='mx_rec', doc='comma-separated list of MX records', label='MX record', multivalue=True) -option: List('naptrrecord?', _validate_naptr, attribute=True, cli_name='naptr_rec',ist('naptrrecord?', _validate_naptr, attribute=True, cli_name='naptr_rec', doc='comma-separated list of NAPTR records', label='NAPTR record', multivalue=True) -option: List('nsrecord?', attribute=True, cli_name='ns_rec',ist('nsrecord?', attribute=True, cli_name='ns_rec', doc='comma-separated list of NS records', label='NS record', multivalue=True) -option: List('nsecrecord?', attribute=True, cli_name='nsec_rec',ist('nsecrecord?', attribute=True, cli_name='nsec_rec', doc='comma-separated list of NSEC records', label='NSEC record', multivalue=True) -option: List('nsec3record?', attribute=True, cli_name='nsec3_rec',ist('nsec3record?', attribute=True, cli_name='nsec3_rec', doc='comma-separated list of NSEC3 records', label='NSEC3 record', multivalue=True) -option: List('nsec3paramrecord?', attribute=True, cli_name='nsec3param_rec',ist('nsec3paramrecord?', attribute=True, cli_name='nsec3param_rec', doc='comma-separated list of NSEC3PARAM records', label='NSEC3PARAM record', multivalue=True) -option: List('ptrrecord?', attribute=True, cli_name='ptr_rec',ist('ptrrecord?', attribute=True, cli_name='ptr_rec', doc='comma-separated list of PTR records', label='PTR record', multivalue=True) -option: List('rrsigrecord?', attribute=True, cli_name='rrsig_rec',ist('rrsigrecord?', attribute=True, cli_name='rrsig_rec', doc='comma-separated list of RRSIG records', label='RRSIG record', multivalue=True) -option: List('rprecord?', attribute=True, cli_name='rp_rec',ist('rprecord?', attribute=True, cli_name='rp_rec', doc='comma-separated list of RP records', label='RP record', multivalue=True) -option: List('sigrecord?', attribute=True, cli_name='sig_rec',ist('sigrecord?', attribute=True, cli_name='sig_rec', doc='comma-separated list of SIG records', label='SIG record', multivalue=True) -option: List('spfrecord?', attribute=True, cli_name='spf_rec',ist('spfrecord?', attribute=True, cli_name='spf_rec', doc='comma-separated list of SPF records', label='SPF record', multivalue=True) -option: List('srvrecord?', _validate_srv, attribute=True, cli_name='srv_rec',ist('srvrecord?', _validate_srv, attribute=True, cli_name='srv_rec', doc='comma-separated list of SRV records', label='SRV record', multivalue=True) -option: List('sshfprecord?', attribute=True, cli_name='sshfp_rec',ist('sshfprecord?', attribute=True, cli_name='sshfp_rec', doc='comma-separated list of SSHFP records', label='SSHFP record', multivalue=True) -option: List('tarecord?', attribute=True, cli_name='ta_rec',ist('tarecord?', attribute=True, cli_name='ta_rec', doc='comma-separated list of TA records', label='TA record', multivalue=True) -option: List('tkeyrecord?', attribute=True, cli_name='tkey_rec',ist('tkeyrecord?', attribute=True, cli_name='tkey_rec', doc='comma-separated list of TKEY records', label='TKEY record', multivalue=True) -option: List('tsigrecord?', attribute=True, cli_name='tsig_rec',ist('tsigrecord?', attribute=True, cli_name='tsig_rec', doc='comma-separated list of TSIG records', label='TSIG record', multivalue=True) -option: List('txtrecord?', attribute=True, cli_name='txt_rec',ist('txtrecord?', attribute=True, cli_name='txt_rec', doc='comma-separated list of TXT records', label='TXT record', multivalue=True) +option: List('arecord?', _validate_ipaddr, attribute=True, cli_name='a_rec', label='A record', multivalue=True) +option: List('aaaarecord?', _validate_ipaddr, attribute=True, cli_name='aaaa_rec', label='AAAA record', multivalue=True) +option: List('a6record?', attribute=True, cli_name='a6_rec', label='A6 record', multivalue=True) +option: List('afsdbrecord?', attribute=True, cli_name='afsdb_rec', label='AFSDB record', multivalue=True) +option: List('aplrecord?', _validate_ipnet, attribute=True, cli_name='apl_rec', label='APL record', multivalue=True) +option: List('certrecord?', attribute=True, cli_name='cert_rec', label='CERT record', multivalue=True) +option: List('cnamerecord?', attribute=True, cli_name='cname_rec', label='CNAME record', multivalue=True) +option: List('dhcidrecord?', attribute=True, cli_name='dhcid_rec', label='DHCID record', multivalue=True) +option: List('dlvrecord?', attribute=True, cli_name='dlv_rec', label='DLV record', multivalue=True) +option: List('dnamerecord?', attribute=True, cli_name='dname_rec', label='DNAME record', multivalue=True) +option: List('dnskeyrecord?', attribute=True, cli_name='dnskey_rec', label='DNSKEY record', multivalue=True) +option: List('dsrecord?', attribute=True, cli_name='ds_rec', label='DS record', multivalue=True) +option: List('hiprecord?', attribute=True, cli_name='hip_rec', label='HIP record', multivalue=True) +option: List('ipseckeyrecord?', attribute=True, cli_name='ipseckey_rec', label='IPSECKEY record', multivalue=True) +option: List('keyrecord?', attribute=True, cli_name='key_rec', label='KEY record', multivalue=True) +option: List('kxrecord?', attribute=True, cli_name='kx_rec', label='KX record', multivalue=True) +option: List('locrecord?', attribute=True, cli_name='loc_rec', label='LOC record', multivalue=True) +option: List('mxrecord?', _validate_mx, attribute=True, cli_name='mx_rec', label='MX record', multivalue=True) +option: List('naptrrecord?', _validate_naptr, attribute=True, cli_name='naptr_rec', label='NAPTR record', multivalue=True) +option: List('nsrecord?', attribute=True, cli_name='ns_rec', label='NS record', multivalue=True) +option: List('nsecrecord?', attribute=True, cli_name='nsec_rec', label='NSEC record', multivalue=True) +option: List('nsec3record?', attribute=True, cli_name='nsec3_rec', label='NSEC3 record', multivalue=True) +option: List('nsec3paramrecord?', attribute=True, cli_name='nsec3param_rec', label='NSEC3PARAM record', multivalue=True) +option: List('ptrrecord?', attribute=True, cli_name='ptr_rec', label='PTR record', multivalue=True) +option: List('rrsigrecord?', attribute=True, cli_name='rrsig_rec', label='RRSIG record', multivalue=True) +option: List('rprecord?', attribute=True, cli_name='rp_rec', label='RP record', multivalue=True) +option: List('sigrecord?', attribute=True, cli_name='sig_rec', label='SIG record', multivalue=True) +option: List('spfrecord?', attribute=True, cli_name='spf_rec', label='SPF record', multivalue=True) +option: List('srvrecord?', _validate_srv, attribute=True, cli_name='srv_rec', label='SRV record', multivalue=True) +option: List('sshfprecord?', attribute=True, cli_name='sshfp_rec', label='SSHFP record', multivalue=True) +option: List('tarecord?', attribute=True, cli_name='ta_rec', label='TA record', multivalue=True) +option: List('tkeyrecord?', attribute=True, cli_name='tkey_rec', label='TKEY record', multivalue=True) +option: List('tsigrecord?', attribute=True, cli_name='tsig_rec', label='TSIG record', multivalue=True) +option: List('txtrecord?', attribute=True, cli_name='txt_rec', label='TXT record', multivalue=True) output: Output('summary', (, ), 'User-friendly description of action performed') output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -627,7 +627,7 @@ command: dnsrecord_delentry args: 2,1,3 arg: Str('dnszoneidnsname', cli_name='dnszone', label=Gettext('Zone name', domain='ipa', localedir=None), query=True, required=True) arg: Str('idnsname', attribute=True, cli_name='name', label=Gettext('Record name', domain='ipa', localedir=None), multivalue=True, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -643,40 +643,40 @@ option: Int('sizelimit?', autofill=False, flags=['no_display'], label=Gettext('S option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('arecord', _validate_ipaddr, attribute=True, cli_name='a_rec',ist('arecord', _validate_ipaddr, attribute=True, cli_name='a_rec', doc='comma-separated list of A records', label='A record', multivalue=True, query=True, required=False) -option: List('aaaarecord', _validate_ipaddr, attribute=True, cli_name='aaaa_rec',ist('aaaarecord', _validate_ipaddr, attribute=True, cli_name='aaaa_rec', doc='comma-separated list of AAAA records', label='AAAA record', multivalue=True, query=True, required=False) -option: List('a6record', attribute=True, cli_name='a6_rec',ist('a6record', attribute=True, cli_name='a6_rec', doc='comma-separated list of A6 records', label='A6 record', multivalue=True, query=True, required=False) -option: List('afsdbrecord', attribute=True, cli_name='afsdb_rec',ist('afsdbrecord', attribute=True, cli_name='afsdb_rec', doc='comma-separated list of AFSDB records', label='AFSDB record', multivalue=True, query=True, required=False) -option: List('aplrecord', _validate_ipnet, attribute=True, cli_name='apl_rec',ist('aplrecord', _validate_ipnet, attribute=True, cli_name='apl_rec', doc='comma-separated list of APL records', label='APL record', multivalue=True, query=True, required=False) -option: List('certrecord', attribute=True, cli_name='cert_rec',ist('certrecord', attribute=True, cli_name='cert_rec', doc='comma-separated list of CERT records', label='CERT record', multivalue=True, query=True, required=False) -option: List('cnamerecord', attribute=True, cli_name='cname_rec',ist('cnamerecord', attribute=True, cli_name='cname_rec', doc='comma-separated list of CNAME records', label='CNAME record', multivalue=True, query=True, required=False) -option: List('dhcidrecord', attribute=True, cli_name='dhcid_rec',ist('dhcidrecord', attribute=True, cli_name='dhcid_rec', doc='comma-separated list of DHCID records', label='DHCID record', multivalue=True, query=True, required=False) -option: List('dlvrecord', attribute=True, cli_name='dlv_rec',ist('dlvrecord', attribute=True, cli_name='dlv_rec', doc='comma-separated list of DLV records', label='DLV record', multivalue=True, query=True, required=False) -option: List('dnamerecord', attribute=True, cli_name='dname_rec',ist('dnamerecord', attribute=True, cli_name='dname_rec', doc='comma-separated list of DNAME records', label='DNAME record', multivalue=True, query=True, required=False) -option: List('dnskeyrecord', attribute=True, cli_name='dnskey_rec',ist('dnskeyrecord', attribute=True, cli_name='dnskey_rec', doc='comma-separated list of DNSKEY records', label='DNSKEY record', multivalue=True, query=True, required=False) -option: List('dsrecord', attribute=True, cli_name='ds_rec',ist('dsrecord', attribute=True, cli_name='ds_rec', doc='comma-separated list of DS records', label='DS record', multivalue=True, query=True, required=False) -option: List('hiprecord', attribute=True, cli_name='hip_rec',ist('hiprecord', attribute=True, cli_name='hip_rec', doc='comma-separated list of HIP records', label='HIP record', multivalue=True, query=True, required=False) -option: List('ipseckeyrecord', attribute=True, cli_name='ipseckey_rec',ist('ipseckeyrecord', attribute=True, cli_name='ipseckey_rec', doc='comma-separated list of IPSECKEY records', label='IPSECKEY record', multivalue=True, query=True, required=False) -option: List('keyrecord', attribute=True, cli_name='key_rec',ist('keyrecord', attribute=True, cli_name='key_rec', doc='comma-separated list of KEY records', label='KEY record', multivalue=True, query=True, required=False) -option: List('kxrecord', attribute=True, cli_name='kx_rec',ist('kxrecord', attribute=True, cli_name='kx_rec', doc='comma-separated list of KX records', label='KX record', multivalue=True, query=True, required=False) -option: List('locrecord', attribute=True, cli_name='loc_rec',ist('locrecord', attribute=True, cli_name='loc_rec', doc='comma-separated list of LOC records', label='LOC record', multivalue=True, query=True, required=False) -option: List('mxrecord', _validate_mx, attribute=True, cli_name='mx_rec',ist('mxrecord', _validate_mx, attribute=True, cli_name='mx_rec', doc='comma-separated list of MX records', label='MX record', multivalue=True, query=True, required=False) -option: List('naptrrecord', _validate_naptr, attribute=True, cli_name='naptr_rec',ist('naptrrecord', _validate_naptr, attribute=True, cli_name='naptr_rec', doc='comma-separated list of NAPTR records', label='NAPTR record', multivalue=True, query=True, required=False) -option: List('nsrecord', attribute=True, cli_name='ns_rec',ist('nsrecord', attribute=True, cli_name='ns_rec', doc='comma-separated list of NS records', label='NS record', multivalue=True, query=True, required=False) -option: List('nsecrecord', attribute=True, cli_name='nsec_rec',ist('nsecrecord', attribute=True, cli_name='nsec_rec', doc='comma-separated list of NSEC records', label='NSEC record', multivalue=True, query=True, required=False) -option: List('nsec3record', attribute=True, cli_name='nsec3_rec',ist('nsec3record', attribute=True, cli_name='nsec3_rec', doc='comma-separated list of NSEC3 records', label='NSEC3 record', multivalue=True, query=True, required=False) -option: List('nsec3paramrecord', attribute=True, cli_name='nsec3param_rec',ist('nsec3paramrecord', attribute=True, cli_name='nsec3param_rec', doc='comma-separated list of NSEC3PARAM records', label='NSEC3PARAM record', multivalue=True, query=True, required=False) -option: List('ptrrecord', attribute=True, cli_name='ptr_rec',ist('ptrrecord', attribute=True, cli_name='ptr_rec', doc='comma-separated list of PTR records', label='PTR record', multivalue=True, query=True, required=False) -option: List('rrsigrecord', attribute=True, cli_name='rrsig_rec',ist('rrsigrecord', attribute=True, cli_name='rrsig_rec', doc='comma-separated list of RRSIG records', label='RRSIG record', multivalue=True, query=True, required=False) -option: List('rprecord', attribute=True, cli_name='rp_rec',ist('rprecord', attribute=True, cli_name='rp_rec', doc='comma-separated list of RP records', label='RP record', multivalue=True, query=True, required=False) -option: List('sigrecord', attribute=True, cli_name='sig_rec',ist('sigrecord', attribute=True, cli_name='sig_rec', doc='comma-separated list of SIG records', label='SIG record', multivalue=True, query=True, required=False) -option: List('spfrecord', attribute=True, cli_name='spf_rec',ist('spfrecord', attribute=True, cli_name='spf_rec', doc='comma-separated list of SPF records', label='SPF record', multivalue=True, query=True, required=False) -option: List('srvrecord', _validate_srv, attribute=True, cli_name='srv_rec',ist('srvrecord', _validate_srv, attribute=True, cli_name='srv_rec', doc='comma-separated list of SRV records', label='SRV record', multivalue=True, query=True, required=False) -option: List('sshfprecord', attribute=True, cli_name='sshfp_rec',ist('sshfprecord', attribute=True, cli_name='sshfp_rec', doc='comma-separated list of SSHFP records', label='SSHFP record', multivalue=True, query=True, required=False) -option: List('tarecord', attribute=True, cli_name='ta_rec',ist('tarecord', attribute=True, cli_name='ta_rec', doc='comma-separated list of TA records', label='TA record', multivalue=True, query=True, required=False) -option: List('tkeyrecord', attribute=True, cli_name='tkey_rec',ist('tkeyrecord', attribute=True, cli_name='tkey_rec', doc='comma-separated list of TKEY records', label='TKEY record', multivalue=True, query=True, required=False) -option: List('tsigrecord', attribute=True, cli_name='tsig_rec',ist('tsigrecord', attribute=True, cli_name='tsig_rec', doc='comma-separated list of TSIG records', label='TSIG record', multivalue=True, query=True, required=False) -option: List('txtrecord', attribute=True, cli_name='txt_rec',ist('txtrecord', attribute=True, cli_name='txt_rec', doc='comma-separated list of TXT records', label='TXT record', multivalue=True, query=True, required=False) +option: List('arecord', _validate_ipaddr, attribute=True, cli_name='a_rec', label='A record', multivalue=True, query=True, required=False) +option: List('aaaarecord', _validate_ipaddr, attribute=True, cli_name='aaaa_rec', label='AAAA record', multivalue=True, query=True, required=False) +option: List('a6record', attribute=True, cli_name='a6_rec', label='A6 record', multivalue=True, query=True, required=False) +option: List('afsdbrecord', attribute=True, cli_name='afsdb_rec', label='AFSDB record', multivalue=True, query=True, required=False) +option: List('aplrecord', _validate_ipnet, attribute=True, cli_name='apl_rec', label='APL record', multivalue=True, query=True, required=False) +option: List('certrecord', attribute=True, cli_name='cert_rec', label='CERT record', multivalue=True, query=True, required=False) +option: List('cnamerecord', attribute=True, cli_name='cname_rec', label='CNAME record', multivalue=True, query=True, required=False) +option: List('dhcidrecord', attribute=True, cli_name='dhcid_rec', label='DHCID record', multivalue=True, query=True, required=False) +option: List('dlvrecord', attribute=True, cli_name='dlv_rec', label='DLV record', multivalue=True, query=True, required=False) +option: List('dnamerecord', attribute=True, cli_name='dname_rec', label='DNAME record', multivalue=True, query=True, required=False) +option: List('dnskeyrecord', attribute=True, cli_name='dnskey_rec', label='DNSKEY record', multivalue=True, query=True, required=False) +option: List('dsrecord', attribute=True, cli_name='ds_rec', label='DS record', multivalue=True, query=True, required=False) +option: List('hiprecord', attribute=True, cli_name='hip_rec', label='HIP record', multivalue=True, query=True, required=False) +option: List('ipseckeyrecord', attribute=True, cli_name='ipseckey_rec', label='IPSECKEY record', multivalue=True, query=True, required=False) +option: List('keyrecord', attribute=True, cli_name='key_rec', label='KEY record', multivalue=True, query=True, required=False) +option: List('kxrecord', attribute=True, cli_name='kx_rec', label='KX record', multivalue=True, query=True, required=False) +option: List('locrecord', attribute=True, cli_name='loc_rec', label='LOC record', multivalue=True, query=True, required=False) +option: List('mxrecord', _validate_mx, attribute=True, cli_name='mx_rec', label='MX record', multivalue=True, query=True, required=False) +option: List('naptrrecord', _validate_naptr, attribute=True, cli_name='naptr_rec', label='NAPTR record', multivalue=True, query=True, required=False) +option: List('nsrecord', attribute=True, cli_name='ns_rec', label='NS record', multivalue=True, query=True, required=False) +option: List('nsecrecord', attribute=True, cli_name='nsec_rec', label='NSEC record', multivalue=True, query=True, required=False) +option: List('nsec3record', attribute=True, cli_name='nsec3_rec', label='NSEC3 record', multivalue=True, query=True, required=False) +option: List('nsec3paramrecord', attribute=True, cli_name='nsec3param_rec', label='NSEC3PARAM record', multivalue=True, query=True, required=False) +option: List('ptrrecord', attribute=True, cli_name='ptr_rec', label='PTR record', multivalue=True, query=True, required=False) +option: List('rrsigrecord', attribute=True, cli_name='rrsig_rec', label='RRSIG record', multivalue=True, query=True, required=False) +option: List('rprecord', attribute=True, cli_name='rp_rec', label='RP record', multivalue=True, query=True, required=False) +option: List('sigrecord', attribute=True, cli_name='sig_rec', label='SIG record', multivalue=True, query=True, required=False) +option: List('spfrecord', attribute=True, cli_name='spf_rec', label='SPF record', multivalue=True, query=True, required=False) +option: List('srvrecord', _validate_srv, attribute=True, cli_name='srv_rec', label='SRV record', multivalue=True, query=True, required=False) +option: List('sshfprecord', attribute=True, cli_name='sshfp_rec', label='SSHFP record', multivalue=True, query=True, required=False) +option: List('tarecord', attribute=True, cli_name='ta_rec', label='TA record', multivalue=True, query=True, required=False) +option: List('tkeyrecord', attribute=True, cli_name='tkey_rec', label='TKEY record', multivalue=True, query=True, required=False) +option: List('tsigrecord', attribute=True, cli_name='tsig_rec', label='TSIG record', multivalue=True, query=True, required=False) +option: List('txtrecord', attribute=True, cli_name='txt_rec', label='TXT record', multivalue=True, query=True, required=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: ListOfEntries('result', (, ), Gettext('A list of LDAP entries', domain='ipa', localedir=None)) output: Output('count', , 'Number of entries returned') @@ -708,8 +708,8 @@ option: Str('idnsupdatepolicy', attribute=True, cli_name='update_policy', label= option: Flag('idnsallowdynupdate', attribute=True, autofill=True, cli_name='allow_dynupdate', default=False, label=Gettext('Dynamic update', domain='ipa', localedir=None), multivalue=False, required=True) option: Str('addattr*', validate_add_attribute, cli_name='addattr', exclude='webui') option: Str('setattr*', validate_set_attribute, cli_name='setattr', exclude='webui') -option: Flag('force', autofill=True, default=False,lag('force', autofill=True, default=False, doc=Gettext('Force DNS zone creation even if nameserver not in DNS.', domain='ipa', localedir=None)) -option: Str('ip_address?', _validate_ipaddr,tr('ip_address?', _validate_ipaddr, doc=Gettext('Add the nameserver to DNS with this IP address', domain='ipa', localedir=None)) +option: Flag('force', autofill=True, default=False) +option: Str('ip_address?', _validate_ipaddr) option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) @@ -719,7 +719,7 @@ output: Output('value', , "The primary_key value of the entry, e command: dnszone_del args: 1,1,3 arg: Str('idnsname', attribute=True, cli_name='name', label=Gettext('Zone name', domain='ipa', localedir=None), multivalue=True, normalizer=, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -859,7 +859,7 @@ output: Output('value', , "The primary_key value of the entry, e command: env args: 1,2,4 arg: Str('variables*') -option: Flag('server?', autofill=True, default=False,lag('server?', autofill=True, default=False, doc=Gettext('Forward to server instead of running locally', domain='ipa', localedir=None)) +option: Flag('server?', autofill=True, default=False) option: Flag('all', autofill=True, cli_name='all', default=True, exclude='webui', flags=['no_output']) output: Output('result', , Gettext('Dictionary mapping variable name to value', domain='ipa', localedir=None)) output: Output('total', , Gettext('Total number of variables env (>= count)', domain='ipa', localedir=None)) @@ -872,7 +872,7 @@ option: Str('description', attribute=True, cli_name='desc', label=Gettext('Descr option: Int('gidnumber', attribute=True, cli_name='gid', label=Gettext('GID', domain='ipa', localedir=None), multivalue=False, required=False) option: Str('addattr*', validate_add_attribute, cli_name='addattr', exclude='webui') option: Str('setattr*', validate_set_attribute, cli_name='setattr', exclude='webui') -option: Flag('nonposix', autofill=True, cli_name='nonposix', default=False,lag('nonposix', autofill=True, cli_name='nonposix', default=False, doc=Gettext('Create as a non-POSIX group', domain='ipa', localedir=None)) +option: Flag('nonposix', autofill=True, cli_name='nonposix', default=False) option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) @@ -885,15 +885,15 @@ arg: Str('cn', attribute=True, cli_name='group_name', label=Gettext('Group name' option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', alwaysask=True, cli_name='users',ist('user?', alwaysask=True, cli_name='users', doc='comma-separated list of users to add', label='user', multivalue=True) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to add', label='group', multivalue=True) +option: List('user?', alwaysask=True, cli_name='users', label='user', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) command: group_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='group_name', label=Gettext('Group name', domain='ipa', localedir=None), maxlength=255, multivalue=True, normalizer=, pattern='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$', pattern_errmsg='may only include letters, numbers, _, -, . and $', primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -911,20 +911,20 @@ option: Str('description', attribute=True, autofill=False, cli_name='desc', labe option: Int('gidnumber', attribute=True, autofill=False, cli_name='gid', label=Gettext('GID', domain='ipa', localedir=None), multivalue=False, query=True, required=False) option: Int('timelimit?', autofill=False, flags=['no_display'], label=Gettext('Time Limit', domain='ipa', localedir=None), minvalue=0) option: Int('sizelimit?', autofill=False, flags=['no_display'], label=Gettext('Size Limit', domain='ipa', localedir=None), minvalue=0) -option: Flag('private', autofill=True, cli_name='private', default=False,lag('private', autofill=True, cli_name='private', default=False, doc=Gettext('search for private groups', domain='ipa', localedir=None)) +option: Flag('private', autofill=True, cli_name='private', default=False) option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', cli_name='users',ist('user?', cli_name='users', doc='Search for groups with these member users.', label='user', multivalue=True) -option: List('no_user?', cli_name='no_users',ist('no_user?', cli_name='no_users', doc='Search for groups without these member users.', label='user', multivalue=True) -option: List('group?', cli_name='groups',ist('group?', cli_name='groups', doc='Search for groups with these member groups.', label='group', multivalue=True) -option: List('no_group?', cli_name='no_groups',ist('no_group?', cli_name='no_groups', doc='Search for groups without these member groups.', label='group', multivalue=True) -option: List('in_group?', cli_name='in_groups',ist('in_group?', cli_name='in_groups', doc='Search for groups with these member of groups.', label='group', multivalue=True) -option: List('not_in_group?', cli_name='not_in_groups',ist('not_in_group?', cli_name='not_in_groups', doc='Search for groups without these member of groups.', label='group', multivalue=True) -option: List('in_netgroup?', cli_name='in_netgroups',ist('in_netgroup?', cli_name='in_netgroups', doc='Search for groups with these member of netgroups.', label='netgroup', multivalue=True) -option: List('not_in_netgroup?', cli_name='not_in_netgroups',ist('not_in_netgroup?', cli_name='not_in_netgroups', doc='Search for groups without these member of netgroups.', label='netgroup', multivalue=True) -option: List('in_role?', cli_name='in_roles',ist('in_role?', cli_name='in_roles', doc='Search for groups with these member of roles.', label='role', multivalue=True) -option: List('not_in_role?', cli_name='not_in_roles',ist('not_in_role?', cli_name='not_in_roles', doc='Search for groups without these member of roles.', label='role', multivalue=True) +option: List('user?', cli_name='users', label='user', multivalue=True) +option: List('no_user?', cli_name='no_users', label='user', multivalue=True) +option: List('group?', cli_name='groups', label='group', multivalue=True) +option: List('no_group?', cli_name='no_groups', label='group', multivalue=True) +option: List('in_group?', cli_name='in_groups', label='group', multivalue=True) +option: List('not_in_group?', cli_name='not_in_groups', label='group', multivalue=True) +option: List('in_netgroup?', cli_name='in_netgroups', label='netgroup', multivalue=True) +option: List('not_in_netgroup?', cli_name='not_in_netgroups', label='netgroup', multivalue=True) +option: List('in_role?', cli_name='in_roles', label='role', multivalue=True) +option: List('not_in_role?', cli_name='not_in_roles', label='role', multivalue=True) output: Output('summary', (, ), 'User-friendly description of action performed') output: ListOfEntries('result', (, ), Gettext('A list of LDAP entries', domain='ipa', localedir=None)) output: Output('count', , 'Number of entries returned') @@ -937,11 +937,11 @@ option: Int('gidnumber', attribute=True, autofill=False, cli_name='gid', label=G option: Str('addattr*', validate_add_attribute, cli_name='addattr', exclude='webui') option: Str('setattr*', validate_set_attribute, cli_name='setattr', exclude='webui') option: Flag('rights', autofill=True, default=False, label=Gettext('Rights', domain='ipa', localedir=None)) -option: Flag('posix', autofill=True, cli_name='posix', default=False,lag('posix', autofill=True, cli_name='posix', default=False, doc=Gettext('change to a POSIX group', domain='ipa', localedir=None)) +option: Flag('posix', autofill=True, cli_name='posix', default=False) option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: Str('rename', cli_name='rename', maxlength=255, multivalue=False, normalizer=, pattern='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$', pattern_errmsg='may only include letters, numbers, _, -, . and $', primary_key=True, required=False) +option: Str('rename', cli_name='rename', label=Gettext('Rename', domain='ipa', localedir=None), maxlength=255, multivalue=False, normalizer=, pattern='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$', pattern_errmsg='may only include letters, numbers, _, -, . and $', primary_key=True, required=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -951,8 +951,8 @@ arg: Str('cn', attribute=True, cli_name='group_name', label=Gettext('Group name' option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', alwaysask=True, cli_name='users',ist('user?', alwaysask=True, cli_name='users', doc='comma-separated list of users to remove', label='user', multivalue=True) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to remove', label='group', multivalue=True) +option: List('user?', alwaysask=True, cli_name='users', label='user', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -989,8 +989,8 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Rule name', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to add', label='host', multivalue=True) -option: List('hostgroup?', alwaysask=True, cli_name='hostgroups',ist('hostgroup?', alwaysask=True, cli_name='hostgroups', doc='comma-separated list of hostgroups to add', label='hostgroup', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) +option: List('hostgroup?', alwaysask=True, cli_name='hostgroups', label='hostgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) @@ -1000,8 +1000,8 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Rule name', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('hbacsvc?', alwaysask=True, cli_name='hbacsvcs',ist('hbacsvc?', alwaysask=True, cli_name='hbacsvcs', doc='comma-separated list of hbacsvcs to add', label='hbacsvc', multivalue=True) -option: List('hbacsvcgroup?', alwaysask=True, cli_name='hbacsvcgroups',ist('hbacsvcgroup?', alwaysask=True, cli_name='hbacsvcgroups', doc='comma-separated list of hbacsvcgroups to add', label='hbacsvcgroup', multivalue=True) +option: List('hbacsvc?', alwaysask=True, cli_name='hbacsvcs', label='hbacsvc', multivalue=True) +option: List('hbacsvcgroup?', alwaysask=True, cli_name='hbacsvcgroups', label='hbacsvcgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) @@ -1011,8 +1011,8 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Rule name', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to add', label='host', multivalue=True) -option: List('hostgroup?', alwaysask=True, cli_name='hostgroups',ist('hostgroup?', alwaysask=True, cli_name='hostgroups', doc='comma-separated list of hostgroups to add', label='hostgroup', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) +option: List('hostgroup?', alwaysask=True, cli_name='hostgroups', label='hostgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) @@ -1022,15 +1022,15 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Rule name', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', alwaysask=True, cli_name='users',ist('user?', alwaysask=True, cli_name='users', doc='comma-separated list of users to add', label='user', multivalue=True) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to add', label='group', multivalue=True) +option: List('user?', alwaysask=True, cli_name='users', label='user', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) command: hbacrule_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Rule name', domain='ipa', localedir=None), multivalue=True, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -1089,8 +1089,8 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Rule name', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to remove', label='host', multivalue=True) -option: List('hostgroup?', alwaysask=True, cli_name='hostgroups',ist('hostgroup?', alwaysask=True, cli_name='hostgroups', doc='comma-separated list of hostgroups to remove', label='hostgroup', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) +option: List('hostgroup?', alwaysask=True, cli_name='hostgroups', label='hostgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -1100,8 +1100,8 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Rule name', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('hbacsvc?', alwaysask=True, cli_name='hbacsvcs',ist('hbacsvc?', alwaysask=True, cli_name='hbacsvcs', doc='comma-separated list of hbacsvcs to remove', label='hbacsvc', multivalue=True) -option: List('hbacsvcgroup?', alwaysask=True, cli_name='hbacsvcgroups',ist('hbacsvcgroup?', alwaysask=True, cli_name='hbacsvcgroups', doc='comma-separated list of hbacsvcgroups to remove', label='hbacsvcgroup', multivalue=True) +option: List('hbacsvc?', alwaysask=True, cli_name='hbacsvcs', label='hbacsvc', multivalue=True) +option: List('hbacsvcgroup?', alwaysask=True, cli_name='hbacsvcgroups', label='hbacsvcgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -1111,8 +1111,8 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Rule name', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to remove', label='host', multivalue=True) -option: List('hostgroup?', alwaysask=True, cli_name='hostgroups',ist('hostgroup?', alwaysask=True, cli_name='hostgroups', doc='comma-separated list of hostgroups to remove', label='hostgroup', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) +option: List('hostgroup?', alwaysask=True, cli_name='hostgroups', label='hostgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -1122,8 +1122,8 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Rule name', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', alwaysask=True, cli_name='users',ist('user?', alwaysask=True, cli_name='users', doc='comma-separated list of users to remove', label='user', multivalue=True) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to remove', label='group', multivalue=True) +option: List('user?', alwaysask=True, cli_name='users', label='user', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -1152,7 +1152,7 @@ output: Output('value', , "The primary_key value of the entry, e command: hbacsvc_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='service', label=Gettext('Service name', domain='ipa', localedir=None), multivalue=True, normalizer=, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -1211,14 +1211,14 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Service group nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('hbacsvc?', alwaysask=True, cli_name='hbacsvcs',ist('hbacsvc?', alwaysask=True, cli_name='hbacsvcs', doc='comma-separated list of hbacsvcs to add', label='hbacsvc', multivalue=True) +option: List('hbacsvc?', alwaysask=True, cli_name='hbacsvcs', label='hbacsvc', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) command: hbacsvcgroup_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Service group name', domain='ipa', localedir=None), multivalue=True, normalizer=, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -1255,7 +1255,7 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Service group nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('hbacsvc?', alwaysask=True, cli_name='hbacsvcs',ist('hbacsvc?', alwaysask=True, cli_name='hbacsvcs', doc='comma-separated list of hbacsvcs to remove', label='hbacsvc', multivalue=True) +option: List('hbacsvc?', alwaysask=True, cli_name='hbacsvcs', label='hbacsvc', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -1281,8 +1281,8 @@ option: Str('userpassword', attribute=True, cli_name='password', label=Gettext(' option: Flag('random', attribute=True, autofill=True, cli_name='random', default=False, flags=['no_search'], label=FixMe('random'), multivalue=False, required=False) option: Bytes('usercertificate', validate_certificate, attribute=True, cli_name='certificate', label=Gettext('Certificate', domain='ipa', localedir=None), multivalue=False, required=False) option: Flag('force', autofill=True, default=False, label=Gettext('Force', domain='ipa', localedir=None)) -option: Flag('no_reverse', autofill=True, default=False,lag('no_reverse', autofill=True, default=False, doc=Gettext('skip reverse DNS detection', domain='ipa', localedir=None)) -option: Str('ip_address?', validate_ipaddr,tr('ip_address?', validate_ipaddr, doc=Gettext('Add the host to DNS with this IP address', domain='ipa', localedir=None)) +option: Flag('no_reverse', autofill=True, default=False) +option: Str('ip_address?', validate_ipaddr) option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) @@ -1295,14 +1295,14 @@ arg: Str('fqdn', validate_host, attribute=True, cli_name='hostname', label=Gette option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to add', label='host', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) command: host_del args: 1,1,3 arg: Str('fqdn', validate_host, attribute=True, cli_name='hostname', label=Gettext('Host name', domain='ipa', localedir=None), multivalue=True, normalizer=, primary_key=True, query=True, required=True) -option: Flag('updatedns?', autofill=True, default=False,lag('updatedns?', autofill=True, default=False, doc=Gettext('Remove entries from DNS', domain='ipa', localedir=None)) +option: Flag('updatedns?', autofill=True, default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -1328,16 +1328,16 @@ option: Int('sizelimit?', autofill=False, flags=['no_display'], label=Gettext('S option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('in_hostgroup?', cli_name='in_hostgroups',ist('in_hostgroup?', cli_name='in_hostgroups', doc='Search for hosts with these member of hostgroups.', label='hostgroup', multivalue=True) -option: List('not_in_hostgroup?', cli_name='not_in_hostgroups',ist('not_in_hostgroup?', cli_name='not_in_hostgroups', doc='Search for hosts without these member of hostgroups.', label='hostgroup', multivalue=True) -option: List('in_netgroup?', cli_name='in_netgroups',ist('in_netgroup?', cli_name='in_netgroups', doc='Search for hosts with these member of netgroups.', label='netgroup', multivalue=True) -option: List('not_in_netgroup?', cli_name='not_in_netgroups',ist('not_in_netgroup?', cli_name='not_in_netgroups', doc='Search for hosts without these member of netgroups.', label='netgroup', multivalue=True) -option: List('in_role?', cli_name='in_roles',ist('in_role?', cli_name='in_roles', doc='Search for hosts with these member of roles.', label='role', multivalue=True) -option: List('not_in_role?', cli_name='not_in_roles',ist('not_in_role?', cli_name='not_in_roles', doc='Search for hosts without these member of roles.', label='role', multivalue=True) -option: List('enroll_by_user?', cli_name='enroll_by_users',ist('enroll_by_user?', cli_name='enroll_by_users', doc='Search for hosts with these enrolled by users.', label='user', multivalue=True) -option: List('not_enroll_by_user?', cli_name='not_enroll_by_users',ist('not_enroll_by_user?', cli_name='not_enroll_by_users', doc='Search for hosts without these enrolled by users.', label='user', multivalue=True) -option: List('man_by_host?', cli_name='man_by_hosts',ist('man_by_host?', cli_name='man_by_hosts', doc='Search for hosts with these managed by hosts.', label='host', multivalue=True) -option: List('not_man_by_host?', cli_name='not_man_by_hosts',ist('not_man_by_host?', cli_name='not_man_by_hosts', doc='Search for hosts without these managed by hosts.', label='host', multivalue=True) +option: List('in_hostgroup?', cli_name='in_hostgroups', label='hostgroup', multivalue=True) +option: List('not_in_hostgroup?', cli_name='not_in_hostgroups', label='hostgroup', multivalue=True) +option: List('in_netgroup?', cli_name='in_netgroups', label='netgroup', multivalue=True) +option: List('not_in_netgroup?', cli_name='not_in_netgroups', label='netgroup', multivalue=True) +option: List('in_role?', cli_name='in_roles', label='role', multivalue=True) +option: List('not_in_role?', cli_name='not_in_roles', label='role', multivalue=True) +option: List('enroll_by_user?', cli_name='enroll_by_users', label='user', multivalue=True) +option: List('not_enroll_by_user?', cli_name='not_enroll_by_users', label='user', multivalue=True) +option: List('man_by_host?', cli_name='man_by_hosts', label='host', multivalue=True) +option: List('not_man_by_host?', cli_name='not_man_by_hosts', label='host', multivalue=True) output: Output('summary', (, ), 'User-friendly description of action performed') output: ListOfEntries('result', (, ), Gettext('A list of LDAP entries', domain='ipa', localedir=None)) output: Output('count', , 'Number of entries returned') @@ -1369,7 +1369,7 @@ arg: Str('fqdn', validate_host, attribute=True, cli_name='hostname', label=Gette option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to remove', label='host', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -1377,7 +1377,7 @@ command: host_show args: 1,5,3 arg: Str('fqdn', validate_host, attribute=True, cli_name='hostname', label=Gettext('Host name', domain='ipa', localedir=None), multivalue=False, normalizer=, primary_key=True, query=True, required=True) option: Flag('rights', autofill=True, default=False, label=Gettext('Rights', domain='ipa', localedir=None)) -option: Str('out?',tr('out?', doc=Gettext('file to store certificate in', domain='ipa', localedir=None)) +option: Str('out?') option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) @@ -1402,15 +1402,15 @@ arg: Str('cn', attribute=True, cli_name='hostgroup_name', label=Gettext('Host-gr option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to add', label='host', multivalue=True) -option: List('hostgroup?', alwaysask=True, cli_name='hostgroups',ist('hostgroup?', alwaysask=True, cli_name='hostgroups', doc='comma-separated list of hostgroups to add', label='hostgroup', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) +option: List('hostgroup?', alwaysask=True, cli_name='hostgroups', label='hostgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) command: hostgroup_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='hostgroup_name', label=Gettext('Host-group', domain='ipa', localedir=None), multivalue=True, normalizer=, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -1424,12 +1424,12 @@ option: Int('sizelimit?', autofill=False, flags=['no_display'], label=Gettext('S option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', cli_name='hosts',ist('host?', cli_name='hosts', doc='Search for hostgroups with these member hosts.', label='host', multivalue=True) -option: List('no_host?', cli_name='no_hosts',ist('no_host?', cli_name='no_hosts', doc='Search for hostgroups without these member hosts.', label='host', multivalue=True) -option: List('hostgroup?', cli_name='hostgroups',ist('hostgroup?', cli_name='hostgroups', doc='Search for hostgroups with these member hostgroups.', label='hostgroup', multivalue=True) -option: List('no_hostgroup?', cli_name='no_hostgroups',ist('no_hostgroup?', cli_name='no_hostgroups', doc='Search for hostgroups without these member hostgroups.', label='hostgroup', multivalue=True) -option: List('in_hostgroup?', cli_name='in_hostgroups',ist('in_hostgroup?', cli_name='in_hostgroups', doc='Search for hostgroups with these member of hostgroups.', label='hostgroup', multivalue=True) -option: List('not_in_hostgroup?', cli_name='not_in_hostgroups',ist('not_in_hostgroup?', cli_name='not_in_hostgroups', doc='Search for hostgroups without these member of hostgroups.', label='hostgroup', multivalue=True) +option: List('host?', cli_name='hosts', label='host', multivalue=True) +option: List('no_host?', cli_name='no_hosts', label='host', multivalue=True) +option: List('hostgroup?', cli_name='hostgroups', label='hostgroup', multivalue=True) +option: List('no_hostgroup?', cli_name='no_hostgroups', label='hostgroup', multivalue=True) +option: List('in_hostgroup?', cli_name='in_hostgroups', label='hostgroup', multivalue=True) +option: List('not_in_hostgroup?', cli_name='not_in_hostgroups', label='hostgroup', multivalue=True) output: Output('summary', (, ), 'User-friendly description of action performed') output: ListOfEntries('result', (, ), Gettext('A list of LDAP entries', domain='ipa', localedir=None)) output: Output('count', , 'Number of entries returned') @@ -1453,8 +1453,8 @@ arg: Str('cn', attribute=True, cli_name='hostgroup_name', label=Gettext('Host-gr option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to remove', label='host', multivalue=True) -option: List('hostgroup?', alwaysask=True, cli_name='hostgroups',ist('hostgroup?', alwaysask=True, cli_name='hostgroups', doc='comma-separated list of hostgroups to remove', label='hostgroup', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) +option: List('hostgroup?', alwaysask=True, cli_name='hostgroups', label='hostgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -1473,8 +1473,8 @@ args: 0,0,1 output: Output('messages', , Gettext('Dict of I18N messages', domain='ipa', localedir=None)) command: json_metadata args: 2,0,2 -arg: Str('objname?',tr('objname?', doc=Gettext('Name of object to export', domain='ipa', localedir=None)) -arg: Str('methodname?',tr('methodname?', doc=Gettext('Name of method to export', domain='ipa', localedir=None)) +arg: Str('objname?') +arg: Str('methodname?') output: Output('objects', , Gettext('Dict of JSON encoded IPA Objects', domain='ipa', localedir=None)) output: Output('methods', , Gettext('Dict of JSON encoded IPA Methods', domain='ipa', localedir=None)) command: krbtpolicy_mod @@ -1520,7 +1520,7 @@ option: Str('groupcontainer?', autofill=True, cli_name='group_container', defaul option: List('userobjectclass?', autofill=True, cli_name='user_objectclass', default=(u'person',), label=Gettext('User object class', domain='ipa', localedir=None), multivalue=True) option: List('groupobjectclass?', autofill=True, cli_name='group_objectclass', default=(u'groupOfUniqueNames', u'groupOfNames'), label=Gettext('Group object class', domain='ipa', localedir=None), multivalue=True) option: StrEnum('schema?', autofill=True, cli_name='schema', default=u'RFC2307bis', label=Gettext('LDAP schema', domain='ipa', localedir=None), values=(u'RFC2307bis', u'RFC2307')) -option: Flag('continue?', autofill=True, default=False,lag('continue?', autofill=True, default=False, doc=Gettext('Continuous operation mode. Errors are reported but the process continues', domain='ipa', localedir=None)) +option: Flag('continue?', autofill=True, default=False) option: List('exclude_groups?', autofill=True, cli_name='exclude_groups', default=(), multivalue=True) option: List('exclude_users?', autofill=True, cli_name='exclude_users', default=(), multivalue=True) output: Output('result', , Gettext('Lists of objects migrated; categorized by type.', domain='ipa', localedir=None)) @@ -1547,18 +1547,18 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Netgroup name', d option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', alwaysask=True, cli_name='users',ist('user?', alwaysask=True, cli_name='users', doc='comma-separated list of users to add', label='user', multivalue=True) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to add', label='group', multivalue=True) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to add', label='host', multivalue=True) -option: List('hostgroup?', alwaysask=True, cli_name='hostgroups',ist('hostgroup?', alwaysask=True, cli_name='hostgroups', doc='comma-separated list of hostgroups to add', label='hostgroup', multivalue=True) -option: List('netgroup?', alwaysask=True, cli_name='netgroups',ist('netgroup?', alwaysask=True, cli_name='netgroups', doc='comma-separated list of netgroups to add', label='netgroup', multivalue=True) +option: List('user?', alwaysask=True, cli_name='users', label='user', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) +option: List('hostgroup?', alwaysask=True, cli_name='hostgroups', label='hostgroup', multivalue=True) +option: List('netgroup?', alwaysask=True, cli_name='netgroups', label='netgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) command: netgroup_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Netgroup name', domain='ipa', localedir=None), multivalue=True, normalizer=, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -1573,22 +1573,22 @@ option: StrEnum('usercategory', attribute=True, autofill=False, cli_name='userca option: StrEnum('hostcategory', attribute=True, autofill=False, cli_name='hostcat', label=Gettext('Host category', domain='ipa', localedir=None), multivalue=False, query=True, required=False, values=(u'all',)) option: Int('timelimit?', autofill=False, flags=['no_display'], label=Gettext('Time Limit', domain='ipa', localedir=None), minvalue=0) option: Int('sizelimit?', autofill=False, flags=['no_display'], label=Gettext('Size Limit', domain='ipa', localedir=None), minvalue=0) -option: Flag('private', autofill=True, cli_name='private', default=False,lag('private', autofill=True, cli_name='private', default=False, doc=Gettext('search for private groups', domain='ipa', localedir=None)) +option: Flag('private', autofill=True, cli_name='private', default=False) option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('netgroup?', cli_name='netgroups',ist('netgroup?', cli_name='netgroups', doc='Search for netgroups with these member netgroups.', label='netgroup', multivalue=True) -option: List('no_netgroup?', cli_name='no_netgroups',ist('no_netgroup?', cli_name='no_netgroups', doc='Search for netgroups without these member netgroups.', label='netgroup', multivalue=True) -option: List('user?', cli_name='users',ist('user?', cli_name='users', doc='Search for netgroups with these member users.', label='user', multivalue=True) -option: List('no_user?', cli_name='no_users',ist('no_user?', cli_name='no_users', doc='Search for netgroups without these member users.', label='user', multivalue=True) -option: List('group?', cli_name='groups',ist('group?', cli_name='groups', doc='Search for netgroups with these member groups.', label='group', multivalue=True) -option: List('no_group?', cli_name='no_groups',ist('no_group?', cli_name='no_groups', doc='Search for netgroups without these member groups.', label='group', multivalue=True) -option: List('host?', cli_name='hosts',ist('host?', cli_name='hosts', doc='Search for netgroups with these member hosts.', label='host', multivalue=True) -option: List('no_host?', cli_name='no_hosts',ist('no_host?', cli_name='no_hosts', doc='Search for netgroups without these member hosts.', label='host', multivalue=True) -option: List('hostgroup?', cli_name='hostgroups',ist('hostgroup?', cli_name='hostgroups', doc='Search for netgroups with these member hostgroups.', label='hostgroup', multivalue=True) -option: List('no_hostgroup?', cli_name='no_hostgroups',ist('no_hostgroup?', cli_name='no_hostgroups', doc='Search for netgroups without these member hostgroups.', label='hostgroup', multivalue=True) -option: List('in_netgroup?', cli_name='in_netgroups',ist('in_netgroup?', cli_name='in_netgroups', doc='Search for netgroups with these member of netgroups.', label='netgroup', multivalue=True) -option: List('not_in_netgroup?', cli_name='not_in_netgroups',ist('not_in_netgroup?', cli_name='not_in_netgroups', doc='Search for netgroups without these member of netgroups.', label='netgroup', multivalue=True) +option: List('netgroup?', cli_name='netgroups', label='netgroup', multivalue=True) +option: List('no_netgroup?', cli_name='no_netgroups', label='netgroup', multivalue=True) +option: List('user?', cli_name='users', label='user', multivalue=True) +option: List('no_user?', cli_name='no_users', label='user', multivalue=True) +option: List('group?', cli_name='groups', label='group', multivalue=True) +option: List('no_group?', cli_name='no_groups', label='group', multivalue=True) +option: List('host?', cli_name='hosts', label='host', multivalue=True) +option: List('no_host?', cli_name='no_hosts', label='host', multivalue=True) +option: List('hostgroup?', cli_name='hostgroups', label='hostgroup', multivalue=True) +option: List('no_hostgroup?', cli_name='no_hostgroups', label='hostgroup', multivalue=True) +option: List('in_netgroup?', cli_name='in_netgroups', label='netgroup', multivalue=True) +option: List('not_in_netgroup?', cli_name='not_in_netgroups', label='netgroup', multivalue=True) output: Output('summary', (, ), 'User-friendly description of action performed') output: ListOfEntries('result', (, ), Gettext('A list of LDAP entries', domain='ipa', localedir=None)) output: Output('count', , 'Number of entries returned') @@ -1615,11 +1615,11 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Netgroup name', d option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', alwaysask=True, cli_name='users',ist('user?', alwaysask=True, cli_name='users', doc='comma-separated list of users to remove', label='user', multivalue=True) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to remove', label='group', multivalue=True) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to remove', label='host', multivalue=True) -option: List('hostgroup?', alwaysask=True, cli_name='hostgroups',ist('hostgroup?', alwaysask=True, cli_name='hostgroups', doc='comma-separated list of hostgroups to remove', label='hostgroup', multivalue=True) -option: List('netgroup?', alwaysask=True, cli_name='netgroups',ist('netgroup?', alwaysask=True, cli_name='netgroups', doc='comma-separated list of netgroups to remove', label='netgroup', multivalue=True) +option: List('user?', alwaysask=True, cli_name='users', label='user', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) +option: List('hostgroup?', alwaysask=True, cli_name='hostgroups', label='hostgroup', multivalue=True) +option: List('netgroup?', alwaysask=True, cli_name='netgroups', label='netgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -1664,14 +1664,14 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Permission name', option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('privilege?', alwaysask=True, cli_name='privileges',ist('privilege?', alwaysask=True, cli_name='privileges', doc='comma-separated list of privileges to add', label='privilege', multivalue=True) +option: List('privilege?', alwaysask=True, cli_name='privileges', label='privilege', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) command: permission_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Permission name', domain='ipa', localedir=None), multivalue=True, normalizer=, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -1711,7 +1711,7 @@ option: Flag('rights', autofill=True, default=False, label=Gettext('Rights', dom option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: Str('rename', cli_name='rename', multivalue=False, normalizer=, primary_key=True, required=False) +option: Str('rename', cli_name='rename', label=Gettext('Rename', domain='ipa', localedir=None), multivalue=False, normalizer=, primary_key=True, required=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -1721,7 +1721,7 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Permission name', option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('privilege?', alwaysask=True, cli_name='privileges',ist('privilege?', alwaysask=True, cli_name='privileges', doc='comma-separated list of privileges to remove', label='privilege', multivalue=True) +option: List('privilege?', alwaysask=True, cli_name='privileges', label='privilege', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -1744,7 +1744,7 @@ arg: Str('action', valid_arg) output: Output('result', None, None) command: plugins args: 0,2,3 -option: Flag('server?', autofill=True, default=False,lag('server?', autofill=True, default=False, doc=Gettext('Forward to server instead of running locally', domain='ipa', localedir=None)) +option: Flag('server?', autofill=True, default=False) option: Flag('all', autofill=True, cli_name='all', default=True, exclude='webui', flags=['no_output']) output: Output('result', , 'Dictionary mapping plugin names to bases') output: Output('count', , Gettext('Number of plugins loaded', domain='ipa', localedir=None)) @@ -1767,7 +1767,7 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Privilege name', option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('role?', alwaysask=True, cli_name='roles',ist('role?', alwaysask=True, cli_name='roles', doc='comma-separated list of roles to add', label='role', multivalue=True) +option: List('role?', alwaysask=True, cli_name='roles', label='role', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) @@ -1777,14 +1777,14 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Privilege name', option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('permission?', cli_name='permissions',ist('permission?', cli_name='permissions', doc='comma-separated list of permissions', label='permission', multivalue=True) +option: List('permission?', cli_name='permissions', label='permission', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of permissions added', domain='ipa', localedir=None)) command: privilege_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Privilege name', domain='ipa', localedir=None), multivalue=True, normalizer=, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -1812,7 +1812,7 @@ option: Flag('rights', autofill=True, default=False, label=Gettext('Rights', dom option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: Str('rename', cli_name='rename', multivalue=False, normalizer=, primary_key=True, required=False) +option: Str('rename', cli_name='rename', label=Gettext('Rename', domain='ipa', localedir=None), multivalue=False, normalizer=, primary_key=True, required=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -1822,7 +1822,7 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Privilege name', option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('role?', alwaysask=True, cli_name='roles',ist('role?', alwaysask=True, cli_name='roles', doc='comma-separated list of roles to remove', label='role', multivalue=True) +option: List('role?', alwaysask=True, cli_name='roles', label='role', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -1832,7 +1832,7 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Privilege name', option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('permission?', cli_name='permissions',ist('permission?', cli_name='permissions', doc='comma-separated list of permissions', label='permission', multivalue=True) +option: List('permission?', cli_name='permissions', label='permission', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of permissions removed', domain='ipa', localedir=None)) @@ -1854,7 +1854,7 @@ option: Int('krbminpwdlife', attribute=True, cli_name='minlife', label=Gettext(' option: Int('krbpwdhistorylength', attribute=True, cli_name='history', label=Gettext('History size', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=False) option: Int('krbpwdmindiffchars', attribute=True, cli_name='minclasses', label=Gettext('Character classes', domain='ipa', localedir=None), maxvalue=5, minvalue=0, multivalue=False, required=False) option: Int('krbpwdminlength', attribute=True, cli_name='minlength', label=Gettext('Min length', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=False) -option: Int('cospriority', attribute=True, cli_name='priority', label=Gettext('Priority', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=True) +option: Int('cospriority', attribute=True, cli_name='priority'('Priority of the policy (higher number means lower priority', domain='ipa', localedir=None), label=Gettext('Priority', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=True) option: Int('krbpwdmaxfailure', attribute=True, cli_name='maxfail', label=Gettext('Max failures', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=False) option: Int('krbpwdfailurecountinterval', attribute=True, cli_name='failinterval', label=Gettext('Failure reset interval', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=False) option: Int('krbpwdlockoutduration', attribute=True, cli_name='lockouttime', label=Gettext('Lockout duration', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=False) @@ -1869,7 +1869,7 @@ output: Output('value', , "The primary_key value of the entry, e command: pwpolicy_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='group', label=Gettext('Group', domain='ipa', localedir=None), multivalue=True, primary_key=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -1882,7 +1882,7 @@ option: Int('krbminpwdlife', attribute=True, autofill=False, cli_name='minlife', option: Int('krbpwdhistorylength', attribute=True, autofill=False, cli_name='history', label=Gettext('History size', domain='ipa', localedir=None), minvalue=0, multivalue=False, query=True, required=False) option: Int('krbpwdmindiffchars', attribute=True, autofill=False, cli_name='minclasses', label=Gettext('Character classes', domain='ipa', localedir=None), maxvalue=5, minvalue=0, multivalue=False, query=True, required=False) option: Int('krbpwdminlength', attribute=True, autofill=False, cli_name='minlength', label=Gettext('Min length', domain='ipa', localedir=None), minvalue=0, multivalue=False, query=True, required=False) -option: Int('cospriority', attribute=True, autofill=False, cli_name='priority', label=Gettext('Priority', domain='ipa', localedir=None), minvalue=0, multivalue=False, query=True, required=False) +option: Int('cospriority', attribute=True, autofill=False, cli_name='priority'('Priority of the policy (higher number means lower priority', domain='ipa', localedir=None), label=Gettext('Priority', domain='ipa', localedir=None), minvalue=0, multivalue=False, query=True, required=False) option: Int('krbpwdmaxfailure', attribute=True, autofill=False, cli_name='maxfail', label=Gettext('Max failures', domain='ipa', localedir=None), minvalue=0, multivalue=False, query=True, required=False) option: Int('krbpwdfailurecountinterval', attribute=True, autofill=False, cli_name='failinterval', label=Gettext('Failure reset interval', domain='ipa', localedir=None), minvalue=0, multivalue=False, query=True, required=False) option: Int('krbpwdlockoutduration', attribute=True, autofill=False, cli_name='lockouttime', label=Gettext('Lockout duration', domain='ipa', localedir=None), minvalue=0, multivalue=False, query=True, required=False) @@ -1903,7 +1903,7 @@ option: Int('krbminpwdlife', attribute=True, autofill=False, cli_name='minlife', option: Int('krbpwdhistorylength', attribute=True, autofill=False, cli_name='history', label=Gettext('History size', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=False) option: Int('krbpwdmindiffchars', attribute=True, autofill=False, cli_name='minclasses', label=Gettext('Character classes', domain='ipa', localedir=None), maxvalue=5, minvalue=0, multivalue=False, required=False) option: Int('krbpwdminlength', attribute=True, autofill=False, cli_name='minlength', label=Gettext('Min length', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=False) -option: Int('cospriority', attribute=True, autofill=False, cli_name='priority', label=Gettext('Priority', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=False) +option: Int('cospriority', attribute=True, autofill=False, cli_name='priority'('Priority of the policy (higher number means lower priority', domain='ipa', localedir=None), label=Gettext('Priority', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=False) option: Int('krbpwdmaxfailure', attribute=True, autofill=False, cli_name='maxfail', label=Gettext('Max failures', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=False) option: Int('krbpwdfailurecountinterval', attribute=True, autofill=False, cli_name='failinterval', label=Gettext('Failure reset interval', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=False) option: Int('krbpwdlockoutduration', attribute=True, autofill=False, cli_name='lockouttime', label=Gettext('Lockout duration', domain='ipa', localedir=None), minvalue=0, multivalue=False, required=False) @@ -1945,10 +1945,10 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Role name', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', alwaysask=True, cli_name='users',ist('user?', alwaysask=True, cli_name='users', doc='comma-separated list of users to add', label='user', multivalue=True) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to add', label='group', multivalue=True) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to add', label='host', multivalue=True) -option: List('hostgroup?', alwaysask=True, cli_name='hostgroups',ist('hostgroup?', alwaysask=True, cli_name='hostgroups', doc='comma-separated list of hostgroups to add', label='hostgroup', multivalue=True) +option: List('user?', alwaysask=True, cli_name='users', label='user', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) +option: List('hostgroup?', alwaysask=True, cli_name='hostgroups', label='hostgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) @@ -1958,14 +1958,14 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Role name', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('privilege?', cli_name='privileges',ist('privilege?', cli_name='privileges', doc='comma-separated list of privileges', label='privilege', multivalue=True) +option: List('privilege?', cli_name='privileges', label='privilege', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of privileges added', domain='ipa', localedir=None)) command: role_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Role name', domain='ipa', localedir=None), multivalue=True, normalizer=, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -1993,7 +1993,7 @@ option: Flag('rights', autofill=True, default=False, label=Gettext('Rights', dom option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: Str('rename', cli_name='rename', multivalue=False, normalizer=, primary_key=True, required=False) +option: Str('rename', cli_name='rename', label=Gettext('Rename', domain='ipa', localedir=None), multivalue=False, normalizer=, primary_key=True, required=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -2003,10 +2003,10 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Role name', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', alwaysask=True, cli_name='users',ist('user?', alwaysask=True, cli_name='users', doc='comma-separated list of users to remove', label='user', multivalue=True) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to remove', label='group', multivalue=True) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to remove', label='host', multivalue=True) -option: List('hostgroup?', alwaysask=True, cli_name='hostgroups',ist('hostgroup?', alwaysask=True, cli_name='hostgroups', doc='comma-separated list of hostgroups to remove', label='hostgroup', multivalue=True) +option: List('user?', alwaysask=True, cli_name='users', label='user', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) +option: List('hostgroup?', alwaysask=True, cli_name='hostgroups', label='hostgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -2016,7 +2016,7 @@ arg: Str('cn', attribute=True, cli_name='name', label=Gettext('Role name', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('privilege?', cli_name='privileges',ist('privilege?', cli_name='privileges', doc='comma-separated list of privileges', label='privilege', multivalue=True) +option: List('privilege?', cli_name='privileges', label='privilege', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of privileges removed', domain='ipa', localedir=None)) @@ -2097,14 +2097,14 @@ arg: Str('krbprincipalname', validate_principal, attribute=True, cli_name='princ option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to add', label='host', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) command: service_del args: 1,1,3 arg: Str('krbprincipalname', validate_principal, attribute=True, cli_name='principal', label=Gettext('Principal', domain='ipa', localedir=None), multivalue=True, normalizer=, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -2123,8 +2123,8 @@ option: Int('sizelimit?', autofill=False, flags=['no_display'], label=Gettext('S option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('man_by_host?', cli_name='man_by_hosts',ist('man_by_host?', cli_name='man_by_hosts', doc='Search for services with these managed by hosts.', label='host', multivalue=True) -option: List('not_man_by_host?', cli_name='not_man_by_hosts',ist('not_man_by_host?', cli_name='not_man_by_hosts', doc='Search for services without these managed by hosts.', label='host', multivalue=True) +option: List('man_by_host?', cli_name='man_by_hosts', label='host', multivalue=True) +option: List('not_man_by_host?', cli_name='not_man_by_hosts', label='host', multivalue=True) output: Output('summary', (, ), 'User-friendly description of action performed') output: ListOfEntries('result', (, ), Gettext('A list of LDAP entries', domain='ipa', localedir=None)) output: Output('count', , 'Number of entries returned') @@ -2148,7 +2148,7 @@ arg: Str('krbprincipalname', validate_principal, attribute=True, cli_name='princ option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to remove', label='host', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -2156,7 +2156,7 @@ command: service_show args: 1,5,3 arg: Str('krbprincipalname', validate_principal, attribute=True, cli_name='principal', label=Gettext('Principal', domain='ipa', localedir=None), multivalue=False, normalizer=, primary_key=True, query=True, required=True) option: Flag('rights', autofill=True, default=False, label=Gettext('Rights', domain='ipa', localedir=None)) -option: Str('out?',tr('out?', doc=Gettext('file to store certificate in', domain='ipa', localedir=None)) +option: Str('out?') option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) @@ -2178,7 +2178,7 @@ output: Output('value', , "The primary_key value of the entry, e command: sudocmd_del args: 1,1,3 arg: Str('sudocmd', attribute=True, cli_name='command', label=Gettext('Sudo Command', domain='ipa', localedir=None), multivalue=True, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -2237,14 +2237,14 @@ arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('sudocmd?', alwaysask=True, cli_name='sudocmds',ist('sudocmd?', alwaysask=True, cli_name='sudocmds', doc='comma-separated list of sudocmds to add', label='sudocmd', multivalue=True) +option: List('sudocmd?', alwaysask=True, cli_name='sudocmds', label='sudocmd', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) command: sudocmdgroup_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo Command Group', domain='ipa', localedir=None), multivalue=True, normalizer=, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -2281,7 +2281,7 @@ arg: Str('cn', attribute=True, cli_name='sudocmdgroup_name', label=Gettext('Sudo option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('sudocmd?', alwaysask=True, cli_name='sudocmds',ist('sudocmd?', alwaysask=True, cli_name='sudocmds', doc='comma-separated list of sudocmds to remove', label='sudocmd', multivalue=True) +option: List('sudocmd?', alwaysask=True, cli_name='sudocmds', label='sudocmd', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -2321,8 +2321,8 @@ arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('sudocmd?', alwaysask=True, cli_name='sudocmds',ist('sudocmd?', alwaysask=True, cli_name='sudocmds', doc='comma-separated list of sudocmds to add', label='sudocmd', multivalue=True) -option: List('sudocmdgroup?', alwaysask=True, cli_name='sudocmdgroups',ist('sudocmdgroup?', alwaysask=True, cli_name='sudocmdgroups', doc='comma-separated list of sudocmdgroups to add', label='sudocmdgroup', multivalue=True) +option: List('sudocmd?', alwaysask=True, cli_name='sudocmds', label='sudocmd', multivalue=True) +option: List('sudocmdgroup?', alwaysask=True, cli_name='sudocmdgroups', label='sudocmdgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) @@ -2332,8 +2332,8 @@ arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('sudocmd?', alwaysask=True, cli_name='sudocmds',ist('sudocmd?', alwaysask=True, cli_name='sudocmds', doc='comma-separated list of sudocmds to add', label='sudocmd', multivalue=True) -option: List('sudocmdgroup?', alwaysask=True, cli_name='sudocmdgroups',ist('sudocmdgroup?', alwaysask=True, cli_name='sudocmdgroups', doc='comma-separated list of sudocmdgroups to add', label='sudocmdgroup', multivalue=True) +option: List('sudocmd?', alwaysask=True, cli_name='sudocmds', label='sudocmd', multivalue=True) +option: List('sudocmdgroup?', alwaysask=True, cli_name='sudocmdgroups', label='sudocmdgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) @@ -2343,8 +2343,8 @@ arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to add', label='host', multivalue=True) -option: List('hostgroup?', alwaysask=True, cli_name='hostgroups',ist('hostgroup?', alwaysask=True, cli_name='hostgroups', doc='comma-separated list of hostgroups to add', label='hostgroup', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) +option: List('hostgroup?', alwaysask=True, cli_name='hostgroups', label='hostgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) @@ -2359,7 +2359,7 @@ arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to add', label='group', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) @@ -2369,8 +2369,8 @@ arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', alwaysask=True, cli_name='users',ist('user?', alwaysask=True, cli_name='users', doc='comma-separated list of users to add', label='user', multivalue=True) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to add', label='group', multivalue=True) +option: List('user?', alwaysask=True, cli_name='users', label='user', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) @@ -2380,15 +2380,15 @@ arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', alwaysask=True, cli_name='users',ist('user?', alwaysask=True, cli_name='users', doc='comma-separated list of users to add', label='user', multivalue=True) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to add', label='group', multivalue=True) +option: List('user?', alwaysask=True, cli_name='users', label='user', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be added', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members added', domain='ipa', localedir=None)) command: sudorule_del args: 1,1,3 arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule name', domain='ipa', localedir=None), multivalue=True, primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -2449,8 +2449,8 @@ arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('sudocmd?', alwaysask=True, cli_name='sudocmds',ist('sudocmd?', alwaysask=True, cli_name='sudocmds', doc='comma-separated list of sudocmds to remove', label='sudocmd', multivalue=True) -option: List('sudocmdgroup?', alwaysask=True, cli_name='sudocmdgroups',ist('sudocmdgroup?', alwaysask=True, cli_name='sudocmdgroups', doc='comma-separated list of sudocmdgroups to remove', label='sudocmdgroup', multivalue=True) +option: List('sudocmd?', alwaysask=True, cli_name='sudocmds', label='sudocmd', multivalue=True) +option: List('sudocmdgroup?', alwaysask=True, cli_name='sudocmdgroups', label='sudocmdgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -2460,8 +2460,8 @@ arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('sudocmd?', alwaysask=True, cli_name='sudocmds',ist('sudocmd?', alwaysask=True, cli_name='sudocmds', doc='comma-separated list of sudocmds to remove', label='sudocmd', multivalue=True) -option: List('sudocmdgroup?', alwaysask=True, cli_name='sudocmdgroups',ist('sudocmdgroup?', alwaysask=True, cli_name='sudocmdgroups', doc='comma-separated list of sudocmdgroups to remove', label='sudocmdgroup', multivalue=True) +option: List('sudocmd?', alwaysask=True, cli_name='sudocmds', label='sudocmd', multivalue=True) +option: List('sudocmdgroup?', alwaysask=True, cli_name='sudocmdgroups', label='sudocmdgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -2471,8 +2471,8 @@ arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('host?', alwaysask=True, cli_name='hosts',ist('host?', alwaysask=True, cli_name='hosts', doc='comma-separated list of hosts to remove', label='host', multivalue=True) -option: List('hostgroup?', alwaysask=True, cli_name='hostgroups',ist('hostgroup?', alwaysask=True, cli_name='hostgroups', doc='comma-separated list of hostgroups to remove', label='hostgroup', multivalue=True) +option: List('host?', alwaysask=True, cli_name='hosts', label='host', multivalue=True) +option: List('hostgroup?', alwaysask=True, cli_name='hostgroups', label='hostgroup', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -2487,7 +2487,7 @@ arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to remove', label='group', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -2497,8 +2497,8 @@ arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', alwaysask=True, cli_name='users',ist('user?', alwaysask=True, cli_name='users', doc='comma-separated list of users to remove', label='user', multivalue=True) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to remove', label='group', multivalue=True) +option: List('user?', alwaysask=True, cli_name='users', label='user', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -2508,8 +2508,8 @@ arg: Str('cn', attribute=True, cli_name='sudorule_name', label=Gettext('Rule nam option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('user?', alwaysask=True, cli_name='users',ist('user?', alwaysask=True, cli_name='users', doc='comma-separated list of users to remove', label='user', multivalue=True) -option: List('group?', alwaysask=True, cli_name='groups',ist('group?', alwaysask=True, cli_name='groups', doc='comma-separated list of groups to remove', label='group', multivalue=True) +option: List('user?', alwaysask=True, cli_name='users', label='user', multivalue=True) +option: List('group?', alwaysask=True, cli_name='groups', label='group', multivalue=True) output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('failed', , Gettext('Members that could not be removed', domain='ipa', localedir=None)) output: Output('completed', , Gettext('Number of members removed', domain='ipa', localedir=None)) @@ -2562,7 +2562,7 @@ output: Output('value', , "The primary_key value of the entry, e command: user_del args: 1,1,3 arg: Str('uid', attribute=True, cli_name='login', default_from=DefaultFrom(, 'givenname', 'sn'), label=Gettext('User login', domain='ipa', localedir=None), maxlength=255, multivalue=True, normalizer=, pattern='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$', pattern_errmsg='may only include letters, numbers, _, -, . and $', primary_key=True, query=True, required=True) -option: Flag('continue', autofill=True, cli_name='continue', default=False,lag('continue', autofill=True, cli_name='continue', default=False, doc=Gettext("Continuous mode: Don't stop on errors.", domain='ipa', localedir=None)) +option: Flag('continue', autofill=True, cli_name='continue', default=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Output('result', , 'list of deletions that failed') output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") @@ -2613,12 +2613,12 @@ option: Flag('whoami', autofill=True, default=False, label=Gettext('Self', domai option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: List('in_group?', cli_name='in_groups',ist('in_group?', cli_name='in_groups', doc='Search for users with these member of groups.', label='group', multivalue=True) -option: List('not_in_group?', cli_name='not_in_groups',ist('not_in_group?', cli_name='not_in_groups', doc='Search for users without these member of groups.', label='group', multivalue=True) -option: List('in_netgroup?', cli_name='in_netgroups',ist('in_netgroup?', cli_name='in_netgroups', doc='Search for users with these member of netgroups.', label='netgroup', multivalue=True) -option: List('not_in_netgroup?', cli_name='not_in_netgroups',ist('not_in_netgroup?', cli_name='not_in_netgroups', doc='Search for users without these member of netgroups.', label='netgroup', multivalue=True) -option: List('in_role?', cli_name='in_roles',ist('in_role?', cli_name='in_roles', doc='Search for users with these member of roles.', label='role', multivalue=True) -option: List('not_in_role?', cli_name='not_in_roles',ist('not_in_role?', cli_name='not_in_roles', doc='Search for users without these member of roles.', label='role', multivalue=True) +option: List('in_group?', cli_name='in_groups', label='group', multivalue=True) +option: List('not_in_group?', cli_name='not_in_groups', label='group', multivalue=True) +option: List('in_netgroup?', cli_name='in_netgroups', label='netgroup', multivalue=True) +option: List('not_in_netgroup?', cli_name='not_in_netgroups', label='netgroup', multivalue=True) +option: List('in_role?', cli_name='in_roles', label='role', multivalue=True) +option: List('not_in_role?', cli_name='not_in_roles', label='role', multivalue=True) output: Output('summary', (, ), 'User-friendly description of action performed') output: ListOfEntries('result', (, ), Gettext('A list of LDAP entries', domain='ipa', localedir=None)) output: Output('count', , 'Number of entries returned') @@ -2656,7 +2656,7 @@ option: Flag('rights', autofill=True, default=False, label=Gettext('Rights', dom option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui', flags=['no_output']) option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui', flags=['no_output']) option: Str('version?', exclude='webui', flags=['no_option', 'no_output']) -option: Str('rename', cli_name='rename', default_from=DefaultFrom(, 'givenname', 'sn'), maxlength=255, multivalue=False, normalizer=, pattern='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$', pattern_errmsg='may only include letters, numbers, _, -, . and $', primary_key=True, required=False) +option: Str('rename', cli_name='rename', default_from=DefaultFrom(, 'givenname', 'sn'), label=Gettext('Rename', domain='ipa', localedir=None), maxlength=255, multivalue=False, normalizer=, pattern='^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$', pattern_errmsg='may only include letters, numbers, _, -, . and $', primary_key=True, required=False) output: Output('summary', (, ), 'User-friendly description of action performed') output: Entry('result', , Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None)) output: Output('value', , "The primary_key value of the entry, e.g. 'jdoe' for a user") diff --git a/makeapi b/makeapi index 1d418fe69..0d3709882 100755 --- a/makeapi +++ b/makeapi @@ -45,14 +45,13 @@ def parse_options(): def strip_doc(line): """ - Remove the doc= line from the repr() of a Paramter. + Remove the doc= part from the repr() of a Parameter. """ - s = line.find(' doc=') - if s >= 0: - e = line.find('), ', s) - line = '%s%s' % (line[0:s], line[e+2:]) - return line + # this pattern allows up to 2 nested parentheses in doc part + newline = re.sub(r', doc=([^(,]+)(\([^()]*(\([^()]+\)[^()]*)?\))?', '', line) + + return newline def make_api(): """