Change OMN license server IP and MAC handling
Problem
If an OMN container gets a new IP (This happens by running docker-compose down followed by docker-compose up -d) the "not licenced" banner appears in OMN-UI.
Solution
Right now OMN requests the license server to provide a license info, OMN stores the response in the config/license.xml file on the file system and every 5 minutes extracts the information from the file and validates it. Every day OMN sends a request to the license server for fresh license info.
The idea is, when OMN is starting, to check if the config/license.xml file exists. if yes, then don’t send a request to the license server. Otherwise send the request (as it is). So the existing config/license.xml file will be checked and everything should be fine. In a day after starting, OMN will send a request to the license server and refresh the config/license.xml file.