fix incorrect ha enabled check.

Change-Id: I874467b434d8b7ca6481a9bdc47873b48e04494f
fix insufficient privileges when deleting router interface.

Change-Id: I66fbcec696f65664bfc512a09ff5e07fbf39a74f
Fix missing index when fetching subnet for router interface.

Change-Id: I7c06d8b2ccbdfcd0c005090a322e84d328b059f5