Update notes for submitted changes

* If subnet_id is passed at the time of port creation, use it to allocate appropriate ip address. This funcationality was already implemented for port update. With this commit, we are moving common parts to a new function and calling it from both port create and upate