mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-01-25 02:21:45 +01:00
of14: Add optical property to port mod reply unit test
Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
parent
55b89f0bd8
commit
6e2f80e2d7
Binary file not shown.
@ -491,7 +491,13 @@ x() ->
|
||||
#ofp_port_mod{port_no = 1, hw_addr = <<0,17,0,0,17,17>>,
|
||||
config = [],mask = [],
|
||||
properties =
|
||||
[#ofp_port_mod_prop_ethernet{advertise = [fiber]}]},
|
||||
[#ofp_port_mod_prop_ethernet{advertise = [fiber]},
|
||||
#ofp_port_mod_prop_optical{
|
||||
configure = [rx_tune, tx_tune],
|
||||
freq_lmda = 1500,
|
||||
fl_offset = 2000,
|
||||
grid_span = 3000,
|
||||
tx_pwr = 300}]},
|
||||
#ofp_table_mod{
|
||||
properties =
|
||||
[#ofp_table_mod_prop_eviction{flags = []},
|
||||
|
||||
@ -10,6 +10,17 @@
|
||||
"length": 8,
|
||||
"advertise": 4096
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPPortModPropOptical": {
|
||||
"length": 24,
|
||||
"type": 1,
|
||||
"configure": 3,
|
||||
"freq_lmda": 1500,
|
||||
"fl_offset": 2000,
|
||||
"grid_span": 3000,
|
||||
"tx_pwr": 300
|
||||
}
|
||||
}
|
||||
],
|
||||
"port_no": 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user