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 augment "/l3vpn:vpn-instances/l3vpn:vpn-instance" {
34 leaf vpn-id { type uint32;}
38 /* Operational DS containers for reverse lookups*/
39 container prefix-to-interface {
43 leaf vpn-id {type uint32;}
46 leaf ip_address {type string;}
50 leaf vpn-interface-name {
57 /* Data models to adhere to restart requirements */
58 container vpn-instance-to-vpn-id {
60 key vpn-instance-name;
61 leaf vpn-instance-name {
69 "The vrf-id command configures a route distinguisher (RD)
70 for the IPv4 or IPv6 address family of a VPN instance or
71 vpn instance name for internal vpn case.";
77 container vpn-instance-op-data {
79 list vpn-instance-op-data-entry {
81 leaf vpn-id { type uint32;}
84 "The vrf-id command configures a route distinguisher (RD)
85 for the IPv4 or IPv6 address family of a VPN instance or
86 vpn instance name for internal vpn case.";
91 list vpn-to-dpn-list {