Merge "Add support for Mellanox switches running MLNX-OS"
This commit is contained in:
commit
aff618d0cb
12
ansible/group_vars/switches/mellanox
Normal file
12
ansible/group_vars/switches/mellanox
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
# Switch configuration.
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Authentication configuration.
|
||||||
|
|
||||||
|
# For Mellanox switches, this defines a 'provider' argument to the
|
||||||
|
# mellanox-switch role.
|
||||||
|
switch_mellanox_provider:
|
||||||
|
host: "{{ ansible_host }}"
|
||||||
|
username: "{{ ansible_user }}"
|
||||||
|
auth_pass: "{{ switch_auth_pass }}"
|
@ -119,3 +119,15 @@
|
|||||||
junos_switch_config_format: "{{ switch_junos_config_format }}"
|
junos_switch_config_format: "{{ switch_junos_config_format }}"
|
||||||
junos_switch_config: "{{ switch_config }}"
|
junos_switch_config: "{{ switch_config }}"
|
||||||
junos_switch_interface_config: "{{ switch_interface_config }}"
|
junos_switch_interface_config: "{{ switch_interface_config }}"
|
||||||
|
|
||||||
|
- name: Ensure Mellanox physical switches are configured
|
||||||
|
hosts: switches_of_type_mellanox:&switches_in_display_mode_False
|
||||||
|
gather_facts: no
|
||||||
|
roles:
|
||||||
|
- role: ssh-known-host
|
||||||
|
|
||||||
|
- role: stackhpc.mellanox-switch
|
||||||
|
mellanox_switch_type: "{{ switch_type }}"
|
||||||
|
mellanox_switch_provider: "{{ switch_mellanox_provider }}"
|
||||||
|
mellanox_switch_config: "{{ switch_config }}"
|
||||||
|
mellanox_switch_interface_config: "{{ switch_interface_config }}"
|
||||||
|
5
releasenotes/notes/mellanox-switch-cb82a8c278f5e652.yaml
Normal file
5
releasenotes/notes/mellanox-switch-cb82a8c278f5e652.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Adds support for configuration of Mellanox switches running MLNX-OS. This
|
||||||
|
is integrated with the `kayobe physical network configure` command.
|
@ -14,6 +14,7 @@
|
|||||||
- src: stackhpc.grafana-conf
|
- src: stackhpc.grafana-conf
|
||||||
- src: stackhpc.libvirt-host
|
- src: stackhpc.libvirt-host
|
||||||
- src: stackhpc.libvirt-vm
|
- src: stackhpc.libvirt-vm
|
||||||
|
- src: stackhpc.mellanox-switch
|
||||||
- src: stackhpc.os-flavors
|
- src: stackhpc.os-flavors
|
||||||
- src: stackhpc.os-images
|
- src: stackhpc.os-images
|
||||||
- src: stackhpc.os-ironic-state
|
- src: stackhpc.os-ironic-state
|
||||||
|
Loading…
Reference in New Issue
Block a user