[PATCH 4/5] Machine: added methods get_interfaces and get_addresses