at current version of python-ndn, NDNApp only supports local prefix registration because make_command function hardcoded nfd's manage prefix into source code, which is /localhost/nfd. If we want to implement remote prefix registration, we have to extend NDNApp, override register and unregister method and copy source code of make_command method into our source code, and changing manage prefix from /localhost/nfd to /localhop/nfd.
such a solution looks prefect but if python-ndn support remote prefix registration I think it's better.
at current version of python-ndn, NDNApp only supports local prefix registration because
make_command
function hardcoded nfd's manage prefix into source code, which is/localhost/nfd
. If we want to implement remote prefix registration, we have to extendNDNApp
, overrideregister
andunregister
method and copy source code ofmake_command
method into our source code, and changing manage prefix from/localhost/nfd
to/localhop/nfd
. such a solution looks prefect but if python-ndn support remote prefix registration I think it's better.