-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support nsh encap and decap #35
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: zhenglinan <[email protected]>
@zhenglinan thanks for the PR. |
ofctrl/ofAction.go
Outdated
type NXEncapsulate struct { | ||
HeaderSize uint16 | ||
HeaderType uint32 | ||
Property []openflow15.PropTLV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename as Properties?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -57,6 +57,8 @@ const ( | |||
ActTypeSetField = "setField" | |||
ActTypeCopyField = "copyField" | |||
ActTypeMeter = "meter" | |||
ActTypeEncapsulate = "encap" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A similar question on the name to this one antrea-io/libOpenflow#25 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is not only for nsh,it is for ethernet、nsh、mpls and mplstc
Please update file VERSION, and go.mod/go.sum to import the changes in libOpenflow. |
Signed-off-by: zhenglinan <[email protected]>
Signed-off-by: zhenglinan <[email protected]>
support nsh encap and decap
@tnqn
Signed-off-by: zhenglinan [email protected]