Hello YAMAMOTO,
I use instantiate method from AppManager to "install" an app (like apache
karaf)
you can see my code here(line 83):
https://github.com/TakeshiTseng/ryu/blob/dynamic_loader/ryu/cmd/ryu_dynamic_loader.py#L83
and I use instantiate method in line 106
Yi
2015-04-13 15:58 GMT+08:0
_CONTEXT is an old mechanism which we want to get rid of eventually.
can you be a little more specific about your requirements?
YAMAMOTO Takashi
> Hi
>
> I am working on dynamic application loader for ryu, base on ryu-manager.
>
> I tried App_manager.instantiate(app_class) and it works
>
> How
Hi
I am working on dynamic application loader for ryu, base on ryu-manager.
I tried App_manager.instantiate(app_class) and it works
However, if the _CONTEXT in app is not empty, it raised 'KeyError'
The reason is that instantiate method in app manager does not create
context instance from app c