Model changes for vpnservice
[vpnservice.git] / vpnmanager-api / src / main / yang / odl-l3vpn.yang
1
2 module odl-l3vpn {
3         namespace "urn:opendaylight:l3vpn";
4         prefix odl-l3vpn;
5         
6         import l3vpn { prefix l3vpn; revision-date "2014-08-15";}
7
8         revision "2013-09-11" {
9                 description "L3 VPN Service module";
10         }
11
12         grouping next-hop-list{
13                 list l3-next-hops{
14                         key "ip_address";
15                         leaf nextHopId { type uint32;}
16                         leaf ip_address {type string;}
17                         leaf label {type uint32;} /* optional */
18                         leaf mac_address {type string;} /* optional */
19                 }
20         }
21
22         augment "/l3vpn:vpn-interfaces/l3vpn:vpn-interface" {
23                 uses next-hop-list;
24         }
25 }