Delay-aware VNF Placement and Chaining based on a Flexible Resource Allocation Approach