blob: 203a5a38552644710c3eb2fdb798fc4fc89119df [file] [log] [blame]
Jan Kundrát427f82f2017-05-15 17:43:59 +02001#!/bin/bash
2
3set -eux -o pipefail
4shopt -s failglob
5
6for DIR in /etc/yang-setup/*; do
7 ${DIR}/install-yang.sh
8done
9for YANG in /usr/share/cla-sysrepo/yang/*.yang; do
10 sysrepoctl --install --yang ${YANG}
11done
12
13screen -d -m -S s1
Jan Kundrát4112fa02017-05-15 17:44:57 +020014sleep 1
Jan Kundrát427f82f2017-05-15 17:43:59 +020015screen -S s1 -X screen 1 sysrepod -d -l3
16sleep 1
17screen -S s1 -X screen 2 sysrepo-plugind -d -l3
18screen -S s1 -X screen 3 netopeer2-server -d -v2
19screen -S s1 -X screen 4 cla-sysrepod --module dummy-amp --toplevel amplifier --static-properties /usr/share/cla-sysrepo/static-data/dummy-amp-notifications.static.data --properties-log-level 5 --sr-bridge-log-level 5
20screen -dr -S s1