James Turnbull
2011-Apr-14 16:30 UTC
[Puppet Users] Update on Statler - Network Management!
Much to our chagrin we realized we missed an important new feature in the release email last night - Network Management. Based on an open-space discussion that happened at PuppetCamp EU in May 2010 Brice Figureau has implemented the start of a network management solution. It''s very early days for this feature and currently this initial solution has a base network type/provider and providers for managing Cisco interfaces (including ip address, trunking, etc) and vlans: The Puppet network provider can connect to remote switch/routers either through ssh and/or telnet. To manage an interface: interface { "FastEthernet 0/1": device_url => "ssh://user:pass@cisco2960.domain.com/", mode => trunk, encapsulation => dot1q, trunk_allowed_vlans => "1-99,200,253", description => "to back bone router" } Or interface { "Vlan 1": device_url => "ssh://user:pass@router.domain.com/", description => "internal net", ipaddress => [ "192.168.0.1/24", "fe08::/128 link-local"] } And to manage vlans: vlan { "99": description => "management", device_url => "ssh://user:pass@cisco2960.domain.com/", } A current limitations is that it isn’t possible to have 2 switches with the same interface name and we''d welcome idea on how to deal with this. We''d also love testing and feedback on this new feature and if you''re interested in submitting a provider to support other network devices we''d love to see and/or help with that too! Our thanks go out to Brice Figureau for making this code available! Regards James Turnbull -- James Turnbull Puppet Labs 1-503-734-8571 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.