1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +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 :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, log.info('ATM switch "{name}" [{id}]: renamed to "{new_name}"'.format(name=self._name,
id=self._id, id=self._id,
new_name=new_name)) new_name=new_name))