code: def delete_hosting_device_resources(self, context, tenant_id, mgmt_port,
                                          **kwargs):
          
  
          if mgmt_port is not None:
              try:
                  self._cleanup_hosting_port(context, mgmt_port['id'])
              except n_exc.NeutronException as e:
                  LOG.error("Unable to delete port:%(port)s after %(tries)d"
                            " attempts due to exception %(exception)s. "
                            "Skipping it", {'port': mgmt_port['id'],
                                            'tries': DELETION_ATTEMPTS,
                                            'exception': str(e)})
docs: Deletes resources for a hosting device in a plugin specific way.