[lnst] Machine: added methods get_interfaces and get_addresses