napalm-automation / napalm-nxos

Apache License 2.0
9 stars 21 forks source link

Parsing issue on get_mac_address_table for nxos_ssh #140

Closed ktbyers closed 7 years ago

ktbyers commented 7 years ago

From show mac address-table. Parser will choke on the extra space in the interface name

 500      0023.e940.4f83    dynamic     ~~~      F    F  vPC Peer-Link
  500      0025.b5b0.304e    dynamic     ~~~      F    F  vPC Peer-Link
ktbyers commented 7 years ago

Fix for this is to just preprocess 'vPC Peer-Link' this string and eliminate the space:

vPC-Peer-Link
mirceaulinic commented 7 years ago

Moved to https://github.com/napalm-automation/napalm/issues/441