

<HEAD>
<TITLE> RD_PATH Import Tests for IDRP in GateD  </title> 
<META name="resource-type value="document">
<META name="description" value="Testing of RD_PATH Export "
<META name="keywords" value="IDRP, Policy, Config, export, GateD, RD_PATH ">
<META name="distribution" value="global">
</HEAD>

<H1> General Information for Layout for Tests for IDRP in GateD </H1> 
<pre>
</pre>
<H2> Physical Layouts </H2>
<pre>
</pre>
From 2 machines to 8 machines on the same subnet.  The PC version has 6 possible.
The Sun system has up to 8 machines.  
<pre>
</pre>
<H1> <strong> <a name= "export-rdpath">RD_PATH </a> (ADVFT_RDPATH) <a name = "Two-machine-tests">2 machine tests</a></strong> </H1>
<pre>
</pre>
The 2-machine RD_PATH test include:
<pre>
</pre)
<h1> <a name="Group-1">Group 1- RD_PATH  external peers accept all RD_PATHs routes </h1>
<ol>
<li>Test 1 - all rdpath
<li>Test 2 - only routes with rdpath with rdi x490122 passed
<li>Test 3 - only routes with rdpath of: x490122 0x490123 routes passed
<li>Test 4 - routes with rdpath of 0x490121 passed, rdpath of 0x490123 denied
</ol>  
<h2> <a name="Test-1">Test-1   RD_PATH  external peers accept all RD_PATHs routes </h2>
<h3> Setup </h3>
<ol>
<li> peers configured as external
<li> export statement with:
<pre>
<code>

export proto idrp rdi 0x490122
	{
	import proto idrp rdpath / .* / 
			{
			ip all;
			all;
			}
	}			

</code>
</ol>
</pre>	
<h3> Expected Results </h3>
<p>
All routes passed. 
</p>
<h2> <a name="Test-2">Test 2 - RD_PATH - one rdi released  </h2>
<h3> Setup </h3>
<ol>
<li> peers configured as external
<li> export statement with one rdi
<pre>
<code>

export proto idrp rdi 0x490122
	{
	import proto idrp rdpath / 0x490121 / 
			{
			ip all;
			all;
			}
	}			

</code>
</pre>	
</ol>
<h3> Expected Results </h3>
<p>
All routes passed. 
</p>
<h2> <a name="Test-3">Test 3 - RD_PATH  - export external peers accept only RDI in  RD_PATHs  </h2>
<h3> Setup </h3>
<ol>
<li> peers configured as external
<li> export statement with two rdi 
<pre>
<code>
export proto idrp rdi 0x490122
	{
	import proto idrp rdpath / 0x490121 0x490123 / 
			{
			ip all;
			all;
			}
	}			

</code>
</pre>	
</ol>
<h3> Expected Results </h3>
<p>
All routes passed from received with rdi path 49.0121 49.0123 
</p>
<h2> <a name="Test-4">Test 4 - RD_PATH  - export external peers accept one RDI reject other </h2>
<h3> Setup </h3>
<ol>
<li> peers configured as external
<li> export statement with two rdi 
<pre>
<code>

export proto idrp rdi 0x490122
	{
	import proto idrp rdpath / 0x490121 / 
			{
			ip all;
			all;
			}
	import proto idrp rdpath / .* 0x490123 .*/ restrict;   
	}			

</code>
</pre>	
</ol>
<h3> Expected Results </h3>
<p>
All routes passed from received with rdi path 49.0121.  Will not pass
routes with RDI  49.0123 in the rdpath. 
</p>

<h2> <a name="Group-2">Group 2 - RD path tests 1-4 with external peers & Rib Refresh</h2> 
<p>
Repeat Tests 1-4 with all peers as external peers and using Rib Refresh BISPDUs to update the routes.
</p>  
<h2> <a name="Group-3">Group 3 - RD path tests 1-4 with internal peers & Deltas</h2> 
<p>
Repeat Tests 1-4 with all peers as internal peers and using Update PDUs to update the routes.
</p>  
<h2> <a name="Group-4">Group 4 - RD path tests 1-4 with internal peers & Rib Refresh</h2> 
Repeat Tests 1-4 with all peers as internal peers and using Rib Refresh BISPDUs to update the routes.
</p>  
<p>
<H1> <strong> RD_PATH (ADVFT_RDPATH) <var>Three-machine-tests</var></strong> </H1>
<p>
<strong> 3 Node tests </strong>
<pre>
</pre>
Try in all layouts of the 3 node for internal and external peers, with
reconfigured causing Rib Refresh or Delta change in routes. 
<P>
<ol>
<li> Allow via one 1 path, deny others
<li> Allow via one 2 paths, deny others
<li> Allow via one 3 paths, deny others
<li> Prefer 1 path over others (allow all)
<li> Prefer 1 path over others, allow only some
</ol>
<pre>
</pre>
<h2> <strong> 4 Node tests </strong> </h2>
<pre>
</pre>
Try in all layouts of the 4 node the sequences in the 3 node tests.
<P>


