code: def new_message_from_message_type(message_type):
      
      message_type = str(message_type)
  
      if message_type not in MESSAGE_TYPES:
          raise ValueError('"{}" is not known.'.format(message_type))
  
      message_class = MESSAGE_TYPES.get(message_type)
      message_instance = message_class()
  
      return message_instance
docs: Given an OpenFlow Message Type, return an empty message of that type.
  
      Args:
          messageType (:class:`~pyof.v0x01.common.header.Type`):
              Python-openflow message.
  
      Returns:
          Empty OpenFlow message of the requested message type.
  
      Raises:
          KytosUndefinedMessageType: Unkown Message_Type.