class StartHostSystemVmService {

    protected NicVO getInternalCommunicationNicFromVm(Long startHostServiceVmId) {
        List<NicVO> nicsOfVm = nicDao.listByVmId(startHostServiceVmId);
        for (NicVO nic : nicsOfVm) {
            if (RESERVER_NAME.equals(nic.getReserver())) {
                return nic;
            }
        }
        logger.info(String.format("Could not find a NIC created by PodBasedNetworkGuru, vmId[%d]", startHostServiceVmId));
        return null;
    }

}