Mellanox-lab/ufm_sdk_cookbook

Allow connecting to UFM directly from localhost

Closed this issue · 3 comments

In UFM Appliance use case, this script will run locally, and therefore, it should connect to UFM directly over 127.0.0.1:<ufm port; default:8000> directly without credentials rather than via the Apache web server.

this might be a problem, since UFM expect a username to be provided by apache.

You should add the header {'X-Remote-User': 'ufmsystem'}.