Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad_multipart_bad #91

Open
SunnyuanBupt opened this issue Mar 28, 2017 · 0 comments
Open

bad_multipart_bad #91

SunnyuanBupt opened this issue Mar 28, 2017 · 0 comments

Comments

@SunnyuanBupt
Copy link

When I want to run in the "LINC_Switch_Quick_Start_Guid" in the"Ping Demonstration example"
, when compile the sys.config and then use the command:"sudo rel/linc/bin/linc console", will appear the following error:
Message: {ofp_message,4,multipart_request,4248984972,{ofp_meter_config_reply,[],[{ofp_meter_config,[kbps],17,[{ofp_meter_band_drop,drop,900,4294967295}]}]}}
Channel id: <0.763.0>
Message cannot be sent through OFP Channel because:
bad_multipart_split
I will be appreciate it if you are kind enough to help me ,and you can also email to me:1183658520@qq.com
Here is my sys.config:
[
{linc,
[
{of_config, enabled},
{sync_routing, true},
{capable_switch_ports,
[
{port, 1, [{interface, "tap0"}]},
{port, 2, [{interface, "tap1"}]}
]},
{capable_switch_queues, []},
{logical_switches,
[
{switch, 0,
[
{backend, linc_us4_oe},
{controllers,
[
{"Switch0-DefaultController", "localhost", 6633, tcp}
]},
{controllers_listener, disabled},
{queues_status, disabled},
{datapath_id, "00:00:00:00:00:00:00:01"},
{ports, [
{port, 1, [{queues, []}]},
{port, 2, [{queues, []}]}
]}
]}
]}
]},
{epcap,
[
{verbose, false},
{stats_interval, 10}
]},

{of_protocol,
[
%% This flag allows to disable splitting messages into multipart
%% messages.
%% {no_multipart, true}
]},
{enetconf,
[
{capabilities, [{base, {1, 0}},
{base, {1, 1}},
{startup, {1, 0}},
{'writable-running', {1, 0}}]},
{callback_module, linc_ofconfig},
{sshd_ip, any},
{sshd_port, 1830},
{sshd_user_passwords,
[
{"linc", "linc"}
]}
]},
{lager,
[{colored, true},
{handlers,
[{lager_console_backend, info},
{lager_file_backend, [{file, "log/error.log"}, {level, error},
{size, 10485760}, {date, "$D0"},{count, 5}]},
{lager_file_backend, [{file, "log/console.log"}, {level, info},
{size, 10485760}, {date, "$D0"},{count, 5}]}
]}
]},
{sasl,
[
{sasl_error_logger, {file, "log/sasl-error.log"}},
{errlog_type, error},
{error_logger_mf_dir, "log/sasl"}, % Log directory
{error_logger_mf_maxbytes, 10485760}, % 10 MB max file size
{error_logger_mf_maxfiles, 5} % 5 files max
]},
{sync,
[
{excluded_modules, [procket]}
]}
].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant