{"action":"opened","issue":{"url":"https://api.github.com/repos/ytti/oxidized-web/issues/110","repository_url":"https://api.github.com/repos/ytti/oxidized-web","labels_url":"https://api.github.com/repos/ytti/oxidized-web/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/ytti/oxidized-web/issues/110/comments","events_url":"https://api.github.com/repos/ytti/oxidized-web/issues/110/events","html_url":"https://github.com/ytti/oxidized-web/issues/110","id":195770343,"number":110,"title":"Is there a way to backup the vlan.dat file from (i.e.) cisco catalyst switches","user":{"login":"sebisme","id":2977121,"avatar_url":"https://avatars.githubusercontent.com/u/2977121?v=3","gravatar_id":"","url":"https://api.github.com/users/sebisme","html_url":"https://github.com/sebisme","followers_url":"https://api.github.com/users/sebisme/followers","following_url":"https://api.github.com/users/sebisme/following{/other_user}","gists_url":"https://api.github.com/users/sebisme/gists{/gist_id}","starred_url":"https://api.github.com/users/sebisme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebisme/subscriptions","organizations_url":"https://api.github.com/users/sebisme/orgs","repos_url":"https://api.github.com/users/sebisme/repos","events_url":"https://api.github.com/users/sebisme/events{/privacy}","received_events_url":"https://api.github.com/users/sebisme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-15T10:34:57Z","updated_at":"2016-12-15T10:34:57Z","closed_at":null,"body":"I would like to save the vlan.dat file from Cisco Catalyst switches.\r\nI found a way to send it to a predefined tftp server, but the problem is that the vlan.dat file is not stored in the git repo.\r\n\r\nOn ios.rb, i added the following code : \r\n\r\n```\r\ncfg :telnet, :ssh do\r\n# [...]\r\n  if vars :get_vlan_dat\r\n    pre_logout do\r\n      send \"copy vlan.dat tftp\\n\"\r\n      send vars(:tftp_address)+\"\\n\"\r\n      send \"\\n\"\r\n    end\r\n  end\r\nend\r\n```\r\n\r\nThis way, the vlan.dat file is sent to the tftp address :tftp_address... How could i do to copy that file to the git repo ?\r\n\r\nThanks !"}}
{"actor":{"display_login":"sebisme"}}