Closed Tobianas closed 1 year ago
Setting format as SchemaFormat has caused Lighty not to receive schema models from device properly. The cause was that this condition inside netconf used by Lighty was always true due to not using YANG format:
https://github.com/opendaylight/netconf/blob/798a05a2d099fd66040bf3b10635afaec9b3b7d4/netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/NetconfStateSchemas.java#L279
The device sent SchemaFormat format which caused this method to always return Optional.empty().
JIRA: LIGHTY-97
Fix: https://github.com/PANTHEONtech/lighty-netconf-simulator/issues/112
Setting format as SchemaFormat has caused Lighty not to receive schema models from device properly. The cause was that this condition inside netconf used by Lighty was always true due to not using YANG format:
https://github.com/opendaylight/netconf/blob/798a05a2d099fd66040bf3b10635afaec9b3b7d4/netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/NetconfStateSchemas.java#L279
The device sent SchemaFormat format which caused this method to always return Optional.empty().
JIRA: LIGHTY-97