Skip to content

Commit

Permalink
feat(ansible): start working on Pensando card
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb authored May 23, 2024
1 parent c10f2de commit 82857dd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lab/ansible/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,3 +223,14 @@
- name: Flush BFB image and reboot BF card
ansible.builtin.shell: cat {{ bfb_local_file }} > /dev/rshim0/boot
when: not hostvars.bf2.bf_version in bfb_local_file

# from https://www.kernel.org/doc/html/v5.8/networking/device_drivers/pensando/ionic.html
- name: Pensando DSC installation-update
hosts: dh1
become: yes
tasks:
- ansible.builtin.shell: lspci | grep Pensando
- ansible.builtin.shell: dmesg | grep ionic
- ansible.builtin.shell: ls -l /sys/class/net/*/device/driver
- ansible.builtin.shell: ethtool -i enp25s0np0
- ansible.builtin.shell: devlink dev info pci/0000:19:00.0

0 comments on commit 82857dd

Please sign in to comment.