Commit eb6126f62c4c401f12516de7717f1126fe5b107f

Authored by Alexis Koralewski
2 parents 514e3287 4e617db5
Exists in dev

Merge branch 'dev' of https://gitlab.irap.omp.eu/epallier/pyros into dev

docker/PYROS_DOCKER_RUN
... ... @@ -36,7 +36,10 @@ echo "- PLC simulator LOG file is ../../LOG_PYROS_plc_simulator.log"
36 36 # - Display log on current terminal
37 37 #docker exec -it pyros python3 pyros.py start agentM
38 38 # - Save log in file
39   -docker exec pyros python3 pyros.py -d start agentM -o tnc >> ../../LOG_PYROS_agent_monitoring.log 2>&1 &
  39 +# NEW-START
  40 +docker exec pyros python3 pyros.py new-start -o tnc -fg >> ../../LOG_PYROS_agents.log 2>&1 &
  41 +# START
  42 +####docker exec pyros python3 pyros.py -d start agentM -o tnc >> ../../LOG_PYROS_agent_monitoring.log 2>&1 &
40 43 #docker exec pyros python3 pyros.py -d start agentM -o "guitalens" >> ../../LOG_PYROS_agent_monitoring.log 2>&1 &
41 44 echo "- Agent Monitoring LOG file is ../../LOG_PYROS_agent_monitoring.log"
42 45  
... ...
privatedev/config/tnc/computer_hyperion2.yml 0 → 100644
... ... @@ -0,0 +1,25 @@
  1 +# Schema file to check the syntax of this config file
  2 +schema: schema_computer-2.0.yml
  3 +
  4 +# Here is the description of the configuration of an isolated computer
  5 +COMPUTER:
  6 +
  7 + inventory_label: CPT-XCY-001
  8 + manufacturer: XCY
  9 + model: X26A
  10 + description: "Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz 1.90 GHz RAM = 4 GB"
  11 + sn: 00331-10000-00001-AA478
  12 + power:
  13 + voltage: 12
  14 + intensity: 5
  15 + socket: "IEC 60130-10 Type A: 5.5 mm OD, 2.5 mm ID"
  16 +
  17 + hostname: hyperion2.irap.omp.eu
  18 + #hostname: c32f49397c28
  19 + virtual_machine: False
  20 + os: Mac
  21 + os_version: "10"
  22 + network_interfaces:
  23 + - 00-A8-3D-68-22-87 # Gigabit 2
  24 + - 00-A8-3D-68-22-86 # Gigabit 3
  25 + - 16-82-FE-44-64-E8 # Wifi
... ...
privatedev/config/tnc/observatory_tnc.yml
... ... @@ -143,6 +143,17 @@ OBSERVATORY:
143 143 # IP attributed by the Router
144 144 network_ip: 192.168.0.11
145 145  
  146 + - COMPUTER:
  147 + name: IRAP_SERVER
  148 + file: computer_hyperion2.yml
  149 + # Describe here the configuration of the computer in operation
  150 + role: Main
  151 + # Choice of the interface to connect the computer to the network (cf.network_interfaces infile)
  152 + network_interface_index: 0
  153 + # IP attributed by the Router
  154 + network_ip: 192.168.0.12
  155 +
  156 +
146 157 # === Assembly of devices into units
147 158 # A unit is a robotic telescope
148 159 UNITS:
... ... @@ -387,6 +398,35 @@ OBSERVATORY:
387 398 computer: EtienneComputer
388 399 protocol: private/plugin/agent/AgentBasic.py
389 400  
  401 + # Agents IRAP SERVER
  402 + - AGENT:
  403 + name: AgentImagesProcessor_tnc_up1_irap
  404 + computer: IRAP_SERVER
  405 + protocol: privatedev/plugin/agent/AgentImagesProcessor_tnc_up1.py
  406 + is_active: False
  407 + - AGENT:
  408 + name: AgentSST_irap
  409 + computer: IRAP_SERVER
  410 + is_active: True
  411 + - AGENT:
  412 + name: AgentTriton_irap
  413 + computer: IRAP_SERVER
  414 + protocol: private/plugin/agent/AgentTriton.py
  415 + path: private/plugin/agent/triton
  416 + is_active: False
  417 + - AGENT_DEVICE:
  418 + name: AgentM_irap
  419 + computer: IRAP_SERVER
  420 + protocol: private/plugin/agent/AgentM.py
  421 + path: private/plugin/agent_devices
  422 + is_active: False
  423 + device: TAROT_meteo
  424 + is_real: False
  425 + # Basic Agent (for EP, to test the Agent base class)
  426 + - AGENT:
  427 + name: AgentBasic_irap
  428 + computer: IRAP_SERVER
  429 + protocol: private/plugin/agent/AgentBasic.py
390 430  
391 431 TOPOLOGY:
392 432  
... ...