diff --git a/src/sonic-yang-models/doc/Configuration.md b/src/sonic-yang-models/doc/Configuration.md index b5890681ce41..6073fd428256 100644 --- a/src/sonic-yang-models/doc/Configuration.md +++ b/src/sonic-yang-models/doc/Configuration.md @@ -1152,7 +1152,8 @@ optional attributes. "description": "fortyGigE1/1/1", "mtu": "9100", "alias": "fortyGigE1/1/1", - "speed": "40000" + "speed": "40000", + "link_training": "off" }, "Ethernet1": { "index": "1", @@ -1161,9 +1162,10 @@ optional attributes. "mtu": "9100", "alias": "fortyGigE1/1/2", "admin_status": "up", - "speed": "40000" + "speed": "40000", + "link_training": "on" }, - "Ethernet63": { + "Ethernet63": { "index": "63", "lanes": "87,88", "description": "fortyGigE1/4/16", diff --git a/src/sonic-yang-models/tests/files/sample_config_db.json b/src/sonic-yang-models/tests/files/sample_config_db.json index a214560de759..9933473df57c 100644 --- a/src/sonic-yang-models/tests/files/sample_config_db.json +++ b/src/sonic-yang-models/tests/files/sample_config_db.json @@ -438,7 +438,8 @@ "index": "0", "asic_port_name": "Eth0-ASIC1", "role": "Ext", - "macsec": "test" + "macsec": "test", + "link_training": "off" }, "Ethernet1": { "alias": "Eth1/2", @@ -449,7 +450,8 @@ "admin_status": "up", "autoneg": "on", "adv_speeds": "100000,50000", - "adv_interface_types": "CR,CR4" + "adv_interface_types": "CR,CR4", + "link_training": "on" }, "Ethernet2": { "alias": "Eth1/3",