Remove duplicated codes in update_port
Remove duplicated codes in update_port

Change-Id: I01f99dcecbf5a6185a8856e1da4ac816dea3638e

openstack/dragonflow,FrankDuan/df_code,openstack/dragonflow,openstack/dragonflow,FrankDuan/df_code,FrankDuan/df_code