check cluster having hosts and host having networks

Change-Id: I99a9e7918d99053df7de43f420fda6d073be1ffb