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)" (#3405)
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.
- Loading branch information