On 1/3/2011 10:32 PM, Brice Figureau wrote:
Hi,

This is my Christmas Gift for the community :)
That's something that was haunting me for a long time: a way to manage
switch/routers directly from puppet.
Unfortunately most of the switches/routers don't run ruby natively and
as such can't run puppet.

Based on an open-space discussion that happened at PuppetCamp EU in May 2010, I
finally managed to find the time to implement a solution to this problem.

This is currently a Proof Of Concept of a puppet type/provider connecting
to remote cisco switch/routers running ios to manage:
  * interfaces (including ip address, trunking, etc...)
  * vlans

Awesome work, Brice!

I didn't solve the uniqueness of the name of an interface yet (currently
it isn't possible to have 2 switches with the same interface name, which is
an issue).

One possibility would be to use as interface name, the device_url.
If anyone has a better idea, let me know.


It sounds like a problem the composite titles were designed to solve. It should be pretty easy to use something like

    "ssh://user:[email protected]/FastEthernet/0/1"

as title. Perhaps this would even work with parameter defaults, though I'm a bit hazy on the details here.

Please comment as usual :)

Like, with standing ovations? ;-)


Best Regards, David

--
dasz.at OG              Tel: +43 (0)664 2602670     Web: http://dasz.at
Klosterneuburg                                         UID: ATU64260999

       FB-Nr.: FN 309285 g          FB-Gericht: LG Korneuburg

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to