/* $XORP: xorp/xrl/interfaces/policy_redist6.xif,v 1.1 2004/09/17 14:05:09 abittau Exp $ */

/**
 * Policy based IPv6 route redistribution XRL interface.
 *
 * This should be implemented by routing protocols which support policy based
 * filtering and desire to be used for IPv6 route redistribution.
 */
interface policy_redist6/0.1 {
        /**
         * Start route redistribution for an IPv6 route.
         *
         * @param network the route to advertise.
         * @param unicast whether the route is unicast.
         * @param multicast whether the route is multicast.
         * @param nexthop the nexthop of the route.
         * @param metric the metric of the route.
         * @param policytags the set of policy-tags associated with the route.
         */
	add_route6	? network:ipv6net & unicast:bool & multicast:bool  \
			& nexthop:ipv6 & metric:u32 & policytags:list<u32>;

        /**
         * Terminate route redistribution for an IPv6 route.
         *
         * @param network the route for which advertisements should cease.
         * @param unicast whether the route is unicast.
         * @param multicast whether the route is multicast.
         */
	delete_route6	? network:ipv6net & unicast:bool & multicast:bool;
}
