1. A method for supporting a context associated with a connection between a user and a first virtual machine of virtual function, the method comprising: receiving, by a processor, a notification of a change in a behavior of the user that affects the context, wherein the context is supported by the first virtual machine of the virtual function; and reassigning, by the processor, the context to a second virtual machine of the virtual function, different from the first virtual machine, based at least in part on the change in the behavior.