allows ib_spec attrs to be filtered in update (#36673)

* allows ib_spec attrs to be filtered in update

This change will allow the ib_spec entries to be be filtered on a change
object by setting the update keyword to false.  The default value for
update is true.  When the update keyword is set to false, the keyed
entry will be removed from the update object before it is sent to the
api endpoint.

fixes #36563

* fix up pep8 issues
This commit is contained in:
Peter Sprygada 2018-02-26 07:55:26 -05:00 committed by GitHub
parent cdb2969703
commit 93b795baf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 1 deletions

View file

@ -134,7 +134,7 @@ def main():
)
ib_spec = dict(
fqdn=dict(required=True, aliases=['name'], ib_req=True),
fqdn=dict(required=True, aliases=['name'], ib_req=True, update=False),
view=dict(default='default', aliases=['dns_view'], ib_req=True),
grid_primary=dict(type='list', elements='dict', options=grid_spec),