[Ndn-lib] NDNx support deprecated in Common Client Libraries

Thompson, Jeff jefft0 at remap.UCLA.EDU
Thu May 14 08:08:05 PDT 2015


Hello all,

New versions of the NDN Common Client Libraries have been released for NDN-CPP (C++), PyNDN (Python), NDN-JS (JavaScript) and jNDN (Java). Importantly, support for NDNx has been deprecated including the ndnb (binary XML) wire format (you should use the TLV wire format) and using the ndnd or ndnd-tlv forwarder from NDNx (you should use NFD).

By default, if the library receives an ndnb (binary XML) packet or attempts to register a prefix with NDNx, then it will throw an exeption, For example in NDN-CPP, "registerPrefix with NDNx is deprecated. To enable while you upgrade your code to use NFD, set WireFormat::ENABLE_NDNX = true". You can enable support for NDNx while you upgrade your environment and code to use NFD and the TLV wire format. To enable, put the following in your application's main function:

C++: WireFormat::ENABLE_NDNX = true;
Python: WireFormat.ENABLE_NDNX = True
JavaScript: WireFormat.ENABLE_NDNX = true;
Java: WireFormat.ENABLE_NDNX = true;

In the next platform release (about 3 months), NDNx support will be completely removed. If you have questions or comments, please use this Redmine issue:
http://redmine.named-data.net/issues/2624

In addition, the latest release includes new features such as Face.setInterestFilter, the OnInterest callback which lets you call Data.putData, automatic remote prefix registration using 'localhop', example programs to for NFD control and using repo-ng, and other bug fixes and changes. For details, please see the CHANGELOG for each library:

NDN-CPP: https://github.com/named-data/ndn-cpp/blob/9d097e9f7fdec170a7f09e6d103df7f47a776123/CHANGELOG
PyNDN: https://github.com/named-data/PyNDN2/blob/6155fc2a0342113edd911e057cbc92ab3f196bc1/CHANGELOG
NDN-JS: https://github.com/named-data/ndn-js/blob/8b700a44c08f13b1987d6a29095e384aa427eb02/CHANGELOG
jNDN: https://github.com/named-data/jndn/blob/e6e7a4add881590c972f382193253c9a5c15f60c/CHANGELOG

Thank you,
- Jeff T
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-lib/attachments/20150514/c5f67e38/attachment.html>


More information about the Ndn-lib mailing list