Class: Trema::TableStatsReply
- Inherits:
-
StatsHelper
- Object
- StatsHelper
- Trema::TableStatsReply
- Defined in:
- ruby/trema/table-stats-reply.rb
Constant Summary collapse
- FIELDS =
%w(table_id name wildcards max_entries ) + %w(active_count lookup_count matched_count)
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ TableStatsReply
constructor
Information about tables that a switch supports.
Methods inherited from StatsHelper
Constructor Details
#initialize(options = {}) ⇒ TableStatsReply
Information about tables that a switch supports. A switch may choose to maintain a single table that can store both wildcard and exact match flows. Or may use separate tables for each flow type. A user would not explicitly instantiate a Trema::TableStatsReply object but would be created as a result of parsing the OFPT_STATS_REPLY(OFPST_TABLE) message.
74 75 76 |
# File 'ruby/trema/table-stats-reply.rb', line 74 def initialize super FIELDS, end |