예제 #1
0
 def uri_list(self, uri_list):
     raise linstor.LinstorReadOnlyAfterSetError()
예제 #2
0
 def port(self, port_nr):
     if self.defined:
         raise linstor.LinstorReadOnlyAfterSetError()
     self._port = port_nr
예제 #3
0
 def linstor_name(self, name):
     raise linstor.LinstorReadOnlyAfterSetError()
예제 #4
0
 def name(self, name):
     if self.defined:
         raise linstor.LinstorReadOnlyAfterSetError()
     self._name = name
예제 #5
0
 def minor(self, minor):
     if self._rsc_name is not None:
         raise linstor.LinstorReadOnlyAfterSetError()
     self._minor = minor
예제 #6
0
 def device_path(self, device_path):
     raise linstor.LinstorReadOnlyAfterSetError(
         'This is a read-only property')
예제 #7
0
 def name(self, name):
     if self._name is not None:
         raise linstor.LinstorReadOnlyAfterSetError(
             'This is a read-only property')
     self._name = name