2 namespace "urn:opendaylight:l3vpn";
5 import yang-ext {prefix ext; revision-date "2013-07-09";}
6 import l3vpn { prefix l3vpn; revision-date "2014-08-15"; }
8 revision "2013-09-11" {
9 description "L3 VPN Service module";
12 grouping adjacency-list{
15 leaf nextHopIp { type string; }
16 leaf ip_address {type string;}
17 leaf label { type uint32; config "false"; } /* optional */
18 leaf mac_address {type string;} /* optional */
22 grouping vpn-route-list{
23 leaf-list route-entry-id{
28 augment "/l3vpn:vpn-interfaces/l3vpn:vpn-interface" {
29 ext:augment-identifier "adjacencies";
33 /* Operational DS containers for reverse lookups*/
34 container prefix-to-interface {
38 leaf vpn-id {type uint32;}
41 leaf ip_address {type string;}
45 leaf vpn-interface-name {
52 /* Data models to adhere to restart requirements */
53 container vpn-instance-to-vpn-id {
55 key vpn-instance-name;
56 leaf vpn-instance-name {
64 "The vrf-id command configures a route distinguisher (RD)
65 for the IPv4 or IPv6 address family of a VPN instance or
66 vpn instance name for internal vpn case.";
72 container vpn-instance-op-data {
74 list vpn-instance-op-data-entry {
76 leaf vpn-id { type uint32;}
79 "The vrf-id command configures a route distinguisher (RD)
80 for the IPv4 or IPv6 address family of a VPN instance or
81 vpn instance name for internal vpn case.";
86 list vpn-to-dpn-list {