fib: Allow the creation of new source on the API
[vpp.git] / src / vnet / fib / fib_types.api
index 9073192..c5fbcf8 100644 (file)
@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-option version = "2.0.0";
+option version = "2.0.1";
 import "vnet/ip/ip_types.api";
 
 /** \brief MPLS label
@@ -44,9 +44,11 @@ enum fib_path_flags
 {
   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