{"action":"opened","number":111,"pull_request":{"url":"https://api.github.com/repos/Azure/sonic-utilities/pulls/111","id":143622238,"html_url":"https://github.com/Azure/sonic-utilities/pull/111","diff_url":"https://github.com/Azure/sonic-utilities/pull/111.diff","patch_url":"https://github.com/Azure/sonic-utilities/pull/111.patch","issue_url":"https://api.github.com/repos/Azure/sonic-utilities/issues/111","number":111,"state":"open","locked":false,"title":"Fixed parser logic to handle non mandatory TLV.","user":{"login":"nazarii-gnydyn","id":24411336,"avatar_url":"https://avatars1.githubusercontent.com/u/24411336?v=4","gravatar_id":"","url":"https://api.github.com/users/nazarii-gnydyn","html_url":"https://github.com/nazarii-gnydyn","followers_url":"https://api.github.com/users/nazarii-gnydyn/followers","following_url":"https://api.github.com/users/nazarii-gnydyn/following{/other_user}","gists_url":"https://api.github.com/users/nazarii-gnydyn/gists{/gist_id}","starred_url":"https://api.github.com/users/nazarii-gnydyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazarii-gnydyn/subscriptions","organizations_url":"https://api.github.com/users/nazarii-gnydyn/orgs","repos_url":"https://api.github.com/users/nazarii-gnydyn/repos","events_url":"https://api.github.com/users/nazarii-gnydyn/events{/privacy}","received_events_url":"https://api.github.com/users/nazarii-gnydyn/received_events","type":"User","site_admin":false},"body":"**Summary**:\r\nFixed parser logic to handle non mandatory TLV.\r\n\r\nFrom WIKI:\r\nEach LLDP frame starts with the following mandatory TLVs: Chassis ID, Port ID, and Time-to-Live.\r\nThe mandatory TLVs are followed by any number of optional TLVs. The frame ends with a special TLV,\r\nnamed end of LLDPDU in which both the type and length fields are 0.\r\n\r\n**Log**:\r\nadmin@sonic:~$ show lldp table\r\n'NoneType' object has no attribute 'text'","created_at":"2017-09-28T11:25:50Z","updated_at":"2017-09-28T11:25:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/sonic-utilities/pulls/111/commits","review_comments_url":"https://api.github.com/repos/Azure/sonic-utilities/pulls/111/comments","review_comment_url":"https://api.github.com/repos/Azure/sonic-utilities/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/sonic-utilities/issues/111/comments","statuses_url":"https://api.github.com/repos/Azure/sonic-utilities/statuses/4b036b9fefd1189a535771cf41d5a63485a387e5","head":{"label":"nazarii-gnydyn:201709-lldpshow-parser-fix","ref":"201709-lldpshow-parser-fix","sha":"4b036b9fefd1189a535771cf41d5a63485a387e5","user":{"login":"nazarii-gnydyn","id":24411336,"avatar_url":"https://avatars1.githubusercontent.com/u/24411336?v=4","gravatar_id":"","url":"https://api.github.com/users/nazarii-gnydyn","html_url":"https://github.com/nazarii-gnydyn","followers_url":"https://api.github.com/users/nazarii-gnydyn/followers","following_url":"https://api.github.com/users/nazarii-gnydyn/following{/other_user}","gists_url":"https://api.github.com/users/nazarii-gnydyn/gists{/gist_id}","starred_url":"https://api.github.com/users/nazarii-gnydyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazarii-gnydyn/subscriptions","organizations_url":"https://api.github.com/users/nazarii-gnydyn/orgs","repos_url":"https://api.github.com/users/nazarii-gnydyn/repos","events_url":"https://api.github.com/users/nazarii-gnydyn/events{/privacy}","received_events_url":"https://api.github.com/users/nazarii-gnydyn/received_events","type":"User","site_admin":false},"repo":{"id":105135935,"name":"sonic-utilities","full_name":"nazarii-gnydyn/sonic-utilities","owner":{"login":"nazarii-gnydyn","id":24411336,"avatar_url":"https://avatars1.githubusercontent.com/u/24411336?v=4","gravatar_id":"","url":"https://api.github.com/users/nazarii-gnydyn","html_url":"https://github.com/nazarii-gnydyn","followers_url":"https://api.github.com/users/nazarii-gnydyn/followers","following_url":"https://api.github.com/users/nazarii-gnydyn/following{/other_user}","gists_url":"https://api.github.com/users/nazarii-gnydyn/gists{/gist_id}","starred_url":"https://api.github.com/users/nazarii-gnydyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazarii-gnydyn/subscriptions","organizations_url":"https://api.github.com/users/nazarii-gnydyn/orgs","repos_url":"https://api.github.com/users/nazarii-gnydyn/repos","events_url":"https://api.github.com/users/nazarii-gnydyn/events{/privacy}","received_events_url":"https://api.github.com/users/nazarii-gnydyn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nazarii-gnydyn/sonic-utilities","description":"Command line utilities for the SONiC project","fork":true,"url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities","forks_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/forks","keys_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/teams","hooks_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/hooks","issue_events_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/issues/events{/number}","events_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/events","assignees_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/assignees{/user}","branches_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/branches{/branch}","tags_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/tags","blobs_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/git/refs{/sha}","trees_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/statuses/{sha}","languages_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/languages","stargazers_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/stargazers","contributors_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/contributors","subscribers_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/subscribers","subscription_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/subscription","commits_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/commits{/sha}","git_commits_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/git/commits{/sha}","comments_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/comments{/number}","issue_comment_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/issues/comments{/number}","contents_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/contents/{+path}","compare_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/merges","archive_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/downloads","issues_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/issues{/number}","pulls_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/pulls{/number}","milestones_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/milestones{/number}","notifications_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/labels{/name}","releases_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/releases{/id}","deployments_url":"https://api.github.com/repos/nazarii-gnydyn/sonic-utilities/deployments","created_at":"2017-09-28T10:37:51Z","updated_at":"2017-09-28T10:37:53Z","pushed_at":"2017-09-28T11:00:24Z","git_url":"git://github.com/nazarii-gnydyn/sonic-utilities.git","ssh_url":"git@github.com:nazarii-gnydyn/sonic-utilities.git","clone_url":"https://github.com/nazarii-gnydyn/sonic-utilities.git","svn_url":"https://github.com/nazarii-gnydyn/sonic-utilities","homepage":null,"size":199,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:201709","ref":"201709","sha":"3a43d49c0ef5a4e1ad4e2ca5aaad1cb10d25872e","user":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":53515393,"name":"sonic-utilities","full_name":"Azure/sonic-utilities","owner":{"login":"Azure","id":6844498,"avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/sonic-utilities","description":"Command line utilities for the SONiC project","fork":false,"url":"https://api.github.com/repos/Azure/sonic-utilities","forks_url":"https://api.github.com/repos/Azure/sonic-utilities/forks","keys_url":"https://api.github.com/repos/Azure/sonic-utilities/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/sonic-utilities/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/sonic-utilities/teams","hooks_url":"https://api.github.com/repos/Azure/sonic-utilities/hooks","issue_events_url":"https://api.github.com/repos/Azure/sonic-utilities/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/sonic-utilities/events","assignees_url":"https://api.github.com/repos/Azure/sonic-utilities/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/sonic-utilities/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/sonic-utilities/tags","blobs_url":"https://api.github.com/repos/Azure/sonic-utilities/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/sonic-utilities/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/sonic-utilities/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/sonic-utilities/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/sonic-utilities/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/sonic-utilities/languages","stargazers_url":"https://api.github.com/repos/Azure/sonic-utilities/stargazers","contributors_url":"https://api.github.com/repos/Azure/sonic-utilities/contributors","subscribers_url":"https://api.github.com/repos/Azure/sonic-utilities/subscribers","subscription_url":"https://api.github.com/repos/Azure/sonic-utilities/subscription","commits_url":"https://api.github.com/repos/Azure/sonic-utilities/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/sonic-utilities/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/sonic-utilities/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/sonic-utilities/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/sonic-utilities/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/sonic-utilities/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/sonic-utilities/merges","archive_url":"https://api.github.com/repos/Azure/sonic-utilities/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/sonic-utilities/downloads","issues_url":"https://api.github.com/repos/Azure/sonic-utilities/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/sonic-utilities/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/sonic-utilities/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/sonic-utilities/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/sonic-utilities/labels{/name}","releases_url":"https://api.github.com/repos/Azure/sonic-utilities/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/sonic-utilities/deployments","created_at":"2016-03-09T16:59:59Z","updated_at":"2017-09-26T03:01:02Z","pushed_at":"2017-09-28T11:24:22Z","git_url":"git://github.com/Azure/sonic-utilities.git","ssh_url":"git@github.com:Azure/sonic-utilities.git","clone_url":"https://github.com/Azure/sonic-utilities.git","svn_url":"https://github.com/Azure/sonic-utilities","homepage":null,"size":199,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":20,"forks":20,"open_issues":20,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/sonic-utilities/pulls/111"},"html":{"href":"https://github.com/Azure/sonic-utilities/pull/111"},"issue":{"href":"https://api.github.com/repos/Azure/sonic-utilities/issues/111"},"comments":{"href":"https://api.github.com/repos/Azure/sonic-utilities/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/sonic-utilities/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/sonic-utilities/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/sonic-utilities/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/sonic-utilities/statuses/4b036b9fefd1189a535771cf41d5a63485a387e5"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":5,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"nazarii-gnydyn"}}