tres v0.1.1 API Reference

Modules

OpenFlow Protocol format codec

Openflow parser handler

Copy the TTL from next-to-outermost to outermost header with TTL.
Copy can be IP-to-IP, MPLS-to-MPLS, or IP-to-MPLS

Copy the TTL from outermost to next-to-outermost header with TTL.
Copy can be IP-to-IP, MPLS-to-MPLS, or MPLS-to-IP

Decrement MPLS TTL action

Decrement IP TTL

Apply Group

Copies value[0:n_bits] to dst[ofs:ofs+n_bits], where a[b:c] denotes the bits within 'a' numbered 'b' through 'c' (not including bit 'c'). Bit numbering starts at 0 for the least-significant bit, 1 for the next most significant bit, and so on

Copies src[src_ofs:src_ofs+n_bits] to dst[dst_ofs:dst_ofs+n_bits], where a[b:c] denotes the bits within 'a' numbered 'b' through 'c' (not including bit 'c'). Bit numbering starts at 0 for the least-significant bit, 1 for the next most significant bit, and so on

Searches the flow table again, using a flow that is slightly modified from the original lookup

Set encapsulating tunnel ID

Action for sends packets out port_number

Pop the out MPLS label

Pop the outer VLAN tag

Push a new MPLS label

Push a new VLAN tag

Set a header field using OXM TLV format

Replace the existing MPLS TTL.
Only applies to the packets with an existing MPLS shim header

Set queue id when outputting to a port

auto generated code

OpenFlow Error codec module

OpenFlow Hello codec module

Openflow instruction codec handler

Dispatcher