fix bug lp:1007557,remove unused functions in utils.py.
fix bug lp:1007557,remove unused functions in utils.py.

Change-Id: Ic8cfe61effd357c49f651fd6cd6e6b721f6addd1

gkotton/vmware-nsx,gkotton/vmware-nsx