1. 21 Dec, 2018 1 commit
    • Swann Perarnau's avatar
      [feature] add downstream rpc to messaging layer · 0bae924d
      Swann Perarnau authored
      Add downstream RPC client/server classes that are the same as the
      upstream ones.
      
      This is part of a series of changes to downstream to allow for more
      reliable communications between the daemon and applications. At this
      time, the daemon never replies, so the RPC_REQ is basically used as a
      way to publish events to the daemon.
      0bae924d
  2. 28 Nov, 2018 1 commit
    • Swann Perarnau's avatar
      [feature] add messaging class for pub client · c4e50535
      Swann Perarnau authored
      Add a upstream pub client, to be able to listen to messages coming from
      the daemon on the upstream pub/sub channel.
      
      Doesn't support any fancy filter, as that's not used by the daemon so
      far.
      c4e50535
  3. 21 Oct, 2018 1 commit
    • Swann Perarnau's avatar
      [feature] add messaging layer for upstream API · c29ed7ea
      Swann Perarnau authored
      Abstracts away the exact wire format and client/server details, while
      changing the RPC side to work over ROUTER/DEALER sockets, as to avoid
      the lost messages issues we've been having with PUB/SUB for RPC.
      c29ed7ea
  4. 18 Dec, 2017 1 commit
    • Swann Perarnau's avatar
      [test] Add a clr_rapl test matching current code · 37097b20
      Swann Perarnau authored
      This patch adds a test for the nrm/coolr/clr_rapl.py code, based on
      the __main__ code added to it recently. This is an example of how the
      modules should be tested automatically, instead of relying on __main__
      snippets everywhere.
      
      We should replace those snippets bits by bits by tests similar to this
      one. The end goal is to able to active a gitlab pipeline that validate
      merge requests automatically.
      37097b20
  5. 08 Dec, 2017 1 commit
  6. 30 Aug, 2017 1 commit
    • Swann Perarnau's avatar
      Import coolr files into project, link to sensor · 48771c04
      Swann Perarnau authored
      This a partial import of github.com/coolr-hpc/pycoolr from
      master branch, commit id: 67e7aa4b89b67744922b5926cd1459adf650013b
      
      Coolr will provide us the capability to read power, topology and
      msr-based sensors.
      
      This patch links the sensor module with the coolr code as it is, which
      doesn't really work. The core issue is that the current coolr code is
      meant to be stand-alone, and the main functions to both sampling and
      formatting of the data in json, by hand.
      
      We will solve that in the next commit, removing the json-specific code
      from the sample function to create a dict of values instead.
      48771c04