mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
server: add "del" command
this command is internal and is supposed to be used by ipa-replica-managed to delete replica. Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
45dccedd12
commit
d58bdf29a5
8
API.txt
8
API.txt
@ -3799,6 +3799,14 @@ option: Str('version?', exclude='webui')
|
||||
output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None))
|
||||
output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
|
||||
output: PrimaryKey('value', None, None)
|
||||
command: server_del
|
||||
args: 1,2,3
|
||||
arg: Str('cn', attribute=True, cli_name='name', multivalue=True, primary_key=True, query=True, required=True)
|
||||
option: Flag('continue', autofill=True, cli_name='continue', default=False)
|
||||
option: Str('version?', exclude='webui')
|
||||
output: Output('result', <type 'dict'>, None)
|
||||
output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
|
||||
output: ListOfPrimaryKeys('value', None, None)
|
||||
command: server_find
|
||||
args: 1,10,4
|
||||
arg: Str('criteria?', noextrawhitespace=False)
|
||||
|
4
VERSION
4
VERSION
@ -90,5 +90,5 @@ IPA_DATA_VERSION=20100614120000
|
||||
# #
|
||||
########################################################
|
||||
IPA_API_VERSION_MAJOR=2
|
||||
IPA_API_VERSION_MINOR=132
|
||||
# Last change: dkupka: User life cycle permissions naming and split
|
||||
IPA_API_VERSION_MINOR=133
|
||||
# Last change: pvoborni - add server-del internal command
|
||||
|
@ -87,3 +87,10 @@ class server_find(LDAPSearch):
|
||||
@register()
|
||||
class server_show(LDAPRetrieve):
|
||||
__doc__ = _('Show IPA server.')
|
||||
|
||||
|
||||
@register()
|
||||
class server_del(LDAPDelete):
|
||||
__doc__ = _('Delete IPA server.')
|
||||
NO_CLI = True
|
||||
msg_summary = _('Deleted IPA server "%(value)s"')
|
||||
|
Loading…
Reference in New Issue
Block a user