Pubsub nodes hierarchy setup

I have been trying to setup a pubsub node hierarchy of the type '/root/level1/level2', such that 'root' is the parent for node 'level1' and 'level1' is the parent of node 'level2'.

I tried to look for the documentation, but could not get a clear understanding of how to achive this.

Also, I am not clear on how to use the different plugins, viz. dag, flat, hometree and pep for my scenario.

Any help would be appreciated.

Syndicate content