sonic-buildimage/src/sonic-config-engine
Joe LeVeque 7f52abc621
[sonic-config-engine] Parse AutoNegotiation element from LinkMetadata section of minigraph file (#7031)
Parse the value `AutoNegotiation` element from the `LinkMetadata` section of minigraph file. If the element is present, an `autoneg` key will be added to the port in the `PORT` table of Config DB with a value of either `off` or `on`

If an `autoneg` value is present in port_config.ini, the value from the minigraph will take precedence, overriding that value.

Also remove `AutoNegotiation` and `EnableAutoNegotiation` elements from the `DeviceInfo` section, as we will use this data in the `LinkMetadata` section to determine whether to enable auto-negotiation for a port.
2021-03-12 16:34:27 -08:00
..
data [L2 switch mode] Update l2switch.j2 template (#5981) 2020-11-21 11:35:35 -08:00
tests [sonic-config-engine] Parse AutoNegotiation element from LinkMetadata section of minigraph file (#7031) 2021-03-12 16:34:27 -08:00
__init__.py [cfggen] Remove NatSorted 2020-09-30 07:07:43 -07:00
.gitignore [sonic-config-engine] Update .gitignore (#5223) 2020-08-20 11:09:10 -07:00
config_samples.py [sonic-utilities] Update submodule; Build and install as a Python 3 wheel (#5926) 2020-11-25 10:28:36 -08:00
lazy_re.py [sonic-cfggen] optimize sonic-cfggen startup (#3658) 2019-10-31 09:17:29 -07:00
MANIFEST.in [config/acl] Support everflow config translation (#468) 2017-04-07 01:10:05 -07:00
minigraph.py [sonic-config-engine] Parse AutoNegotiation element from LinkMetadata section of minigraph file (#7031) 2021-03-12 16:34:27 -08:00
openconfig_acl.py [openconfig_acl] Allow setting ICMP type/code to 0 (#6932) 2021-03-02 14:32:00 -08:00
portconfig.py [DPB|master] Update Dynamic Port Breakout Logic for flexible alias support a… (#6831) 2021-02-26 00:13:33 -08:00
redis_bcc.py sonic-config-engine uses libswsscommon instead of swsssdk (#6406) 2021-01-20 12:06:08 -08:00
setup.py Bump pyyaml from 5.3.1 to 5.4.1 (#6511) 2021-01-28 10:46:56 -08:00
sonic-acl-extension.yang [openconfig_acl] Allow setting ICMP type/code to 0 (#6932) 2021-03-02 14:32:00 -08:00
sonic-cfggen [sonic-cfggen]: Use unix socket when reading from DB only if we are using sudo. (#7002) 2021-03-10 09:07:47 -08:00