X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=vpnmanager%2Fvpnmanager-api%2Fsrc%2Fmain%2Fyang%2Fodl-l3vpn.yang;h=4beb21ec9eb1b94d90bf637942dfae750f50c8d0;hb=refs%2Fchanges%2F00%2F33000%2F2;hp=f097eaeea7e23290b2f7aa2afaf467893a438e8c;hpb=c103ce9e5b1e4acfb3320f245503e46332593e43;p=vpnservice.git diff --git a/vpnmanager/vpnmanager-api/src/main/yang/odl-l3vpn.yang b/vpnmanager/vpnmanager-api/src/main/yang/odl-l3vpn.yang index f097eaee..4beb21ec 100644 --- a/vpnmanager/vpnmanager-api/src/main/yang/odl-l3vpn.yang +++ b/vpnmanager/vpnmanager-api/src/main/yang/odl-l3vpn.yang @@ -49,6 +49,27 @@ module odl-l3vpn { } } + container vpn-to-extraroute { + config false; + list vpn { + key vrf-id; + leaf vrf-id { + description + "The vrf-id command configures a route distinguisher (RD) + for the IPv4 or IPv6 address family of a VPN instance or + vpn instance name for internal vpn case."; + type string; + } + list extraroute { + key prefix; + leaf prefix {type string;} + leaf nexthop-ip { + type string; + } + } + } + } + /* Data models to adhere to restart requirements */ container vpn-instance-to-vpn-id { list vpn-instance { @@ -82,6 +103,7 @@ module odl-l3vpn { type string; } + leaf vpn-interface-count { type uint32; } uses vpn-route-list; list vpn-to-dpn-list { key dpnId;