Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ansible/group_vars/sonic/vars
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ sensor_hwskus: [ "ACS-MSN2700", "Force10-S6000" ]

syncd_docker_volumes_dict:
"/host/machine.conf:/etc/machine.conf":
"/etc/ssw/:/etc/ssw/:ro":

syncd_docker_volumes: "{{ syncd_docker_volumes_dict.keys() }}"

Expand Down
11 changes: 10 additions & 1 deletion ansible/roles/sonicv2/tasks/sonic-cavm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,18 @@
src: ssw_extra/{{ sonic_hwsku }}/port_config_{{ sonic_portsku }}.ini
dest: /etc/ssw/{{ sonic_hwsku }}/port_config.ini

# Setup profile for syncd
- name: Setup profile configuration file
become: yes
template: src=etc/ssw/{{ sonic_hwsku }}/profile.ini.j2
dest=/etc/ssw/{{ sonic_hwsku }}/profile.ini
owner=root
group=root
mode=0644

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# Install docker containers
- name: Start syncd docker container
include: ../../sonic-common/tasks/sonicdocker.yml
include: sonicdocker.yml
vars:
docker_container: syncd
docker_image: "{{ image_id_syncd_cavm }}"
Expand Down