{"action":"created","comment":{"url":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls/comments/192780557","pull_request_review_id":125622259,"id":192780557,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Mjc4MDU1Nw==","diff_hunk":"@@ -210,6 +212,14 @@ func bootNode(rackName, rackShortName, nodeName, serial string, resource *VMReso\n \t\t\t\t\t},\n \t\t\t\t})\n \t\t}\n+\t\tvolumes = append(volumes,","path":"cluster.go","position":22,"original_position":13,"commit_id":"8f609ac3fd10088940c50bd274bbb4661167f9fb","original_commit_id":"8f609ac3fd10088940c50bd274bbb4661167f9fb","user":{"login":"ymmt2005","id":1461515,"node_id":"MDQ6VXNlcjE0NjE1MTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1461515?v=4","gravatar_id":"","url":"https://api.github.com/users/ymmt2005","html_url":"https://github.com/ymmt2005","followers_url":"https://api.github.com/users/ymmt2005/followers","following_url":"https://api.github.com/users/ymmt2005/following{/other_user}","gists_url":"https://api.github.com/users/ymmt2005/gists{/gist_id}","starred_url":"https://api.github.com/users/ymmt2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymmt2005/subscriptions","organizations_url":"https://api.github.com/users/ymmt2005/orgs","repos_url":"https://api.github.com/users/ymmt2005/repos","events_url":"https://api.github.com/users/ymmt2005/events{/privacy}","received_events_url":"https://api.github.com/users/ymmt2005/received_events","type":"User","site_admin":false},"body":"else の場合も付けるべきではない？","created_at":"2018-06-04T15:23:04Z","updated_at":"2018-06-04T15:23:11Z","html_url":"https://github.com/cybozu-go/placemat-menu/pull/40#discussion_r192780557","pull_request_url":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls/40","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls/comments/192780557"},"html":{"href":"https://github.com/cybozu-go/placemat-menu/pull/40#discussion_r192780557"},"pull_request":{"href":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls/40","id":192397520,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMzk3NTIw","html_url":"https://github.com/cybozu-go/placemat-menu/pull/40","diff_url":"https://github.com/cybozu-go/placemat-menu/pull/40.diff","patch_url":"https://github.com/cybozu-go/placemat-menu/pull/40.patch","issue_url":"https://api.github.com/repos/cybozu-go/placemat-menu/issues/40","number":40,"state":"open","locked":false,"title":"Output sabakan config in DataFolder for boot nodes.","user":{"login":"morimoto-cybozu","id":4961073,"node_id":"MDQ6VXNlcjQ5NjEwNzM=","avatar_url":"https://avatars3.githubusercontent.com/u/4961073?v=4","gravatar_id":"","url":"https://api.github.com/users/morimoto-cybozu","html_url":"https://github.com/morimoto-cybozu","followers_url":"https://api.github.com/users/morimoto-cybozu/followers","following_url":"https://api.github.com/users/morimoto-cybozu/following{/other_user}","gists_url":"https://api.github.com/users/morimoto-cybozu/gists{/gist_id}","starred_url":"https://api.github.com/users/morimoto-cybozu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morimoto-cybozu/subscriptions","organizations_url":"https://api.github.com/users/morimoto-cybozu/orgs","repos_url":"https://api.github.com/users/morimoto-cybozu/repos","events_url":"https://api.github.com/users/morimoto-cybozu/events{/privacy}","received_events_url":"https://api.github.com/users/morimoto-cybozu/received_events","type":"User","site_admin":false},"body":"* Use IPAMConfig as policy of network address assignment\r\n* Output sabakan config files in DataFolder, and show the folder to boot nodes\r\n  * `ipam.json` -- for `sabactl ipam set`\r\n  * `dhcp.json` -- for `sabactl dhcp set`\r\n  * `machines.json` -- for `sabactl machines create`\r\n* Assign serial numbers to nodes in order to generate `machines.json`","created_at":"2018-06-04T12:50:59Z","updated_at":"2018-06-04T15:23:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"638e5c390bee100316ec3a41df9554b3edb6c074","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls/40/commits","review_comments_url":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls/40/comments","review_comment_url":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cybozu-go/placemat-menu/issues/40/comments","statuses_url":"https://api.github.com/repos/cybozu-go/placemat-menu/statuses/8f609ac3fd10088940c50bd274bbb4661167f9fb","head":{"label":"cybozu-go:generate-sabakan-data","ref":"generate-sabakan-data","sha":"8f609ac3fd10088940c50bd274bbb4661167f9fb","user":{"login":"cybozu-go","id":17453711,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NDUzNzEx","avatar_url":"https://avatars1.githubusercontent.com/u/17453711?v=4","gravatar_id":"","url":"https://api.github.com/users/cybozu-go","html_url":"https://github.com/cybozu-go","followers_url":"https://api.github.com/users/cybozu-go/followers","following_url":"https://api.github.com/users/cybozu-go/following{/other_user}","gists_url":"https://api.github.com/users/cybozu-go/gists{/gist_id}","starred_url":"https://api.github.com/users/cybozu-go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybozu-go/subscriptions","organizations_url":"https://api.github.com/users/cybozu-go/orgs","repos_url":"https://api.github.com/users/cybozu-go/repos","events_url":"https://api.github.com/users/cybozu-go/events{/privacy}","received_events_url":"https://api.github.com/users/cybozu-go/received_events","type":"Organization","site_admin":false},"repo":{"id":131113013,"node_id":"MDEwOlJlcG9zaXRvcnkxMzExMTMwMTM=","name":"placemat-menu","full_name":"cybozu-go/placemat-menu","owner":{"login":"cybozu-go","id":17453711,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NDUzNzEx","avatar_url":"https://avatars1.githubusercontent.com/u/17453711?v=4","gravatar_id":"","url":"https://api.github.com/users/cybozu-go","html_url":"https://github.com/cybozu-go","followers_url":"https://api.github.com/users/cybozu-go/followers","following_url":"https://api.github.com/users/cybozu-go/following{/other_user}","gists_url":"https://api.github.com/users/cybozu-go/gists{/gist_id}","starred_url":"https://api.github.com/users/cybozu-go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybozu-go/subscriptions","organizations_url":"https://api.github.com/users/cybozu-go/orgs","repos_url":"https://api.github.com/users/cybozu-go/repos","events_url":"https://api.github.com/users/cybozu-go/events{/privacy}","received_events_url":"https://api.github.com/users/cybozu-go/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cybozu-go/placemat-menu","description":"configuration tool for placemat","fork":false,"url":"https://api.github.com/repos/cybozu-go/placemat-menu","forks_url":"https://api.github.com/repos/cybozu-go/placemat-menu/forks","keys_url":"https://api.github.com/repos/cybozu-go/placemat-menu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cybozu-go/placemat-menu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cybozu-go/placemat-menu/teams","hooks_url":"https://api.github.com/repos/cybozu-go/placemat-menu/hooks","issue_events_url":"https://api.github.com/repos/cybozu-go/placemat-menu/issues/events{/number}","events_url":"https://api.github.com/repos/cybozu-go/placemat-menu/events","assignees_url":"https://api.github.com/repos/cybozu-go/placemat-menu/assignees{/user}","branches_url":"https://api.github.com/repos/cybozu-go/placemat-menu/branches{/branch}","tags_url":"https://api.github.com/repos/cybozu-go/placemat-menu/tags","blobs_url":"https://api.github.com/repos/cybozu-go/placemat-menu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cybozu-go/placemat-menu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cybozu-go/placemat-menu/git/refs{/sha}","trees_url":"https://api.github.com/repos/cybozu-go/placemat-menu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cybozu-go/placemat-menu/statuses/{sha}","languages_url":"https://api.github.com/repos/cybozu-go/placemat-menu/languages","stargazers_url":"https://api.github.com/repos/cybozu-go/placemat-menu/stargazers","contributors_url":"https://api.github.com/repos/cybozu-go/placemat-menu/contributors","subscribers_url":"https://api.github.com/repos/cybozu-go/placemat-menu/subscribers","subscription_url":"https://api.github.com/repos/cybozu-go/placemat-menu/subscription","commits_url":"https://api.github.com/repos/cybozu-go/placemat-menu/commits{/sha}","git_commits_url":"https://api.github.com/repos/cybozu-go/placemat-menu/git/commits{/sha}","comments_url":"https://api.github.com/repos/cybozu-go/placemat-menu/comments{/number}","issue_comment_url":"https://api.github.com/repos/cybozu-go/placemat-menu/issues/comments{/number}","contents_url":"https://api.github.com/repos/cybozu-go/placemat-menu/contents/{+path}","compare_url":"https://api.github.com/repos/cybozu-go/placemat-menu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cybozu-go/placemat-menu/merges","archive_url":"https://api.github.com/repos/cybozu-go/placemat-menu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cybozu-go/placemat-menu/downloads","issues_url":"https://api.github.com/repos/cybozu-go/placemat-menu/issues{/number}","pulls_url":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls{/number}","milestones_url":"https://api.github.com/repos/cybozu-go/placemat-menu/milestones{/number}","notifications_url":"https://api.github.com/repos/cybozu-go/placemat-menu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cybozu-go/placemat-menu/labels{/name}","releases_url":"https://api.github.com/repos/cybozu-go/placemat-menu/releases{/id}","deployments_url":"https://api.github.com/repos/cybozu-go/placemat-menu/deployments","created_at":"2018-04-26T06:54:49Z","updated_at":"2018-06-04T09:02:45Z","pushed_at":"2018-06-04T12:51:00Z","git_url":"git://github.com/cybozu-go/placemat-menu.git","ssh_url":"git@github.com:cybozu-go/placemat-menu.git","clone_url":"https://github.com/cybozu-go/placemat-menu.git","svn_url":"https://github.com/cybozu-go/placemat-menu","homepage":null,"size":277,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cybozu-go:master","ref":"master","sha":"57b019d25cf78abcae5b69304aaf0b847151ac62","user":{"login":"cybozu-go","id":17453711,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NDUzNzEx","avatar_url":"https://avatars1.githubusercontent.com/u/17453711?v=4","gravatar_id":"","url":"https://api.github.com/users/cybozu-go","html_url":"https://github.com/cybozu-go","followers_url":"https://api.github.com/users/cybozu-go/followers","following_url":"https://api.github.com/users/cybozu-go/following{/other_user}","gists_url":"https://api.github.com/users/cybozu-go/gists{/gist_id}","starred_url":"https://api.github.com/users/cybozu-go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybozu-go/subscriptions","organizations_url":"https://api.github.com/users/cybozu-go/orgs","repos_url":"https://api.github.com/users/cybozu-go/repos","events_url":"https://api.github.com/users/cybozu-go/events{/privacy}","received_events_url":"https://api.github.com/users/cybozu-go/received_events","type":"Organization","site_admin":false},"repo":{"id":131113013,"node_id":"MDEwOlJlcG9zaXRvcnkxMzExMTMwMTM=","name":"placemat-menu","full_name":"cybozu-go/placemat-menu","owner":{"login":"cybozu-go","id":17453711,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NDUzNzEx","avatar_url":"https://avatars1.githubusercontent.com/u/17453711?v=4","gravatar_id":"","url":"https://api.github.com/users/cybozu-go","html_url":"https://github.com/cybozu-go","followers_url":"https://api.github.com/users/cybozu-go/followers","following_url":"https://api.github.com/users/cybozu-go/following{/other_user}","gists_url":"https://api.github.com/users/cybozu-go/gists{/gist_id}","starred_url":"https://api.github.com/users/cybozu-go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybozu-go/subscriptions","organizations_url":"https://api.github.com/users/cybozu-go/orgs","repos_url":"https://api.github.com/users/cybozu-go/repos","events_url":"https://api.github.com/users/cybozu-go/events{/privacy}","received_events_url":"https://api.github.com/users/cybozu-go/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cybozu-go/placemat-menu","description":"configuration tool for placemat","fork":false,"url":"https://api.github.com/repos/cybozu-go/placemat-menu","forks_url":"https://api.github.com/repos/cybozu-go/placemat-menu/forks","keys_url":"https://api.github.com/repos/cybozu-go/placemat-menu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cybozu-go/placemat-menu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cybozu-go/placemat-menu/teams","hooks_url":"https://api.github.com/repos/cybozu-go/placemat-menu/hooks","issue_events_url":"https://api.github.com/repos/cybozu-go/placemat-menu/issues/events{/number}","events_url":"https://api.github.com/repos/cybozu-go/placemat-menu/events","assignees_url":"https://api.github.com/repos/cybozu-go/placemat-menu/assignees{/user}","branches_url":"https://api.github.com/repos/cybozu-go/placemat-menu/branches{/branch}","tags_url":"https://api.github.com/repos/cybozu-go/placemat-menu/tags","blobs_url":"https://api.github.com/repos/cybozu-go/placemat-menu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cybozu-go/placemat-menu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cybozu-go/placemat-menu/git/refs{/sha}","trees_url":"https://api.github.com/repos/cybozu-go/placemat-menu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cybozu-go/placemat-menu/statuses/{sha}","languages_url":"https://api.github.com/repos/cybozu-go/placemat-menu/languages","stargazers_url":"https://api.github.com/repos/cybozu-go/placemat-menu/stargazers","contributors_url":"https://api.github.com/repos/cybozu-go/placemat-menu/contributors","subscribers_url":"https://api.github.com/repos/cybozu-go/placemat-menu/subscribers","subscription_url":"https://api.github.com/repos/cybozu-go/placemat-menu/subscription","commits_url":"https://api.github.com/repos/cybozu-go/placemat-menu/commits{/sha}","git_commits_url":"https://api.github.com/repos/cybozu-go/placemat-menu/git/commits{/sha}","comments_url":"https://api.github.com/repos/cybozu-go/placemat-menu/comments{/number}","issue_comment_url":"https://api.github.com/repos/cybozu-go/placemat-menu/issues/comments{/number}","contents_url":"https://api.github.com/repos/cybozu-go/placemat-menu/contents/{+path}","compare_url":"https://api.github.com/repos/cybozu-go/placemat-menu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cybozu-go/placemat-menu/merges","archive_url":"https://api.github.com/repos/cybozu-go/placemat-menu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cybozu-go/placemat-menu/downloads","issues_url":"https://api.github.com/repos/cybozu-go/placemat-menu/issues{/number}","pulls_url":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls{/number}","milestones_url":"https://api.github.com/repos/cybozu-go/placemat-menu/milestones{/number}","notifications_url":"https://api.github.com/repos/cybozu-go/placemat-menu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cybozu-go/placemat-menu/labels{/name}","releases_url":"https://api.github.com/repos/cybozu-go/placemat-menu/releases{/id}","deployments_url":"https://api.github.com/repos/cybozu-go/placemat-menu/deployments","created_at":"2018-04-26T06:54:49Z","updated_at":"2018-06-04T09:02:45Z","pushed_at":"2018-06-04T12:51:00Z","git_url":"git://github.com/cybozu-go/placemat-menu.git","ssh_url":"git@github.com:cybozu-go/placemat-menu.git","clone_url":"https://github.com/cybozu-go/placemat-menu.git","svn_url":"https://github.com/cybozu-go/placemat-menu","homepage":null,"size":277,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls/40"},"html":{"href":"https://github.com/cybozu-go/placemat-menu/pull/40"},"issue":{"href":"https://api.github.com/repos/cybozu-go/placemat-menu/issues/40"},"comments":{"href":"https://api.github.com/repos/cybozu-go/placemat-menu/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cybozu-go/placemat-menu/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/cybozu-go/placemat-menu/statuses/8f609ac3fd10088940c50bd274bbb4661167f9fb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ymmt2005"}}