From 6d66d9b8fc638100245a94be96e2c8efe14922c9 Mon Sep 17 00:00:00 2001 From: tjchadaga <85581939+tjchadaga@users.noreply.github.com> Date: Sat, 6 Aug 2022 10:05:45 +0530 Subject: [PATCH] Revert "Add load_minigraph option to include traffic-shift-away during config migration (#11403)" (#11625) This reverts commit 6c2f99a32766f0cb3f0fbfad24c50f8ee6290e7a. --- files/image_config/config-setup/config-setup | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/files/image_config/config-setup/config-setup b/files/image_config/config-setup/config-setup index d80627f5f01e..de39586fd4f8 100755 --- a/files/image_config/config-setup/config-setup +++ b/files/image_config/config-setup/config-setup @@ -109,15 +109,7 @@ run_hookdir() { reload_minigraph() { echo "Reloading minigraph..." - if - [[ "$(sonic-cfggen -d -v DEVICE_METADATA.localhost.subtype | tr [:upper:] [:lower:])" == *"dualtor"* ]] || - [[ "$(sonic-cfggen -d -v DEVICE_METADATA.localhost.type | tr [:upper:] [:lower:])" == *"leafrouter"* ]]; - then - #Keep device isolated with traffic-shift-away option on LeafRouter and Dualtor - config load_minigraph -y -n -t - else - config load_minigraph -y -n - fi + config load_minigraph -y -n config save -y }