idrp-ps-att on Import Tests


Local Route Generation


The local route generation has three variables: 
generate from static, import,  export.

Each has a place to filter. What happens if the route: 
  1. route generated form static, not imported, export allowed
  2. reconfig with static, import, and no export
  3. reconfig with static, import, and export

idrp_ Additive Policy Clauses in import statement


Not only the export statement be modified, an modification of
policy can occur on the import statement.  This allows a user
to attach the IDRP policy to specific routes, and then run
export policy on a combine set of routes.   

This set of tests filters in routes, and then attaches various additional policy to routes that match the filter. The path attributes that can be added to a particular route that is imported is the following:

idrp_atts_clause



	import proto idrp rdi 0x490130   
	idrp-ps-att
	{
	(policy-statments)
	}

Example on export

	export  proto idrp rdi 0x490130   
	idrp-ps-att
	{
	(policy-statments)
	}
	{
	proto idrp rdi 0x490129;
		{
		all;
		}
	}



Policy statements


 idrp_ps_route_option group 

	routeserver yes/no;
	ext-info null/restrict 
	hierarch_rec null/restrict
	multiexit null/restrict/ / value



 idrp_ps_pref_calc group 


	hopcount_offset (idrp_preference)


 idrp_ps_dist_option 


	prohibit-dist {rdi1 rdi2 ... rdin }
	allow-dist { rdi1 rdi2 .. rdin }


idrp_ps_QOS_option


	delay value
	rdle value
	expense value
	priority value
	capacity value

 For version 2.0 only the capacity portion is valid    

   

Tests


For each of the attributes above add the condition to
the attribute, and then transmit it out.   

Add on import, export all Based on a match condition, add a the routes to the node. Export all routes.
Add on import, export based on testing the condition Based on a match condition, add a the routes to the node. Export only routes without this function routes.
Add on import, export based on testing the condition Based on a match condition, add a the routes to the node. Export only routes with this function routes.