rtslib/root.py
def dump(self):
        '''
        Returns a dict representing the complete state of the target
        config, suitable for serialization/deserialization, and then
        handing to restore().
        '''
        d = super(RTSRoot, self).dump()
        d['storage_objects'] = [so.dump() for so in self.storage_objects]
        d['targets'] = [t.dump() for t in self.targets]
        d['fabric_modules'] = [f.dump() for f in self.fabric_modules
                               if f.has_feature("discovery_auth")
                               if f.discovery_enable_auth]
        return d

        Returns a dict representing the complete state of the target
        config, suitable for serialization/deserialization, and then
        handing to restore().
        
Returns a dict representing the complete state of the target
config, suitable for serialization/deserialization, and then
handing to restore().
Returns a dict representing the complete state of the target config suitable for serialization / deserialization and then handing to restore () .
def dump(self):
        d = super(RTSRoot, self).dump()
        d['storage_objects'] = [so.dump() for so in self.storage_objects]
        d['targets'] = [t.dump() for t in self.targets]
        d['fabric_modules'] = [f.dump() for f in self.fabric_modules
                               if f.has_feature("discovery_auth")
                               if f.discovery_enable_auth]
        return d
def dump ( self ) : d = super ( RTSRoot , self ) . dump ( ) d [ 'storage_objects' ] = [ so . dump ( ) for so in self . storage_objects ] d [ 'targets' ] = [ t . dump ( ) for t in self . targets ] d [ 'fabric_modules' ] = [ f . dump ( ) for f in self . fabric_modules if f . has_feature ( "discovery_auth" ) if f . discovery_enable_auth ] return d
Returns a dict representing the complete state of the target
config, suitable for serialization/deserialization, and then
handing to restore().
Returns a dict representing the complete state of the target config suitable for serialization / deserialization and then handing to restore () .
'''
        Returns a dict representing the complete state of the target
        config, suitable for serialization/deserialization, and then
        handing to restore().
        '''
self