kytos / python-openflow

Low level OpenFlow messages parser used by Kytos SDN Platform

Home Page:https://kytos.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better pack exception message

cemsbr opened this issue · comments

Currently, the user doesn't know the name of attribute containing the wrong value:

from pyof.v0x04.controller2switch.flow_mod import FlowMod
FlowMod().pack()
# PackException: Pack error: UBInt8 could not pack NoneType = None.