{"action":"opened","number":347,"pull_request":{"url":"https://api.github.com/repos/Azure/sonic-utilities/pulls/347","id":223042617,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMDQyNjE3","html_url":"https://github.com/Azure/sonic-utilities/pull/347","diff_url":"https://github.com/Azure/sonic-utilities/pull/347.diff","patch_url":"https://github.com/Azure/sonic-utilities/pull/347.patch","issue_url":"https://api.github.com/repos/Azure/sonic-utilities/issues/347","number":347,"state":"open","locked":false,"title":"Add ip config support for Vlan","user":{"login":"jipanyang","id":29779499,"node_id":"MDQ6VXNlcjI5Nzc5NDk5","avatar_url":"https://avatars3.githubusercontent.com/u/29779499?v=4","gravatar_id":"","url":"https://api.github.com/users/jipanyang","html_url":"https://github.com/jipanyang","followers_url":"https://api.github.com/users/jipanyang/followers","following_url":"https://api.github.com/users/jipanyang/following{/other_user}","gists_url":"https://api.github.com/users/jipanyang/gists{/gist_id}","starred_url":"https://api.github.com/users/jipanyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jipanyang/subscriptions","organizations_url":"https://api.github.com/users/jipanyang/orgs","repos_url":"https://api.github.com/users/jipanyang/repos","events_url":"https://api.github.com/users/jipanyang/events{/privacy}","received_events_url":"https://api.github.com/users/jipanyang/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>\r\n\r\n\r\n**- What I did**\r\nIP config on Vlan interface.\r\n\r\n**- How I did it**\r\n\r\n**- How to verify it**\r\n\r\n```\r\nroot@sonic:/home/admin# config  interface Vlan10  ip add 20.20.20.20/24 \r\nroot@sonic:/home/admin# \r\nroot@sonic:/home/admin# \r\nroot@sonic:/home/admin# ip add show Vlan10\r\n6: Vlan10@Bridge: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000\r\n    link/ether 00:05:64:30:73:c0 brd ff:ff:ff:ff:ff:ff\r\n    inet 11.163.117.119/26 scope global Vlan10\r\n       valid_lft forever preferred_lft forever\r\n    inet 11.213.14.247/26 scope global Vlan10\r\n       valid_lft forever preferred_lft forever\r\n    inet 20.20.20.20/24 scope global Vlan10\r\n       valid_lft forever preferred_lft forever\r\n    inet6 fe80::205:64ff:fe30:73c0/64 scope link \r\n       valid_lft forever preferred_lft forever\r\n```\r\n\r\n```\r\nroot@sonic:/home/admin# config  interface Vlan10  ip remove 20.20.20.20/24 \r\nroot@sonic:/home/admin# \r\nroot@sonic:/home/admin# \r\nroot@sonic:/home/admin# ip add show Vlan10\r\n6: Vlan10@Bridge: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000\r\n    link/ether 00:05:64:30:73:c0 brd ff:ff:ff:ff:ff:ff\r\n    inet 11.163.117.119/26 scope global Vlan10\r\n       valid_lft forever preferred_lft forever\r\n    inet 11.213.14.247/26 scope global Vlan10\r\n       valid_lft forever preferred_lft forever\r\n    inet6 fe80::205:64ff:fe30:73c0/64 scope link \r\n       valid_lft forever preferred_lft forever\r\nroot@sonic:/home/admin# \r\n```\r\n**- Previous command output (if the output of a command-line utility has changed)**\r\n\r\n**- New command output (if the output of a command-line utility has changed)**\r\n\r\n-->\r\n\r\n","created_at":"2018-10-15T21:04:21Z","updated_at":"2018-10-15T21:04:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/sonic-utilities/pulls/347/commits","review_comments_url":"https://api.github.com/repos/Azure/sonic-utilities/pulls/347/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/347/comments","statuses_url":"https://api.github.com/repos/Azure/sonic-utilities/statuses/45255b60883ca2447b5ccb68985324d48849b0c4","head":{"label":"jipanyang:vlan_ip","ref":"vlan_ip","sha":"45255b60883ca2447b5ccb68985324d48849b0c4","user":{"login":"jipanyang","id":29779499,"node_id":"MDQ6VXNlcjI5Nzc5NDk5","avatar_url":"https://avatars3.githubusercontent.com/u/29779499?v=4","gravatar_id":"","url":"https://api.github.com/users/jipanyang","html_url":"https://github.com/jipanyang","followers_url":"https://api.github.com/users/jipanyang/followers","following_url":"https://api.github.com/users/jipanyang/following{/other_user}","gists_url":"https://api.github.com/users/jipanyang/gists{/gist_id}","starred_url":"https://api.github.com/users/jipanyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jipanyang/subscriptions","organizations_url":"https://api.github.com/users/jipanyang/orgs","repos_url":"https://api.github.com/users/jipanyang/repos","events_url":"https://api.github.com/users/jipanyang/events{/privacy}","received_events_url":"https://api.github.com/users/jipanyang/received_events","type":"User","site_admin":false},"repo":{"id":133591382,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM1OTEzODI=","name":"sonic-utilities","full_name":"jipanyang/sonic-utilities","private":false,"owner":{"login":"jipanyang","id":29779499,"node_id":"MDQ6VXNlcjI5Nzc5NDk5","avatar_url":"https://avatars3.githubusercontent.com/u/29779499?v=4","gravatar_id":"","url":"https://api.github.com/users/jipanyang","html_url":"https://github.com/jipanyang","followers_url":"https://api.github.com/users/jipanyang/followers","following_url":"https://api.github.com/users/jipanyang/following{/other_user}","gists_url":"https://api.github.com/users/jipanyang/gists{/gist_id}","starred_url":"https://api.github.com/users/jipanyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jipanyang/subscriptions","organizations_url":"https://api.github.com/users/jipanyang/orgs","repos_url":"https://api.github.com/users/jipanyang/repos","events_url":"https://api.github.com/users/jipanyang/events{/privacy}","received_events_url":"https://api.github.com/users/jipanyang/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jipanyang/sonic-utilities","description":"Command line utilities for the SONiC project","fork":true,"url":"https://api.github.com/repos/jipanyang/sonic-utilities","forks_url":"https://api.github.com/repos/jipanyang/sonic-utilities/forks","keys_url":"https://api.github.com/repos/jipanyang/sonic-utilities/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jipanyang/sonic-utilities/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jipanyang/sonic-utilities/teams","hooks_url":"https://api.github.com/repos/jipanyang/sonic-utilities/hooks","issue_events_url":"https://api.github.com/repos/jipanyang/sonic-utilities/issues/events{/number}","events_url":"https://api.github.com/repos/jipanyang/sonic-utilities/events","assignees_url":"https://api.github.com/repos/jipanyang/sonic-utilities/assignees{/user}","branches_url":"https://api.github.com/repos/jipanyang/sonic-utilities/branches{/branch}","tags_url":"https://api.github.com/repos/jipanyang/sonic-utilities/tags","blobs_url":"https://api.github.com/repos/jipanyang/sonic-utilities/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jipanyang/sonic-utilities/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jipanyang/sonic-utilities/git/refs{/sha}","trees_url":"https://api.github.com/repos/jipanyang/sonic-utilities/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jipanyang/sonic-utilities/statuses/{sha}","languages_url":"https://api.github.com/repos/jipanyang/sonic-utilities/languages","stargazers_url":"https://api.github.com/repos/jipanyang/sonic-utilities/stargazers","contributors_url":"https://api.github.com/repos/jipanyang/sonic-utilities/contributors","subscribers_url":"https://api.github.com/repos/jipanyang/sonic-utilities/subscribers","subscription_url":"https://api.github.com/repos/jipanyang/sonic-utilities/subscription","commits_url":"https://api.github.com/repos/jipanyang/sonic-utilities/commits{/sha}","git_commits_url":"https://api.github.com/repos/jipanyang/sonic-utilities/git/commits{/sha}","comments_url":"https://api.github.com/repos/jipanyang/sonic-utilities/comments{/number}","issue_comment_url":"https://api.github.com/repos/jipanyang/sonic-utilities/issues/comments{/number}","contents_url":"https://api.github.com/repos/jipanyang/sonic-utilities/contents/{+path}","compare_url":"https://api.github.com/repos/jipanyang/sonic-utilities/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jipanyang/sonic-utilities/merges","archive_url":"https://api.github.com/repos/jipanyang/sonic-utilities/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jipanyang/sonic-utilities/downloads","issues_url":"https://api.github.com/repos/jipanyang/sonic-utilities/issues{/number}","pulls_url":"https://api.github.com/repos/jipanyang/sonic-utilities/pulls{/number}","milestones_url":"https://api.github.com/repos/jipanyang/sonic-utilities/milestones{/number}","notifications_url":"https://api.github.com/repos/jipanyang/sonic-utilities/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jipanyang/sonic-utilities/labels{/name}","releases_url":"https://api.github.com/repos/jipanyang/sonic-utilities/releases{/id}","deployments_url":"https://api.github.com/repos/jipanyang/sonic-utilities/deployments","created_at":"2018-05-16T01:08:45Z","updated_at":"2018-09-25T18:12:50Z","pushed_at":"2018-10-15T20:59:32Z","git_url":"git://github.com/jipanyang/sonic-utilities.git","ssh_url":"git@github.com:jipanyang/sonic-utilities.git","clone_url":"https://github.com/jipanyang/sonic-utilities.git","svn_url":"https://github.com/jipanyang/sonic-utilities","homepage":null,"size":599,"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,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:master","ref":"master","sha":"b1156beb920c211c186f03e75e858a9e481d2322","user":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","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,"node_id":"MDEwOlJlcG9zaXRvcnk1MzUxNTM5Mw==","name":"sonic-utilities","full_name":"Azure/sonic-utilities","private":false,"owner":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","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},"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":"2018-10-14T16:12:30Z","pushed_at":"2018-10-15T20:39:10Z","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":615,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"archived":false,"open_issues_count":48,"license":null,"forks":56,"open_issues":48,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/sonic-utilities/pulls/347"},"html":{"href":"https://github.com/Azure/sonic-utilities/pull/347"},"issue":{"href":"https://api.github.com/repos/Azure/sonic-utilities/issues/347"},"comments":{"href":"https://api.github.com/repos/Azure/sonic-utilities/issues/347/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/sonic-utilities/pulls/347/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/347/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/sonic-utilities/statuses/45255b60883ca2447b5ccb68985324d48849b0c4"}},"author_association":"CONTRIBUTOR","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":0,"changed_files":1}}
{"actor":{"display_login":"jipanyang"}}