forked from sonic-net/sonic-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonic-cavm.yml
More file actions
39 lines (34 loc) · 1.05 KB
/
sonic-cavm.yml
File metadata and controls
39 lines (34 loc) · 1.05 KB
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
# SONiC
# Setup Platform
#- include: platform-cavm.yml
# Install Cavium Host Interface Driver
- name: Install driver package
become: true
apt: pkg=xp80PcieEndpoint
state=present
force=yes
- name: Copy the port config file based on port sku
become: true
copy:
src: ssw_extra/{{ sonic_hwsku }}/port_config_{{ sonic_portsku }}.ini
dest: /etc/ssw/{{ sonic_hwsku }}/port_config.ini
# Install docker containers
- name: Start syncd docker container
include: ../../sonic-common/tasks/sonicdocker.yml
vars:
docker_container: syncd
docker_image: "{{ image_id_syncd_cavm }}"
docker_privileged: yes
docker_state: reloaded
docker_volumes: "{{ syncd_docker_volumes }}"
when: host_saithrift is not defined
tags: syncd
- name: Start orchagent docker container
include: ../../sonic-common/tasks/sonicdocker.yml
vars:
docker_container: orchagent
docker_image: "{{ image_id_orchagent_cavm }}"
docker_privileged: yes
docker_state: reloaded
docker_volumes: "{{ orchagent_docker_volumes }}"
tags: orchagent