#!/usr/bin/env bash
# * ##########################################################################
# *
# *              //===//   //=====   //===//   //       //   //===//
# *             //    //  //        //    //  //       //   //    //
# *            //===//   //=====   //===//   //       //   //===<<
# *           //   \\         //  //        //       //   //    //
# *          //     \\  =====//  //        //=====  //   //===//   Version III
# *
# *             ###################################################
# *           ======  D E M O N S T R A T I O N   S Y S T E M  ======
# *             ###################################################
# *
# * ############# An Efficient RSerPool Prototype Implementation #############
# *
# * Copyright (C) 2002-2025 by Thomas Dreibholz
# *
# * This program is free software: you can redistribute it and/or modify
# * it under the terms of the GNU General Public License as published by
# * the Free Software Foundation, either version 3 of the License, or
# * (at your option) any later version.
# *
# * This program is distributed in the hope that it will be useful,
# * but WITHOUT ANY WARRANTY; without even the implied warranty of
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# * GNU General Public License for more details.
# *
# * You should have received a copy of the GNU General Public License
# * along with this program.  If not, see <http://www.gnu.org/licenses/>.
# *
# * Contact: dreibh.iem.uni-due.de

. ./RemoteScenario-User.config

./ComponentControl ./LocalScenario.config PR 1 start -identifier=0x10000
./ComponentControl ./LocalScenario.config PR 2 start -identifier=0x10001
sleep 5
./ComponentControl ./LocalScenario.config PE 1 start -identifier=0x100
./ComponentControl ./LocalScenario.config PE 2 start -identifier=0x101
./RemoteComponentControl ./RemoteScenario-User.config $CC_HOST_BETA ./LocalScenario.config PE 3 start -cspserver=172.16.0.1:2960 -identifier=0x102
