@@ -205,6 +205,7 @@ def get_device_group_info(nebula_connection_object, device_group_to_get_info):
205
205
# the following config variables are for configuring Nebula workers
206
206
nebula_manager_auth_user = get_conf_setting ("nebula_manager_auth_user" , auth_file , None )
207
207
nebula_manager_auth_password = get_conf_setting ("nebula_manager_auth_password" , auth_file , None )
208
+ nebula_manager_auth_token = get_conf_setting ("nebula_manager_auth_token" , auth_file , None )
208
209
nebula_manager_host = get_conf_setting ("nebula_manager_host" , auth_file )
209
210
nebula_manager_port = int (get_conf_setting ("nebula_manager_port" , auth_file , "80" ))
210
211
nebula_manager_protocol = get_conf_setting ("nebula_manager_protocol" , auth_file , "http" )
@@ -253,7 +254,7 @@ def get_device_group_info(nebula_connection_object, device_group_to_get_info):
253
254
# login to the nebula manager
254
255
nebula_connection = Nebula (username = nebula_manager_auth_user , password = nebula_manager_auth_password ,
255
256
host = nebula_manager_host , port = nebula_manager_port , protocol = nebula_manager_protocol ,
256
- request_timeout = nebula_manager_request_timeout )
257
+ request_timeout = nebula_manager_request_timeout , token = nebula_manager_auth_token )
257
258
258
259
# make sure the nebula manager connects properly
259
260
try :
0 commit comments