FlowForwarding/LINC-Switch

LINC is unable to set the <auto-negotiate> element of an existent capable switch port to default value('true') when sending port config without <auto-negotiate> element

alexandravlad opened this issue · 0 comments

Tested with Luxoft's Twister framework, OFConfig1.1.1
Test scenario: Have a capable switch port that has the element set to 'true'. Send to switch a port config that hasn't "auto-negotiate" element configured:
<nc:config xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"> <capable-switch> <id>CapableSwitch0</id> <resources> <port> <resource-id>LogicalSwitch0-Port1</resource-id> <features> <advertised operation="replace"> <rate>other</rate> <medium>copper</medium> <pause>unsupported</pause> </advertised> </features> </port> </resources> </capable-switch> </nc:config>

Test result:
Switch accepts config without error, is sending back RPC-OK, but the value for "auto-negotiate" element is now 'false', instead of ' true ' (default value if element is not present---> based on OFConfig1.1.1 specification)