a week ago
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.
a week ago - last edited a week ago
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.
a week ago - last edited a week ago
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.