You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is, OpenVSwitch uses a 16-bit port number in this action even for versions of the OpenFlow protocol above 1.0. Is there a way to force in_port to be marshalled as a two byte field instead of four bytes for OpenFlow versions 1.1+... just for these experimenter actions?
I know I could define the field as a uint16_t, but then it wouldn't be expressed as an OFPort in the builders and accessors. Trying to figure out if there is a "right" way to do it.
The text was updated successfully, but these errors were encountered:
rsharo
changed the title
How to force 16-bit port number when generating for OF1.1+?
How to express a 16-bit port number when generating for OF1.1+?
Jul 15, 2016
I'll use uint16_t for now. Was just looking at the code you referenced... I'd want to do it for all three language bindings if I did it. Seems a little overkill to do that just for two experimenter types. Will revisit if it becomes a recurring problem.
Hi folks,
I'm trying to add some Nicira-specific actions:
resubmit
,resubmit_table
, andexit
.Defining the input file is pretty simple. (Nice work, all!) Here's an example for
resubmit_table
:The problem is, OpenVSwitch uses a 16-bit port number in this action even for versions of the OpenFlow protocol above 1.0. Is there a way to force
in_port
to be marshalled as a two byte field instead of four bytes for OpenFlow versions 1.1+... just for these experimenter actions?I know I could define the field as a
uint16_t
, but then it wouldn't be expressed as anOFPort
in the builders and accessors. Trying to figure out if there is a "right" way to do it.The text was updated successfully, but these errors were encountered: