{"action":"opened","issue":{"url":"https://api.github.com/repos/ytti/oxidized/issues/449","repository_url":"https://api.github.com/repos/ytti/oxidized","labels_url":"https://api.github.com/repos/ytti/oxidized/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/ytti/oxidized/issues/449/comments","events_url":"https://api.github.com/repos/ytti/oxidized/issues/449/events","html_url":"https://github.com/ytti/oxidized/issues/449","id":157231988,"number":449,"title":"run set of commands on nodes","user":{"login":"davama","id":5359152,"avatar_url":"https://avatars.githubusercontent.com/u/5359152?v=3","gravatar_id":"","url":"https://api.github.com/users/davama","html_url":"https://github.com/davama","followers_url":"https://api.github.com/users/davama/followers","following_url":"https://api.github.com/users/davama/following{/other_user}","gists_url":"https://api.github.com/users/davama/gists{/gist_id}","starred_url":"https://api.github.com/users/davama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davama/subscriptions","organizations_url":"https://api.github.com/users/davama/orgs","repos_url":"https://api.github.com/users/davama/repos","events_url":"https://api.github.com/users/davama/events{/privacy}","received_events_url":"https://api.github.com/users/davama/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-27T15:27:46Z","updated_at":"2016-05-27T15:27:46Z","closed_at":null,"body":"I know that oxidized purpose is for backup configuration. This question goes outside of that scope.\r\n\r\nWhat if i want to run a set of commands on all my, let's say procurve, switches?\r\nEx:\r\n```\r\nconf terminal\r\nlogging facility local3\r\nend\r\nwr mem\r\n```\r\nChanges would obviously need to be non-destructive (_user's discretion_)\r\n\r\nIf you haven't shut me off to the idea at this point, this is was i was imagining. :-)\r\n\r\nSo, have some directory defined in ~/.config/oxidized/config file\r\n`external_cmds: /dir/to/run/cmds/\r\n`\r\nIn that directory one would have file(s) to run for specific devs depending on HW type\r\n```\r\nios.txt\r\nprocurve.txt\r\nnxos.txt\r\netc\r\n```\r\nInside those txt files one would have the line(s) they want to run. \r\nIn my example i would have the `logging cmds` inside the procurve.txt file.\r\n\r\nOf course there would be some reference in the \\<dev\\>.rb files to the `external_cmds` directory  defined in config and restarting the oxidized service will need to happen.\r\nHope it makes sense.\r\n\r\nGranted, one can just script the changes and voilà but just a thought.\r\n\r\nThank you for the continued support!\r\n\r\nDave"}}
{"actor":{"display_login":"davama"}}