{"action":"opened","number":123,"pull_request":{"url":"https://api.github.com/repos/open-iscsi/rtslib-fb/pulls/123","id":171055490,"html_url":"https://github.com/open-iscsi/rtslib-fb/pull/123","diff_url":"https://github.com/open-iscsi/rtslib-fb/pull/123.diff","patch_url":"https://github.com/open-iscsi/rtslib-fb/pull/123.patch","issue_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/issues/123","number":123,"state":"open","locked":false,"title":"saveconfig: support saving configuration at block granularity","user":{"login":"pkalever","id":12432241,"avatar_url":"https://avatars3.githubusercontent.com/u/12432241?v=4","gravatar_id":"","url":"https://api.github.com/users/pkalever","html_url":"https://github.com/pkalever","followers_url":"https://api.github.com/users/pkalever/followers","following_url":"https://api.github.com/users/pkalever/following{/other_user}","gists_url":"https://api.github.com/users/pkalever/gists{/gist_id}","starred_url":"https://api.github.com/users/pkalever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkalever/subscriptions","organizations_url":"https://api.github.com/users/pkalever/orgs","repos_url":"https://api.github.com/users/pkalever/repos","events_url":"https://api.github.com/users/pkalever/events{/privacy}","received_events_url":"https://api.github.com/users/pkalever/received_events","type":"User","site_admin":false},"body":"Add an option to update configuration for single block at a time.\r\nAs of today changes done for one single block needs the whole configuration\r\nupdate.\r\n\r\nThis patch introduces a new option 'block_name' to saveconfig command\r\n\r\n$ targetcli help\r\n[...]\r\nAVAILABLE COMMANDS\r\n[...]\r\n    - saveconfig [savefile] [block_name]\r\n    - sessions [action] [sid]\r\n    - set [group] [parameter=value...]\r\n    - status\r\n    - version\r\n\r\nBatch mode:\r\n----------\r\n$ targetcli / saveconfig block_name=block1\r\n\r\nInteractive mode:\r\n----------------\r\n$ targetcli\r\ntargetcli shell version 2.1.fb48\r\nCopyright 2011-2013 by Datera, Inc and others.\r\nFor help on commands, type 'help'.\r\n\r\n/> / saveconfig block_name=block1\r\nLast 26 configs saved in /etc/target/backup.\r\nConfiguration saved to /etc/target/saveconfig.json\r\n\r\nSigned-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>","created_at":"2018-02-23T16:18:55Z","updated_at":"2018-02-23T16:18:55Z","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/open-iscsi/rtslib-fb/pulls/123/commits","review_comments_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/pulls/123/comments","review_comment_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/issues/123/comments","statuses_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/statuses/d7824a8e0a9aaad848f3e5e4a95df73e20a4a195","head":{"label":"pkalever:block_name","ref":"block_name","sha":"d7824a8e0a9aaad848f3e5e4a95df73e20a4a195","user":{"login":"pkalever","id":12432241,"avatar_url":"https://avatars3.githubusercontent.com/u/12432241?v=4","gravatar_id":"","url":"https://api.github.com/users/pkalever","html_url":"https://github.com/pkalever","followers_url":"https://api.github.com/users/pkalever/followers","following_url":"https://api.github.com/users/pkalever/following{/other_user}","gists_url":"https://api.github.com/users/pkalever/gists{/gist_id}","starred_url":"https://api.github.com/users/pkalever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkalever/subscriptions","organizations_url":"https://api.github.com/users/pkalever/orgs","repos_url":"https://api.github.com/users/pkalever/repos","events_url":"https://api.github.com/users/pkalever/events{/privacy}","received_events_url":"https://api.github.com/users/pkalever/received_events","type":"User","site_admin":false},"repo":{"id":120903016,"name":"rtslib-fb","full_name":"pkalever/rtslib-fb","owner":{"login":"pkalever","id":12432241,"avatar_url":"https://avatars3.githubusercontent.com/u/12432241?v=4","gravatar_id":"","url":"https://api.github.com/users/pkalever","html_url":"https://github.com/pkalever","followers_url":"https://api.github.com/users/pkalever/followers","following_url":"https://api.github.com/users/pkalever/following{/other_user}","gists_url":"https://api.github.com/users/pkalever/gists{/gist_id}","starred_url":"https://api.github.com/users/pkalever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkalever/subscriptions","organizations_url":"https://api.github.com/users/pkalever/orgs","repos_url":"https://api.github.com/users/pkalever/repos","events_url":"https://api.github.com/users/pkalever/events{/privacy}","received_events_url":"https://api.github.com/users/pkalever/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pkalever/rtslib-fb","description":"Python library for configuring the Linux kernel-based multiprotocol SCSI target (LIO)","fork":true,"url":"https://api.github.com/repos/pkalever/rtslib-fb","forks_url":"https://api.github.com/repos/pkalever/rtslib-fb/forks","keys_url":"https://api.github.com/repos/pkalever/rtslib-fb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pkalever/rtslib-fb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pkalever/rtslib-fb/teams","hooks_url":"https://api.github.com/repos/pkalever/rtslib-fb/hooks","issue_events_url":"https://api.github.com/repos/pkalever/rtslib-fb/issues/events{/number}","events_url":"https://api.github.com/repos/pkalever/rtslib-fb/events","assignees_url":"https://api.github.com/repos/pkalever/rtslib-fb/assignees{/user}","branches_url":"https://api.github.com/repos/pkalever/rtslib-fb/branches{/branch}","tags_url":"https://api.github.com/repos/pkalever/rtslib-fb/tags","blobs_url":"https://api.github.com/repos/pkalever/rtslib-fb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pkalever/rtslib-fb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pkalever/rtslib-fb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pkalever/rtslib-fb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pkalever/rtslib-fb/statuses/{sha}","languages_url":"https://api.github.com/repos/pkalever/rtslib-fb/languages","stargazers_url":"https://api.github.com/repos/pkalever/rtslib-fb/stargazers","contributors_url":"https://api.github.com/repos/pkalever/rtslib-fb/contributors","subscribers_url":"https://api.github.com/repos/pkalever/rtslib-fb/subscribers","subscription_url":"https://api.github.com/repos/pkalever/rtslib-fb/subscription","commits_url":"https://api.github.com/repos/pkalever/rtslib-fb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pkalever/rtslib-fb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pkalever/rtslib-fb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pkalever/rtslib-fb/issues/comments{/number}","contents_url":"https://api.github.com/repos/pkalever/rtslib-fb/contents/{+path}","compare_url":"https://api.github.com/repos/pkalever/rtslib-fb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pkalever/rtslib-fb/merges","archive_url":"https://api.github.com/repos/pkalever/rtslib-fb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pkalever/rtslib-fb/downloads","issues_url":"https://api.github.com/repos/pkalever/rtslib-fb/issues{/number}","pulls_url":"https://api.github.com/repos/pkalever/rtslib-fb/pulls{/number}","milestones_url":"https://api.github.com/repos/pkalever/rtslib-fb/milestones{/number}","notifications_url":"https://api.github.com/repos/pkalever/rtslib-fb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pkalever/rtslib-fb/labels{/name}","releases_url":"https://api.github.com/repos/pkalever/rtslib-fb/releases{/id}","deployments_url":"https://api.github.com/repos/pkalever/rtslib-fb/deployments","created_at":"2018-02-09T12:27:31Z","updated_at":"2018-02-09T12:27:34Z","pushed_at":"2018-02-23T16:14:31Z","git_url":"git://github.com/pkalever/rtslib-fb.git","ssh_url":"git@github.com:pkalever/rtslib-fb.git","clone_url":"https://github.com/pkalever/rtslib-fb.git","svn_url":"https://github.com/pkalever/rtslib-fb","homepage":"","size":775,"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":"open-iscsi:master","ref":"master","sha":"c2af9d74bf139c70c92bf8fccad06287da2375b8","user":{"login":"open-iscsi","id":18598980,"avatar_url":"https://avatars2.githubusercontent.com/u/18598980?v=4","gravatar_id":"","url":"https://api.github.com/users/open-iscsi","html_url":"https://github.com/open-iscsi","followers_url":"https://api.github.com/users/open-iscsi/followers","following_url":"https://api.github.com/users/open-iscsi/following{/other_user}","gists_url":"https://api.github.com/users/open-iscsi/gists{/gist_id}","starred_url":"https://api.github.com/users/open-iscsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-iscsi/subscriptions","organizations_url":"https://api.github.com/users/open-iscsi/orgs","repos_url":"https://api.github.com/users/open-iscsi/repos","events_url":"https://api.github.com/users/open-iscsi/events{/privacy}","received_events_url":"https://api.github.com/users/open-iscsi/received_events","type":"Organization","site_admin":false},"repo":{"id":2824420,"name":"rtslib-fb","full_name":"open-iscsi/rtslib-fb","owner":{"login":"open-iscsi","id":18598980,"avatar_url":"https://avatars2.githubusercontent.com/u/18598980?v=4","gravatar_id":"","url":"https://api.github.com/users/open-iscsi","html_url":"https://github.com/open-iscsi","followers_url":"https://api.github.com/users/open-iscsi/followers","following_url":"https://api.github.com/users/open-iscsi/following{/other_user}","gists_url":"https://api.github.com/users/open-iscsi/gists{/gist_id}","starred_url":"https://api.github.com/users/open-iscsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-iscsi/subscriptions","organizations_url":"https://api.github.com/users/open-iscsi/orgs","repos_url":"https://api.github.com/users/open-iscsi/repos","events_url":"https://api.github.com/users/open-iscsi/events{/privacy}","received_events_url":"https://api.github.com/users/open-iscsi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-iscsi/rtslib-fb","description":"Python library for configuring the Linux kernel-based multiprotocol SCSI target (LIO)","fork":false,"url":"https://api.github.com/repos/open-iscsi/rtslib-fb","forks_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/forks","keys_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/teams","hooks_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/hooks","issue_events_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/issues/events{/number}","events_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/events","assignees_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/assignees{/user}","branches_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/branches{/branch}","tags_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/tags","blobs_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/statuses/{sha}","languages_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/languages","stargazers_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/stargazers","contributors_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/contributors","subscribers_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/subscribers","subscription_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/subscription","commits_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/contents/{+path}","compare_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/merges","archive_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/downloads","issues_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/issues{/number}","pulls_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/pulls{/number}","milestones_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/milestones{/number}","notifications_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/labels{/name}","releases_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/releases{/id}","deployments_url":"https://api.github.com/repos/open-iscsi/rtslib-fb/deployments","created_at":"2011-11-22T01:02:16Z","updated_at":"2018-02-22T06:37:25Z","pushed_at":"2018-02-21T00:04:27Z","git_url":"git://github.com/open-iscsi/rtslib-fb.git","ssh_url":"git@github.com:open-iscsi/rtslib-fb.git","clone_url":"https://github.com/open-iscsi/rtslib-fb.git","svn_url":"https://github.com/open-iscsi/rtslib-fb","homepage":"","size":779,"stargazers_count":34,"watchers_count":34,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":55,"open_issues":12,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-iscsi/rtslib-fb/pulls/123"},"html":{"href":"https://github.com/open-iscsi/rtslib-fb/pull/123"},"issue":{"href":"https://api.github.com/repos/open-iscsi/rtslib-fb/issues/123"},"comments":{"href":"https://api.github.com/repos/open-iscsi/rtslib-fb/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/open-iscsi/rtslib-fb/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/open-iscsi/rtslib-fb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-iscsi/rtslib-fb/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/open-iscsi/rtslib-fb/statuses/d7824a8e0a9aaad848f3e5e4a95df73e20a4a195"}},"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":74,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"pkalever"}}