code: def remove(self, oid):
          
          hba = self.lookup_by_oid(oid)
          partition = self.parent
          devno = hba.properties.get('device-number', None)
          if devno:
              partition.devno_free_if_allocated(devno)
          wwpn = hba.properties.get('wwpn', None)
          if wwpn:
              partition.wwpn_free_if_allocated(wwpn)
          assert 'hba-uris' in partition.properties
          hba_uris = partition.properties['hba-uris']
          hba_uris.remove(hba.uri)
          super(FakedHbaManager, self).remove(oid)
docs: Remove a faked HBA resource.
  
          This method also updates the 'hba-uris' property in the parent
          Partition resource, by removing the URI for the faked HBA resource.
  
          Parameters:
  
            oid (string):
              The object ID of the faked HBA resource.