-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathecmper-cloud-init.yaml
54 lines (50 loc) · 1.09 KB
/
ecmper-cloud-init.yaml
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
timezone: Asia/Tokyo
### Update apt database on first boot
package_update: true
### Run apt or yum upgrade
package_upgrade: true
packages:
- automake
- bison
- build-essential
- clang
- cmake
- flex
- g++
- gcc-multilib
- libboost-dev
- libboost-filesystem-dev
- libboost-program-options-dev
- libboost-system-dev
- libboost-test-dev
- libboost-thread-dev
- libelf-dev
- libevent-dev
- libgmp-dev
- libpcap-dev
- libssl-dev
- libtool
- linux-tools-common
- linux-tools-generic
- llvm
- pkg-config
- python3-pip
- tcpdump
- nginx
- httpie
- apache2-utils
### Install XDP prerequisites
# Current implementation of ECMP-ER server side XDP program use BCC (`bcc/libbpf.h`)
# `/usr/include/bcc/libbpf.h` is included in `libbpfcc-dev`
# linux-tools and linux-headers are installed automatically
#- linux-tools-$(uname -r)
#- linux-headers-$(uname -r)
- bpfcc-tools
- libbpfcc-dev
- libbpf-dev
runcmd:
- cd /home/ubuntu
### Install controller prerequisites
- cd /home/ubuntu
- pip3 install p4runtime-shell
- pip3 install Flask