{"action":"created","issue":{"url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1000","repository_url":"https://api.github.com/repos/sysrepo/sysrepo","labels_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1000/labels{/name}","comments_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1000/comments","events_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1000/events","html_url":"https://github.com/sysrepo/sysrepo/issues/1000","id":278072372,"number":1000,"title":"Connect to sysrepo over TCP socket","user":{"login":"przemekr","id":12664854,"avatar_url":"https://avatars1.githubusercontent.com/u/12664854?v=4","gravatar_id":"","url":"https://api.github.com/users/przemekr","html_url":"https://github.com/przemekr","followers_url":"https://api.github.com/users/przemekr/followers","following_url":"https://api.github.com/users/przemekr/following{/other_user}","gists_url":"https://api.github.com/users/przemekr/gists{/gist_id}","starred_url":"https://api.github.com/users/przemekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/przemekr/subscriptions","organizations_url":"https://api.github.com/users/przemekr/orgs","repos_url":"https://api.github.com/users/przemekr/repos","events_url":"https://api.github.com/users/przemekr/events{/privacy}","received_events_url":"https://api.github.com/users/przemekr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-30T10:37:54Z","updated_at":"2017-11-30T11:23:50Z","closed_at":null,"author_association":"NONE","body":"Enhancement: Make it possible to connect to the Sysrepo over a TCP socket. \r\n\r\nThis would be very useful for distributed applications (device with multiple blades, application running in cloud or container environment). \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sysrepo/sysrepo/issues/comments/348160764","html_url":"https://github.com/sysrepo/sysrepo/issues/1000#issuecomment-348160764","issue_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/1000","id":348160764,"user":{"login":"michalvasko","id":12510224,"avatar_url":"https://avatars3.githubusercontent.com/u/12510224?v=4","gravatar_id":"","url":"https://api.github.com/users/michalvasko","html_url":"https://github.com/michalvasko","followers_url":"https://api.github.com/users/michalvasko/followers","following_url":"https://api.github.com/users/michalvasko/following{/other_user}","gists_url":"https://api.github.com/users/michalvasko/gists{/gist_id}","starred_url":"https://api.github.com/users/michalvasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalvasko/subscriptions","organizations_url":"https://api.github.com/users/michalvasko/orgs","repos_url":"https://api.github.com/users/michalvasko/repos","events_url":"https://api.github.com/users/michalvasko/events{/privacy}","received_events_url":"https://api.github.com/users/michalvasko/received_events","type":"User","site_admin":false},"created_at":"2017-11-30T11:23:50Z","updated_at":"2017-11-30T11:23:50Z","author_association":"COLLABORATOR","body":"Please, use clear terminology, I am getting lost. The only *sysrepo* client-server interface I know of is `libsysrepo` meaning the client is either a deamon (*netopeer2-server*) or a plugin for *sysrepo-plugind* (our *keystored*, for example), there are currently no other ways of communicating with *sysrepo*. Also, I do not know what you mean by \"data-provider\" at all, we usually use the term for applications that provide YANG state data for *sysrepo* but that is probably not what you had in mind.\r\n\r\nHaving cleared it a bit, your proposal is to skip the remote communication and send directly what is communicated internally between `libsysrepo` and `sysrepod` using TCP. *sysrepo* was designed quite heavily with having security concerns and access control in mind because it is meant to manage all system configuration, which are often sensitive data. Your use-case is different in this aspect so what I have said previously mostly remains true, we will likely not help you with the implementation directly. Also, it basically breaks the current architecture so without the need to modify *sysrepo*, you are left only with my original suggestion, a separate daemon and protocol.\r\n\r\nRegards,\r\nMichal"}}
{"actor":{"display_login":"michalvasko"}}