From: eupakir Date: Thu, 9 Mar 2017 19:07:27 +0000 (+0530) Subject: Yang changes to support iRT/eRT for EVPN X-Git-Tag: release/carbon~284 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=6c779b6d48c3f27e81f3542e4b75c225d3370d4b;p=netvirt.git Yang changes to support iRT/eRT for EVPN Change-Id: I5ecf6bdbc5cd6b5101484a14cde66cec960c7ab2 Signed-off-by: eupakir --- diff --git a/vpnservice/fibmanager/fibmanager-api/src/main/yang/odl-fib.yang b/vpnservice/fibmanager/fibmanager-api/src/main/yang/odl-fib.yang index d5219e1a27..212e84bd70 100644 --- a/vpnservice/fibmanager/fibmanager-api/src/main/yang/odl-fib.yang +++ b/vpnservice/fibmanager/fibmanager-api/src/main/yang/odl-fib.yang @@ -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; + } + } + } + } + }