It has never been easier to convert ADTF Launcher into a FEP Participant
(can be seen as one network node within the FEP System
):
adtf_launcher --control-url fep://<fep_system_name>/<fep_participant_name>
This is all you need.
Where fep_system_name
is the FEP System
(a self-organizing network of multiple participants) your ADTF Launcher will be part of and fep_participant_name
will be the name
with which your FEP Participants
can be identified.
Let's start a small example FEP System
adtf_launcher --control-url fep://my_first_system/participant_1_source --session ../src/examples/projects/adtf_example_project/adtfsessions/demo_ipc_sessions/fep_source.adtfsession --console
adtf_launcher --control-url fep://my_first_system/participant_2_sink --session ../src/examples/projects/adtf_example_project/adtfsessions/demo_ipc_sessions/fep_sink.adtfsession --console
adtf_control --url fep://my_first_system -e fep::systemrunlevel running
adtf_control --url fep://my_first_system -e fep::systemrunlevel unreachable
Now we can use the ADTF Control to discover the new FEP Participants
:
adtf> discoverallfepsystems
my_first_system : participant_1_source, participant_2_sink
After running the FEP System
we can use ADTF Control to stop the FEP System
and bring all FEP Participants
to state initialized:
adtf> discoverallfepsystems
adtf_control --url fep://my_first_system -e fep::systemrunlevel initialized
This is only a very tiny example accessing a FEP System
. Let's getting deeper into controlling options of the FEP System
.