forked from magma/magma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.yml
47 lines (43 loc) · 1.29 KB
/
constants.yml
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
# PREREQ section
ansible_apt_repo: "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main"
ubuntu_apt_keyserver: "keyserver.ubuntu.com"
ubuntu_apt_id: "93C4A3FD7BB9C367"
apt_prereq_packages:
- git
- ansible
# SHOW_TECH section
general_commands:
- "uname -a"
- "top -b -n 1"
- "df -kh"
debian_commands:
- "dpkg -l | grep magma"
- "ovs-vsctl show"
- "apt show magma"
- "service magma@* status"
- "show_gateway_info.py"
- "checkin_cli.py"
- "mobility_cli.py get_subscriber_table"
- "pipelined_cli.py debug display_flows"
- "enodebd_cli.py get_all_status"
- "ip addr"
- "ping google.com -I eth0 -c 5"
- "journalctl -u magma@*"
- "timeout 60 sudo tcpdump -i any sctp -w {{report_dir_output.stdout}}/sctp.pcap"
- "timeout 60 sudo tcpdump -i any port 48080 -w {{report_dir_output.stdout}}/any-48080.pcap"
# files to collect from src to relative destination in tar.gz package
paths_to_collect:
- "/var/opt/magma/configs/*"
- "/etc/magma/configs/*"
- "/etc/systemd/system/*"
- "/usr/local/bin/mme"
- "/var/log/syslog"
- "/var/core/*"
- "/var/log/MME.*"
- "/var/log/enode.*"
# core file paths for gdb execution, requires core file location and binary
core_file_age_in_days: 3
cores_paths:
mme:
path: "/tmp/core-*/core-*-mme-*"
binary: "/usr/local/bin/mme"