def uri_list(self, uri_list): raise linstor.LinstorReadOnlyAfterSetError()
def port(self, port_nr): if self.defined: raise linstor.LinstorReadOnlyAfterSetError() self._port = port_nr
def linstor_name(self, name): raise linstor.LinstorReadOnlyAfterSetError()
def name(self, name): if self.defined: raise linstor.LinstorReadOnlyAfterSetError() self._name = name
def minor(self, minor): if self._rsc_name is not None: raise linstor.LinstorReadOnlyAfterSetError() self._minor = minor
def device_path(self, device_path): raise linstor.LinstorReadOnlyAfterSetError( 'This is a read-only property')
def name(self, name): if self._name is not None: raise linstor.LinstorReadOnlyAfterSetError( 'This is a read-only property') self._name = name