Added a delete call by UUID

* Made sure that deleted entries are not counted in the selection
  criteria for the num_ports threshold.
* Update datastore and delete the physical entity.