mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
topology: treat server suffix as multivalued attribute in API
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
b4aa222e42
commit
c688954c27
2
API.txt
2
API.txt
@ -3827,7 +3827,7 @@ option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui
|
||||
option: Str('cn', attribute=True, autofill=False, cli_name='name', multivalue=False, primary_key=True, query=True, required=False)
|
||||
option: Int('ipamaxdomainlevel', attribute=True, autofill=False, cli_name='maxlevel', multivalue=False, query=True, required=False)
|
||||
option: Int('ipamindomainlevel', attribute=True, autofill=False, cli_name='minlevel', multivalue=False, query=True, required=False)
|
||||
option: Str('iparepltopomanagedsuffix', attribute=True, autofill=False, cli_name='suffix', multivalue=False, query=True, required=False)
|
||||
option: Str('iparepltopomanagedsuffix', attribute=True, autofill=False, cli_name='suffix', multivalue=True, query=True, required=False)
|
||||
option: Flag('pkey_only?', autofill=True, default=False)
|
||||
option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui')
|
||||
option: Int('sizelimit?', autofill=False, minvalue=0)
|
||||
|
4
VERSION
4
VERSION
@ -90,5 +90,5 @@ IPA_DATA_VERSION=20100614120000
|
||||
# #
|
||||
########################################################
|
||||
IPA_API_VERSION_MAJOR=2
|
||||
IPA_API_VERSION_MINOR=158
|
||||
# Last change: mbasti - allow multiple managers: (stage)user-{add|remove}-manager commands
|
||||
IPA_API_VERSION_MINOR=159
|
||||
# Last change: pvoborni - treat server's suffix as multivalued attribute in API
|
||||
|
@ -220,7 +220,7 @@ return {
|
||||
{ name: 'cn', read_only: true },
|
||||
{ name: 'ipamindomainlevel', read_only: true },
|
||||
{ name: 'ipamaxdomainlevel', read_only: true },
|
||||
{ name: 'iparepltopomanagedsuffix', read_only: true }
|
||||
{ $type: 'multivalued', name: 'iparepltopomanagedsuffix', read_only: true }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -54,7 +54,7 @@ class server(LDAPObject):
|
||||
doc=_('IPA server hostname'),
|
||||
),
|
||||
Str(
|
||||
'iparepltopomanagedsuffix',
|
||||
'iparepltopomanagedsuffix*',
|
||||
cli_name='suffix',
|
||||
label=_('Managed suffix'),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user