Esempio n. 1
0
 def uri_list(self, uri_list):
     raise linstor.LinstorReadOnlyAfterSetError()
Esempio n. 2
0
 def port(self, port_nr):
     if self.defined:
         raise linstor.LinstorReadOnlyAfterSetError()
     self._port = port_nr
Esempio n. 3
0
 def linstor_name(self, name):
     raise linstor.LinstorReadOnlyAfterSetError()
Esempio n. 4
0
 def name(self, name):
     if self.defined:
         raise linstor.LinstorReadOnlyAfterSetError()
     self._name = name
Esempio n. 5
0
 def minor(self, minor):
     if self._rsc_name is not None:
         raise linstor.LinstorReadOnlyAfterSetError()
     self._minor = minor
Esempio n. 6
0
 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