def get_all_licenses(self):
        """Retrieve license type, key, installation date, etc."""
        data = self._execute_command('GET_ALL_LICENSES', 'RIB_INFO', 'read')
        d = {}
        for key, val in data['GET_ALL_LICENSES']['LICENSE'].items():
            if isinstance(val, dict):
                d[key] = data['GET_ALL_LICENSES']['LICENSE'][key]['VALUE']
        return d
def get_all_licenses ( self ) : data = self . _execute_command ( 'GET_ALL_LICENSES' , 'RIB_INFO' , 'read' ) d = { } for key , val in data [ 'GET_ALL_LICENSES' ] [ 'LICENSE' ] . items ( ) : if isinstance ( val , dict ) : d [ key ] = data [ 'GET_ALL_LICENSES' ] [ 'LICENSE' ] [ key ] [ 'VALUE' ] return d
Retrieve license type, key, installation date, etc.