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