Jan Kundrát | 427f82f | 2017-05-15 17:43:59 +0200 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | set -eux -o pipefail |
| 4 | shopt -s failglob |
| 5 | |
| 6 | for DIR in /etc/yang-setup/*; do |
| 7 | ${DIR}/install-yang.sh |
| 8 | done |
| 9 | for YANG in /usr/share/cla-sysrepo/yang/*.yang; do |
| 10 | sysrepoctl --install --yang ${YANG} |
| 11 | done |
| 12 | |
| 13 | screen -d -m -S s1 |
Jan Kundrát | 4112fa0 | 2017-05-15 17:44:57 +0200 | [diff] [blame] | 14 | sleep 1 |
Jan Kundrát | 427f82f | 2017-05-15 17:43:59 +0200 | [diff] [blame] | 15 | screen -S s1 -X screen 1 sysrepod -d -l3 |
| 16 | sleep 1 |
| 17 | screen -S s1 -X screen 2 sysrepo-plugind -d -l3 |
| 18 | screen -S s1 -X screen 3 netopeer2-server -d -v2 |
| 19 | screen -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 |
| 20 | screen -dr -S s1 |