mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-04 20:06:09 +02:00
of10: assume OFPPhyPort.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
6b993c5e2b
commit
85c28bd4b3
@ -86,10 +86,11 @@ class OFPPhyPort(ofproto_parser.namedtuple('OFPPhyPort', (
|
||||
_TYPE = {
|
||||
'ascii': [
|
||||
'hw_addr',
|
||||
|
||||
# XXX OF spec is unclear about the encoding of name.
|
||||
# OVS seems to use UTF-8.
|
||||
# 'name',
|
||||
],
|
||||
'utf-8': [
|
||||
# OF spec is unclear about the encoding of name.
|
||||
# we assumes UTF-8, which is used by OVS.
|
||||
'name',
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user