Commit 779b3554 authored by Janis Streib's avatar Janis Streib 🦉
Browse files

ADD: net_instnc for macfinder

parent 5c7f2545
Pipeline #158095 passed with stages
in 10 minutes and 55 seconds
......@@ -61,7 +61,7 @@ def create_job():
resp ='MACFINDER_SERVER_URL') + '/new_task',
cert=(app.config.get('MACFINDER_CERT'), app.config.get('MACFINDER_KEY')),
data={'mac': request.json['mac'], 'vlan':, 'tag_check': 'y'})
data={'mac': request.json['mac'], 'vlan':, 'net_instnc': vlan.net_instnc, 'tag_check': 'y'})
if not resp.ok:
return jsonify({'success': False, 'error': 'internal_error'}), 500
job_id = resp.json()['job_id']
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment