{"action":"created","issue":{"url":"https://api.github.com/repos/CGRU/cgru/issues/170","repository_url":"https://api.github.com/repos/CGRU/cgru","labels_url":"https://api.github.com/repos/CGRU/cgru/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/CGRU/cgru/issues/170/comments","events_url":"https://api.github.com/repos/CGRU/cgru/issues/170/events","html_url":"https://github.com/CGRU/cgru/issues/170","id":127009959,"number":170,"title":"WOL wake - can I pass the IP of the sleeping machine to the WOL wake command","user":{"login":"ultra-sonic","id":3932498,"avatar_url":"https://avatars.githubusercontent.com/u/3932498?v=3","gravatar_id":"","url":"https://api.github.com/users/ultra-sonic","html_url":"https://github.com/ultra-sonic","followers_url":"https://api.github.com/users/ultra-sonic/followers","following_url":"https://api.github.com/users/ultra-sonic/following{/other_user}","gists_url":"https://api.github.com/users/ultra-sonic/gists{/gist_id}","starred_url":"https://api.github.com/users/ultra-sonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultra-sonic/subscriptions","organizations_url":"https://api.github.com/users/ultra-sonic/orgs","repos_url":"https://api.github.com/users/ultra-sonic/repos","events_url":"https://api.github.com/users/ultra-sonic/events{/privacy}","received_events_url":"https://api.github.com/users/ultra-sonic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CGRU/cgru/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"timurhai","id":1492143,"avatar_url":"https://avatars.githubusercontent.com/u/1492143?v=3","gravatar_id":"","url":"https://api.github.com/users/timurhai","html_url":"https://github.com/timurhai","followers_url":"https://api.github.com/users/timurhai/followers","following_url":"https://api.github.com/users/timurhai/following{/other_user}","gists_url":"https://api.github.com/users/timurhai/gists{/gist_id}","starred_url":"https://api.github.com/users/timurhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timurhai/subscriptions","organizations_url":"https://api.github.com/users/timurhai/orgs","repos_url":"https://api.github.com/users/timurhai/repos","events_url":"https://api.github.com/users/timurhai/events{/privacy}","received_events_url":"https://api.github.com/users/timurhai/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CGRU/cgru/milestones/1","html_url":"https://github.com/CGRU/cgru/milestones/2.1.0","labels_url":"https://api.github.com/repos/CGRU/cgru/milestones/1/labels","id":1164563,"number":1,"title":"2.1.0","description":null,"creator":{"login":"timurhai","id":1492143,"avatar_url":"https://avatars.githubusercontent.com/u/1492143?v=3","gravatar_id":"","url":"https://api.github.com/users/timurhai","html_url":"https://github.com/timurhai","followers_url":"https://api.github.com/users/timurhai/followers","following_url":"https://api.github.com/users/timurhai/following{/other_user}","gists_url":"https://api.github.com/users/timurhai/gists{/gist_id}","starred_url":"https://api.github.com/users/timurhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timurhai/subscriptions","organizations_url":"https://api.github.com/users/timurhai/orgs","repos_url":"https://api.github.com/users/timurhai/repos","events_url":"https://api.github.com/users/timurhai/events{/privacy}","received_events_url":"https://api.github.com/users/timurhai/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2015-06-15T09:30:31Z","updated_at":"2016-02-23T09:44:05Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-01-16T08:21:36Z","updated_at":"2016-02-23T16:29:34Z","closed_at":null,"body":"Hi Timur,\r\n\r\nsince I am using the Amazon Cloud at the moment I need to modify the WOL wake command a little bit. \r\n\r\nInstead of the MAC-Adress I would need to get the last known IP of the sleeping machine, because the AWS command line interface takes the IP as an additional argument when launching an instance. That way I could prevent launching instances with random IPs all the time.\r\n\r\nIs it maybe possible to pass the mac-address as the first argument to the wolwake and the IP as the second?\r\n\r\nthx in advance\r\nOli"},"comment":{"url":"https://api.github.com/repos/CGRU/cgru/issues/comments/187774484","html_url":"https://github.com/CGRU/cgru/issues/170#issuecomment-187774484","issue_url":"https://api.github.com/repos/CGRU/cgru/issues/170","id":187774484,"user":{"login":"timurhai","id":1492143,"avatar_url":"https://avatars.githubusercontent.com/u/1492143?v=3","gravatar_id":"","url":"https://api.github.com/users/timurhai","html_url":"https://github.com/timurhai","followers_url":"https://api.github.com/users/timurhai/followers","following_url":"https://api.github.com/users/timurhai/following{/other_user}","gists_url":"https://api.github.com/users/timurhai/gists{/gist_id}","starred_url":"https://api.github.com/users/timurhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timurhai/subscriptions","organizations_url":"https://api.github.com/users/timurhai/orgs","repos_url":"https://api.github.com/users/timurhai/repos","events_url":"https://api.github.com/users/timurhai/events{/privacy}","received_events_url":"https://api.github.com/users/timurhai/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T16:29:34Z","updated_at":"2016-02-23T16:29:34Z","body":"Done.\r\nWill be since 2.1.0.\r\nFrom sources you can check now.\r\n\r\nNow command is constructed in a Python service class:\r\nhttps://github.com/CGRU/cgru/blob/master/afanasy/python/services/wakeonlan.py#L60\r\nAnd its already passing ip address."}}