1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 00:08:11 +00:00

Fix wrong Dynamips command used to rename an ATM switch. Fixes #1651

This commit is contained in:
grossmj 2019-09-11 15:06:08 +07:00
parent 5d4de9d0ba
commit 67e70c4628

View File

@ -83,7 +83,7 @@ class ATMSwitch(Device):
:param new_name: New name for this switch
"""
yield from self._hypervisor.send('atm rename "{name}" "{new_name}"'.format(name=self._name, new_name=new_name))
yield from self._hypervisor.send('atmsw rename "{name}" "{new_name}"'.format(name=self._name, new_name=new_name))
log.info('ATM switch "{name}" [{id}]: renamed to "{new_name}"'.format(name=self._name,
id=self._id,
new_name=new_name))