Extend ndn-autoconfig-server to publish routable prefixes
Some applications need to discover prefix(es) under which they can publish data / which Interests local hub will be able to forward down to the application.
This task it to add such support to
ndn-autoconfig-server should process incoming Interests for
For each request, the following Data packet should be constructed:
Response ::= DATA-TYPE TLV-LENGTH Name (= /localhop/ndn-autoconf/routable-prefixes/<version>) MetaInfo (= ResponseMetaInfo) Content (= ResponseContent) Signature ResponseMetaInfo ::= META-INFO-TYPE TLV-LENGTH ContentType (= DATA) FreshnessPeriod (= 5000) ResponseContent ::= Name+
ResponseContent should contain at least one
Name, which should be routable towards the face from which the request has been received (for now we don't need to do any extra work for that, but may need to do eventually). The requester may process list of the returned names and pick whichever it wants to (whichever it can) use.