Refactor creating the omapi client to the function _get_omapi_client
New function mac2ipomapi