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

Rename ethernet switch arp command to mac

This commit is contained in:
Dušan Dragić 2018-01-14 17:10:26 +01:00
parent ffc7024b64
commit 6789989cb9

View File

@ -44,9 +44,9 @@ class EthernetSwitchConsole(EmbedShell):
self._node = node
@asyncio.coroutine
def arp(self):
def mac(self):
"""
Show arp table
Show MAC address table
"""
res = 'Port Mac VLAN\n'
result = (yield from self._node._hypervisor.send('ethsw show_mac_addr_table {}'.format(self._node.name)))