b970d8cc58
1. Move common code to a dedicated file 2. Stop using deprecated nsxlib apis 3. Remove irrelevant admin utilities Change-Id: If6308ff47dcd8f51e17cf1e4d367a664681ad2de