sonic-buildimage/src/sonic-config-engine/tests
Neetha John 05ab004593
Minigraph parser changes for storage backend acl (#11221)
Signed-off-by: Neetha John nejo@microsoft.com

Why I did it
For storage backend, certain rules will be applied to the DATAACL table to allow only vlan tagged packets and drop untagged packets.

How I did it
Create DATAACL table if the device is a storage backend device
To avoid ACL resource issues, remove EVERFLOW related tables if the device is a storage backend device

How to verify it
Added the following unit tests
- verify that EVERFLOW acl tables is removed and DATAACL table is added for storage backend tor
- verify that no DATAACL tables are created and EVERFLOW tables exist for storage backend leaf
2022-07-06 10:27:05 -07:00
..
data Add backend acl template (#11220) 2022-07-06 10:24:16 -07:00
mock_tables [multi-asic][sonic-config-engine]: Get PORT table from namespace config db (#7632) 2021-06-07 12:34:23 -07:00
multi_npu_data [sonic-cfggen]: Add port speed for UT (#10483) 2022-04-07 13:50:07 +08:00
sample_output [Interfaces] Add more unit tests for interfaces.j2 (#11277) 2022-06-30 09:34:27 -07:00
__init__.py [cfggen] Add basic functional test (#375) 2017-03-17 11:07:12 -07:00
.gitignore [sonic-cfggen]: Add -p option and add teamd.j2 test (#414) 2017-03-17 21:38:20 -07:00
common_utils.py [macsec] Parse masec_enabled and macsec_profile from minigraph (#10917) 2022-06-29 09:58:35 -07:00
device.xml [cfg engine] Add support to read device description xml (#775) 2017-07-06 15:28:23 -07:00
fg-ecmp-sample-minigraph.xml [sonic-cfggen]: Fix missing vlan interface (#9639) 2022-01-05 10:10:46 -08:00
l1-l3-sample-port-config.ini Support L1 & L3 Config generation in SONiC (#7637) 2021-07-07 22:57:58 -07:00
macsec_profile.json [macsec] Parse masec_enabled and macsec_profile from minigraph (#10917) 2022-06-29 09:58:35 -07:00
mellanox-sample-port-config.ini Minigraph ECMP parsing support (cleaner format) (#4985) 2020-12-30 15:18:21 -08:00
ndppd.conf.j2 [docker-orchagent]: Add NDP Proxy Daemon (#5517) 2020-10-05 08:48:13 -07:00
ntp.conf.j2 [ntp] Fix ntp.conf template to allow setting of source port in CONFIG_DB (#7586) 2021-05-23 13:40:43 -07:00
pc-test-graph.xml [sonic-cfggen]: Add port speed for UT (#10483) 2022-04-07 13:50:07 +08:00
platform-sample-graph.xml [DPB]Removing default admin status initialization in DPB flow while loading minigraph (#8711) 2021-09-13 09:01:29 -07:00
radv-test-sample-graph.xml [sonic-cfggen]: Add port speed for UT (#10483) 2022-04-07 13:50:07 +08:00
sample_graph.xml [sonic-cfggen]: Add port speed for UT (#10483) 2022-04-07 13:50:07 +08:00
sample_hwsku.json [sonic-config-engine]: Improve comparison between default and supported breakout modes. (#9278) 2021-12-20 08:56:08 -08:00
sample_platform.json [sonic-config-engine][portconfig] Do not parse JSON as Python AST (#10224) 2022-03-21 12:43:43 -07:00
sample-arista-7050-t0-minigraph.xml [sonic-cfggen]: Add port speed for UT (#10483) 2022-04-07 13:50:07 +08:00
sample-arista-7050cx3-dualtor-minigraph-remap-disabled.xml Update qos template to support SYSTEM_DEFAULT table (#10936) 2022-06-02 21:48:57 +08:00
sample-arista-7050cx3-dualtor-minigraph.xml Update qos template to support SYSTEM_DEFAULT table (#10936) 2022-06-02 21:48:57 +08:00
sample-arista-7260-dualtor-minigraph-remap-disabled.xml Update qos template to support SYSTEM_DEFAULT table (#10936) 2022-06-02 21:48:57 +08:00
sample-arista-7260-dualtor-minigraph.xml Update qos template to support SYSTEM_DEFAULT table (#10936) 2022-06-02 21:48:57 +08:00
sample-arista-7260-t1-minigraph-remap-disabled.xml Update qos template to support SYSTEM_DEFAULT table (#10936) 2022-06-02 21:48:57 +08:00
sample-arista-7260-t1-minigraph.xml Update qos template to support SYSTEM_DEFAULT table (#10936) 2022-06-02 21:48:57 +08:00
sample-arista-7800r3-48cq2-lc-t2-minigraph.xml [Chassis][QoS template] Skip configuring buffer and QoS config on recirc ports (#7869) 2022-03-09 16:04:36 -08:00
sample-chassis-packet-lc-graph.xml [sonic-cfggen] Fix invalid switch_type (#10383) 2022-03-31 15:29:23 +08:00
sample-chassis-packet-lc-port-config.ini [chassis-packet] Fixed BGP Internal Peer template (#9106) 2021-10-29 11:02:38 -07:00
sample-dell-6100-t0-minigraph.xml [sonic-config-engine] Parse AutoNegotiation element from LinkMetadata section of minigraph file (#7031) 2021-03-12 16:34:27 -08:00
sample-dell-9332-t1-minigraph.xml Updated traffic scheduler settings for HWSKUs : DellEMC-Z9332f-O32 and DellEMC-Z9332f-M-O16C64 (#9828) 2022-02-23 17:22:41 -08:00
sample-graph-resource-type.xml [sonic-config-engine] Fix typo in hwsku name in sample graph (#10941) 2022-05-27 09:46:23 -07:00
sample-graph-storage-backend.xml Minigraph parser changes for storage backend acl (#11221) 2022-07-06 10:27:05 -07:00
sample-graph-subintf.xml Minigraph parser changes for storage backend acl (#11221) 2022-07-06 10:27:05 -07:00
sample-mellanox-2410-t1-minigraph.xml [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
sample-mellanox-2700-t0-minigraph.xml [Reclaim buffer] Reclaim unused buffers by applying zero buffer profiles (#8768) 2021-11-29 08:04:01 -08:00
sample-port-config-mlnx.ini [sonic-cfggen]: Add DEVICE_NEIGHBOR_METADATA field and move msn27xx template (#1025) 2017-10-19 00:38:25 -07:00
sample-port-data.json [Interfaces] Add more unit tests for interfaces.j2 (#11277) 2022-06-30 09:34:27 -07:00
sample-template-1.json.j2 [cfggen] Extend Template Argument to Support Batch Mode (#4941) 2020-08-12 15:13:06 -07:00
sample-template-2.json.j2 [cfggen] Extend Template Argument to Support Batch Mode (#4941) 2020-08-12 15:13:06 -07:00
sample-voq-graph.xml [macsec] Parse masec_enabled and macsec_profile from minigraph (#10917) 2022-06-29 09:58:35 -07:00
sample-ztp-inband-ip.json [Interfaces] Add more unit tests for interfaces.j2 (#11277) 2022-06-30 09:34:27 -07:00
sample-ztp-inband.json [Interfaces] Add more unit tests for interfaces.j2 (#11277) 2022-06-30 09:34:27 -07:00
sample-ztp-ip.json [Interfaces] Add more unit tests for interfaces.j2 (#11277) 2022-06-30 09:34:27 -07:00
sample-ztp.json [Interfaces] Add more unit tests for interfaces.j2 (#11277) 2022-06-30 09:34:27 -07:00
simple-sample-device-desc-ipv6-only.xml [minigraph] Support parse IPv6 in device_desc.xml (#11095) 2022-06-28 20:14:53 +08:00
simple-sample-device-desc.xml [minigraph] Support parse IPv6 in device_desc.xml (#11095) 2022-06-28 20:14:53 +08:00
simple-sample-graph-case-remap-disabled.xml Define SYSTEM_DEFAULTS table to control tunnel_qos_remap (#10877) 2022-05-28 15:34:28 +08:00
simple-sample-graph-case-remap-enabled.xml Define SYSTEM_DEFAULTS table to control tunnel_qos_remap (#10877) 2022-05-28 15:34:28 +08:00
simple-sample-graph-case.xml [minigraph][dualtor] Support parsing soc_ip out of dpg (#11207) 2022-07-05 15:50:05 -07:00
simple-sample-graph-metadata.xml [sonic-cfggen]: Add port speed for UT (#10483) 2022-04-07 13:50:07 +08:00
simple-sample-graph.xml [sonic-config-gen] Modify lag names to enforce 15 chars limit (#10792) 2022-05-15 13:02:49 +08:00
t0_7050cx3_d48c8_port_config.ini [l2-preset]: Add all dual ToR required fields (#7318) 2021-04-14 17:38:14 -07:00
t0-sample-acl.json [sonic-cfggen] Enhance ACL unit test to also test control plane (service) ACLs (#1349) 2018-01-30 11:19:03 -08:00
t0-sample-autoneg-port-config.ini [sonic-config-engine] Parse AutoNegotiation element from LinkMetadata section of minigraph file (#7031) 2021-03-12 16:34:27 -08:00
t0-sample-bgp-speaker.xml [sonic-cfggen]: Add port speed for UT (#10483) 2022-04-07 13:50:07 +08:00
t0-sample-deployment-id.xml [sonic-cfggen]: Add port speed for UT (#10483) 2022-04-07 13:50:07 +08:00
t0-sample-graph-mvrf-nomgmt.xml [Interfaces] Add more unit tests for interfaces.j2 (#11277) 2022-06-30 09:34:27 -07:00
t0-sample-graph-mvrf.xml [sonic-cfggen]: Add port speed for UT (#10483) 2022-04-07 13:50:07 +08:00
t0-sample-graph-nomgmt.xml [Interfaces] Add more unit tests for interfaces.j2 (#11277) 2022-06-30 09:34:27 -07:00
t0-sample-graph.xml [dhcp_relay] Add "vlan missing ip helper" dhcp relay unittest (#10654) 2022-06-04 11:37:04 -07:00
t0-sample-no-ip-helper-graph.xml [dhcp_relay] Add "vlan missing ip helper" dhcp relay unittest (#10654) 2022-06-04 11:37:04 -07:00
t0-sample-port-config-tiny.ini [Interfaces] Add more unit tests for interfaces.j2 (#11277) 2022-06-30 09:34:27 -07:00
t0-sample-port-config.ini [sonic-cfggen]: Add -p option and add teamd.j2 test (#414) 2017-03-17 21:38:20 -07:00
t1-sample-graph-mlnx.xml [sonic-config-engine] Parse AutoNegotiation element from LinkMetadata section of minigraph file (#7031) 2021-03-12 16:34:27 -08:00
t2-chassis-fe-graph-pc.xml [sonic-cfggen]: Add port speed for UT (#10483) 2022-04-07 13:50:07 +08:00
t2-chassis-fe-graph-vni.xml [sonic-cfggen]: Add port speed for UT (#10483) 2022-04-07 13:50:07 +08:00
t2-chassis-fe-graph.xml [sonic-cfggen]: Add port speed for UT (#10483) 2022-04-07 13:50:07 +08:00
t2-chassis-fe-port-config.ini [sonic-cfggen][FRR] Support T2 chassis frontend (#3100) 2019-07-08 17:32:20 -07:00
test2.j2 [cfggen] Extend Template Argument to Support Batch Mode (#4941) 2020-08-12 15:13:06 -07:00
test_cfggen_from_yang.py [Yang][cfggen] update sonic-cfggen to generate config_db from Yang data (#7712) 2021-06-10 12:03:33 -07:00
test_cfggen_pfx_filter.py [cfggen] Build Python 2 And Python 3 Wheel Packages 2020-09-30 07:07:43 -07:00
test_cfggen_platformJson.py [sonic-cfggen]: Update UT to add port lanes (#10362) 2022-04-04 12:55:33 +08:00
test_cfggen_t2_chassis_fe.py [cfggen] Build Python 2 And Python 3 Wheel Packages 2020-09-30 07:07:43 -07:00
test_cfggen.py Minigraph parser changes for storage backend acl (#11221) 2022-07-06 10:27:05 -07:00
test_frr.py remove staticd.conf.j2 (#9182) 2021-11-24 15:32:16 -08:00
test_j2files_t2_chassis_fe.py [cfggen] Build Python 2 And Python 3 Wheel Packages 2020-09-30 07:07:43 -07:00
test_j2files.py Add backend acl template (#11220) 2022-07-06 10:24:16 -07:00
test_minigraph_case.py [minigraph][dualtor] Support parsing soc_ip out of dpg (#11207) 2022-07-05 15:50:05 -07:00
test_multinpu_cfggen.py [sonic-cfggen]: Update UT to run yang validation (#9700) 2022-05-16 11:42:20 +08:00
test_yang_data.json [Yang][cfggen] update sonic-cfggen to generate config_db from Yang data (#7712) 2021-06-10 12:03:33 -07:00
test.j2 [cfggen] Add basic functional test (#375) 2017-03-17 11:07:12 -07:00
test.yml [cfggen] Add basic functional test (#375) 2017-03-17 11:07:12 -07:00
voq-sample-port-config.ini [voq][chassis]fix recirc port admin status (#10769) 2022-05-24 14:36:09 -07:00