An extended SDN architecture for network function virtualization with a case study on intrusion prevention | Synapse