Yang changes to support iRT/eRT for EVPN 99/53099/9
authoreupakir <kiran.n.upadhyaya@ericsson.com>
Thu, 9 Mar 2017 19:07:27 +0000 (00:37 +0530)
committerVivekanandan Narasimhan <n.vivekanandan@ericsson.com>
Thu, 16 Mar 2017 05:26:36 +0000 (05:26 +0000)
Change-Id: I5ecf6bdbc5cd6b5101484a14cde66cec960c7ab2
Signed-off-by: eupakir <kiran.n.upadhyaya@ericsson.com>
vpnservice/fibmanager/fibmanager-api/src/main/yang/odl-fib.yang

index d5219e1a2740a1616647c1d6525ae5cb17434730..212e84bd70d2f41d4841c2439b3e3a326c23c915 100644 (file)
@@ -150,4 +150,67 @@ module odl-fib {
             }
         }
    }
+
+   container ip-prefix-map {
+        description "Stores information about a parent vpn and prefix in that parent vpn,
+                    along with what other vpn-instances import the parent vpn";
+        config false;
+        list ip-prefix-info {
+            key "prefix parent-primary-rd";
+            leaf prefix {
+                type string;
+            }
+            leaf parent-primary-rd {
+                type string;
+            }
+            leaf dpn-id {
+                type uint64;
+            }
+            leaf-list vpn-instance-list {
+                type string;
+            }
+            leaf parent-vpnid {
+                type uint32;
+            }
+            leaf vpn-interface-name {
+                type string;
+            }
+            leaf elan-tag {
+                type uint32;
+            }
+            leaf is-subnet-route {
+                type boolean;
+            }
+            leaf encap-type {
+                type enumeration {
+                    enum mplsgre {
+                        value "0";
+                    }
+                    enum vxlan {
+                        value "1";
+                    }
+                }
+                default "mplsgre";
+            }
+            leaf l3vni {
+                type uint32;
+            }
+            leaf l2vni {
+                 type uint32;
+            }
+            list route-paths {
+                 key "nexthop-address";
+                 leaf nexthop-address {
+                      type string;
+                 }
+                 leaf label {
+                      type uint32;
+                 }
+                 leaf gateway_mac_address {
+                      type string;
+                 }
+            }
+        }
+   }
+
 }