def aodh(cls):
        """aodh client

        :rtype: aodhclient.v2.client.Client
        """
        if not cls._aodh:
            cls._aodh = os_clients.aodh_client(cls._conf)
        return cls._aodh
Ejemplo n.º 2
0
 def client(self):
     if not self._client:
         self._client = os_clients.aodh_client()
     return self._client
Ejemplo n.º 3
0
 def __init__(self):
     super(AodhNotifier, self).__init__()
     self.client = os_clients.aodh_client()