openflow: Add bundle support

This commit is contained in:
Eishun Kondoh 2019-03-03 22:35:38 +09:00
parent db68e81954
commit 283f487c6b
4 changed files with 227 additions and 1 deletions

View file

@ -0,0 +1,22 @@
defmodule Openflow.Bundle.Add do
defstruct(
version: 4,
xid: 0,
datapath_id: "",
aux_id: 0,
# bundle header
bundle_id: 0,
flags: [],
message: nil,
)
alias __MODULE__
# ONF Experimenter
@experimenter 0x4F4E4600
# BUNDLE_ADD
@onf_type 2301
# experimenter
def ofp_type, do: 4
end