[VOL-5464] - Reduce call flows in voltha during ONU reboot
Change-Id: I081dabb9d5fa5a5d177a4fee03879e207caa4dc8
Signed-off-by: Sridhar Ravindra <sridhar.ravindra@radisys.com>
diff --git a/internal/pkg/config/config.go b/internal/pkg/config/config.go
index 5d90f92..04e4293 100644
--- a/internal/pkg/config/config.go
+++ b/internal/pkg/config/config.go
@@ -76,6 +76,7 @@
MetricsEnabled bool
ExtendedOmciSupportEnabled bool
SkipOnuConfig bool
+ CheckDeviceTechProfOnReboot bool
}
// ParseCommandArguments parses the arguments when running read-write adaptercore service
@@ -292,6 +293,10 @@
"skip_onu_config_enabled",
false,
"Whether to enable/disable the Skipping of the ONU configuration via OMCI during reconciling")
+ fs.BoolVar(&(so.CheckDeviceTechProfOnReboot),
+ "check_device_tech_prof_on_reboot_enabled",
+ false,
+ "To check for device tech profile and configure during ONU reboot")
fs.UintVar(&(so.MaxRetries),
"max_grpc_client_retry",
0,