{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/take4mats/swnyk/pulls/8","id":63547514,"html_url":"https://github.com/take4mats/swnyk/pull/8","diff_url":"https://github.com/take4mats/swnyk/pull/8.diff","patch_url":"https://github.com/take4mats/swnyk/pull/8.patch","issue_url":"https://api.github.com/repos/take4mats/swnyk/issues/8","number":8,"state":"closed","locked":false,"title":"add bw change function","user":{"login":"wmizoguchi","id":17212344,"avatar_url":"https://avatars.githubusercontent.com/u/17212344?v=3","gravatar_id":"","url":"https://api.github.com/users/wmizoguchi","html_url":"https://github.com/wmizoguchi","followers_url":"https://api.github.com/users/wmizoguchi/followers","following_url":"https://api.github.com/users/wmizoguchi/following{/other_user}","gists_url":"https://api.github.com/users/wmizoguchi/gists{/gist_id}","starred_url":"https://api.github.com/users/wmizoguchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmizoguchi/subscriptions","organizations_url":"https://api.github.com/users/wmizoguchi/orgs","repos_url":"https://api.github.com/users/wmizoguchi/repos","events_url":"https://api.github.com/users/wmizoguchi/events{/privacy}","received_events_url":"https://api.github.com/users/wmizoguchi/received_events","type":"User","site_admin":false},"body":"* bw_orderのページが動作するようにしました。\r\n  * configurationしたあと、current_bwを取ってくるところまで一気にまとめてあります。\r\n  * 動作完了後に、DBの更新が走る形になっているので10秒くらいかかります。\r\n\r\n* 予定と違うところ\r\n  * bw_orderを書き換えてreturnしようと思ったのですが、rubyで参照渡しする方法がよくわからなかったので大人しく配列で返しました。\r\n  * 同IF配下のpolicerを合算するところまで作りこめていないので、available_bwは単純にif_type.speedから 引き算しているだけです。\r\n\r\n* 相談事\r\n  * デモでVLAN作成するところまで見せるんでしたっけ？ もしするなら、上記のavailable_bw算出とmodule_vlans_netconf.rb側もpolicer含めて作りこみます。","created_at":"2016-03-21T11:05:30Z","updated_at":"2016-03-22T10:10:54Z","closed_at":"2016-03-22T10:10:54Z","merged_at":"2016-03-22T10:10:54Z","merge_commit_sha":"f01c2ff868fac2ff3eac25e93dbf7b44b34c8cd9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/take4mats/swnyk/pulls/8/commits","review_comments_url":"https://api.github.com/repos/take4mats/swnyk/pulls/8/comments","review_comment_url":"https://api.github.com/repos/take4mats/swnyk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/take4mats/swnyk/issues/8/comments","statuses_url":"https://api.github.com/repos/take4mats/swnyk/statuses/db5d21648d2d2ff958b76cddbc5a11488f98695a","head":{"label":"take4mats:bw_order_module","ref":"bw_order_module","sha":"db5d21648d2d2ff958b76cddbc5a11488f98695a","user":{"login":"take4mats","id":1111582,"avatar_url":"https://avatars.githubusercontent.com/u/1111582?v=3","gravatar_id":"","url":"https://api.github.com/users/take4mats","html_url":"https://github.com/take4mats","followers_url":"https://api.github.com/users/take4mats/followers","following_url":"https://api.github.com/users/take4mats/following{/other_user}","gists_url":"https://api.github.com/users/take4mats/gists{/gist_id}","starred_url":"https://api.github.com/users/take4mats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/take4mats/subscriptions","organizations_url":"https://api.github.com/users/take4mats/orgs","repos_url":"https://api.github.com/users/take4mats/repos","events_url":"https://api.github.com/users/take4mats/events{/privacy}","received_events_url":"https://api.github.com/users/take4mats/received_events","type":"User","site_admin":false},"repo":{"id":51149163,"name":"swnyk","full_name":"take4mats/swnyk","owner":{"login":"take4mats","id":1111582,"avatar_url":"https://avatars.githubusercontent.com/u/1111582?v=3","gravatar_id":"","url":"https://api.github.com/users/take4mats","html_url":"https://github.com/take4mats","followers_url":"https://api.github.com/users/take4mats/followers","following_url":"https://api.github.com/users/take4mats/following{/other_user}","gists_url":"https://api.github.com/users/take4mats/gists{/gist_id}","starred_url":"https://api.github.com/users/take4mats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/take4mats/subscriptions","organizations_url":"https://api.github.com/users/take4mats/orgs","repos_url":"https://api.github.com/users/take4mats/repos","events_url":"https://api.github.com/users/take4mats/events{/privacy}","received_events_url":"https://api.github.com/users/take4mats/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/take4mats/swnyk","description":"My software is not yet king. Building a Ruby on Rails app which contains NETCONF-based NW controller and front-end view","fork":false,"url":"https://api.github.com/repos/take4mats/swnyk","forks_url":"https://api.github.com/repos/take4mats/swnyk/forks","keys_url":"https://api.github.com/repos/take4mats/swnyk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/take4mats/swnyk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/take4mats/swnyk/teams","hooks_url":"https://api.github.com/repos/take4mats/swnyk/hooks","issue_events_url":"https://api.github.com/repos/take4mats/swnyk/issues/events{/number}","events_url":"https://api.github.com/repos/take4mats/swnyk/events","assignees_url":"https://api.github.com/repos/take4mats/swnyk/assignees{/user}","branches_url":"https://api.github.com/repos/take4mats/swnyk/branches{/branch}","tags_url":"https://api.github.com/repos/take4mats/swnyk/tags","blobs_url":"https://api.github.com/repos/take4mats/swnyk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/take4mats/swnyk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/take4mats/swnyk/git/refs{/sha}","trees_url":"https://api.github.com/repos/take4mats/swnyk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/take4mats/swnyk/statuses/{sha}","languages_url":"https://api.github.com/repos/take4mats/swnyk/languages","stargazers_url":"https://api.github.com/repos/take4mats/swnyk/stargazers","contributors_url":"https://api.github.com/repos/take4mats/swnyk/contributors","subscribers_url":"https://api.github.com/repos/take4mats/swnyk/subscribers","subscription_url":"https://api.github.com/repos/take4mats/swnyk/subscription","commits_url":"https://api.github.com/repos/take4mats/swnyk/commits{/sha}","git_commits_url":"https://api.github.com/repos/take4mats/swnyk/git/commits{/sha}","comments_url":"https://api.github.com/repos/take4mats/swnyk/comments{/number}","issue_comment_url":"https://api.github.com/repos/take4mats/swnyk/issues/comments{/number}","contents_url":"https://api.github.com/repos/take4mats/swnyk/contents/{+path}","compare_url":"https://api.github.com/repos/take4mats/swnyk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/take4mats/swnyk/merges","archive_url":"https://api.github.com/repos/take4mats/swnyk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/take4mats/swnyk/downloads","issues_url":"https://api.github.com/repos/take4mats/swnyk/issues{/number}","pulls_url":"https://api.github.com/repos/take4mats/swnyk/pulls{/number}","milestones_url":"https://api.github.com/repos/take4mats/swnyk/milestones{/number}","notifications_url":"https://api.github.com/repos/take4mats/swnyk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/take4mats/swnyk/labels{/name}","releases_url":"https://api.github.com/repos/take4mats/swnyk/releases{/id}","deployments_url":"https://api.github.com/repos/take4mats/swnyk/deployments","created_at":"2016-02-05T13:49:35Z","updated_at":"2016-03-05T06:57:36Z","pushed_at":"2016-03-22T10:10:55Z","git_url":"git://github.com/take4mats/swnyk.git","ssh_url":"git@github.com:take4mats/swnyk.git","clone_url":"https://github.com/take4mats/swnyk.git","svn_url":"https://github.com/take4mats/swnyk","homepage":null,"size":117,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"take4mats:master","ref":"master","sha":"9efc4f32db3a1172fc03c3112901a9c4ee896f82","user":{"login":"take4mats","id":1111582,"avatar_url":"https://avatars.githubusercontent.com/u/1111582?v=3","gravatar_id":"","url":"https://api.github.com/users/take4mats","html_url":"https://github.com/take4mats","followers_url":"https://api.github.com/users/take4mats/followers","following_url":"https://api.github.com/users/take4mats/following{/other_user}","gists_url":"https://api.github.com/users/take4mats/gists{/gist_id}","starred_url":"https://api.github.com/users/take4mats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/take4mats/subscriptions","organizations_url":"https://api.github.com/users/take4mats/orgs","repos_url":"https://api.github.com/users/take4mats/repos","events_url":"https://api.github.com/users/take4mats/events{/privacy}","received_events_url":"https://api.github.com/users/take4mats/received_events","type":"User","site_admin":false},"repo":{"id":51149163,"name":"swnyk","full_name":"take4mats/swnyk","owner":{"login":"take4mats","id":1111582,"avatar_url":"https://avatars.githubusercontent.com/u/1111582?v=3","gravatar_id":"","url":"https://api.github.com/users/take4mats","html_url":"https://github.com/take4mats","followers_url":"https://api.github.com/users/take4mats/followers","following_url":"https://api.github.com/users/take4mats/following{/other_user}","gists_url":"https://api.github.com/users/take4mats/gists{/gist_id}","starred_url":"https://api.github.com/users/take4mats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/take4mats/subscriptions","organizations_url":"https://api.github.com/users/take4mats/orgs","repos_url":"https://api.github.com/users/take4mats/repos","events_url":"https://api.github.com/users/take4mats/events{/privacy}","received_events_url":"https://api.github.com/users/take4mats/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/take4mats/swnyk","description":"My software is not yet king. Building a Ruby on Rails app which contains NETCONF-based NW controller and front-end view","fork":false,"url":"https://api.github.com/repos/take4mats/swnyk","forks_url":"https://api.github.com/repos/take4mats/swnyk/forks","keys_url":"https://api.github.com/repos/take4mats/swnyk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/take4mats/swnyk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/take4mats/swnyk/teams","hooks_url":"https://api.github.com/repos/take4mats/swnyk/hooks","issue_events_url":"https://api.github.com/repos/take4mats/swnyk/issues/events{/number}","events_url":"https://api.github.com/repos/take4mats/swnyk/events","assignees_url":"https://api.github.com/repos/take4mats/swnyk/assignees{/user}","branches_url":"https://api.github.com/repos/take4mats/swnyk/branches{/branch}","tags_url":"https://api.github.com/repos/take4mats/swnyk/tags","blobs_url":"https://api.github.com/repos/take4mats/swnyk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/take4mats/swnyk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/take4mats/swnyk/git/refs{/sha}","trees_url":"https://api.github.com/repos/take4mats/swnyk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/take4mats/swnyk/statuses/{sha}","languages_url":"https://api.github.com/repos/take4mats/swnyk/languages","stargazers_url":"https://api.github.com/repos/take4mats/swnyk/stargazers","contributors_url":"https://api.github.com/repos/take4mats/swnyk/contributors","subscribers_url":"https://api.github.com/repos/take4mats/swnyk/subscribers","subscription_url":"https://api.github.com/repos/take4mats/swnyk/subscription","commits_url":"https://api.github.com/repos/take4mats/swnyk/commits{/sha}","git_commits_url":"https://api.github.com/repos/take4mats/swnyk/git/commits{/sha}","comments_url":"https://api.github.com/repos/take4mats/swnyk/comments{/number}","issue_comment_url":"https://api.github.com/repos/take4mats/swnyk/issues/comments{/number}","contents_url":"https://api.github.com/repos/take4mats/swnyk/contents/{+path}","compare_url":"https://api.github.com/repos/take4mats/swnyk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/take4mats/swnyk/merges","archive_url":"https://api.github.com/repos/take4mats/swnyk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/take4mats/swnyk/downloads","issues_url":"https://api.github.com/repos/take4mats/swnyk/issues{/number}","pulls_url":"https://api.github.com/repos/take4mats/swnyk/pulls{/number}","milestones_url":"https://api.github.com/repos/take4mats/swnyk/milestones{/number}","notifications_url":"https://api.github.com/repos/take4mats/swnyk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/take4mats/swnyk/labels{/name}","releases_url":"https://api.github.com/repos/take4mats/swnyk/releases{/id}","deployments_url":"https://api.github.com/repos/take4mats/swnyk/deployments","created_at":"2016-02-05T13:49:35Z","updated_at":"2016-03-05T06:57:36Z","pushed_at":"2016-03-22T10:10:55Z","git_url":"git://github.com/take4mats/swnyk.git","ssh_url":"git@github.com:take4mats/swnyk.git","clone_url":"https://github.com/take4mats/swnyk.git","svn_url":"https://github.com/take4mats/swnyk","homepage":null,"size":117,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/take4mats/swnyk/pulls/8"},"html":{"href":"https://github.com/take4mats/swnyk/pull/8"},"issue":{"href":"https://api.github.com/repos/take4mats/swnyk/issues/8"},"comments":{"href":"https://api.github.com/repos/take4mats/swnyk/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/take4mats/swnyk/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/take4mats/swnyk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/take4mats/swnyk/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/take4mats/swnyk/statuses/db5d21648d2d2ff958b76cddbc5a11488f98695a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"take4mats","id":1111582,"avatar_url":"https://avatars.githubusercontent.com/u/1111582?v=3","gravatar_id":"","url":"https://api.github.com/users/take4mats","html_url":"https://github.com/take4mats","followers_url":"https://api.github.com/users/take4mats/followers","following_url":"https://api.github.com/users/take4mats/following{/other_user}","gists_url":"https://api.github.com/users/take4mats/gists{/gist_id}","starred_url":"https://api.github.com/users/take4mats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/take4mats/subscriptions","organizations_url":"https://api.github.com/users/take4mats/orgs","repos_url":"https://api.github.com/users/take4mats/repos","events_url":"https://api.github.com/users/take4mats/events{/privacy}","received_events_url":"https://api.github.com/users/take4mats/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":78,"deletions":9,"changed_files":2}}