proxystore_ex.connectors.dim.utils¶
Shared functions used by DIM stores.
get_ip_address
¶
Get ip address provided an interface name.
Warning
This function does not work on MacOS/Darwin.
Parameters:
-
ifname
(str
) –The interface name.
Returns:
-
str
–The IP address.