[ndnSIM] Identify consumer connected nodes
shijunxiao at email.arizona.edu
Fri Feb 15 04:10:15 PST 2019
> I need to implement a caching policy where I will cache the data in each
> node ( within the routing path ), if this node is directly connected to a
> There is a code in the following link
> that cache the data near the requesting consumer, however, I need to cache
> it at any node (within the routing path) that is directly connected to any
> consumer. Is there any part of the node structure that can help me doing
If your topology is fixed (not ad hoc wireless network), you can know
whether a router is an edge router when the network is provisioned. Thus,
you can tag every ns3::Node accordingly (e.g. add a suffix in node name or
aggregate a custom tag class).
> Another question regarding the content-type within the data metadata
> information(in the tlv file ).
> I need to classify my data into two classes. Can I use (edit) the
> content-type to adde these new two types? Or I need to modify the fields
> and data class to add a new field there?
Yes, producer can set any ContentType.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ndnSIM