set eth0's ipv4 address to created container;
api return agentmodel when agent is available, otherwise return null;