unless HELPER_NS::Counter.xml_elements(nvm, 'TEMPLATE/NIC') > nics
            logger.error "Attaching VNET to VM[#{vm['ID']}] failed: #{vm['USER_TEMPLATE/ERROR']}"
            raise Errors::Backend::RemoteError, 'Could not attach network to compute'