diff options
author | Martin Basti <mbasti@redhat.com> | 2016-05-11 18:27:37 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-06-03 15:58:21 +0200 |
commit | 15abfcf0f77664f426ba50ebf20e0f6c2a6f8275 (patch) | |
tree | 2fd3033f5dc66618e3e1968a81bf2b9a8540a9fd /API.txt | |
parent | 121e34b90e890285c480a0c89e833d1369d61401 (diff) | |
download | freeipa-15abfcf0f77664f426ba50ebf20e0f6c2a6f8275.tar.gz freeipa-15abfcf0f77664f426ba50ebf20e0f6c2a6f8275.tar.xz freeipa-15abfcf0f77664f426ba50ebf20e0f6c2a6f8275.zip |
DNS Locations: extend server-* command with locations
Server find, server show, server mod should work with IPA locations.
https://fedorahosted.org/freeipa/ticket/2008
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r-- | API.txt | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -4006,14 +4006,16 @@ output: Output('result', type=[<type 'dict'>]) output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>]) output: ListOfPrimaryKeys('value') command: server_find -args: 1,12,4 +args: 1,14,4 arg: Str('criteria?') option: Flag('all', autofill=True, cli_name='all', default=False) option: Str('cn?', autofill=False, cli_name='name') +option: DNSNameParam('in_location*', cli_name='in_locations') option: Int('ipamaxdomainlevel?', autofill=False, cli_name='maxlevel') option: Int('ipamindomainlevel?', autofill=False, cli_name='minlevel') option: Flag('no_members', autofill=True, default=True) option: Str('no_topologysuffix*', cli_name='no_topologysuffixes') +option: DNSNameParam('not_in_location*', cli_name='not_in_locations') option: Flag('pkey_only?', autofill=True, default=False) option: Flag('raw', autofill=True, cli_name='raw', default=False) option: Int('sizelimit?', autofill=False) @@ -4024,6 +4026,22 @@ output: Output('count', type=[<type 'int'>]) output: ListOfEntries('result') output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>]) output: Output('truncated', type=[<type 'bool'>]) +command: server_mod +args: 1,10,3 +arg: Str('cn', cli_name='name') +option: Str('addattr*', cli_name='addattr') +option: Flag('all', autofill=True, cli_name='all', default=False) +option: Str('delattr*', cli_name='delattr') +option: DNSNameParam('ipalocation_location?', autofill=False, cli_name='location') +option: Int('ipalocationweight?', autofill=False, cli_name='location_weight') +option: Flag('no_members', autofill=True, default=False) +option: Flag('raw', autofill=True, cli_name='raw', default=False) +option: Flag('rights', autofill=True, default=False) +option: Str('setattr*', cli_name='setattr') +option: Str('version?') +output: Entry('result') +output: Output('summary', type=[<type 'unicode'>, <type 'NoneType'>]) +output: PrimaryKey('value') command: server_show args: 1,5,3 arg: Str('cn', cli_name='name') |