From 44c3a572b07d85c9aa160cb73c9a600597490d4a Mon Sep 17 00:00:00 2001 From: Tejaswini Chadaga Date: Fri, 28 Apr 2023 23:48:52 +0000 Subject: [PATCH] Revert "Add load_minigraph option to include traffic-shift-away during config migration (#11403)" This reverts commit 0c7f0aa9b7a35e3a873809fa6ebd24f7226dbdff. --- 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 7ddf4530fe5d..b151437b9e25 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 }