Commit 1dbc6bdb authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Device - gNMI OpenConfig Driver:

- Added debug log messages
parent 26e53051
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -86,9 +86,15 @@ class InterfaceHandler(_Handler):
        json_data = json_data['openconfig-interfaces:interface'][0]
        str_data = json.dumps(json_data)

        LOGGER.warning('Releasing...')
        while not objects_to_free.empty():
            LOGGER.warning('Getting...')
            obj = objects_to_free.get()
            LOGGER.warning('Releasing: {:s} => {:s}'.format(
                str(obj.path()), str(obj.print_mem('json'))
            ))
            obj.free()
        LOGGER.warning('Release done')
        return str_path, str_data

    def parse(