Starting with device42 v5.1.2, you can pass a VRF group as an optional argument to the IP RESTful API call to add/update the IP in the correct VRF group as discussed below.
Enhanced IP API call
You can now pass a vrf_group or a vrf_group_id as arguments in the IP API call (/api/ip/). With this enhancement, if you have the same IP addresses across different VRF groups, you will be able to add/update IPs into the correct group. Here is a sample curl command:
curl -X POST -u 'admin:adm!nd42' https://192.168.87.8/api/ip/ --insecure \ -d "ipaddress=10.10.10.11" \ -d "vrf_group=Finance Group Chicago"
IP relocation bug fix
IP relocation had a bug where a relocation of an IP to a subnet with nested subnets resulted in an error. This has been addressed in v5.1.2