Added API to attach/detach port using nova API.

Change-Id: Iefada05f9328ee99f4d69d517e5ab319b0ee987d