1. 13 May, 2019 1 commit
    • Valentin Reis's avatar
      [feature] moves the message formats to json schema. · cd1d86b3
      Valentin Reis authored
      Adds the nrm/schemas repository which defines the communication schemas
      for the upstream and downstream APIs. The messaging.py file now uses
      decorators and two added python dependencies (jsonschema and warlock).
      This commits also adds the .envrc direnv configuration file for
      nix-based development.
      cd1d86b3
  2. 22 Apr, 2019 1 commit
  3. 06 Mar, 2019 1 commit
  4. 27 Feb, 2019 1 commit
    • Swann Perarnau's avatar
      [fix] create monitor socket before connect · 539f99ac
      Swann Perarnau authored
      Change the `wait_connected` method to a `connect` method with an
      optional wait. Ensure that the actual connect call on the socket is done
      after the monitor is created, otherwise the monitor might miss the
      connection event.
      539f99ac
  5. 15 Feb, 2019 1 commit
  6. 04 Jan, 2019 1 commit
  7. 21 Dec, 2018 1 commit
  8. 12 Dec, 2018 1 commit
    • Valentin Reis's avatar
      [Feature] Adds configuration management and environment variables · 25443c64
      Valentin Reis authored
      This commit adds a command-line interface to `daemon`:
      ```
      usage: daemon [-h] [-c FILE] [-d] [--nrm_log NRM_LOG] [--hwloc HWLOC]
                    [--argo_nodeos_config ARGO_NODEOS_CONFIG] [--perf PERF]
                    [--argo_perf_wrapper ARGO_PERF_WRAPPER]
      
      optional arguments:
        -h, --help            show this help message and exit
        -c FILE, --configuration FILE
                              Specify a config json-formatted config file to
                              override any of the available CLI options. If an
                              option is actually provided on the command-line, it
                              overrides its corresponding value from the
                              configuration file.
        -d, --print_defaults  Print the default configuration file.
        --nrm_log NRM_LOG     Main log file. Override default with the NRM_LOG.
                              environment variable
        --hwloc HWLOC         Path to the hwloc to use. This path can be relative
                              and makes uses of the $PATH if necessary. Override
                              default with the HWLOC environment variable.
        --argo_nodeos_config ARGO_NODEOS_CONFIG
                              Path to the argo_nodeos_config to use. This path can
                              be relative and makes uses of the $PATH if necessary.
                              Override default with the ARGO_NODEOS_CONFIG
                              environment variable.
        --perf PERF           Path to the linux perf tool to use. This path can be
                              relative and makes uses of the $PATH if necessary.
                              Override default with the PERF environment variable.
        --argo_perf_wrapper ARGO_PERF_WRAPPER
                              Path to the linux perf tool to use. This path can be
                              relative and makes uses of the $PATH if necessary.
                              Override default with the PERFWRAPPER environment
                              variable.
      ```
      25443c64
  9. 19 Dec, 2017 2 commits