<feed xmlns='http://www.w3.org/2005/Atom'>
<title>puppet.git/lib/puppet/provider/interface, branch ticket/master/7841</title>
<subtitle>Puppet repo</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/'/>
<entry>
<title>Merge remote-tracking branch 'community/feature/puppet-device' into 2.7.x</title>
<updated>2011-04-18T21:08:32+00:00</updated>
<author>
<name>Pieter van de Bruggen</name>
<email>pieter@puppetlabs.com</email>
</author>
<published>2011-04-18T20:40:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=07b677c5f6af8def03c5c30393fd83bc3986239a'/>
<id>07b677c5f6af8def03c5c30393fd83bc3986239a</id>
<content type='text'>
Reviewed-By: Mike Stahnke
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-By: Mike Stahnke
</pre>
</div>
</content>
</entry>
<entry>
<title>Cisco Switch/Router Interface management</title>
<updated>2011-04-08T08:19:54+00:00</updated>
<author>
<name>Brice Figureau</name>
<email>brice-puppet@daysofwonder.com</email>
</author>
<published>2011-01-03T18:47:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=1cb18410732a4b51efa0a106d4a1437daef08fc5'/>
<id>1cb18410732a4b51efa0a106d4a1437daef08fc5</id>
<content type='text'>
This patch introduces managing remotely cisco IOS network devices
through ssh or telnet with a puppet type/provider.

This patch allows to manage router/switch interface
with the interface type:

interface {
	"FastEthernet 0/1":
		device_url =&gt; "ssh://user:pass@cisco2960.domain.com/",
		mode =&gt; trunk,
		encapsulation =&gt; dot1q,
		trunk_allowed_vlans =&gt; "1-99,200,253",
		description =&gt; "to back bone router"
}

It is possible with this patch to set interface:
 * mode (access or trunk)
 * native vlan (only for access mode)
 * speed (auto or a given speed)
 * duplex (auto, half or full)
 * trunk encapsulation
 * allowed trunk vlan
 * ipv4 addresses
 * ipv6 addresses
 * etherchannel membership

The interface name (at least for the cisco provider) can be any
shorthand interface name a switch or router can use.

The device url should conform to:
 * scheme: either telnet or ssh
 * user: can be absent depending on switch/router line config
 * pass: must be present
 * port: optional
 * an optional enable password can be mentioned in the url query string

Ex:
To connect to a switch with a line password and an enable password:
"telnet://:letmein@cisco29224XL.domain.com/?enable=letmeinagain"

To connect to a switch/router through ssh and a privileged user:
"ssh://brice:letmein@cisco1841L.domain.com/"

Note:
This patch only includes a Cisco IOS provider. Also terminology adopted
in the various types are mostly the ones used in Cisco devices.
This patch was tested against:
* (really old) Cisco switch 2924XL with ios 12.0(5)WC10
* Cisco router 1841 with ios 12.4(15)T8
* Cisco router 877 with ios 12.4(11)XJ4
* Cisco switch 2960G with ios 12.2(44)SE

Signed-off-by: Brice Figureau &lt;brice-puppet@daysofwonder.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch introduces managing remotely cisco IOS network devices
through ssh or telnet with a puppet type/provider.

This patch allows to manage router/switch interface
with the interface type:

interface {
	"FastEthernet 0/1":
		device_url =&gt; "ssh://user:pass@cisco2960.domain.com/",
		mode =&gt; trunk,
		encapsulation =&gt; dot1q,
		trunk_allowed_vlans =&gt; "1-99,200,253",
		description =&gt; "to back bone router"
}

It is possible with this patch to set interface:
 * mode (access or trunk)
 * native vlan (only for access mode)
 * speed (auto or a given speed)
 * duplex (auto, half or full)
 * trunk encapsulation
 * allowed trunk vlan
 * ipv4 addresses
 * ipv6 addresses
 * etherchannel membership

The interface name (at least for the cisco provider) can be any
shorthand interface name a switch or router can use.

The device url should conform to:
 * scheme: either telnet or ssh
 * user: can be absent depending on switch/router line config
 * pass: must be present
 * port: optional
 * an optional enable password can be mentioned in the url query string

Ex:
To connect to a switch with a line password and an enable password:
"telnet://:letmein@cisco29224XL.domain.com/?enable=letmeinagain"

To connect to a switch/router through ssh and a privileged user:
"ssh://brice:letmein@cisco1841L.domain.com/"

Note:
This patch only includes a Cisco IOS provider. Also terminology adopted
in the various types are mostly the ones used in Cisco devices.
This patch was tested against:
* (really old) Cisco switch 2924XL with ios 12.0(5)WC10
* Cisco router 1841 with ios 12.4(15)T8
* Cisco router 877 with ios 12.4(11)XJ4
* Cisco switch 2960G with ios 12.2(44)SE

Signed-off-by: Brice Figureau &lt;brice-puppet@daysofwonder.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Removing all of the code related to the interface type.</title>
<updated>2008-07-03T20:14:00+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2008-07-03T20:14:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=be169da98d34f7305019d9e3be2a7da2bcb3e28c'/>
<id>be169da98d34f7305019d9e3be2a7da2bcb3e28c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Doing what I can to fix #1128, but just in preparation for removing 'interface'.</title>
<updated>2008-07-03T20:13:09+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2008-07-03T20:13:09+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=04ecb742f46cf8e48337c854a5ff2377caf60db1'/>
<id>04ecb742f46cf8e48337c854a5ff2377caf60db1</id>
<content type='text'>
This type needs to be started again from scratch, and I'm not
going to do so for 0.24.5.

In particular, the model for red hat and sunos need to match --
they should both use the device name as the actual name.

Signed-off-by: Luke Kanies &lt;luke@madstop.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This type needs to be started again from scratch, and I'm not
going to do so for 0.24.5.

In particular, the model for red hat and sunos need to match --
they should both use the device name as the actual name.

Signed-off-by: Luke Kanies &lt;luke@madstop.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>replacing tabs with spaces in the redhat interface provider</title>
<updated>2008-02-27T19:52:20+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2008-02-27T19:52:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=ff4f65a48392b41b2943e8ccd6762059d10bb46f'/>
<id>ff4f65a48392b41b2943e8ccd6762059d10bb46f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding more tests to the redhat interface provider.  It no</title>
<updated>2007-11-23T21:35:18+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2007-11-23T21:35:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=eee9f5e3260a1b053333f3ab88e95241ef710d00'/>
<id>eee9f5e3260a1b053333f3ab88e95241ef710d00</id>
<content type='text'>
longer uses the :target parameter (which I'll be removing in
the next commit).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
longer uses the :target parameter (which I'll be removing in
the next commit).
</pre>
</div>
</content>
</entry>
<entry>
<title>Rewriting the sunos interface provider to manually parse and</title>
<updated>2007-11-23T20:35:19+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2007-11-23T20:35:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=1a4e4fb46567fba6e99a2b9ba7327861edd3a739'/>
<id>1a4e4fb46567fba6e99a2b9ba7327861edd3a739</id>
<content type='text'>
generate, rather than using ParsedFile.  This should fix #777,
and has from what I can tell.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
generate, rather than using ParsedFile.  This should fix #777,
and has from what I can tell.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding unit tests for the sunos interface provider.</title>
<updated>2007-11-23T18:57:16+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2007-11-23T18:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=8cbe8bded645b1006d7fdf48c6084cdbcf3d2621'/>
<id>8cbe8bded645b1006d7fdf48c6084cdbcf3d2621</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Applying patch from #834, apparently fixing a problem</title>
<updated>2007-11-20T20:05:46+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2007-11-20T20:05:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=96b3cde842a9efa3fbd8226c6f044a6e18c612d0'/>
<id>96b3cde842a9efa3fbd8226c6f044a6e18c612d0</id>
<content type='text'>
with bringing up alias interfaces.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
with bringing up alias interfaces.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing #762.  The main problem was that I accepted the patch</title>
<updated>2007-11-20T19:59:28+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2007-11-20T19:59:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=3d31dc8e2a91f599fc31e1f89c66cf1cca94e137'/>
<id>3d31dc8e2a91f599fc31e1f89c66cf1cca94e137</id>
<content type='text'>
in #744 which broke the templates.
In the process, I also added test code for the redhat interface
provider and rewrote how parsing worked to make it more testable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in #744 which broke the templates.
In the process, I also added test code for the redhat interface
provider and rewrote how parsing worked to make it more testable.
</pre>
</div>
</content>
</entry>
</feed>
