faucet.valve_table module¶
Abstraction of an OF table.
-
class
faucet.valve_table.
ValveGroupEntry
(table, group_id, buckets)[source]¶ Bases:
object
Abstraction for a single OpenFlow group entry.
-
class
faucet.valve_table.
ValveGroupTable
[source]¶ Bases:
object
Wrap access to group table.
-
entries
= None¶
-
-
class
faucet.valve_table.
ValveTable
(name, table_config, flow_cookie, notify_flow_removed=False, next_tables=None)[source]¶ Bases:
object
Wrapper for an OpenFlow table.
-
flowcontroller
(match=None, priority=None, inst=None, max_len=96)[source]¶ Add flow outputting to controller.
-
flowdel
(match=None, priority=None, out_port=4294967295, strict=False)[source]¶ Delete matching flows from a table.
-
flowmod
(match=None, priority=None, inst=None, command=0, out_port=0, out_group=0, hard_timeout=0, idle_timeout=0, cookie=None)[source]¶ Helper function to construct a flow mod message with cookie.
-