Rename ethernet switch arp command to mac

pull/1263/head
Dušan Dragić 7 years ago
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…
Cancel
Save