* limitations under the License.
*/
-option version = "2.0.0";
+option version = "2.0.1";
import "vnet/ip/ip_types.api";
/** \brief MPLS label
{
FIB_API_PATH_FLAG_NONE = 0,
/* the path must resolve via an attached route */
- FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED,
+ FIB_API_PATH_FLAG_RESOLVE_VIA_ATTACHED = 1,
/* the path must resolve via a host route */
- FIB_API_PATH_FLAG_RESOLVE_VIA_HOST,
+ FIB_API_PATH_FLAG_RESOLVE_VIA_HOST = 2,
+ /* pop a Pseudo Wire Control Word as well */
+ FIB_API_PATH_FLAG_POP_PW_CW = 4,
};
/* \brief A description of the 'next-hop' for a path
not given)
@param weight - The weight, for UCMP
@param preference - The preference of the path. lowest preference
- is prefered
+ is preferred
@param rpf-id - For paths that pop to multicast, this the the
RPF ID the packet will be given (0 and ~0 => unset)
@param type - the path type