This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/src/sonic-config-engine
Neetha John a933b20d6f [minigraph] Add tagged vlan member support for storage backend (#9045)
Signed-off-by: Neetha John <nejo@microsoft.com>

Why I did it
Storage T0's have all vlan members as tagged

How I did it
Since currently minigraph does not have a unique way to identify if a vlan member is tagged/untagged and to ensure other scenarios are not broken, the logic used is to just update the vlan member type as 'tagged' when we determine that it is a storage backend device. This change will apply only to storage backend T0's since storage backend T1's will not have vlan member information

How to verify it
Updated the storage backend T0 testcases to check for tagged vlan members
Added testcase to check if a T1 and backend T1 device generates an empty vlan member table
Existing vlan member testcases are good enough for checking if any regression has been caused for regular T0's
Build sonic_config_engine-1.0-py3-none-any.whl successfully
2021-10-29 01:05:47 +00:00
..
data Support L1 & L3 Config generation in SONiC (#7637) 2021-08-07 12:40:06 +00:00
tests [minigraph] Add tagged vlan member support for storage backend (#9045) 2021-10-29 01:05:47 +00: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 Support L1 & L3 Config generation in SONiC (#7637) 2021-08-07 12:40:06 +00: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 [minigraph] Add tagged vlan member support for storage backend (#9045) 2021-10-29 01:05:47 +00:00
openconfig_acl.py [openconfig_acl] Allow setting ICMP type/code to 0 (#6932) 2021-03-04 21:23:05 +00:00
portconfig.py [sonic-cfggen] parse optional fec and autoneg fields from hwsku.json (#6155) 2021-01-24 22:43:10 -08:00
redis_bcc.py sonic-config-engine uses libswsscommon instead of swsssdk (#6406) 2021-01-22 10:56:13 -08:00
setup.py [build]: Fix sonic-cfggen contextlib err (#7996) 2021-06-28 17:18:45 -07:00
sonic-acl-extension.yang [openconfig_acl] Allow setting ICMP type/code to 0 (#6932) 2021-03-04 21:23:05 +00:00
sonic-cfggen [multi-asic] Fix for sonic-cfggen exception during platform string read (#8229) 2021-09-29 03:55:20 +00:00