Commit 134a606a66f67f4aeb431a788399e1a3b1aacb6f

Authored by Alexis Koralewski
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
@@ -80,6 +80,7 @@ AGENTS = { @@ -80,6 +80,7 @@ AGENTS = {
80 "alert_manager": "alert_manager", 80 "alert_manager": "alert_manager",
81 "agentImagesProcessor_tnc_up1": "../../../privatedev/plugin/agent", 81 "agentImagesProcessor_tnc_up1": "../../../privatedev/plugin/agent",
82 "agentBasic": "agent", 82 "agentBasic": "agent",
  83 + "agentTriton": "agent",
83 } 84 }
84 # AGENTS = ["agentX", "webserver", "monitoring", "majordome", "scheduler", "alert_manager"] 85 # AGENTS = ["agentX", "webserver", "monitoring", "majordome", "scheduler", "alert_manager"]
85 # AGENTS = ["all", "webserver", "monitoring", "majordome", "scheduler", "alert"] 86 # AGENTS = ["all", "webserver", "monitoring", "majordome", "scheduler", "alert"]
@@ -469,6 +470,8 @@ def pyros_launcher(debug, sim, test, verbose): @@ -469,6 +470,8 @@ def pyros_launcher(debug, sim, test, verbose):
469 @pyros_launcher.command(help="Run a pyros shell (django included)") 470 @pyros_launcher.command(help="Run a pyros shell (django included)")
470 # @global_test_options 471 # @global_test_options
471 def shell(): 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 print("Execution commande shell") 475 print("Execution commande shell")
473 print("NAME IS", __name__) 476 print("NAME IS", __name__)
474 print() 477 print()