sonic-buildimage/src/sonic-yang-models/tests
Mykola Gerasymenko 7162532ddf
Add PG_DROP yang model (#7138)
Signed-off-by: Mykola Gerasymenko <mykolax.gerasymenko@intel.com>

Why I did it
Dynamic Port Breakout falls cause of PG_DROP yang model missing

How I did it
Add PG_DROP yang model and add check this field in unit test for yang model

How to verify it
Firstly try to do DPB (2x50G) for Ethernet0 port:
sudo config interface breakout Ethernet0 2x50G -f
After that try to do DPB (1x100G[40G]) for Ethernet0 port:
sudo config interface breakout Ethernet0 1x100G[40G] -f
Both commands should work correctly.
2021-06-15 08:59:57 -07:00
..
files [Yang] SONiC Yang model support for NAT (#7051) 2021-06-10 11:42:13 -07:00
yang_model_tests Add PG_DROP yang model (#7138) 2021-06-15 08:59:57 -07:00
__init__.py [sonic-yang-models]: First version of yang models for Port, VLan, Interface, PortChannel, loopback and ACL. (#3730) 2020-04-14 15:36:02 -07:00
test_sonic_yang_models.py [sonic-yang-models]: fix unit test failure (#7436) 2021-05-06 10:57:03 -07:00