{"action":"closed","issue":{"url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1300","repository_url":"https://api.github.com/repos/sysrepo/sysrepo","labels_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1300/labels{/name}","comments_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1300/comments","events_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1300/events","html_url":"https://github.com/sysrepo/sysrepo/issues/1300","id":358922894,"node_id":"MDU6SXNzdWUzNTg5MjI4OTQ=","number":1300,"title":"Two issues want to confirm about the running datastore subscribe and read/write","user":{"login":"darcyllingyan","id":35722818,"node_id":"MDQ6VXNlcjM1NzIyODE4","avatar_url":"https://avatars3.githubusercontent.com/u/35722818?v=4","gravatar_id":"","url":"https://api.github.com/users/darcyllingyan","html_url":"https://github.com/darcyllingyan","followers_url":"https://api.github.com/users/darcyllingyan/followers","following_url":"https://api.github.com/users/darcyllingyan/following{/other_user}","gists_url":"https://api.github.com/users/darcyllingyan/gists{/gist_id}","starred_url":"https://api.github.com/users/darcyllingyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darcyllingyan/subscriptions","organizations_url":"https://api.github.com/users/darcyllingyan/orgs","repos_url":"https://api.github.com/users/darcyllingyan/repos","events_url":"https://api.github.com/users/darcyllingyan/events{/privacy}","received_events_url":"https://api.github.com/users/darcyllingyan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-09-11T07:34:28Z","updated_at":"2018-11-15T13:49:24Z","closed_at":"2018-11-15T13:49:24Z","author_association":"NONE","body":"Hi,\r\nAs we know, to support running datastore read/write, the application needs to subscribe for notifications about the changes made in the datastore.\r\n\r\nBut for one case that I have hundreds of modules and need read/write for those modules in the running datastore, it's not convenient to subscribe each module before operate the running datastore.\r\n\r\nSo I write a shell script, the function includes the following aspects:\r\n1. Install the yang files\r\n2. Subscribe the yang modules (use the command ```application_example $module``` )\r\n\r\nThere two issues I want to confirm: \r\n1. Whether there are some potential problems or notices if I use the shell script to subscribe multiple modules once? Or there are other methods?\r\n2. The running datastore are not persistent and will be lost after system restarts, now the only easier solution is to do a copy-config from running datastore to startup datastore, right?\r\n\r\n\r\n\r\nThanks\r\nDarcy\r\n "}}
{"actor":{"display_login":"darcyllingyan"}}