Wednesday
I want to create a task on the XIQ-SE to configure ports on two switches working as MLAG Peers.
I want to configure stuff on the first switch and then go on the second switch and configure similar stuff.
How do you switch from the first switch to the second one within the Python script?
Solved! Go to Solution.
Wednesday - last edited Wednesday
emc_cli.setIpAddress(deviceOne)
cli_results = emc_cli.send('commandOne')
emc_cli.close()
emc_cli.setIpAddress(deviceTwo)
cli_results = emc_cli.send('commandTwo')
emc_cli.close()
hope this helps you.
Wednesday - last edited Wednesday
emc_cli.setIpAddress(deviceOne)
cli_results = emc_cli.send('commandOne')
emc_cli.close()
emc_cli.setIpAddress(deviceTwo)
cli_results = emc_cli.send('commandTwo')
emc_cli.close()
hope this helps you.