{"action":"opened","issue":{"url":"https://api.github.com/repos/qca/boardfarm/issues/78","repository_url":"https://api.github.com/repos/qca/boardfarm","labels_url":"https://api.github.com/repos/qca/boardfarm/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/qca/boardfarm/issues/78/comments","events_url":"https://api.github.com/repos/qca/boardfarm/issues/78/events","html_url":"https://github.com/qca/boardfarm/issues/78","id":180990173,"number":78,"title":"Flash via LAN port","user":{"login":"ericschultz","id":94169,"avatar_url":"https://avatars.githubusercontent.com/u/94169?v=3","gravatar_id":"","url":"https://api.github.com/users/ericschultz","html_url":"https://github.com/ericschultz","followers_url":"https://api.github.com/users/ericschultz/followers","following_url":"https://api.github.com/users/ericschultz/following{/other_user}","gists_url":"https://api.github.com/users/ericschultz/gists{/gist_id}","starred_url":"https://api.github.com/users/ericschultz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericschultz/subscriptions","organizations_url":"https://api.github.com/users/ericschultz/orgs","repos_url":"https://api.github.com/users/ericschultz/repos","events_url":"https://api.github.com/users/ericschultz/events{/privacy}","received_events_url":"https://api.github.com/users/ericschultz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-04T20:01:16Z","updated_at":"2016-10-04T20:01:16Z","closed_at":null,"body":"I'm trying to set up a station to test a EASY92080 DSL router from Intel. The DSL router has a DSL for the  WAN port and four LAN ports. In this case, I'd need to flash the router via the LAN port. This is a problem in Boardfarm as all of the TFTP flashing support assumes that the WAN device will be the TFTP server. In this case, we have no WAN device and we need to flash for the LAN device.\r\n\r\nI've been thinking of ways to address them and some of themseem to imply that we'll have to significantly modify how TFTP is setup on devices. For example, we could make TFTP a capability of sorts and allow any device to be setup as a TFTP server. This means pulling some of the code out of [debian.setup_as_wan_gateway](https://github.com/qca/boardfarm/blob/master/devices/debian.py#L132-L22). \r\n\r\nAnother way we could do it as allow the LAN configure as a WAN right before the flash happens and then reconfigure back after the flash is complete. I'm unsure on the consequences of this though.\r\n\r\nWhat do folks think?"}}
{"actor":{"display_login":"ericschultz"}}