add ip as id for enpoint

Change-Id: I54b781c0580b95ed591252e5bea761f4aca3d2f3