<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/ctdb/tests/eventscripts/stubs/ip, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/'/>
<entry>
<title>ctdb-tests: Add some tests for 11.natgw eventscript</title>
<updated>2014-03-26T03:21:41+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2014-03-14T05:29:01+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=7fdd6b7861a4767cd3e2dfa76a7d7e7790efd840'/>
<id>7fdd6b7861a4767cd3e2dfa76a7d7e7790efd840</id>
<content type='text'>
This includes adding support for:

* Configuring fake NATGW state in the eventscript unit tests

* "natgwlist" and "setnatgwstate" in ctdb command stub

* ip command stub to default to "main table" when no table specified,
  allow routes to be added without "dev" option (just add a default
  dev), support "metric" option

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This includes adding support for:

* Configuring fake NATGW state in the eventscript unit tests

* "natgwlist" and "setnatgwstate" in ctdb command stub

* ip command stub to default to "main table" when no table specified,
  allow routes to be added without "dev" option (just add a default
  dev), support "metric" option

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb-tests-eventscripts: Testing support for promote_secondaries</title>
<updated>2014-02-13T01:03:24+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2014-01-28T05:08:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=a226015990356ee989c5b9a472581bb3187de894'/>
<id>a226015990356ee989c5b9a472581bb3187de894</id>
<content type='text'>
Just enable this behaviour by default in the ip command stub, since
10.interface assumes/sets it.  The rc.local replacement for set_proc()
doesn't do anything...

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just enable this behaviour by default in the ip command stub, since
10.interface assumes/sets it.  The rc.local replacement for set_proc()
doesn't do anything...

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb/tests/eventscripts: Improve ip command stub secondary handling</title>
<updated>2014-01-31T02:36:28+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2014-01-28T05:07:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=1640f36d5831b2575d117fac335f3324ceefa9f8'/>
<id>1640f36d5831b2575d117fac335f3324ceefa9f8</id>
<content type='text'>
It should support primary and secondaries per network instead of per
interface.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It should support primary and secondaries per network instead of per
interface.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb:tests: in the stub "ip link show" command use echo instead of cat</title>
<updated>2013-11-28T08:23:03+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2013-11-27T22:43:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=e2db9c524f40f8771ae19b2be47a56f7a9d887af'/>
<id>e2db9c524f40f8771ae19b2be47a56f7a9d887af</id>
<content type='text'>
This case of "ip link show" does not break autobuild with
"Broken pipe" messages, but let's be consistent.

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;

Autobuild-User(master): Martin Schwenke &lt;martins@samba.org&gt;
Autobuild-Date(master): Thu Nov 28 09:23:03 CET 2013 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This case of "ip link show" does not break autobuild with
"Broken pipe" messages, but let's be consistent.

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;

Autobuild-User(master): Martin Schwenke &lt;martins@samba.org&gt;
Autobuild-Date(master): Thu Nov 28 09:23:03 CET 2013 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>ctdb:tests: in the stub ip command, avoid broken pipe by using echo instead of cat</title>
<updated>2013-11-28T06:31:12+00:00</updated>
<author>
<name>Michael Adam</name>
<email>obnox@samba.org</email>
</author>
<published>2013-11-27T11:13:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=70f469e05e279e29980df2af10dd89c53001b236'/>
<id>70f469e05e279e29980df2af10dd89c53001b236</id>
<content type='text'>
This fixes running "make autotest" from autobuild, since
it prevents irritating error output in delete_ip_from_iface()
when calling ip addr list ... | grep -Fq "inet ..." .

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes running "make autotest" from autobuild, since
it prevents irritating error output in delete_ip_from_iface()
when calling ip addr list ... | grep -Fq "inet ..." .

Signed-off-by: Michael Adam &lt;obnox@samba.org&gt;
Reviewed-by: Martin Schwenke &lt;martin@meltin.net&gt;
Reviewed-by: Amitay Isaacs &lt;amitay@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/eventscripts: Add tests for monitoring of missing interfaces</title>
<updated>2013-07-19T05:37:14+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2013-07-16T09:57:18+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=363315aca5447f92faeddb4da459d583ba03369a'/>
<id>363315aca5447f92faeddb4da459d583ba03369a</id>
<content type='text'>
Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 53e4eca74429f76adc81d98e3d11d1bd61194d71)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 53e4eca74429f76adc81d98e3d11d1bd61194d71)
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/eventscripts: New tests for 00.ctdb "init" event</title>
<updated>2013-06-20T03:01:10+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2013-06-18T05:07:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=3b2f7330cc333a55684753bf2c7b0fb8c8c72678'/>
<id>3b2f7330cc333a55684753bf2c7b0fb8c8c72678</id>
<content type='text'>
These test dropping of IPs and TDB checking.

New stubs for date, tdbdump, tdbtool.

Enhance ip stub to handle "ip addr show to ..."

Tweak some infrastructure.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Pair-programmed-with: Amitay Isaacs &lt;amitay@gmail.com&gt;

(This used to be ctdb commit aabf0bf41cb8ec344f06b69492fb6c2a27f9e900)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These test dropping of IPs and TDB checking.

New stubs for date, tdbdump, tdbtool.

Enhance ip stub to handle "ip addr show to ..."

Tweak some infrastructure.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;
Pair-programmed-with: Amitay Isaacs &lt;amitay@gmail.com&gt;

(This used to be ctdb commit aabf0bf41cb8ec344f06b69492fb6c2a27f9e900)
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/eventscripts: Modify ip stub to simulate invalid table ID</title>
<updated>2012-09-11T02:52:22+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2012-07-17T10:45:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=3d6865150be8d3ea4baecd9c0f746f12c2d11706'/>
<id>3d6865150be8d3ea4baecd9c0f746f12c2d11706</id>
<content type='text'>
This involves refactoring ip_route_check_table() into a new function
ip_check_table() which tables the operation type (i.e. rule/route) as
an argument.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit acdaa04079a9827885f32a7bc078d3365c89b474)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This involves refactoring ip_route_check_table() into a new function
ip_check_table() which tables the operation type (i.e. rule/route) as
an argument.

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit acdaa04079a9827885f32a7bc078d3365c89b474)
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/eventscripts: $FAKE_IP_STATE is always set in ip command stub</title>
<updated>2012-04-27T05:42:42+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2012-04-24T04:04:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=e0f4f2c501aeea26de1fddfae1adb605b195b12c'/>
<id>e0f4f2c501aeea26de1fddfae1adb605b195b12c</id>
<content type='text'>
No need for a default, especially since there is no sane default!

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit b430a5f61cfdc28e967890602ce6dac0e922c07d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No need for a default, especially since there is no sane default!

Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit b430a5f61cfdc28e967890602ce6dac0e922c07d)
</pre>
</div>
</content>
</entry>
<entry>
<title>Tests - eventscripts - ip stub command should print errors to stderr</title>
<updated>2012-03-22T04:30:27+00:00</updated>
<author>
<name>Martin Schwenke</name>
<email>martin@meltin.net</email>
</author>
<published>2012-03-20T05:24:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/pviktori/public_git/samba.git/commit/?id=c394b7d065f21c3b86630e9dd0a6f4c4f62d381f'/>
<id>c394b7d065f21c3b86630e9dd0a6f4c4f62d381f</id>
<content type='text'>
Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 236d572556e447e2d82d14d2c8a40ed8cb98944d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Martin Schwenke &lt;martin@meltin.net&gt;

(This used to be ctdb commit 236d572556e447e2d82d14d2c8a40ed8cb98944d)
</pre>
</div>
</content>
</entry>
</feed>
