[yang] interface yang model is missing mac_addr key #14253
Labels
Issue for 202205
Issue for 202211
Triaged
this issue has been triaged
YANG
YANG model related changes
Description
interface yang model is missing the mac_addr key.
RIF mac address config was defined at sonic-net/sonic-swss#814, however,
it is not defined in https://github.com/sonic-net/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-interface.yang
Steps to reproduce the issue:
Describe the results you received:
interface yang model is missing mac_addr key
Describe the results you expected:
interface yang model should include mac_addr key
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
I suggest to add the following to sonic-interface.yang:
import ietf-yang-types {
prefix yang;
}
...
...
leaf mac_addr {
type yang:mac-address;
}
The text was updated successfully, but these errors were encountered: