Hi,
You can use the 'system-get-info' API which includes something like this in the result:
<partner-system-id>015172222998</partner-system-id>
<partner-system-name>sdt-fas1b</partner-system-name>
You can also use the 'cf-get-partner' API which has this in the results:
<partner>sdt-fas1b</partner>
I haven't see a way to find the IP addresses of the partner and I suspect there isn't one. The best I can think of is to use the 'net-resolve' API passing the partner hostname to get the IP of it from the controller perspective. That still gives no guarantee it will resolve, or resolve with an IP address that is reachable from the API caller machine, but is a start.
Good luck!
Chris Madden
Storage Architect, NetApp EMEA