Hello, I'm using a vMX but when I try to connect for the first time the script is able to find my tags etc.. but it's failing with the following error: any ideas?
Result: Failure Exception: KeyError: 'wan2' Stack: File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/dispatcher.py", line 402, in _handleinvocation_request
call_result = await self._loop.run_in_executor( File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, self.kwargs)
File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/dispatcher.py", line 611, in _run_sync_func return ExtensionManager.get_sync_invocation_wrapper(context,
File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/extension.py", line 215, in _raw_invocation_wrapper result = function(args)
File "/home/site/wwwroot/Meraki-VWAN-Automation/init.py", line 858, in main appliance = Appliance(network_info, File "/home/site/wwwroot/shared_code/appliance.py",
line 29, in init__ self.primary = MX(network_id, self._get_mx(primary_serial), org_id) if primary_serial else MX() File "/home/site/wwwroot/shared_code/mx.py",
line 33, in init self._get_up_link_settings() File "/home/site/wwwroot/shared_code/mx.py", line 74, in _get_up_link_settings self.wan2.update(settings['bandwidthLimits'][WAN_2])
The vMX doesn't have a 'WAN2' interface. It's in concentrator mode so I'm not sure if that would be the problem and I how fix it.
Hello, I'm using a vMX but when I try to connect for the first time the script is able to find my tags etc.. but it's failing with the following error: any ideas?
Result: Failure Exception: KeyError: 'wan2' Stack: File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/dispatcher.py", line 402, in _handleinvocation_request call_result = await self._loop.run_in_executor( File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, self.kwargs) File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/dispatcher.py", line 611, in _run_sync_func return ExtensionManager.get_sync_invocation_wrapper(context, File "/azure-functions-host/workers/python/3.8/LINUX/X64/azure_functions_worker/extension.py", line 215, in _raw_invocation_wrapper result = function(args) File "/home/site/wwwroot/Meraki-VWAN-Automation/init.py", line 858, in main appliance = Appliance(network_info, File "/home/site/wwwroot/shared_code/appliance.py", line 29, in init__ self.primary = MX(network_id, self._get_mx(primary_serial), org_id) if primary_serial else MX() File "/home/site/wwwroot/shared_code/mx.py", line 33, in init self._get_up_link_settings() File "/home/site/wwwroot/shared_code/mx.py", line 74, in _get_up_link_settings self.wan2.update(settings['bandwidthLimits'][WAN_2])
The vMX doesn't have a 'WAN2' interface. It's in concentrator mode so I'm not sure if that would be the problem and I how fix it.
Thanks for the help!