Skip to content

Commit

Permalink
Support SONiC on mini-lab
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Apr 4, 2024
1 parent 5992212 commit d967374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions partition/roles/sonic/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

- name: Extract running configuration for breakouts and ports
ansible.builtin.set_fact:
sonic_running_cfg_breakouts: "{{ sonic_running_cfg | community.general.json_query('BREAKOUT_CFG') }}"
# sonic_running_cfg_breakouts: "{{ sonic_running_cfg | community.general.json_query('BREAKOUT_CFG') }}"
sonic_running_cfg_hwsku: "{{ sonic_running_cfg | community.general.json_query('DEVICE_METADATA.localhost.hwsku') }}"
sonic_running_cfg_mac: "{{ sonic_running_cfg | community.general.json_query('DEVICE_METADATA.localhost.mac') }}"
sonic_running_cfg_platform: "{{ sonic_running_cfg | community.general.json_query('DEVICE_METADATA.localhost.platform') }}"
Expand All @@ -84,7 +84,7 @@
- name: Fail if running configuration doesn't contain required information
ansible.builtin.assert:
that:
- sonic_running_cfg_breakouts
# - sonic_running_cfg_breakouts
- sonic_running_cfg_hwsku
- sonic_running_cfg_mac
- sonic_running_cfg_platform
Expand Down

0 comments on commit d967374

Please sign in to comment.