Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[orchagent] fix "parsePortConfig: Unknown field(mode)"
When using "mode" as defined in https://github.com/sonic-net/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-port.yang this warning is emitted for each interface: ``` WARNING swss#orchagent: :- parsePortConfig: Unknown field(mode): skipping ... ``` It appears this field is not needed in orchagent at all, so we need to at least recognize it as valid then skip processing. Warnings harm debugging and can cause wasted cycles when debugging real issues. Signed-off-by: Brad House (@bradh352)
- Loading branch information