-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
I'm using version 0.6.0 of the connector to update an NSGroup (adding a grid secondary). However, when I call .update() on the NSGroup object, the WAPI (version 2.13.5, from NIOS 9.0.5) responds with HTTP 400 with this error:
{
"Error": "AdmConProtoError: Field is not allowed for update: is_multimaster",
"code": "Client.Ibap.Proto",
"text": "Field is not allowed for update: is_multimaster"
}I managed to fix this issue in the client by applying this patch:
diff --git infoblox_client/objects.py infoblox_client/objects.py
index 5d7f12f..06ec899 100644
--- infoblox_client/objects.py
+++ infoblox_client/objects.py
@@ -12946,7 +12946,7 @@ class Nsgroup(InfobloxObject):
'external_secondaries', 'grid_primary', 'grid_secondaries',
'is_grid_default', 'is_multimaster', 'name',
'use_external_primary']
- _search_for_update_fields = ['name']
+ _search_for_update_fields = ['name', 'is_multimaster']
_updateable_search_fields = ['comment', 'name']
_all_searchable_fields = ['comment', 'name']
_return_fields = ['comment', 'extattrs', 'name']Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels