Add get-network-adapters and get-network-interfaces

Add functions in manager and machine to get network interface and adapters as maps.