{"action":"created","comment":{"url":"https://api.github.com/repos/Mirantis/solar/pulls/comments/46261849","id":46261849,"diff_hunk":"@@ -0,0 +1,47 @@\n+.. _transports_details:\n+\n+\n+Transports\n+==========\n+\n+Transports are used by Solar to communicate with managed nodes.\n+Transports are also resuorces, so they have all features of it.\n+Transports should be added to a node, but if you need you can add different transports for different resources.\n+\n+\n+How it works\n+------------\n+\n+* Each resource in solar have randomly generated :ref:`transports-id-term`, when you connect resources together,\n+* Solar will ensure that correct `transport_id` is passed around. then using this `transport_id` a correct real value is fetched.\n+* Changing transports contents will not cause resource.update action for related resources.\n+\n+Sync transport\n+--------------\n+\n+It uploads required information to target node.\n+\n+Currently there are following sync transports available:\n+\n+* ssh\n+* rsync\n+* solar_agent\n+* torrent\n+\n+\n+Run transport\n+-------------\n+\n+It is responsible for running command on remote host.\n+\n+Currently there are following run transports available:\n+\n+* ssh\n+* solar_agent\n+\n+\n+\n+BAT transport\n+-------------\n+\n+A transport that will automaticaly select best available transport (BAT) that is available for given resource. Currently it's default enabled transport, so when you add more transports to your system, then everything happens automaticaly.","path":"docs/source/transports.rst","position":47,"original_position":47,"commit_id":"55b6cde7e3fed456d3f9708efb9ddd3d218a9786","original_commit_id":"6ebe637b4c34b6384b5d56700a3dd4c289fc4c2d","user":{"login":"zen","id":25633,"avatar_url":"https://avatars.githubusercontent.com/u/25633?v=3","gravatar_id":"","url":"https://api.github.com/users/zen","html_url":"https://github.com/zen","followers_url":"https://api.github.com/users/zen/followers","following_url":"https://api.github.com/users/zen/following{/other_user}","gists_url":"https://api.github.com/users/zen/gists{/gist_id}","starred_url":"https://api.github.com/users/zen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zen/subscriptions","organizations_url":"https://api.github.com/users/zen/orgs","repos_url":"https://api.github.com/users/zen/repos","events_url":"https://api.github.com/users/zen/events{/privacy}","received_events_url":"https://api.github.com/users/zen/received_events","type":"User","site_admin":false},"body":"What is the algorithm here? How the best transport is chosen?\r\n\r\n","created_at":"2015-12-01T10:27:12Z","updated_at":"2015-12-01T10:27:12Z","html_url":"https://github.com/Mirantis/solar/pull/393#discussion_r46261849","pull_request_url":"https://api.github.com/repos/Mirantis/solar/pulls/393","_links":{"self":{"href":"https://api.github.com/repos/Mirantis/solar/pulls/comments/46261849"},"html":{"href":"https://github.com/Mirantis/solar/pull/393#discussion_r46261849"},"pull_request":{"href":"https://api.github.com/repos/Mirantis/solar/pulls/393"}}},"pull_request":{"url":"https://api.github.com/repos/Mirantis/solar/pulls/393","id":52133559,"html_url":"https://github.com/Mirantis/solar/pull/393","diff_url":"https://github.com/Mirantis/solar/pull/393.diff","patch_url":"https://github.com/Mirantis/solar/pull/393.patch","issue_url":"https://api.github.com/repos/Mirantis/solar/issues/393","number":393,"state":"open","locked":false,"title":"Added basic transports docs","user":{"login":"pigmej","id":496754,"avatar_url":"https://avatars.githubusercontent.com/u/496754?v=3","gravatar_id":"","url":"https://api.github.com/users/pigmej","html_url":"https://github.com/pigmej","followers_url":"https://api.github.com/users/pigmej/followers","following_url":"https://api.github.com/users/pigmej/following{/other_user}","gists_url":"https://api.github.com/users/pigmej/gists{/gist_id}","starred_url":"https://api.github.com/users/pigmej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pigmej/subscriptions","organizations_url":"https://api.github.com/users/pigmej/orgs","repos_url":"https://api.github.com/users/pigmej/repos","events_url":"https://api.github.com/users/pigmej/events{/privacy}","received_events_url":"https://api.github.com/users/pigmej/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-30T14:55:57Z","updated_at":"2015-12-01T10:27:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"582c8153e3c5543870d9313f7535499962da4d0e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Mirantis/solar/pulls/393/commits","review_comments_url":"https://api.github.com/repos/Mirantis/solar/pulls/393/comments","review_comment_url":"https://api.github.com/repos/Mirantis/solar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Mirantis/solar/issues/393/comments","statuses_url":"https://api.github.com/repos/Mirantis/solar/statuses/55b6cde7e3fed456d3f9708efb9ddd3d218a9786","head":{"label":"pigmej:transports_docs","ref":"transports_docs","sha":"55b6cde7e3fed456d3f9708efb9ddd3d218a9786","user":{"login":"pigmej","id":496754,"avatar_url":"https://avatars.githubusercontent.com/u/496754?v=3","gravatar_id":"","url":"https://api.github.com/users/pigmej","html_url":"https://github.com/pigmej","followers_url":"https://api.github.com/users/pigmej/followers","following_url":"https://api.github.com/users/pigmej/following{/other_user}","gists_url":"https://api.github.com/users/pigmej/gists{/gist_id}","starred_url":"https://api.github.com/users/pigmej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pigmej/subscriptions","organizations_url":"https://api.github.com/users/pigmej/orgs","repos_url":"https://api.github.com/users/pigmej/repos","events_url":"https://api.github.com/users/pigmej/events{/privacy}","received_events_url":"https://api.github.com/users/pigmej/received_events","type":"User","site_admin":false},"repo":{"id":42103693,"name":"solar","full_name":"pigmej/solar","owner":{"login":"pigmej","id":496754,"avatar_url":"https://avatars.githubusercontent.com/u/496754?v=3","gravatar_id":"","url":"https://api.github.com/users/pigmej","html_url":"https://github.com/pigmej","followers_url":"https://api.github.com/users/pigmej/followers","following_url":"https://api.github.com/users/pigmej/following{/other_user}","gists_url":"https://api.github.com/users/pigmej/gists{/gist_id}","starred_url":"https://api.github.com/users/pigmej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pigmej/subscriptions","organizations_url":"https://api.github.com/users/pigmej/orgs","repos_url":"https://api.github.com/users/pigmej/repos","events_url":"https://api.github.com/users/pigmej/events{/privacy}","received_events_url":"https://api.github.com/users/pigmej/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pigmej/solar","description":"Solar is next generation deployment tool for distributed systems, one of the examples is OpenStack","fork":true,"url":"https://api.github.com/repos/pigmej/solar","forks_url":"https://api.github.com/repos/pigmej/solar/forks","keys_url":"https://api.github.com/repos/pigmej/solar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pigmej/solar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pigmej/solar/teams","hooks_url":"https://api.github.com/repos/pigmej/solar/hooks","issue_events_url":"https://api.github.com/repos/pigmej/solar/issues/events{/number}","events_url":"https://api.github.com/repos/pigmej/solar/events","assignees_url":"https://api.github.com/repos/pigmej/solar/assignees{/user}","branches_url":"https://api.github.com/repos/pigmej/solar/branches{/branch}","tags_url":"https://api.github.com/repos/pigmej/solar/tags","blobs_url":"https://api.github.com/repos/pigmej/solar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pigmej/solar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pigmej/solar/git/refs{/sha}","trees_url":"https://api.github.com/repos/pigmej/solar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pigmej/solar/statuses/{sha}","languages_url":"https://api.github.com/repos/pigmej/solar/languages","stargazers_url":"https://api.github.com/repos/pigmej/solar/stargazers","contributors_url":"https://api.github.com/repos/pigmej/solar/contributors","subscribers_url":"https://api.github.com/repos/pigmej/solar/subscribers","subscription_url":"https://api.github.com/repos/pigmej/solar/subscription","commits_url":"https://api.github.com/repos/pigmej/solar/commits{/sha}","git_commits_url":"https://api.github.com/repos/pigmej/solar/git/commits{/sha}","comments_url":"https://api.github.com/repos/pigmej/solar/comments{/number}","issue_comment_url":"https://api.github.com/repos/pigmej/solar/issues/comments{/number}","contents_url":"https://api.github.com/repos/pigmej/solar/contents/{+path}","compare_url":"https://api.github.com/repos/pigmej/solar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pigmej/solar/merges","archive_url":"https://api.github.com/repos/pigmej/solar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pigmej/solar/downloads","issues_url":"https://api.github.com/repos/pigmej/solar/issues{/number}","pulls_url":"https://api.github.com/repos/pigmej/solar/pulls{/number}","milestones_url":"https://api.github.com/repos/pigmej/solar/milestones{/number}","notifications_url":"https://api.github.com/repos/pigmej/solar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pigmej/solar/labels{/name}","releases_url":"https://api.github.com/repos/pigmej/solar/releases{/id}","created_at":"2015-09-08T09:44:48Z","updated_at":"2015-09-08T09:44:49Z","pushed_at":"2015-12-01T10:24:59Z","git_url":"git://github.com/pigmej/solar.git","ssh_url":"git@github.com:pigmej/solar.git","clone_url":"https://github.com/pigmej/solar.git","svn_url":"https://github.com/pigmej/solar","homepage":"","size":2903,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"Mirantis:master","ref":"master","sha":"4f2154ecdb0da46f5c8c6bcc29f7b60da9159498","user":{"login":"Mirantis","id":609319,"avatar_url":"https://avatars.githubusercontent.com/u/609319?v=3","gravatar_id":"","url":"https://api.github.com/users/Mirantis","html_url":"https://github.com/Mirantis","followers_url":"https://api.github.com/users/Mirantis/followers","following_url":"https://api.github.com/users/Mirantis/following{/other_user}","gists_url":"https://api.github.com/users/Mirantis/gists{/gist_id}","starred_url":"https://api.github.com/users/Mirantis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mirantis/subscriptions","organizations_url":"https://api.github.com/users/Mirantis/orgs","repos_url":"https://api.github.com/users/Mirantis/repos","events_url":"https://api.github.com/users/Mirantis/events{/privacy}","received_events_url":"https://api.github.com/users/Mirantis/received_events","type":"Organization","site_admin":false},"repo":{"id":38374835,"name":"solar","full_name":"Mirantis/solar","owner":{"login":"Mirantis","id":609319,"avatar_url":"https://avatars.githubusercontent.com/u/609319?v=3","gravatar_id":"","url":"https://api.github.com/users/Mirantis","html_url":"https://github.com/Mirantis","followers_url":"https://api.github.com/users/Mirantis/followers","following_url":"https://api.github.com/users/Mirantis/following{/other_user}","gists_url":"https://api.github.com/users/Mirantis/gists{/gist_id}","starred_url":"https://api.github.com/users/Mirantis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mirantis/subscriptions","organizations_url":"https://api.github.com/users/Mirantis/orgs","repos_url":"https://api.github.com/users/Mirantis/repos","events_url":"https://api.github.com/users/Mirantis/events{/privacy}","received_events_url":"https://api.github.com/users/Mirantis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Mirantis/solar","description":"Solar will be next generation orchestration tool for distributed systems, one of the examples is OpenStack","fork":false,"url":"https://api.github.com/repos/Mirantis/solar","forks_url":"https://api.github.com/repos/Mirantis/solar/forks","keys_url":"https://api.github.com/repos/Mirantis/solar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mirantis/solar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mirantis/solar/teams","hooks_url":"https://api.github.com/repos/Mirantis/solar/hooks","issue_events_url":"https://api.github.com/repos/Mirantis/solar/issues/events{/number}","events_url":"https://api.github.com/repos/Mirantis/solar/events","assignees_url":"https://api.github.com/repos/Mirantis/solar/assignees{/user}","branches_url":"https://api.github.com/repos/Mirantis/solar/branches{/branch}","tags_url":"https://api.github.com/repos/Mirantis/solar/tags","blobs_url":"https://api.github.com/repos/Mirantis/solar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mirantis/solar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mirantis/solar/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mirantis/solar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mirantis/solar/statuses/{sha}","languages_url":"https://api.github.com/repos/Mirantis/solar/languages","stargazers_url":"https://api.github.com/repos/Mirantis/solar/stargazers","contributors_url":"https://api.github.com/repos/Mirantis/solar/contributors","subscribers_url":"https://api.github.com/repos/Mirantis/solar/subscribers","subscription_url":"https://api.github.com/repos/Mirantis/solar/subscription","commits_url":"https://api.github.com/repos/Mirantis/solar/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mirantis/solar/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mirantis/solar/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mirantis/solar/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mirantis/solar/contents/{+path}","compare_url":"https://api.github.com/repos/Mirantis/solar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mirantis/solar/merges","archive_url":"https://api.github.com/repos/Mirantis/solar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mirantis/solar/downloads","issues_url":"https://api.github.com/repos/Mirantis/solar/issues{/number}","pulls_url":"https://api.github.com/repos/Mirantis/solar/pulls{/number}","milestones_url":"https://api.github.com/repos/Mirantis/solar/milestones{/number}","notifications_url":"https://api.github.com/repos/Mirantis/solar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mirantis/solar/labels{/name}","releases_url":"https://api.github.com/repos/Mirantis/solar/releases{/id}","created_at":"2015-07-01T14:12:04Z","updated_at":"2015-11-23T13:20:09Z","pushed_at":"2015-12-01T10:24:59Z","git_url":"git://github.com/Mirantis/solar.git","ssh_url":"git@github.com:Mirantis/solar.git","clone_url":"https://github.com/Mirantis/solar.git","svn_url":"https://github.com/Mirantis/solar","homepage":"","size":3311,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":14,"forks":17,"open_issues":14,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Mirantis/solar/pulls/393"},"html":{"href":"https://github.com/Mirantis/solar/pull/393"},"issue":{"href":"https://api.github.com/repos/Mirantis/solar/issues/393"},"comments":{"href":"https://api.github.com/repos/Mirantis/solar/issues/393/comments"},"review_comments":{"href":"https://api.github.com/repos/Mirantis/solar/pulls/393/comments"},"review_comment":{"href":"https://api.github.com/repos/Mirantis/solar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Mirantis/solar/pulls/393/commits"},"statuses":{"href":"https://api.github.com/repos/Mirantis/solar/statuses/55b6cde7e3fed456d3f9708efb9ddd3d218a9786"}}}}