Allocation and Control of Computing Resources for Real-time Virtual Network Functions