We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87eb4d7 commit c9fec7aCopy full SHA for c9fec7a
infoblox_client/objects.py
@@ -851,6 +851,7 @@ class ARecord(ARecordBase):
851
'ttl']
852
_search_for_update_fields = ['ipv4addr', 'view']
853
_all_searchable_fields = _search_for_update_fields + ['name']
854
+ _updateable_search_fields = ['ipv4addr']
855
_return_fields = ['ipv4addr', 'name']
856
_shadow_fields = ['_ref']
857
_remap = {'ip': 'ipv4addr'}
tests/test_objects.py
@@ -401,7 +401,7 @@ def test_update_fields_on_create(self):
401
return_fields=[])
402
connector.update_object.assert_called_once_with(
403
a_record[0]['_ref'],
404
- {'name': 'some-new_name'},
+ {'name': 'some-new_name','ipv4addr': '192.168.1.52'},
405
mock.ANY)
406
407
def test_ip_version(self):
0 commit comments