mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-04 20:06:09 +02:00
packet_data_generator: use utf-8 in table name and port name
actually uses non-ascii characters in some places. 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
35f7c1230d
commit
31f8a21d37
@ -279,7 +279,7 @@ x() ->
|
||||
flags = [],
|
||||
stats =
|
||||
[#ofp_table_stats{
|
||||
table_id = 0,name = <<"Flow Table 0x00">>,
|
||||
table_id = 0,name = <<"\xe7\xa7\x81\xe3\x81\xae\xe3\x83\x86\xe3\x83\xbc\xe3\x83\x96\xe3\x83\xab">>, % "my table" in japanese, utf-8
|
||||
match =
|
||||
[in_port,metadata,eth_dst,eth_src,eth_type,vlan_vid,
|
||||
vlan_pcp,ip_dscp,ip_ecn,ip_proto,ipv4_src,ipv4_dst,tcp_src,
|
||||
@ -8511,7 +8511,7 @@ x() ->
|
||||
reason = add,
|
||||
desc = #ofp_port{
|
||||
port_no = 7,hw_addr = <<"\362\v\244\320?p">>,
|
||||
name = <<"Port7">>,
|
||||
name = <<"\xe7\xa7\x81\xe3\x81\xae\xe3\x83\x9d\xe3\x83\xbc\xe3\x83\x88">>, % "my port" in japanese, utf-8
|
||||
config = [],
|
||||
state = [live],
|
||||
curr = ['100mb_fd',copper,autoneg],
|
||||
|
||||
@ -338,7 +338,7 @@ x() ->
|
||||
reason = add,
|
||||
desc = #ofp_port{
|
||||
port_no = 7,hw_addr = <<"\362\v\244\320?p">>,
|
||||
name = <<"Port7">>,
|
||||
name = <<"\xe7\xa7\x81\xe3\x81\xae\xe3\x83\x9d\xe3\x83\xbc\xe3\x83\x88">>, % "my port" in japanese, utf-8
|
||||
config = [],
|
||||
state = [live],
|
||||
curr = ['100mb_fd',copper,autoneg],
|
||||
@ -1394,7 +1394,7 @@ x() ->
|
||||
flags = [more],
|
||||
body =
|
||||
[#ofp_table_features{
|
||||
table_id = 0,name = <<"Flow Table 0x00">>,
|
||||
table_id = 0,name = <<"\xe7\xa7\x81\xe3\x81\xae\xe3\x83\x86\xe3\x83\xbc\xe3\x83\x96\xe3\x83\xab">>, % "my table" in japanese, utf-8
|
||||
metadata_match = <<"\377\377\377\377\377\377\377\377">>,
|
||||
metadata_write = <<"\377\377\377\377\377\377\377\377">>,max_entries = 16777216,
|
||||
properties =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user