Skip to content

The switch fails to start when calling /switch REST API #19

@mentels

Description

@mentels

The switch fails to start when calling for example

curl -d '{"host_id": "192.169.0.101", "type": "local/linc", "interfaces": ["cen1", "cen2"]}' http://localhost:8080/switch

The error is:

  (linc@leviathan1)1> 10:11:07.901 [error] CRASH REPORT Process <0.757.0> with 1 neighbours exited with reason: no match of right hand value {error,enodev} in linc_us4_oe_port_native:linux_raw_socket/1 line 170 in gen_server:init_it/6 line 328
10:11:07.901 [error] Backend module linc_us4_oe failed to start because: {case_clause,{error,{{badmatch,{error,enodev}},[{linc_us4_oe_port_native,linux_raw_socket,1,[{file,"src/linc_us4_oe_port_native.erl"},{line,170}]},{linc_us4_oe_port_native,eth,1,[{file,"src/linc_us4_oe_port_native.erl"},{line,79}]},{linc_us4_oe_port,init,1,[{file,"src/linc_us4_oe_port.erl"},{line,469}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}}}

However it works for multi-host-demo tag.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions