<feed xmlns='http://www.w3.org/2005/Atom'>
<title>puppet.git/spec/unit/provider/interface, branch master</title>
<subtitle>Puppet repo</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/'/>
<entry>
<title>maint: fix spec_helper inclusions again.</title>
<updated>2011-05-17T22:23:12+00:00</updated>
<author>
<name>Daniel Pittman</name>
<email>daniel@puppetlabs.com</email>
</author>
<published>2011-05-17T22:23:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=d1cc24f6e7eb8ea5b29f0611eaa8246f9d7d4d25'/>
<id>d1cc24f6e7eb8ea5b29f0611eaa8246f9d7d4d25</id>
<content type='text'>
We got rid of the '../../spec_helper' style requires, but a few of them snuck
back in in recent changes.  This purges them out, replaced with the header:

    #!/usr/bin/env rspec
    require 'spec_helper'

Reviewed-By: Nick Lewis &lt;nick@puppetlabs.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We got rid of the '../../spec_helper' style requires, but a few of them snuck
back in in recent changes.  This purges them out, replaced with the header:

    #!/usr/bin/env rspec
    require 'spec_helper'

Reviewed-By: Nick Lewis &lt;nick@puppetlabs.com&gt;
</pre>
</div>
</content>
</entry>
<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>maint: clean up the spec test headers in bulk.</title>
<updated>2011-04-13T07:36:38+00:00</updated>
<author>
<name>Daniel Pittman</name>
<email>daniel@puppetlabs.com</email>
</author>
<published>2011-04-13T07:35:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=db11770718c61f9ee3d5fcd703c5c0c7c05227ca'/>
<id>db11770718c61f9ee3d5fcd703c5c0c7c05227ca</id>
<content type='text'>
We now use a shebang of: #!/usr/bin/env rspec

This enables the direct execution of spec tests again, which was lost earlier
during the transition to more directly using the rspec2 runtime environment.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We now use a shebang of: #!/usr/bin/env rspec

This enables the direct execution of spec tests again, which was lost earlier
during the transition to more directly using the rspec2 runtime environment.
</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>Fixing the "describe" in the redhat interface specs</title>
<updated>2008-07-03T18:52:56+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2008-07-03T18:52:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=a87885a4be181206d2f2c1d6225598c67e315717'/>
<id>a87885a4be181206d2f2c1d6225598c67e315717</id>
<content type='text'>
Signed-off-by: Luke Kanies &lt;luke@madstop.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Luke Kanies &lt;luke@madstop.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing a mock in the redhat interface test.</title>
<updated>2008-05-16T16:22:26+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2008-05-16T16:22:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=a02c6bbe7ccac05593c9e07e9f0215ab6ceda8ad'/>
<id>a02c6bbe7ccac05593c9e07e9f0215ab6ceda8ad</id>
<content type='text'>
It mocked :exists? instead of :exist?, and my provider work
changed the method call because :exists? is going away in ruby.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It mocked :exists? instead of :exist?, and my provider work
changed the method call because :exists? is going away in ruby.
</pre>
</div>
</content>
</entry>
<entry>
<title>Duh, fixing all of the paths being loaded for spec in the moved tests.</title>
<updated>2008-05-16T00:34:21+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2008-05-16T00:34:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=ac79a79c8d7713068243209f782bf16077dd3d37'/>
<id>ac79a79c8d7713068243209f782bf16077dd3d37</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Moving all tests that are in 'ral' up a level.</title>
<updated>2008-05-16T00:11:08+00:00</updated>
<author>
<name>Luke Kanies</name>
<email>luke@madstop.com</email>
</author>
<published>2008-05-16T00:11:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ricky/public_git/puppet.git/commit/?id=d02334f114a73facd2b3a90f35cb1f3c04365e2f'/>
<id>d02334f114a73facd2b3a90f35cb1f3c04365e2f</id>
<content type='text'>
This directory only existed as an organizational method,
and the code never matched it, so I'm fixing it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This directory only existed as an organizational method,
and the code never matched it, so I'm fixing it.
</pre>
</div>
</content>
</entry>
</feed>
