mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-30 21:03:49 +02:00
Rename ethernet switch arp command to mac
This commit is contained in:
parent
ffc7024b64
commit
6789989cb9
@ -44,9 +44,9 @@ class EthernetSwitchConsole(EmbedShell):
|
|||||||
self._node = node
|
self._node = node
|
||||||
|
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def arp(self):
|
def mac(self):
|
||||||
"""
|
"""
|
||||||
Show arp table
|
Show MAC address table
|
||||||
"""
|
"""
|
||||||
res = 'Port Mac VLAN\n'
|
res = 'Port Mac VLAN\n'
|
||||||
result = (yield from self._node._hypervisor.send('ethsw show_mac_addr_table {}'.format(self._node.name)))
|
result = (yield from self._node._hypervisor.send('ethsw show_mac_addr_table {}'.format(self._node.name)))
|
||||||
|
Loading…
Reference in New Issue
Block a user