{"action":"created","comment":{"url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls/comments/46940212","id":46940212,"diff_hunk":"@@ -120,9 +125,129 @@ func (c SoftLayerCreator) Create(agentID string, stemcell bslcstem.Stemcell, clo\n \n \tvm := NewSoftLayerVM(virtualGuest.Id, c.softLayerClient, util.GetSshClient(), agentEnvService, c.logger)\n \n+\tif strings.ToUpper(common.GetOSEnvVariable(\"OS_RELOAD_ENABLED\", \"TRUE\")) == \"TRUE\" && !strings.Contains(cloudProps.VmNamePrefix, \"-worker\") {\n+\t\tdb, err := bslcvmpool.OpenDB(bslcvmpool.SQLITE_DB_FILE_PATH)\n+\t\tif err != nil {\n+\t\t\treturn SoftLayerVM{}, bosherr.WrapError(err, \"Opening DB\")\n+\t\t}\n+\n+\t\tvmInfoDB := bslcvmpool.NewVMInfoDB(vm.ID(), virtualGuestTemplate.Hostname+\".\"+virtualGuestTemplate.Domain, \"t\", stemcell.Uuid(), agentID, c.logger, db)\n+\t\terr = vmInfoDB.InsertVMInfo(bslcvmpool.DB_RETRY_TIMEOUT, bslcvmpool.DB_RETRY_INTERVAL)\n+\t\tif err != nil {\n+\t\t\treturn SoftLayerVM{}, bosherr.WrapError(err, \"Failed to insert the record into VM pool DB\")\n+\t\t}\n+\t}\n+\n \treturn vm, nil\n }\n \n+func (c SoftLayerCreator) Create(agentID string, stemcell bslcstem.Stemcell, cloudProps VMCloudProperties, networks Networks, env Environment) (VM, error) {\n+\tif strings.ToUpper(common.GetOSEnvVariable(\"OS_RELOAD_ENABLED\", \"TRUE\")) == \"FALSE\" {\n+\t\treturn c.CreateNewVM(agentID, stemcell, cloudProps, networks, env)\n+\t}\n+\n+\terr := bslcvmpool.InitVMPoolDB(bslcvmpool.DB_RETRY_TIMEOUT, bslcvmpool.DB_RETRY_INTERVAL, c.logger)\n+\tif err != nil {\n+\t\treturn SoftLayerVM{}, bosherr.WrapError(err, \"Failed to initialize VM pool DB\")\n+\t}\n+\n+\tif strings.Contains(cloudProps.VmNamePrefix, \"-worker\") {\n+\t\tvm, err := c.CreateNewVM(agentID, stemcell, cloudProps, networks, env)\n+\t\treturn vm, err\n+\t}\n+\n+\tdb, err := bslcvmpool.OpenDB(bslcvmpool.SQLITE_DB_FILE_PATH)\n+\tif err != nil {\n+\t\treturn SoftLayerVM{}, bosherr.WrapError(err, \"Opening DB\")\n+\t}\n+\n+\tvmInfoDB := bslcvmpool.NewVMInfoDB(0, \"\", \"f\", \"\", agentID, c.logger, db)\n+\tdefer vmInfoDB.CloseDB()\n+\n+\terr = vmInfoDB.QueryVMInfobyAgentID(bslcvmpool.DB_RETRY_TIMEOUT, bslcvmpool.DB_RETRY_INTERVAL)\n+\tif err != nil {\n+\t\treturn SoftLayerVM{}, bosherr.WrapError(err, \"Failed to query VM info by given agent ID \"+agentID)\n+\t}\n+\n+\tif vmInfoDB.VmProperties.Id != 0 {\n+\t\tc.logger.Info(SOFTLAYER_VM_CREATOR_LOG_TAG, fmt.Sprintf(\"OS reload on the server id %d with stemcell %d\", vmInfoDB.VmProperties.Id, stemcell.ID()))\n+\n+\t\tvm := NewSoftLayerVM(vmInfoDB.VmProperties.Id, c.softLayerClient, util.GetSshClient(), nil, c.logger)\n+\n+\t\tbslcommon.TIMEOUT = 24 * time.Hour\n+\t\terr = vm.ReloadOS(stemcell)\n+\t\tif err != nil {\n+\t\t\treturn SoftLayerVM{}, bosherr.WrapError(err, \"Failed to reload OS\")\n+\t\t}\n+\n+\t\tif cloudProps.EphemeralDiskSize == 0 {\n+\t\t\terr = bslcommon.WaitForVirtualGuestLastCompleteTransaction(c.softLayerClient, vm.ID(), \"Service Setup\")\n+\t\t\tif err != nil {\n+\t\t\t\treturn SoftLayerVM{}, bosherr.WrapErrorf(err, \"Waiting for VirtualGuest `%d` has Service Setup transaction complete\", vm.ID())\n+\t\t\t}\n+\t\t} else {\n+\t\t\terr = bslcommon.AttachEphemeralDiskToVirtualGuest(c.softLayerClient, vm.ID(), cloudProps.EphemeralDiskSize, c.logger)\n+\t\t\tif err != nil {\n+\t\t\t\treturn SoftLayerVM{}, bosherr.WrapError(err, fmt.Sprintf(\"Attaching ephemeral disk to VirtualGuest `%d`\", vm.ID()))\n+\t\t\t}\n+\t\t}\n+\n+\t\tvirtualGuest, err := bslcommon.GetObjectDetailsOnVirtualGuest(c.softLayerClient, vmInfoDB.VmProperties.Id)\n+\t\tif err != nil {\n+\t\t\treturn SoftLayerVM{}, bosherr.WrapErrorf(err, \"Cannot get details from virtual guest with id: %d.\", virtualGuest.Id)\n+\t\t}\n+\n+\t\tsoftlayerFileService := NewSoftlayerFileService(util.GetSshClient(), virtualGuest, c.logger, c.uuidGenerator, c.fs)\n+\t\tagentEnvService := c.agentEnvServiceFactory.New(softlayerFileService, strconv.Itoa(virtualGuest.Id))\n+\n+\t\tagentEnv := CreateAgentUserData(agentID, cloudProps, networks, env, c.agentOptions)\n+\t\tif err != nil {\n+\t\t\treturn SoftLayerVM{}, bosherr.WrapErrorf(err, \"Cannot agent env for virtual guest with id: %d.\", virtualGuest.Id)\n+\t\t}\n+\n+\t\tif len(cloudProps.BoshIp) == 0 {\n+\t\t\t// update /etc/hosts file of bosh-init vm","path":"softlayer/vm/softlayer_creator.go","position":135,"original_position":135,"commit_id":"455fcbfb42b30c29a5d510f0895b993309aee0a7","original_commit_id":"455fcbfb42b30c29a5d510f0895b993309aee0a7","user":{"login":"mattcui","id":3347572,"avatar_url":"https://avatars.githubusercontent.com/u/3347572?v=3","gravatar_id":"","url":"https://api.github.com/users/mattcui","html_url":"https://github.com/mattcui","followers_url":"https://api.github.com/users/mattcui/followers","following_url":"https://api.github.com/users/mattcui/following{/other_user}","gists_url":"https://api.github.com/users/mattcui/gists{/gist_id}","starred_url":"https://api.github.com/users/mattcui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattcui/subscriptions","organizations_url":"https://api.github.com/users/mattcui/orgs","repos_url":"https://api.github.com/users/mattcui/repos","events_url":"https://api.github.com/users/mattcui/events{/privacy}","received_events_url":"https://api.github.com/users/mattcui/received_events","type":"User","site_admin":false},"body":"It's Jian Qiu's code, checked with Jian Qiu, he suggested to keep it. He will decide if removing it in his  PR.","created_at":"2015-12-08T11:05:28Z","updated_at":"2015-12-08T11:05:28Z","html_url":"https://github.com/maximilien/bosh-softlayer-cpi/pull/86#discussion_r46940212","pull_request_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls/86","_links":{"self":{"href":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls/comments/46940212"},"html":{"href":"https://github.com/maximilien/bosh-softlayer-cpi/pull/86#discussion_r46940212"},"pull_request":{"href":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls/86"}}},"pull_request":{"url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls/86","id":49547369,"html_url":"https://github.com/maximilien/bosh-softlayer-cpi/pull/86","diff_url":"https://github.com/maximilien/bosh-softlayer-cpi/pull/86.diff","patch_url":"https://github.com/maximilien/bosh-softlayer-cpi/pull/86.patch","issue_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/issues/86","number":86,"state":"open","locked":false,"title":"Os reload merge request","user":{"login":"mattcui","id":3347572,"avatar_url":"https://avatars.githubusercontent.com/u/3347572?v=3","gravatar_id":"","url":"https://api.github.com/users/mattcui","html_url":"https://github.com/mattcui","followers_url":"https://api.github.com/users/mattcui/followers","following_url":"https://api.github.com/users/mattcui/following{/other_user}","gists_url":"https://api.github.com/users/mattcui/gists{/gist_id}","starred_url":"https://api.github.com/users/mattcui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattcui/subscriptions","organizations_url":"https://api.github.com/users/mattcui/orgs","repos_url":"https://api.github.com/users/mattcui/repos","events_url":"https://api.github.com/users/mattcui/events{/privacy}","received_events_url":"https://api.github.com/users/mattcui/received_events","type":"User","site_admin":false},"body":"I re-calibrated this part of code, hope it can be merged into master branch this time. It's pretty painful for me to fetch and solve merge conflicts from master every time.","created_at":"2015-11-03T12:03:10Z","updated_at":"2015-12-08T11:05:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a33c3240041194d203d4296eeb9d1d3d54980b1","assignee":{"login":"maximilien","id":39187,"avatar_url":"https://avatars.githubusercontent.com/u/39187?v=3","gravatar_id":"","url":"https://api.github.com/users/maximilien","html_url":"https://github.com/maximilien","followers_url":"https://api.github.com/users/maximilien/followers","following_url":"https://api.github.com/users/maximilien/following{/other_user}","gists_url":"https://api.github.com/users/maximilien/gists{/gist_id}","starred_url":"https://api.github.com/users/maximilien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximilien/subscriptions","organizations_url":"https://api.github.com/users/maximilien/orgs","repos_url":"https://api.github.com/users/maximilien/repos","events_url":"https://api.github.com/users/maximilien/events{/privacy}","received_events_url":"https://api.github.com/users/maximilien/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls/86/commits","review_comments_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls/86/comments","review_comment_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/issues/86/comments","statuses_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/statuses/455fcbfb42b30c29a5d510f0895b993309aee0a7","head":{"label":"mattcui:os_reload","ref":"os_reload","sha":"455fcbfb42b30c29a5d510f0895b993309aee0a7","user":{"login":"mattcui","id":3347572,"avatar_url":"https://avatars.githubusercontent.com/u/3347572?v=3","gravatar_id":"","url":"https://api.github.com/users/mattcui","html_url":"https://github.com/mattcui","followers_url":"https://api.github.com/users/mattcui/followers","following_url":"https://api.github.com/users/mattcui/following{/other_user}","gists_url":"https://api.github.com/users/mattcui/gists{/gist_id}","starred_url":"https://api.github.com/users/mattcui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattcui/subscriptions","organizations_url":"https://api.github.com/users/mattcui/orgs","repos_url":"https://api.github.com/users/mattcui/repos","events_url":"https://api.github.com/users/mattcui/events{/privacy}","received_events_url":"https://api.github.com/users/mattcui/received_events","type":"User","site_admin":false},"repo":{"id":38737026,"name":"bosh-softlayer-cpi","full_name":"mattcui/bosh-softlayer-cpi","owner":{"login":"mattcui","id":3347572,"avatar_url":"https://avatars.githubusercontent.com/u/3347572?v=3","gravatar_id":"","url":"https://api.github.com/users/mattcui","html_url":"https://github.com/mattcui","followers_url":"https://api.github.com/users/mattcui/followers","following_url":"https://api.github.com/users/mattcui/following{/other_user}","gists_url":"https://api.github.com/users/mattcui/gists{/gist_id}","starred_url":"https://api.github.com/users/mattcui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattcui/subscriptions","organizations_url":"https://api.github.com/users/mattcui/orgs","repos_url":"https://api.github.com/users/mattcui/repos","events_url":"https://api.github.com/users/mattcui/events{/privacy}","received_events_url":"https://api.github.com/users/mattcui/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattcui/bosh-softlayer-cpi","description":"An external BOSH CPI for the SoftLayer cloud written in Golang","fork":true,"url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi","forks_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/forks","keys_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/teams","hooks_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/hooks","issue_events_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/issues/events{/number}","events_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/events","assignees_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/assignees{/user}","branches_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/branches{/branch}","tags_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/tags","blobs_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/statuses/{sha}","languages_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/languages","stargazers_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/stargazers","contributors_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/contributors","subscribers_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/subscribers","subscription_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/subscription","commits_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/contents/{+path}","compare_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/merges","archive_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/downloads","issues_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/issues{/number}","pulls_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/pulls{/number}","milestones_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/milestones{/number}","notifications_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/labels{/name}","releases_url":"https://api.github.com/repos/mattcui/bosh-softlayer-cpi/releases{/id}","created_at":"2015-07-08T06:44:46Z","updated_at":"2015-07-08T06:44:46Z","pushed_at":"2015-12-08T04:32:04Z","git_url":"git://github.com/mattcui/bosh-softlayer-cpi.git","ssh_url":"git@github.com:mattcui/bosh-softlayer-cpi.git","clone_url":"https://github.com/mattcui/bosh-softlayer-cpi.git","svn_url":"https://github.com/mattcui/bosh-softlayer-cpi","homepage":"","size":10623,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"maximilien:master","ref":"master","sha":"add18e5eb09d25a27eff03d0f03ce6460a3c1ea6","user":{"login":"maximilien","id":39187,"avatar_url":"https://avatars.githubusercontent.com/u/39187?v=3","gravatar_id":"","url":"https://api.github.com/users/maximilien","html_url":"https://github.com/maximilien","followers_url":"https://api.github.com/users/maximilien/followers","following_url":"https://api.github.com/users/maximilien/following{/other_user}","gists_url":"https://api.github.com/users/maximilien/gists{/gist_id}","starred_url":"https://api.github.com/users/maximilien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximilien/subscriptions","organizations_url":"https://api.github.com/users/maximilien/orgs","repos_url":"https://api.github.com/users/maximilien/repos","events_url":"https://api.github.com/users/maximilien/events{/privacy}","received_events_url":"https://api.github.com/users/maximilien/received_events","type":"User","site_admin":false},"repo":{"id":22626776,"name":"bosh-softlayer-cpi","full_name":"maximilien/bosh-softlayer-cpi","owner":{"login":"maximilien","id":39187,"avatar_url":"https://avatars.githubusercontent.com/u/39187?v=3","gravatar_id":"","url":"https://api.github.com/users/maximilien","html_url":"https://github.com/maximilien","followers_url":"https://api.github.com/users/maximilien/followers","following_url":"https://api.github.com/users/maximilien/following{/other_user}","gists_url":"https://api.github.com/users/maximilien/gists{/gist_id}","starred_url":"https://api.github.com/users/maximilien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximilien/subscriptions","organizations_url":"https://api.github.com/users/maximilien/orgs","repos_url":"https://api.github.com/users/maximilien/repos","events_url":"https://api.github.com/users/maximilien/events{/privacy}","received_events_url":"https://api.github.com/users/maximilien/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maximilien/bosh-softlayer-cpi","description":"An external BOSH CPI for the SoftLayer cloud written in Golang","fork":false,"url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi","forks_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/forks","keys_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/teams","hooks_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/hooks","issue_events_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/issues/events{/number}","events_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/events","assignees_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/assignees{/user}","branches_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/branches{/branch}","tags_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/tags","blobs_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/git/refs{/sha}","trees_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/statuses/{sha}","languages_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/languages","stargazers_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/stargazers","contributors_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/contributors","subscribers_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/subscribers","subscription_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/subscription","commits_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/commits{/sha}","git_commits_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/git/commits{/sha}","comments_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/comments{/number}","issue_comment_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/issues/comments{/number}","contents_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/contents/{+path}","compare_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/merges","archive_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/downloads","issues_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/issues{/number}","pulls_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls{/number}","milestones_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/milestones{/number}","notifications_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/labels{/name}","releases_url":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/releases{/id}","created_at":"2014-08-05T02:05:20Z","updated_at":"2015-11-10T05:53:43Z","pushed_at":"2015-12-08T04:26:11Z","git_url":"git://github.com/maximilien/bosh-softlayer-cpi.git","ssh_url":"git@github.com:maximilien/bosh-softlayer-cpi.git","clone_url":"https://github.com/maximilien/bosh-softlayer-cpi.git","svn_url":"https://github.com/maximilien/bosh-softlayer-cpi","homepage":"","size":10751,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":4,"forks":8,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls/86"},"html":{"href":"https://github.com/maximilien/bosh-softlayer-cpi/pull/86"},"issue":{"href":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/issues/86"},"comments":{"href":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/maximilien/bosh-softlayer-cpi/statuses/455fcbfb42b30c29a5d510f0895b993309aee0a7"}}}}