Under the control_plane/input_params
directory, edit the following files:
base_vars.yml
file: Update the following variable to enable or disable Ethernet switch configurations in the cluster.
Variable | Default, choices | Description |
---|---|---|
ethernet_switch_support |
|
Set the variable to "true" to enable Ethernet switch configurations. |
login_vars.yml
file: Enter the following details to configure Ethernet switches.
a. ethernet_switch_username
- username for Ethernet switches.
NOTE: The username must not contain the following characters: -, \, "", and \'
b. ethernet_switch_password
- password for Ethernet switches.
NOTE: Minimum length of the password must be eight characters and the maximum limit is 30 characters. Do not use these characters while entering a password: -, \, "", and \'
ethernet_tor_vars.yml
or ethernet_vars.yml
file: If ethernet_switch_support is set to "true" in the base_vars.yml file, then update the following variables.
a. Edit the ethernet_tor_vars.yml file for all S3* and S4* PowerSwitches such as S3048-ON, S4048T-ON, S4112F-ON, S4048-ON, S4048T-ON, S4112F-ON, S4112T-ON, and S4128F-ON.
Variables | Default, choices | Description |
---|---|---|
os10_config |
|
Global configurations for the switch. |
os10_interface | By default:
| Update the individual interfaces of the PowerSwitch S3048-ON (ToR Switch). | The interfaces are from ethernet 1/1/1 to ethernet 1/1/52. For more information about the interfaces, see the Supported interface keys of PowerSwitch S3048-ON (ToR Switch) section in the README file. NOTE: The playbooks will fail if any invalid configurations are entered.
save_changes_to_startup |
|
Change it to "true" only when you are certain that the updated configurations and commands are valid. | WARNING: When set to "true", the startup configuration file is updated. If incorrect configurations or commands are entered, the Ethernet switches may not operate as expected.
b. Edit the ethernet_vars.yml file for Dell PowerSwitch S5232F-ON and all other PowerSwitches except S3* and S4* switches.
Variables | Default, choices | Description |
---|---|---|
os10_config |
|
Global configurations for the switch. |
breakout_value |
|
By default, all ports are configured in the 10g-4x breakout mode in which a QSFP28 or QSFP+ port is split into four 10G interfaces. For more information about the breakout modes, see Configure breakout mode. |
os10_interface | By default:
| Update the individual interfaces of the Dell PowerSwitch S5232F-ON. | The interfaces are from ethernet 1/1/1 to ethernet 1/1/34. By default, the breakout mode is set for 1/1/1 to 1/1/31. NOTE: The playbooks will fail if any invalid configurations are entered.
save_changes_to_startup |
|
Change it to "true" only when you are certain that the updated configurations and commands are valid. | WARNING: When set to "true", the startup configuration file is updated. If incorrect configurations or commands are entered, the Ethernet switches may not operate as expected.
kubectl get svc -n awx
.kubectl get secret awx-admin-password -n awx -o jsonpath="{.data.password}" | base64 --decode
.http://<IP>:8052
, where IP is the awx-ui IP address and 8052 is the awx-ui port number. Log in to the AWX UI using the username as admin
and the retrieved password.