old_contents: """Utilities module for of_core OpenFlow v0x04 operations"""
  from kytos.core import log
  from kytos.core.switch import Interface
  
  
  def update_flow_list(controller, switch):
      """Method responsible for request stats of flow to switches.
  
      Args:
          controller(:class:`~kytos.core.controller.Controller`):
              the controller beeing used.
          switch(:class:`~kytos.core.switch.Switch`):
              target to send a stats request.
      """
      log.info("update_flow_list not implemented yet for OF v0x04")
  
  
  def handle_features_reply(controller, event):
      """Handle OF v0x04 features_reply message events.
  
      This is the end of the Handshake workflow of the OpenFlow Protocol.
  
      Parameters:
          controller (Controller): Controller beeing used.
          event (KytosEvent): Event with features reply message.
      """
  
      connection = event.source
      features_reply = event.content['message']
      dpid = features_reply.datapath_id.value
  
      switch = controller.get_switch_or_create(dpid=dpid,
                                               connection=connection)
  
      switch.update_features(features_reply)
  
      return switch
  
new_contents: """Utilities module for of_core OpenFlow v0x04 operations"""
  from kytos.core import log
  from kytos.core.switch import Interface
  
  
  def update_flow_list(controller, switch):
      """Method responsible for request stats of flow to switches.
  
      Args:
          controller(:class:`~kytos.core.controller.Controller`):
              the controller beeing used.
          switch(:class:`~kytos.core.switch.Switch`):
              target to send a stats request.
      """
      log.error("update_flow_list not implemented yet for OF v0x04")
  
  
  def handle_features_reply(controller, event):
      """Handle OF v0x04 features_reply message events.
  
      This is the end of the Handshake workflow of the OpenFlow Protocol.
  
      Parameters:
          controller (Controller): Controller beeing used.
          event (KytosEvent): Event with features reply message.
      """
  
      connection = event.source
      features_reply = event.content['message']
      dpid = features_reply.datapath_id.value
  
      switch = controller.get_switch_or_create(dpid=dpid,
                                               connection=connection)
  
      switch.update_features(features_reply)
  
      return switch
  
subject: Change 'not implemented' log INFO to ERROR