{"action":"created","issue":{"url":"https://api.github.com/repos/napalm-automation/napalm-ios/issues/87","repository_url":"https://api.github.com/repos/napalm-automation/napalm-ios","labels_url":"https://api.github.com/repos/napalm-automation/napalm-ios/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/napalm-automation/napalm-ios/issues/87/comments","events_url":"https://api.github.com/repos/napalm-automation/napalm-ios/issues/87/events","html_url":"https://github.com/napalm-automation/napalm-ios/issues/87","id":195932088,"number":87,"title":"get_mac_address_table issue processing multicast entries header","user":{"login":"sjtarik","id":1639100,"avatar_url":"https://avatars.githubusercontent.com/u/1639100?v=3","gravatar_id":"","url":"https://api.github.com/users/sjtarik","html_url":"https://github.com/sjtarik","followers_url":"https://api.github.com/users/sjtarik/followers","following_url":"https://api.github.com/users/sjtarik/following{/other_user}","gists_url":"https://api.github.com/users/sjtarik/gists{/gist_id}","starred_url":"https://api.github.com/users/sjtarik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjtarik/subscriptions","organizations_url":"https://api.github.com/users/sjtarik/orgs","repos_url":"https://api.github.com/users/sjtarik/repos","events_url":"https://api.github.com/users/sjtarik/events{/privacy}","received_events_url":"https://api.github.com/users/sjtarik/received_events","type":"User","site_admin":false},"labels":[{"id":338724502,"url":"https://api.github.com/repos/napalm-automation/napalm-ios/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/napalm-automation/napalm-ios/milestones/5","html_url":"https://github.com/napalm-automation/napalm-ios/milestone/5","labels_url":"https://api.github.com/repos/napalm-automation/napalm-ios/milestones/5/labels","id":2141844,"number":5,"title":"APPROVED","description":"","creator":{"login":"mirceaulinic","id":16694679,"avatar_url":"https://avatars.githubusercontent.com/u/16694679?v=3","gravatar_id":"","url":"https://api.github.com/users/mirceaulinic","html_url":"https://github.com/mirceaulinic","followers_url":"https://api.github.com/users/mirceaulinic/followers","following_url":"https://api.github.com/users/mirceaulinic/following{/other_user}","gists_url":"https://api.github.com/users/mirceaulinic/gists{/gist_id}","starred_url":"https://api.github.com/users/mirceaulinic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mirceaulinic/subscriptions","organizations_url":"https://api.github.com/users/mirceaulinic/orgs","repos_url":"https://api.github.com/users/mirceaulinic/repos","events_url":"https://api.github.com/users/mirceaulinic/events{/privacy}","received_events_url":"https://api.github.com/users/mirceaulinic/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":5,"state":"open","created_at":"2016-11-17T13:39:42Z","updated_at":"2016-12-16T05:38:46Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-12-15T22:23:16Z","updated_at":"2016-12-20T17:44:50Z","closed_at":null,"body":"### Description of Issue/Question\r\nWhen called, get_mac_address_table throws exception while processing the multicast entries header from \"show mac address-table\" output\r\n\r\n### Did you follow the steps from https://github.com/napalm-automation/napalm#faq\r\n- [x] Yes\r\n- [ ] No\r\n\r\n\r\n### Setup\r\n\r\n### napalm-ios version\r\n(Paste verbatim output from `pip freeze | grep napalm-ios` between quotes below)\r\n\r\n```\r\n(devs) tarik-mbp:dev tarik$ pip freeze | grep napalm-ios\r\nnapalm-ios==0.4.0\r\n```\r\n\r\nSince 0.4.0 only issues \"show mac-address-table\" cli, I install the library directly from github with \r\npip install git+git://github.com/napalm-automation/napalm-ios.git\r\n\r\n### IOS version\r\n(Paste verbatim output from `show version` between quotes below)\r\n\r\n```\r\nCisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500es8-UNIVERSALK9-M), Version 03.03.02.XO RELEASE SOFTWARE (fc1)\r\nTechnical Support: http://www.cisco.com/techsupport\r\nCopyright (c) 1986-2014 by Cisco Systems, Inc.\r\nCompiled Tue 19-Aug-14 02:17 by prod_rel_team\r\n\r\n\r\n\r\nCisco IOS-XE software, Copyright (c) 2005-2013 by cisco Systems, Inc.\r\nAll rights reserved.  Certain components of Cisco IOS-XE software are\r\nlicensed under the GNU General Public License (\"GPL\") Version 2.0.  The\r\nsoftware code licensed under GPL Version 2.0 is free software that comes\r\nwith ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such\r\nGPL code under the terms of GPL Version 2.0.  For more details, see the\r\ndocumentation or \"License Notice\" file accompanying the IOS-XE software,\r\nor the applicable URL provided on the flyer accompanying the IOS-XE\r\nsoftware.\r\n\r\n\r\n\r\nROM: 15.1(1r)SG2\r\n```\r\n\r\n### Steps to Reproduce the Issue\r\n\r\n### Error Traceback\r\n(Paste the complete traceback of the exception between quotes below)\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"devs/lib/python2.7/site-packages/napalm_ios/ios.py\", line 1429, in get_mac_address_table\r\n    raise ValueError(\"Unexpected output from: {}\".format(repr(line)))\r\nValueError: Unexpected output from: u'Multicast Entries'\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/napalm-automation/napalm-ios/issues/comments/268308744","html_url":"https://github.com/napalm-automation/napalm-ios/issues/87#issuecomment-268308744","issue_url":"https://api.github.com/repos/napalm-automation/napalm-ios/issues/87","id":268308744,"user":{"login":"sjtarik","id":1639100,"avatar_url":"https://avatars.githubusercontent.com/u/1639100?v=3","gravatar_id":"","url":"https://api.github.com/users/sjtarik","html_url":"https://github.com/sjtarik","followers_url":"https://api.github.com/users/sjtarik/followers","following_url":"https://api.github.com/users/sjtarik/following{/other_user}","gists_url":"https://api.github.com/users/sjtarik/gists{/gist_id}","starred_url":"https://api.github.com/users/sjtarik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjtarik/subscriptions","organizations_url":"https://api.github.com/users/sjtarik/orgs","repos_url":"https://api.github.com/users/sjtarik/repos","events_url":"https://api.github.com/users/sjtarik/events{/privacy}","received_events_url":"https://api.github.com/users/sjtarik/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T17:44:50Z","updated_at":"2016-12-20T17:44:50Z","body":"Personally I always like degraded but still available service :) rather than an exception but I think in a professional automation environment throwing an exception makes more sense. But my point is there will be many other exceptions depending on the features enabled and the topology.  I think we can point out in documentation that we are really strict on parsing/processing in driver functions but workaround is to call the free form cli function and get the exact output, so user can implement the parsing logic she prefers herself."}}
{"actor":{"display_login":"sjtarik"}}