[VOL-5303]:Avoid reconciling the MEs with ONT
[VOL-5331] - Voltha DT PODTesets :: E2E pingtest fail
Change-Id: I7b105720435b970923b3ce86a7d37ed98a06c911
Signed-off-by: Praneeth Kumar Nalmas <praneeth.nalmas@radisys.com>
diff --git a/internal/pkg/config/config.go b/internal/pkg/config/config.go
index 8413bc8..08ecfa3 100644
--- a/internal/pkg/config/config.go
+++ b/internal/pkg/config/config.go
@@ -75,6 +75,7 @@
MaxConcurrentFlowsPerUni int
PerRPCRetryTimeout time.Duration
MaxRetries uint
+ SkipOnuConfig bool
}
// ParseCommandArguments parses the arguments when running read-write adaptercore service
@@ -287,6 +288,10 @@
"per_rpc_retry_timeout",
0*time.Second,
"The default timeout per RPC retry")
+ fs.BoolVar(&(so.SkipOnuConfig),
+ "skip_onu_config_enabled",
+ false,
+ "Whether to enable/disable the Skipping of the ONU configuration via OMCI during reconciling")
fs.UintVar(&(so.MaxRetries),
"max_grpc_client_retry",
0,