)]}'
{"doc/source/specs/manila-share-snapshot-plugins.rst":[{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"29e1599e00bc3421c06f57e9d22fd2c629651c68","unresolved":false,"context_lines":[{"line_number":41,"context_line":"In this use case, the share has been mounted to a server. The parent type of this"},{"line_number":42,"context_line":"mounted share is SERVER_RESOURCE_TYPE."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"PROJECT_RESOURCE_TYPE:"},{"line_number":45,"context_line":"In this use case, the share is created, but not mounted to a server. The parent"},{"line_number":46,"context_line":"type of this mounted share is PROJECT_RESOURCE_TYPE."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"2 list the resources:"},{"line_number":49,"context_line":"  This interface of plugin will call the \u0027list\u0027 method of ShareManager in manilaclient."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a1ff146_b64e7bbf","line":46,"range":{"start_line":44,"start_character":1,"end_line":46,"end_character":52},"updated":"2017-03-15 03:11:36.000000000","message":"After I discuss it with zhongjun, I know that the resource share don\u0027t have any dependency with one certain server. The share can be mounted to several servers. It is shared. The information about share mount with server have not saved to nova or manila. So the share is not the sub-resource of one server. I will delete this type.","commit_id":"6e63d6e7d861a94a5781557ae0cc0943c3206412"},{"author":{"_account_id":20883,"name":"Yuval Brik","email":"yuval@brik.org.il","username":"yuvalbr"},"change_message_id":"98ff68371f3d4473b46735e33f7f82554d5a615f","unresolved":false,"context_lines":[{"line_number":24,"context_line":"is used for saving lots of files data by user. To avoid the loss of files data,the user"},{"line_number":25,"context_line":"want to protect the shares, make periodic snapshots of this share."},{"line_number":26,"context_line":"The user want to restore the share, there are two scenarios about it."},{"line_number":27,"context_line":"Scenario #1"},{"line_number":28,"context_line":"The user create a new share from a snapshot."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Scenario #2"},{"line_number":31,"context_line":"User revert a share (in place) by restoring the most recent snapshot of that share"},{"line_number":32,"context_line":"taken by Manila."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Proposed change"},{"line_number":35,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_b7dbceec","line":32,"range":{"start_line":27,"start_character":0,"end_line":32,"end_character":16},"updated":"2017-03-15 09:11:34.000000000","message":"There are two options, like in cinder:\n1. Backup plugin - files are moved to a different location\n2. Snapshot plugin - only a snapshot is taken","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":20883,"name":"Yuval Brik","email":"yuval@brik.org.il","username":"yuvalbr"},"change_message_id":"7c55b1dd9cecf6c8b8961539e23c7f6f0164e8c3","unresolved":false,"context_lines":[{"line_number":24,"context_line":"is used for saving lots of files data by user. To avoid the loss of files data,the user"},{"line_number":25,"context_line":"want to protect the shares, make periodic snapshots of this share."},{"line_number":26,"context_line":"The user want to restore the share, there are two scenarios about it."},{"line_number":27,"context_line":"Scenario #1"},{"line_number":28,"context_line":"The user create a new share from a snapshot."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Scenario #2"},{"line_number":31,"context_line":"User revert a share (in place) by restoring the most recent snapshot of that share"},{"line_number":32,"context_line":"taken by Manila."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Proposed change"},{"line_number":35,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_fa3fe322","line":32,"range":{"start_line":27,"start_character":0,"end_line":32,"end_character":16},"in_reply_to":"3a1ff146_227f9eab","updated":"2017-03-15 13:05:09.000000000","message":"Karbor should provide a naive reference implementation for manila backup regardless of manila API.","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"c2e27c3cb816343f639c214f970bfec80d56344a","unresolved":false,"context_lines":[{"line_number":24,"context_line":"is used for saving lots of files data by user. To avoid the loss of files data,the user"},{"line_number":25,"context_line":"want to protect the shares, make periodic snapshots of this share."},{"line_number":26,"context_line":"The user want to restore the share, there are two scenarios about it."},{"line_number":27,"context_line":"Scenario #1"},{"line_number":28,"context_line":"The user create a new share from a snapshot."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Scenario #2"},{"line_number":31,"context_line":"User revert a share (in place) by restoring the most recent snapshot of that share"},{"line_number":32,"context_line":"taken by Manila."},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Proposed change"},{"line_number":35,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_227f9eab","line":32,"range":{"start_line":27,"start_character":0,"end_line":32,"end_character":16},"in_reply_to":"3a1ff146_b7dbceec","updated":"2017-03-15 09:44:56.000000000","message":"Now share backup featuer has not been introduced to manila. So this  spec is only focus on the share snapshot plugins. From the requirements I gather from other provider (like china mobile and so on ), the scenario or use cases about backup and snapshot are different. The cloud provider will provide the backup or snapshot capacity about volume and share in different solution . So I think the snapshot plugin and backup plugin should be separate, independent plugin. If the backup feature has been introduced to manila, a new share backup plugin is needed.","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":20883,"name":"Yuval Brik","email":"yuval@brik.org.il","username":"yuvalbr"},"change_message_id":"98ff68371f3d4473b46735e33f7f82554d5a615f","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  The parameter is a share id."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"4 get dependent resources:"},{"line_number":54,"context_line":"  The parameter parent_resource is a server, this interface of plugin will return the"},{"line_number":55,"context_line":"  shares which mount to this server."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"* Manila share protection plugin:"},{"line_number":58,"context_line":"A new protection plugin about manila share need be implemented."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_f7c46641","line":55,"range":{"start_line":54,"start_character":0,"end_line":55,"end_character":36},"updated":"2017-03-15 09:11:34.000000000","message":"If the parent resource type (in 1) is a project, get_dependent_resources will be called with a project, and not a server","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"c2e27c3cb816343f639c214f970bfec80d56344a","unresolved":false,"context_lines":[{"line_number":51,"context_line":"  The parameter is a share id."},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"4 get dependent resources:"},{"line_number":54,"context_line":"  The parameter parent_resource is a server, this interface of plugin will return the"},{"line_number":55,"context_line":"  shares which mount to this server."},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"* Manila share protection plugin:"},{"line_number":58,"context_line":"A new protection plugin about manila share need be implemented."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_1d0123af","line":55,"range":{"start_line":54,"start_character":0,"end_line":55,"end_character":36},"in_reply_to":"3a1ff146_f7c46641","updated":"2017-03-15 09:44:56.000000000","message":"I will update it.","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":20883,"name":"Yuval Brik","email":"yuval@brik.org.il","username":"yuvalbr"},"change_message_id":"98ff68371f3d4473b46735e33f7f82554d5a615f","unresolved":false,"context_lines":[{"line_number":58,"context_line":"A new protection plugin about manila share need be implemented."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"1 Protect Operation:"},{"line_number":61,"context_line":"  The \u0027create\u0027 method of ShareSnapshotManager will be called in the main hook"},{"line_number":62,"context_line":"  of this operation to make a snapshot of the share."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2 Restore Operation:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_d7f5aa83","line":62,"range":{"start_line":61,"start_character":0,"end_line":62,"end_character":52},"updated":"2017-03-15 09:11:34.000000000","message":"That\u0027s one option, but this is not a backup, it is a snapshot.\nBackup \u003d snapshot -\u003e move the files to another location (e.g bank) -\u003e delete snapshot","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":20883,"name":"Yuval Brik","email":"yuval@brik.org.il","username":"yuvalbr"},"change_message_id":"7c55b1dd9cecf6c8b8961539e23c7f6f0164e8c3","unresolved":false,"context_lines":[{"line_number":58,"context_line":"A new protection plugin about manila share need be implemented."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"1 Protect Operation:"},{"line_number":61,"context_line":"  The \u0027create\u0027 method of ShareSnapshotManager will be called in the main hook"},{"line_number":62,"context_line":"  of this operation to make a snapshot of the share."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2 Restore Operation:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_5ae397a3","line":62,"range":{"start_line":61,"start_character":0,"end_line":62,"end_character":52},"in_reply_to":"3a1ff146_7d9f7703","updated":"2017-03-15 13:05:09.000000000","message":"The share backup plugin must take a snapshot before backing up the files.","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"c2e27c3cb816343f639c214f970bfec80d56344a","unresolved":false,"context_lines":[{"line_number":58,"context_line":"A new protection plugin about manila share need be implemented."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"1 Protect Operation:"},{"line_number":61,"context_line":"  The \u0027create\u0027 method of ShareSnapshotManager will be called in the main hook"},{"line_number":62,"context_line":"  of this operation to make a snapshot of the share."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2 Restore Operation:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_7d9f7703","line":62,"range":{"start_line":61,"start_character":0,"end_line":62,"end_character":52},"in_reply_to":"3a1ff146_d7f5aa83","updated":"2017-03-15 09:44:56.000000000","message":"As I said above, a new manila share backup plugin will consider the backup use case. In the share backup plugin, we can consider whether to make a snapshot or not. The snapshot plugin will be used the scenario that the cloud provider only provide snapshot protection capacity of share to end user.","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":20883,"name":"Yuval Brik","email":"yuval@brik.org.il","username":"yuvalbr"},"change_message_id":"98ff68371f3d4473b46735e33f7f82554d5a615f","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2 Restore Operation:"},{"line_number":66,"context_line":"  If the restore mode is \"revert\", the \u0027revert_to_snapshot\u0027 method of ShareManager"},{"line_number":67,"context_line":"  will be called in the main hook of this operation to revert the share (in place)"},{"line_number":68,"context_line":"  to the giving snapshot."},{"line_number":69,"context_line":"  The snapshot must be the most recent one known to manila."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"  If the restore mode is \"create\", the \u0027create\u0027 method of ShareManager"},{"line_number":72,"context_line":"  will be called in the main hook of this operation to create a new share from"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_775a3685","line":69,"range":{"start_line":66,"start_character":0,"end_line":69,"end_character":59},"updated":"2017-03-15 09:11:34.000000000","message":"No such mode should exist. We are not restoring in place, we create new resources.","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"c2e27c3cb816343f639c214f970bfec80d56344a","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"2 Restore Operation:"},{"line_number":66,"context_line":"  If the restore mode is \"revert\", the \u0027revert_to_snapshot\u0027 method of ShareManager"},{"line_number":67,"context_line":"  will be called in the main hook of this operation to revert the share (in place)"},{"line_number":68,"context_line":"  to the giving snapshot."},{"line_number":69,"context_line":"  The snapshot must be the most recent one known to manila."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"  If the restore mode is \"create\", the \u0027create\u0027 method of ShareManager"},{"line_number":72,"context_line":"  will be called in the main hook of this operation to create a new share from"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_5dc1dbe3","line":69,"range":{"start_line":66,"start_character":0,"end_line":69,"end_character":59},"in_reply_to":"3a1ff146_775a3685","updated":"2017-03-15 09:44:56.000000000","message":"Do you mean that we don\u0027 need consider the use case about snapshot revert?","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":20883,"name":"Yuval Brik","email":"yuval@brik.org.il","username":"yuvalbr"},"change_message_id":"98ff68371f3d4473b46735e33f7f82554d5a615f","unresolved":false,"context_lines":[{"line_number":68,"context_line":"  to the giving snapshot."},{"line_number":69,"context_line":"  The snapshot must be the most recent one known to manila."},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"  If the restore mode is \"create\", the \u0027create\u0027 method of ShareManager"},{"line_number":72,"context_line":"  will be called in the main hook of this operation to create a new share from"},{"line_number":73,"context_line":"  the giving snapshot."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"3 Delete Operation:"},{"line_number":76,"context_line":"  The share snapshot will be deleted."}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_221b1e74","line":73,"range":{"start_line":71,"start_character":0,"end_line":73,"end_character":22},"updated":"2017-03-15 09:11:34.000000000","message":"If we speak about a snapshot plugin, very well.\nBackup plugin: create a new share, move files there","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":20883,"name":"Yuval Brik","email":"yuval@brik.org.il","username":"yuvalbr"},"change_message_id":"98ff68371f3d4473b46735e33f7f82554d5a615f","unresolved":false,"context_lines":[{"line_number":73,"context_line":"  the giving snapshot."},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"3 Delete Operation:"},{"line_number":76,"context_line":"  The share snapshot will be deleted."},{"line_number":77,"context_line":"  The \u0027delete\u0027 method of ShareSnapshotManager will be called in the main hook"},{"line_number":78,"context_line":"  of this operation to delete the share snapshot."},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"* Manila share protection plugin schema:"},{"line_number":81,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_a2254eac","line":78,"range":{"start_line":76,"start_character":0,"end_line":78,"end_character":49},"updated":"2017-03-15 09:11:34.000000000","message":"If we speak about a snapshot plugin, very well.\nBackup plugin: delete files from the storage they are saved on (e.g bank)","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":20883,"name":"Yuval Brik","email":"yuval@brik.org.il","username":"yuvalbr"},"change_message_id":"98ff68371f3d4473b46735e33f7f82554d5a615f","unresolved":false,"context_lines":[{"line_number":112,"context_line":"            \"title\": \"Share ID\","},{"line_number":113,"context_line":"            \"description\": \"The target share ID to restore to.\""},{"line_number":114,"context_line":"        },"},{"line_number":115,"context_line":"        \"restore_mode\": {"},{"line_number":116,"context_line":"            \"type\": \"string\","},{"line_number":117,"context_line":"            \"title\": \"Restore Mode\","},{"line_number":118,"context_line":"            \"description\": \"The restore mode.\","},{"line_number":119,"context_line":"            \"enum\": [\"create\", \"revert\"],"},{"line_number":120,"context_line":"            \"default\": \"create\""},{"line_number":121,"context_line":"        },"},{"line_number":122,"context_line":"        \"restore_name\": {"},{"line_number":123,"context_line":"            \"type\": \"string\","},{"line_number":124,"context_line":"            \"title\": \"Restore Name\","}],"source_content_type":"text/x-rst","patch_set":2,"id":"3a1ff146_c2f96aca","line":121,"range":{"start_line":115,"start_character":0,"end_line":121,"end_character":10},"updated":"2017-03-15 09:11:34.000000000","message":"Nope.\nWe can have a snapshot plugin and a backup plugin (which is much more important), but they will be different plugins.","commit_id":"a84a7ab0dd5c7876db49f7a34ed92b2f4838ffdf"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"8cf437093ee4a221a37fdcd050045e008dc13ea8","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://blueprints.launchpad.net/karbor/+spec/manila-share-proection-plugin"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Problem description"},{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":"The shares managed by manila can not be protected by karbor. Currently, Manila allows"},{"line_number":16,"context_line":"the user to create snapshots of the share. So the protection feature of share can be"},{"line_number":17,"context_line":"introduced to karbor is the capability to make a snapshot of the share."}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a1ced50_a1e66941","line":14,"updated":"2017-03-23 08:03:31.000000000","message":"Miss an empty line.","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"1fa93211c2e438e9814fb8ebd7bc2fe3c0173fa1","unresolved":false,"context_lines":[{"line_number":11,"context_line":"https://blueprints.launchpad.net/karbor/+spec/manila-share-proection-plugin"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Problem description"},{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":"The shares managed by manila can not be protected by karbor. Currently, Manila allows"},{"line_number":16,"context_line":"the user to create snapshots of the share. So the protection feature of share can be"},{"line_number":17,"context_line":"introduced to karbor is the capability to make a snapshot of the share."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ffe62b97_dc7197e0","line":14,"in_reply_to":"1a1ced50_a1e66941","updated":"2017-03-27 03:40:20.000000000","message":"Done","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"8cf437093ee4a221a37fdcd050045e008dc13ea8","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Problem description"},{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":"The shares managed by manila can not be protected by karbor. Currently, Manila allows"},{"line_number":16,"context_line":"the user to create snapshots of the share. So the protection feature of share can be"},{"line_number":17,"context_line":"introduced to karbor is the capability to make a snapshot of the share."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a1ced50_614e313c","line":15,"range":{"start_line":15,"start_character":59,"end_line":15,"end_character":60},"updated":"2017-03-23 08:03:31.000000000","message":"I guess you miss a word \u0027before\u0027","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"8cf437093ee4a221a37fdcd050045e008dc13ea8","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Problem description"},{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":"The shares managed by manila can not be protected by karbor. Currently, Manila allows"},{"line_number":16,"context_line":"the user to create snapshots of the share. So the protection feature of share can be"},{"line_number":17,"context_line":"introduced to karbor is the capability to make a snapshot of the share."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a1ced50_41ccd5ba","line":15,"range":{"start_line":15,"start_character":53,"end_line":15,"end_character":59},"updated":"2017-03-23 08:03:31.000000000","message":"s/karbor/Karbor","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"8cf437093ee4a221a37fdcd050045e008dc13ea8","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Problem description"},{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":"The shares managed by manila can not be protected by karbor. Currently, Manila allows"},{"line_number":16,"context_line":"the user to create snapshots of the share. So the protection feature of share can be"},{"line_number":17,"context_line":"introduced to karbor is the capability to make a snapshot of the share."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a1ced50_01d65d4e","line":15,"range":{"start_line":15,"start_character":22,"end_line":15,"end_character":28},"updated":"2017-03-23 08:03:31.000000000","message":"s/manila/Manila","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"1fa93211c2e438e9814fb8ebd7bc2fe3c0173fa1","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Problem description"},{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":"The shares managed by manila can not be protected by karbor. Currently, Manila allows"},{"line_number":16,"context_line":"the user to create snapshots of the share. So the protection feature of share can be"},{"line_number":17,"context_line":"introduced to karbor is the capability to make a snapshot of the share."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ffe62b97_fc769bd8","line":15,"range":{"start_line":15,"start_character":53,"end_line":15,"end_character":59},"in_reply_to":"1a1ced50_41ccd5ba","updated":"2017-03-27 03:40:20.000000000","message":"Done","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"1fa93211c2e438e9814fb8ebd7bc2fe3c0173fa1","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Problem description"},{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":"The shares managed by manila can not be protected by karbor. Currently, Manila allows"},{"line_number":16,"context_line":"the user to create snapshots of the share. So the protection feature of share can be"},{"line_number":17,"context_line":"introduced to karbor is the capability to make a snapshot of the share."},{"line_number":18,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"ffe62b97_5c66a72b","line":15,"range":{"start_line":15,"start_character":59,"end_line":15,"end_character":60},"in_reply_to":"1a1ced50_614e313c","updated":"2017-03-27 03:40:20.000000000","message":"Done","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"8cf437093ee4a221a37fdcd050045e008dc13ea8","unresolved":false,"context_lines":[{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":"The shares managed by manila can not be protected by karbor. Currently, Manila allows"},{"line_number":16,"context_line":"the user to create snapshots of the share. So the protection feature of share can be"},{"line_number":17,"context_line":"introduced to karbor is the capability to make a snapshot of the share."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a1ced50_a1f029ca","line":17,"range":{"start_line":17,"start_character":21,"end_line":17,"end_character":46},"updated":"2017-03-23 08:03:31.000000000","message":"s/is the capability to make/by creating","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"8cf437093ee4a221a37fdcd050045e008dc13ea8","unresolved":false,"context_lines":[{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":"The shares managed by manila can not be protected by karbor. Currently, Manila allows"},{"line_number":16,"context_line":"the user to create snapshots of the share. So the protection feature of share can be"},{"line_number":17,"context_line":"introduced to karbor is the capability to make a snapshot of the share."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a1ced50_a102e9b1","line":17,"range":{"start_line":17,"start_character":14,"end_line":17,"end_character":20},"updated":"2017-03-23 08:03:31.000000000","message":"s/karbor/Karbor","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"1fa93211c2e438e9814fb8ebd7bc2fe3c0173fa1","unresolved":false,"context_lines":[{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":"The shares managed by manila can not be protected by karbor. Currently, Manila allows"},{"line_number":16,"context_line":"the user to create snapshots of the share. So the protection feature of share can be"},{"line_number":17,"context_line":"introduced to karbor is the capability to make a snapshot of the share."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ffe62b97_7c63ab1b","line":17,"range":{"start_line":17,"start_character":14,"end_line":17,"end_character":20},"in_reply_to":"1a1ced50_a102e9b1","updated":"2017-03-27 03:40:20.000000000","message":"Done","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"1fa93211c2e438e9814fb8ebd7bc2fe3c0173fa1","unresolved":false,"context_lines":[{"line_number":14,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":15,"context_line":"The shares managed by manila can not be protected by karbor. Currently, Manila allows"},{"line_number":16,"context_line":"the user to create snapshots of the share. So the protection feature of share can be"},{"line_number":17,"context_line":"introduced to karbor is the capability to make a snapshot of the share."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Use Cases"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ffe62b97_9ca66f53","line":17,"range":{"start_line":17,"start_character":21,"end_line":17,"end_character":46},"in_reply_to":"1a1ced50_a1f029ca","updated":"2017-03-27 03:40:20.000000000","message":"Done","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"8cf437093ee4a221a37fdcd050045e008dc13ea8","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Use Cases"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"User creates the share in manila, the share is mounted to the server. Then the share"},{"line_number":24,"context_line":"is used for saving lots of files data by user. To avoid the loss of files data,the user"},{"line_number":25,"context_line":"want to protect the shares, make periodic snapshots of this share."},{"line_number":26,"context_line":"If the user want to restore the share, he can create a new share from a snapshot."}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a1ced50_617f1115","line":23,"range":{"start_line":23,"start_character":26,"end_line":23,"end_character":32},"updated":"2017-03-23 08:03:31.000000000","message":"s/manila/Manila","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"8cf437093ee4a221a37fdcd050045e008dc13ea8","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Use Cases"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"User creates the share in manila, the share is mounted to the server. Then the share"},{"line_number":24,"context_line":"is used for saving lots of files data by user. To avoid the loss of files data,the user"},{"line_number":25,"context_line":"want to protect the shares, make periodic snapshots of this share."},{"line_number":26,"context_line":"If the user want to restore the share, he can create a new share from a snapshot."}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a1ced50_01957d31","line":23,"range":{"start_line":23,"start_character":34,"end_line":23,"end_character":54},"updated":"2017-03-23 08:03:31.000000000","message":"s/the share is mounted/and mounts it","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"1fa93211c2e438e9814fb8ebd7bc2fe3c0173fa1","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Use Cases"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"User creates the share in manila, the share is mounted to the server. Then the share"},{"line_number":24,"context_line":"is used for saving lots of files data by user. To avoid the loss of files data,the user"},{"line_number":25,"context_line":"want to protect the shares, make periodic snapshots of this share."},{"line_number":26,"context_line":"If the user want to restore the share, he can create a new share from a snapshot."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ffe62b97_1cbb7f72","line":23,"range":{"start_line":23,"start_character":34,"end_line":23,"end_character":54},"in_reply_to":"1a1ced50_01957d31","updated":"2017-03-27 03:40:20.000000000","message":"Done","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"1fa93211c2e438e9814fb8ebd7bc2fe3c0173fa1","unresolved":false,"context_lines":[{"line_number":20,"context_line":"Use Cases"},{"line_number":21,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"User creates the share in manila, the share is mounted to the server. Then the share"},{"line_number":24,"context_line":"is used for saving lots of files data by user. To avoid the loss of files data,the user"},{"line_number":25,"context_line":"want to protect the shares, make periodic snapshots of this share."},{"line_number":26,"context_line":"If the user want to restore the share, he can create a new share from a snapshot."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ffe62b97_7cbe0b66","line":23,"range":{"start_line":23,"start_character":26,"end_line":23,"end_character":32},"in_reply_to":"1a1ced50_617f1115","updated":"2017-03-27 03:40:20.000000000","message":"Done","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"8cf437093ee4a221a37fdcd050045e008dc13ea8","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"User creates the share in manila, the share is mounted to the server. Then the share"},{"line_number":24,"context_line":"is used for saving lots of files data by user. To avoid the loss of files data,the user"},{"line_number":25,"context_line":"want to protect the shares, make periodic snapshots of this share."},{"line_number":26,"context_line":"If the user want to restore the share, he can create a new share from a snapshot."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a1ced50_61cd5165","line":25,"range":{"start_line":25,"start_character":26,"end_line":25,"end_character":32},"updated":"2017-03-23 08:03:31.000000000","message":"by making","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"1fa93211c2e438e9814fb8ebd7bc2fe3c0173fa1","unresolved":false,"context_lines":[{"line_number":22,"context_line":""},{"line_number":23,"context_line":"User creates the share in manila, the share is mounted to the server. Then the share"},{"line_number":24,"context_line":"is used for saving lots of files data by user. To avoid the loss of files data,the user"},{"line_number":25,"context_line":"want to protect the shares, make periodic snapshots of this share."},{"line_number":26,"context_line":"If the user want to restore the share, he can create a new share from a snapshot."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ffe62b97_9c8d4fd5","line":25,"range":{"start_line":25,"start_character":26,"end_line":25,"end_character":32},"in_reply_to":"1a1ced50_61cd5165","updated":"2017-03-27 03:40:20.000000000","message":"Done","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":21648,"name":"zhangshuai","email":"446077695@qq.com","username":"zhangshuai"},"change_message_id":"5acd8fecd74483d34a9d53139465040f9c77c918","unresolved":false,"context_lines":[{"line_number":23,"context_line":"User creates the share in manila, the share is mounted to the server. Then the share"},{"line_number":24,"context_line":"is used for saving lots of files data by user. To avoid the loss of files data,the user"},{"line_number":25,"context_line":"want to protect the shares, make periodic snapshots of this share."},{"line_number":26,"context_line":"If the user want to restore the share, he can create a new share from a snapshot."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Proposed change"},{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a1ced50_5cf598ea","line":26,"range":{"start_line":26,"start_character":0,"end_line":26,"end_character":81},"updated":"2017-03-23 08:17:58.000000000","message":"Is it necessary to delete the old share?","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"1fa93211c2e438e9814fb8ebd7bc2fe3c0173fa1","unresolved":false,"context_lines":[{"line_number":23,"context_line":"User creates the share in manila, the share is mounted to the server. Then the share"},{"line_number":24,"context_line":"is used for saving lots of files data by user. To avoid the loss of files data,the user"},{"line_number":25,"context_line":"want to protect the shares, make periodic snapshots of this share."},{"line_number":26,"context_line":"If the user want to restore the share, he can create a new share from a snapshot."},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"Proposed change"},{"line_number":29,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ffe62b97_bc9253f5","line":26,"range":{"start_line":26,"start_character":0,"end_line":26,"end_character":81},"in_reply_to":"1a1ced50_5cf598ea","updated":"2017-03-27 03:40:20.000000000","message":"No, \u0027restore\u0027 in karbor mean that creating a new resource about this backup data in original site or in cross site.","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":21648,"name":"zhangshuai","email":"446077695@qq.com","username":"zhangshuai"},"change_message_id":"6cf68deb82e755ad9a8a360e2041ba301dac3612","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"1. The parent resource types:"},{"line_number":39,"context_line":"PROJECT_RESOURCE_TYPE:"},{"line_number":40,"context_line":"The parent type of the share is PROJECT_RESOURCE_TYPE."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"2. list the resources:"},{"line_number":43,"context_line":"This interface of plugin will call the \u0027list\u0027 method of ShareManager in manilaclient."}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a1ced50_fc2e4441","line":40,"range":{"start_line":39,"start_character":0,"end_line":40,"end_character":54},"updated":"2017-03-23 08:33:29.000000000","message":"Sensory burden.","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":17151,"name":"chenying","email":"chenyingko@gmail.com","username":"chenying"},"change_message_id":"1fa93211c2e438e9814fb8ebd7bc2fe3c0173fa1","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"1. The parent resource types:"},{"line_number":39,"context_line":"PROJECT_RESOURCE_TYPE:"},{"line_number":40,"context_line":"The parent type of the share is PROJECT_RESOURCE_TYPE."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"2. list the resources:"},{"line_number":43,"context_line":"This interface of plugin will call the \u0027list\u0027 method of ShareManager in manilaclient."}],"source_content_type":"text/x-rst","patch_set":3,"id":"ffe62b97_5c4fc791","line":40,"range":{"start_line":39,"start_character":0,"end_line":40,"end_character":54},"in_reply_to":"1a1ced50_fc2e4441","updated":"2017-03-27 03:40:20.000000000","message":"Done","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"},{"author":{"_account_id":21648,"name":"zhangshuai","email":"446077695@qq.com","username":"zhangshuai"},"change_message_id":"6cf68deb82e755ad9a8a360e2041ba301dac3612","unresolved":false,"context_lines":[{"line_number":58,"context_line":"1. Protect Operation:"},{"line_number":59,"context_line":"The \u0027create\u0027 method of ShareSnapshotManager will be called in the main hook"},{"line_number":60,"context_line":"of this operation to make a snapshot of the share."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"2. Restore Operation:"},{"line_number":64,"context_line":"The \u0027create\u0027 method of ShareManager"}],"source_content_type":"text/x-rst","patch_set":3,"id":"1a1ced50_5ca11845","line":61,"range":{"start_line":61,"start_character":0,"end_line":61,"end_character":0},"updated":"2017-03-23 08:33:29.000000000","message":"delete one line.","commit_id":"666cc11bf34475c1d470c1f2c287efbe5ad6d722"}]}
