Commit 134a606a66f67f4aeb431a788399e1a3b1aacb6f
1 parent
f4ef0dd6
Exists in
dev
add agent triton in pyros.py
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
pyros.py
... | ... | @@ -80,6 +80,7 @@ AGENTS = { |
80 | 80 | "alert_manager": "alert_manager", |
81 | 81 | "agentImagesProcessor_tnc_up1": "../../../privatedev/plugin/agent", |
82 | 82 | "agentBasic": "agent", |
83 | + "agentTriton": "agent", | |
83 | 84 | } |
84 | 85 | # AGENTS = ["agentX", "webserver", "monitoring", "majordome", "scheduler", "alert_manager"] |
85 | 86 | # AGENTS = ["all", "webserver", "monitoring", "majordome", "scheduler", "alert"] |
... | ... | @@ -469,6 +470,8 @@ def pyros_launcher(debug, sim, test, verbose): |
469 | 470 | @pyros_launcher.command(help="Run a pyros shell (django included)") |
470 | 471 | # @global_test_options |
471 | 472 | def shell(): |
473 | + os.environ["PATH_TO_OBSCONF_FILE"] = os.path.join(os.path.abspath( | |
474 | + PYROS_DJANGO_BASE_DIR), "obsconfig/fixtures/observatory_configuration_ok_simple.yml") | |
472 | 475 | print("Execution commande shell") |
473 | 476 | print("NAME IS", __name__) |
474 | 477 | print() | ... | ... |