1. A computer-implemented method, comprising: receiving, by a device, an Interest for managing a device resource, wherein the Interest's name includes a name or a name prefix associated with the device resource, and includes a command for the device resource; performing a longest-prefix-matching lookup using the Interest's name to determine a destination for the Interest, wherein performing the longest-prefix-matching lookup involves: forwarding the Interest to a plurality of components; receiving a Content Object (CO) from each of the plurality of components, wherein a respective Content Object includes a result produced by executing the command on a corresponding component; and generating a Content Object that includes a result summary for the information produced by the plurality of Content Objects; determining, from the longest-prefix-matching lookup results, that the Interest's destination includes a component of the local device; and forwarding the Interest to an agent for the component of the local device.