packet_data_generator: fix port names

these broken names were come from the bug in LINC.
https://github.com/FlowForwarding/LINC-Switch/pull/133

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:
YAMAMOTO Takashi 2013-08-26 15:34:30 +09:00 committed by FUJITA Tomonori
parent 193093a3fe
commit 77bda64419
3 changed files with 6 additions and 6 deletions

View File

@ -70,7 +70,7 @@ x() ->
ports =
[#ofp_phy_port{
port_no = 7,hw_addr = <<"\362\v\244\320?p">>,
name = <<80,111,114,116,7>>,
name = <<"Port7">>,
config = [],
state = [stp_block],
curr = [autoneg,copper,'100mb_fd'],
@ -79,7 +79,7 @@ x() ->
peer = [autoneg,copper,'100mb_fd']},
#ofp_phy_port{
port_no = 6,hw_addr = <<"\362\v\244}\370\352">>,
name = <<80,111,114,116,6>>,
name = <<"Port6">>,
config = [],
state = [stp_listen],
curr = [autoneg,copper,'100mb_fd'],

View File

@ -139,7 +139,7 @@ x() ->
ports =
[#ofp_port{
port_no = 7,hw_addr = <<"\362\v\244\320?p">>,
name = <<80,111,114,116,7>>,
name = <<"Port7">>,
config = [],
state = [live],
curr = ['100mb_fd',copper,autoneg],
@ -149,7 +149,7 @@ x() ->
curr_speed = 5000,max_speed = 5000},
#ofp_port{
port_no = 6,hw_addr = <<"\362\v\244}\370\352">>,
name = <<80,111,114,116,6>>,
name = <<"Port6">>,
config = [],
state = [live],
curr = ['100mb_fd',copper,autoneg],
@ -8511,7 +8511,7 @@ x() ->
reason = add,
desc = #ofp_port{
port_no = 7,hw_addr = <<"\362\v\244\320?p">>,
name = <<80,111,114,116,7>>,
name = <<"Port7">>,
config = [],
state = [live],
curr = ['100mb_fd',copper,autoneg],

View File

@ -338,7 +338,7 @@ x() ->
reason = add,
desc = #ofp_port{
port_no = 7,hw_addr = <<"\362\v\244\320?p">>,
name = <<80,111,114,116,7>>,
name = <<"Port7">>,
config = [],
state = [live],
curr = ['100mb_fd',copper,autoneg],