Updated BgpManager for Be
[vpnservice.git] / bgpmanager / bgpmanager-impl / src / main / java / org / opendaylight / bgpmanager / thrift / gen / af_safi.java
diff --git a/bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/thrift/gen/af_safi.java b/bgpmanager/bgpmanager-impl/src/main/java/org/opendaylight/bgpmanager/thrift/gen/af_safi.java
new file mode 100644 (file)
index 0000000..a4ecca8
--- /dev/null
@@ -0,0 +1,45 @@
+/**
+ * Autogenerated by Thrift Compiler (0.9.1)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ *  @generated
+ */
+
+package org.opendaylight.bgpmanager.thrift.gen;
+
+import java.util.Map;
+import java.util.HashMap;
+import org.apache.thrift.TEnum;
+
+public enum af_safi implements org.apache.thrift.TEnum {
+  SAFI_IPV4_LABELED_UNICAST(4),
+  SAFI_MPLS_VPN(5);
+
+  private final int value;
+
+  private af_safi(int value) {
+    this.value = value;
+  }
+
+  /**
+   * Get the integer value of this enum value, as defined in the Thrift IDL.
+   */
+  public int getValue() {
+    return value;
+  }
+
+  /**
+   * Find a the enum type by its integer value, as defined in the Thrift IDL.
+   * @return null if the value is not found.
+   */
+  public static af_safi findByValue(int value) { 
+    switch (value) {
+      case 4:
+        return SAFI_IPV4_LABELED_UNICAST;
+      case 5:
+        return SAFI_MPLS_VPN;
+      default:
+        return null;
+    }
+  }
+}