Towards a fully automated and optimized network security functions orchestration