Auto discovery network view issue

Auto discovery created the wrong topology view as it actually exists. even though parent and dependent devices clearly mention in web GUI.

It doesn’t use the device dependencies.