{"action":"created","comment":{"url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls/comments/26821602","id":26821602,"diff_hunk":"@@ -248,6 +305,12 @@ def _addParserArgs(parser):\n         action     = 'store',\n         help       = 'comma-separated list of IoT-LAB motes (e.g. \"wsn430-9,wsn430-34,wsn430-3\")'\n     )\n+    parser.add_argument('-i', '--importTopo', ","path":"software/openvisualizer/bin/openVisualizerApp/openVisualizerApp.py","position":121,"original_position":121,"commit_id":"c324e3b8800b26446aa43af0cc510b14e18ff4b4","original_commit_id":"c324e3b8800b26446aa43af0cc510b14e18ff4b4","user":{"login":"vince-nayal","id":6689144,"avatar_url":"https://avatars.githubusercontent.com/u/6689144?v=3","gravatar_id":"","url":"https://api.github.com/users/vince-nayal","html_url":"https://github.com/vince-nayal","followers_url":"https://api.github.com/users/vince-nayal/followers","following_url":"https://api.github.com/users/vince-nayal/following{/other_user}","gists_url":"https://api.github.com/users/vince-nayal/gists{/gist_id}","starred_url":"https://api.github.com/users/vince-nayal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vince-nayal/subscriptions","organizations_url":"https://api.github.com/users/vince-nayal/orgs","repos_url":"https://api.github.com/users/vince-nayal/repos","events_url":"https://api.github.com/users/vince-nayal/events{/privacy}","received_events_url":"https://api.github.com/users/vince-nayal/received_events","type":"User","site_admin":false},"body":"```-p``` is already used for specifying a port , i suggest ```-i```","created_at":"2015-03-20T06:50:13Z","updated_at":"2015-03-20T06:50:13Z","html_url":"https://github.com/openwsn-berkeley/openwsn-sw/pull/100#discussion_r26821602","pull_request_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls/100","_links":{"self":{"href":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls/comments/26821602"},"html":{"href":"https://github.com/openwsn-berkeley/openwsn-sw/pull/100#discussion_r26821602"},"pull_request":{"href":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls/100"}}},"pull_request":{"url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls/100","id":31204847,"html_url":"https://github.com/openwsn-berkeley/openwsn-sw/pull/100","diff_url":"https://github.com/openwsn-berkeley/openwsn-sw/pull/100.diff","patch_url":"https://github.com/openwsn-berkeley/openwsn-sw/pull/100.patch","issue_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/issues/100","number":100,"state":"open","locked":false,"title":"Saving and importing a topology in simulation","user":{"login":"quentinl-c","id":7346263,"avatar_url":"https://avatars.githubusercontent.com/u/7346263?v=3","gravatar_id":"","url":"https://api.github.com/users/quentinl-c","html_url":"https://github.com/quentinl-c","followers_url":"https://api.github.com/users/quentinl-c/followers","following_url":"https://api.github.com/users/quentinl-c/following{/other_user}","gists_url":"https://api.github.com/users/quentinl-c/gists{/gist_id}","starred_url":"https://api.github.com/users/quentinl-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quentinl-c/subscriptions","organizations_url":"https://api.github.com/users/quentinl-c/orgs","repos_url":"https://api.github.com/users/quentinl-c/repos","events_url":"https://api.github.com/users/quentinl-c/events{/privacy}","received_events_url":"https://api.github.com/users/quentinl-c/received_events","type":"User","site_admin":false},"body":"1. Saving the topology into a json file:\r\nFrom the Topology web page, it's possible to download a json file that contains : Motes position list, connections list and DAGRoots list for the current Topology\r\n![capture d ecran 2015-03-15 a 18 02 05](https://cloud.githubusercontent.com/assets/7346263/6657106/45192214-cb41-11e4-9c89-1551e36a1ed9.png)\r\n\r\n2. Importing a Topology from a json file:\r\nFrom the terminal, the '--importTopo' option followed by the json file's path let you reload a previous configuration you saved\r\n![capture d ecran 2015-03-15 a 18 06 56](https://cloud.githubusercontent.com/assets/7346263/6657097/0ae03844-cb41-11e4-89b2-f575e02fe307.png)\r\n","created_at":"2015-03-15T18:43:52Z","updated_at":"2015-03-20T06:50:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97eb17196fa1763f2d19b9001cc80f81ef0e1861","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls/100/commits","review_comments_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls/100/comments","review_comment_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/issues/100/comments","statuses_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/statuses/c324e3b8800b26446aa43af0cc510b14e18ff4b4","head":{"label":"quentinl-c:develop","ref":"develop","sha":"c324e3b8800b26446aa43af0cc510b14e18ff4b4","user":{"login":"quentinl-c","id":7346263,"avatar_url":"https://avatars.githubusercontent.com/u/7346263?v=3","gravatar_id":"","url":"https://api.github.com/users/quentinl-c","html_url":"https://github.com/quentinl-c","followers_url":"https://api.github.com/users/quentinl-c/followers","following_url":"https://api.github.com/users/quentinl-c/following{/other_user}","gists_url":"https://api.github.com/users/quentinl-c/gists{/gist_id}","starred_url":"https://api.github.com/users/quentinl-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quentinl-c/subscriptions","organizations_url":"https://api.github.com/users/quentinl-c/orgs","repos_url":"https://api.github.com/users/quentinl-c/repos","events_url":"https://api.github.com/users/quentinl-c/events{/privacy}","received_events_url":"https://api.github.com/users/quentinl-c/received_events","type":"User","site_admin":false},"repo":{"id":30497008,"name":"openwsn-sw","full_name":"quentinl-c/openwsn-sw","owner":{"login":"quentinl-c","id":7346263,"avatar_url":"https://avatars.githubusercontent.com/u/7346263?v=3","gravatar_id":"","url":"https://api.github.com/users/quentinl-c","html_url":"https://github.com/quentinl-c","followers_url":"https://api.github.com/users/quentinl-c/followers","following_url":"https://api.github.com/users/quentinl-c/following{/other_user}","gists_url":"https://api.github.com/users/quentinl-c/gists{/gist_id}","starred_url":"https://api.github.com/users/quentinl-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quentinl-c/subscriptions","organizations_url":"https://api.github.com/users/quentinl-c/orgs","repos_url":"https://api.github.com/users/quentinl-c/repos","events_url":"https://api.github.com/users/quentinl-c/events{/privacy}","received_events_url":"https://api.github.com/users/quentinl-c/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quentinl-c/openwsn-sw","description":"OpenWSN software: stuff that runs on a computer","fork":true,"url":"https://api.github.com/repos/quentinl-c/openwsn-sw","forks_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/forks","keys_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/teams","hooks_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/hooks","issue_events_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/issues/events{/number}","events_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/events","assignees_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/assignees{/user}","branches_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/branches{/branch}","tags_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/tags","blobs_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/git/refs{/sha}","trees_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/statuses/{sha}","languages_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/languages","stargazers_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/stargazers","contributors_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/contributors","subscribers_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/subscribers","subscription_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/subscription","commits_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/commits{/sha}","git_commits_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/git/commits{/sha}","comments_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/comments{/number}","issue_comment_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/issues/comments{/number}","contents_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/contents/{+path}","compare_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/merges","archive_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/downloads","issues_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/issues{/number}","pulls_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/pulls{/number}","milestones_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/milestones{/number}","notifications_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/labels{/name}","releases_url":"https://api.github.com/repos/quentinl-c/openwsn-sw/releases{/id}","created_at":"2015-02-08T16:23:39Z","updated_at":"2015-03-19T21:16:26Z","pushed_at":"2015-03-19T21:16:25Z","git_url":"git://github.com/quentinl-c/openwsn-sw.git","ssh_url":"git@github.com:quentinl-c/openwsn-sw.git","clone_url":"https://github.com/quentinl-c/openwsn-sw.git","svn_url":"https://github.com/quentinl-c/openwsn-sw","homepage":"http://www.openwsn.org/","size":10506,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"openwsn-berkeley:develop","ref":"develop","sha":"3b8d7f69ce690e400a644a45caf633d0b1c87e22","user":{"login":"openwsn-berkeley","id":2546411,"avatar_url":"https://avatars.githubusercontent.com/u/2546411?v=3","gravatar_id":"","url":"https://api.github.com/users/openwsn-berkeley","html_url":"https://github.com/openwsn-berkeley","followers_url":"https://api.github.com/users/openwsn-berkeley/followers","following_url":"https://api.github.com/users/openwsn-berkeley/following{/other_user}","gists_url":"https://api.github.com/users/openwsn-berkeley/gists{/gist_id}","starred_url":"https://api.github.com/users/openwsn-berkeley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwsn-berkeley/subscriptions","organizations_url":"https://api.github.com/users/openwsn-berkeley/orgs","repos_url":"https://api.github.com/users/openwsn-berkeley/repos","events_url":"https://api.github.com/users/openwsn-berkeley/events{/privacy}","received_events_url":"https://api.github.com/users/openwsn-berkeley/received_events","type":"Organization","site_admin":false},"repo":{"id":6267406,"name":"openwsn-sw","full_name":"openwsn-berkeley/openwsn-sw","owner":{"login":"openwsn-berkeley","id":2546411,"avatar_url":"https://avatars.githubusercontent.com/u/2546411?v=3","gravatar_id":"","url":"https://api.github.com/users/openwsn-berkeley","html_url":"https://github.com/openwsn-berkeley","followers_url":"https://api.github.com/users/openwsn-berkeley/followers","following_url":"https://api.github.com/users/openwsn-berkeley/following{/other_user}","gists_url":"https://api.github.com/users/openwsn-berkeley/gists{/gist_id}","starred_url":"https://api.github.com/users/openwsn-berkeley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openwsn-berkeley/subscriptions","organizations_url":"https://api.github.com/users/openwsn-berkeley/orgs","repos_url":"https://api.github.com/users/openwsn-berkeley/repos","events_url":"https://api.github.com/users/openwsn-berkeley/events{/privacy}","received_events_url":"https://api.github.com/users/openwsn-berkeley/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openwsn-berkeley/openwsn-sw","description":"OpenWSN software: stuff that runs on a computer","fork":false,"url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw","forks_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/forks","keys_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/teams","hooks_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/hooks","issue_events_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/issues/events{/number}","events_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/events","assignees_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/assignees{/user}","branches_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/branches{/branch}","tags_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/tags","blobs_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/git/refs{/sha}","trees_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/statuses/{sha}","languages_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/languages","stargazers_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/stargazers","contributors_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/contributors","subscribers_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/subscribers","subscription_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/subscription","commits_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/commits{/sha}","git_commits_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/git/commits{/sha}","comments_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/comments{/number}","issue_comment_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/issues/comments{/number}","contents_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/contents/{+path}","compare_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/merges","archive_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/downloads","issues_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/issues{/number}","pulls_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls{/number}","milestones_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/milestones{/number}","notifications_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/labels{/name}","releases_url":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/releases{/id}","created_at":"2012-10-17T19:36:59Z","updated_at":"2015-03-19T22:17:34Z","pushed_at":"2015-03-19T22:17:34Z","git_url":"git://github.com/openwsn-berkeley/openwsn-sw.git","ssh_url":"git@github.com:openwsn-berkeley/openwsn-sw.git","clone_url":"https://github.com/openwsn-berkeley/openwsn-sw.git","svn_url":"https://github.com/openwsn-berkeley/openwsn-sw","homepage":"http://www.openwsn.org/","size":13120,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":3,"forks":33,"open_issues":3,"watchers":11,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls/100"},"html":{"href":"https://github.com/openwsn-berkeley/openwsn-sw/pull/100"},"issue":{"href":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/issues/100"},"comments":{"href":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/openwsn-berkeley/openwsn-sw/statuses/c324e3b8800b26446aa43af0cc510b14e18ff4b4"}}}}