Skip to content
Snippets Groups Projects
Commit 920d9e0e authored by Mark Goddard's avatar Mark Goddard
Browse files

Add Dell PowerConnect switch support

PowerConnect switches do not support the dellos Ansible modules, since
they are based on DellOS version 4. This role uses the expect module to
perform simple switch configuration.

Change-Id: Icb59aaff75f9faf089423610fecb06598f75e35e
Story: 2002106
Task: 19784
parent 16d83771
No related branches found
No related tags found
No related merge requests found
---
# Switch configuration.
###############################################################################
# Authentication configuration.
# For DellOS switches, this defines a 'provider' argument to the
# dell_powerconnect_switch role.
switch_dell_powerconnect_provider:
host: "{{ ansible_host }}"
username: "{{ ansible_user }}"
auth_pass: "{{ switch_auth_pass }}"
...@@ -81,6 +81,18 @@ ...@@ -81,6 +81,18 @@
dell_switch_config: "{{ switch_config }}" dell_switch_config: "{{ switch_config }}"
dell_switch_interface_config: "{{ switch_interface_config }}" dell_switch_interface_config: "{{ switch_interface_config }}"
- name: Ensure Dell PowerConnect physical switches are configured
hosts: switches_of_type_dell-powerconnect:&switches_in_display_mode_False
gather_facts: no
roles:
- role: ssh-known-host
- role: stackhpc.dell-powerconnect-switch
dell_powerconnect_switch_type: "{{ switch_type }}"
dell_powerconnect_switch_provider: "{{ switch_dell_powerconnect_provider }}"
dell_powerconnect_switch_config: "{{ switch_config }}"
dell_powerconnect_switch_interface_config: "{{ switch_interface_config }}"
- name: Ensure Juniper physical switches are configured - name: Ensure Juniper physical switches are configured
hosts: switches_of_type_junos:&switches_in_display_mode_False hosts: switches_of_type_junos:&switches_in_display_mode_False
gather_facts: no gather_facts: no
......
---
features:
- |
Adds support for configuration of Dell PowerConnect switches. This is
integrated with the `kayobe physical network configure` command.
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
- src: https://github.com/stackhpc/ansible-users - src: https://github.com/stackhpc/ansible-users
version: append version: append
name: singleplatform-eng.users name: singleplatform-eng.users
- src: stackhpc.dell-powerconnect-switch
- src: stackhpc.drac - src: stackhpc.drac
- src: stackhpc.drac-facts - src: stackhpc.drac-facts
- src: stackhpc.grafana-conf - src: stackhpc.grafana-conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment