tres v0.1.0 Openflow.MeterMod

Link to this section Summary

Link to this section Types

Link to this type

command()
command() :: :add | :modify | :delete

Link to this type

t()
t() :: %Openflow.MeterMod{
  aux_id: 0..255 | nil,
  bands: [Openflow.MeterBand.Drop.t() | Openflow.MeterBand.Remark.t()],
  command: command(),
  datapath_id: String.t() | nil,
  flags: [:kbps | :pktps | :burst | :stats],
  meter_id: term(),
  version: 4,
  xid: 0..4_294_967_295
}

Link to this section Functions

Link to this function

new(options \\ [])
new(
  version: 4,
  xid: 0..4_294_967_295,
  datapath_id: String.t() | nil,
  aux_id: 0..255 | nil,
  command: command(),
  flags: [:kbps | :pktps | :burst | :stats],
  bands: [Openflow.MeterBand.Drop.t() | Openflow.MeterBand.Remark.t()]
) :: t()

Link to this function

ofp_type()
ofp_type() :: 29

Link to this function

read(arg)
read(<<_::64, _::_*128>>) :: t()

Link to this function

to_binary(meter_mod)
to_binary(t()) :: <<_::64, _::_*128>>