mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 04:16:11 +02:00
of13: assume OFPTableFeaturesStats.name UTF-8
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
1d35c7d02d
commit
a6a2dc83ee
@ -4597,6 +4597,15 @@ class OFPMeterFeaturesStatsReply(OFPMultipartReply):
|
||||
|
||||
|
||||
class OFPTableFeaturesStats(StringifyMixin):
|
||||
|
||||
_TYPE = {
|
||||
'utf-8': [
|
||||
# OF spec is unclear about the encoding of name.
|
||||
# we assumes UTF-8.
|
||||
'name',
|
||||
]
|
||||
}
|
||||
|
||||
def __init__(self, table_id=None, name=None, metadata_match=None,
|
||||
metadata_write=None, config=None, max_entries=None,
|
||||
properties=None, length=None):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user