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