File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,9 @@ def __init__( # pylint: disable=R0913
104104 self .onboarding_class = StandaloneOnboarding
105105 self .driver_addon_result = None
106106
107+ # Enable loading driver extensions
108+ self .load_driver_extension = True
109+
107110 def check_reachability (self ):
108111 """Ensure that the device at the mgmt-ipaddr provided is reachable.
109112
@@ -248,7 +251,7 @@ def get_onboarding_facts(self):
248251
249252 module_name = PLUGIN_SETTINGS ["onboarding_extensions_map" ].get (self .napalm_driver )
250253
251- if module_name :
254+ if module_name and self . load_driver_extension :
252255 try :
253256 module = importlib .import_module (module_name )
254257 driver_addon_class = module .OnboardingDriverExtensions (napalm_device = napalm_device )
You can’t perform that action at this time.
0 commit comments