
Currently all our OpenStack Dom0 plugins are moved to os-xenapi, but some of them don't have any unit test, this task is to add unit test for *agent.py*. Add dir checking to avoid logging dir doesn't exist issue Change-Id: I4e96f21fd50b927e9bfd872b42feca6974ac80ae