Reply

Can't assign network to member

[ Edited ]
New Member
Posts: 2
2978     0

Hi community,

 

I'm trying to create networks with my python script and at the same time assign 2 members to each network.

 

So I used the following json content and send them as a POST request.

 

{
"network": "10.1.1.0/24",
"network_view": "default",
"comment": "test",
"members": [
{
"_struct": "dhcpmember",
"ipv4addr": "10.58.194.11"
},
{
"_struct": "dhcpmember",
"ipv4addr": "10.58.195.11"
}
]
}

 

However I always got the error below: 

 

{ "Error": "AdmConDataError: Unknown grid member ipv4addr:10.58.194.11",
"code": "Client.Ibap.Data",
"text": "Unknown grid member ipv4addr:10.58.194.11"
}

 

I can not figure out why infoblox considers them as unknown grib member, although they are listed as members under "Grid -> Grid Manager -> Members". I can add the same members via the GUI just fine, just not via API.

 

Could anyone please tell me why does it not work? Did I miss something or it is related to some other issue?

 

Thanks again in advance for your help, I would be very appreciated!

Re: Can't assign network to member

New Member
Posts: 2
2979     0

problem has been found.

 

It was due to incorrect api user access right

Re: Can't assign network to member

New Member
Posts: 1
2979     0

Has it been solved yet? 2 player games

Showing results for 
Search instead for 
Did you mean: 

Recommended for You