add verification check to added secondary IP

Fix to verify secondary IP assignment

ruby block for get instance aws info

implement in libraries

fixes