forked from T-NOVA/TeNOR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
development.sh
executable file
·73 lines (54 loc) · 2.23 KB
/
development.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/bin/bash
SESSION='nsmanager'
SESSION2='vnfmanager'
# -2: forces 256 colors,
byobu-tmux -2 new-session -d -s $SESSION
# dev window
byobu-tmux rename-window -t $SESSION:0 'Mgt'
byobu-tmux send-keys "cd ns-manager" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION:1 -n 'Catlg'
byobu-tmux send-keys "cd ns-catalogue" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION:2 -n 'NSDV'
byobu-tmux send-keys "cd nsd-validator" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION:3 -n 'Prov.'
byobu-tmux send-keys "cd ns-provisioning" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION:4 -n 'Ins.Repo'
byobu-tmux send-keys "cd ns-instance-repository" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION:5 -n 'NSMon'
byobu-tmux send-keys "cd ns-monitoring" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION:6 -n 'NSMon.Repo'
byobu-tmux send-keys "cd ns-monitoring-repository" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION:7 -n 'M-Mon'
byobu-tmux send-keys "cd ns-manager/default/monitoring" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux -2 new-session -d -s $SESSION2
byobu-tmux new-window -t $SESSION2:0 -n 'VNFMan'
byobu-tmux send-keys "cd vnf-manager" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION2:1 -n 'VNFCat'
byobu-tmux send-keys "cd vnf-catalogue" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION2:2 -n 'VNFDVal'
byobu-tmux send-keys "cd vnfd-validator" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION2:3 -n 'VNFProv'
byobu-tmux send-keys "cd vnf-provisioning" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION2:4 -n 'VNFMon'
byobu-tmux send-keys "cd vnf-monitoring" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION2:5 -n 'VNFMon.Repo'
byobu-tmux send-keys "cd vnf-monitoring-repository" C-m
byobu-tmux send-keys "rake start" C-m
byobu-tmux new-window -t $SESSION2:6 -n 'HOTGen'
byobu-tmux send-keys "cd hot-generator" C-m
byobu-tmux send-keys "rake start" C-m
# Set default window as the dev split plane
byobu-tmux select-window -t $SESSION:0