16:01:12 #startmeeting Networking Meeting 16:01:12 Meeting started Wed Nov 2 16:01:12 2016 UTC. The chair is gundalow. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:01:12 Useful Commands: #action #agreed #halp #info #idea #link #topic. 16:01:12 The meeting name has been set to 'networking_meeting' 16:01:45 #info Agenda https://github.com/ansible/community/issues/110 16:01:55 #chair Qalthos 16:01:55 Current chairs: Qalthos gundalow 16:02:15 #info 2.2 is out! 16:03:04 Ansible 2.2 Networking blog post https://www.ansible.com/blog/ansible-network-updates 16:03:15 #topic Open Floor 16:05:14 Have we done much testing with the VyOS modules on Ubiquti's fork, EdgeOS? 16:05:47 I've had minimal luck getting them to work. Just didn't know if that was something we were looking at. 16:06:32 * gundalow hasn't used them yet 16:07:15 samdoran: I've been meaning to play around with that, but haven't yet 16:07:44 I'll continue to them then and open issues/PRs if appropriate. 16:07:46 Qalthos: Do we have any test machines? 16:08:18 I'm just wondering if, since EdgeOS is technically a fork of VyOS and not VyOS proper, if it would warrant separate modules. 16:08:19 gundalow: no, but my gateway here is EdgeOS... 16:08:50 My gut tells me no since they're so similar in regards to the command line interface. 16:12:00 I think something is just slightly different with the output EdgeOS returns that's causing the vyos_config module to timeout. 16:12:44 samdoran: Got a gist of ansible-playbook -vvv output showing where it's failing? 16:14:15 One moment 16:16:51 https://gist.github.com/samdoran/ef260857ea6caf7c285d9af724bcadb4 16:17:10 vyos_facts works 16:27:00 samdoran: general feedback is that pretty faithful to VyOS/Vyatta 16:28:00 I think this has to do with the paging the device does 16:28:00 Very similar in the interface category, meaning the command line behaves the same on both. The major differences are in the commands you can run, but now how you run them/save them, etc. 16:28:12 Qalthos: I agree. 16:28:21 Qalthos: oh, did we see that else where? 16:28:24 vyos tries to run 'set terminal length 0', which Edge does not do 16:28:44 Have we implemented timeout param for any of the cli modules? 16:35:33 gundalow: we have several timeouts built into ansible, you need to be more specific 16:35:54 bcoca: For the networing modules that go over CLI 16:36:02 was more a question for Qalthos 16:36:20 samdoran: does 'show configuration commands | no-more' work for you? 16:36:32 If it was over HTTP, we should just do something like https://github.com/ansible/ansible/commit/b7e6ace4eeaf931cd504b3d3e57360b3c2e0bd0a 16:37:04 Qalthos: Yes, that works 16:39:59 samdoran: does that solve your problem, then? it looks like /proper/ support for EdgeOS will need new code, the two just don't act enough alike 16:40:09 and I have no expectation for them to get more similar in the future rather than less 16:41:11 So separate modules it is. 16:41:32 gundalow: SSH timeout on CLI should be configurable across all modules, if that's what you're asking 16:41:56 Qalthos: OK 16:43:40 I was hoping it would be a minor change to account for EdgeOS differences. I guess nothing is ever that simple. 16:45:20 samdoran: Yeah. Things will probably work okay if you're careful, but I wouldn't /expect/ anything to work 16:45:53 I should be able to take the existing VyOS modules and modify them to work with EdgeOS. That sound ok? 16:46:23 Or is there a more efficient/better way to create new modules that have a good bit of overlap with existing ones? 16:47:09 samdoran: Please do! If you get something working well, send it back here and we'll talk about it and probably take it 16:48:10 samdoran: a lot of the modules are copy-pastes of one another, and I spent most of 2.1 fixing that 16:48:18 samdoran: To start with I'd say modify the existing modules, otherwise there will be a lot of duplicated code 16:50:13 I'll see what it takes to get them working, then assess the amount of differences. 16:51:29 There likely won't be a lot, as I say, the network modules we support are mostly the same, except where they're different 16:51:53 lol 16:51:57 well put Qalthos 16:52:50 Somewhat useless, yes, but look through the network modules and you'll see a lot of repeated code, with very small differences 16:55:40 I've spent almost my entire time at Ansible making sure those duplicated sections are as small as possible, but some of it is still going to be there 17:00:40 cool 17:02:21 samdoran: Thanks for the questions :) 17:02:24 #endmeeting