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 @@ -106,6 +106,9 @@ def __init__( # pylint: disable=R0913
106
106
self .onboarding_class = StandaloneOnboarding
107
107
self .driver_addon_result = None
108
108
109
+ # Enable loading driver extensions
110
+ self .load_driver_extension = True
111
+
109
112
def check_ip (self ):
110
113
"""Method to check if the IP address form field was an IP address.
111
114
@@ -293,7 +296,7 @@ def get_onboarding_facts(self):
293
296
294
297
module_name = PLUGIN_SETTINGS ["onboarding_extensions_map" ].get (self .napalm_driver )
295
298
296
- if module_name :
299
+ if module_name and self . load_driver_extension :
297
300
try :
298
301
module = importlib .import_module (module_name )
299
302
driver_addon_class = module .OnboardingDriverExtensions (napalm_device = napalm_device )
You can’t perform that action at this time.
0 commit comments