+++ /dev/null
-module odl-l3vpn {
- namespace "urn:opendaylight:l3vpn";
- prefix odl-l3vpn;
-
- import yang-ext {prefix ext; revision-date "2013-07-09";}
- import l3vpn { prefix l3vpn; revision-date "2014-08-15"; }
-
- revision "2013-09-11" {
- description "L3 VPN Service module";
- }
-
- grouping adjacency-list{
- list adjacency{
- key "ip_address";
- leaf nextHopId { type uint32;}
- leaf ip_address {type string;}
- leaf label {type uint32;} /* optional */
- leaf mac_address {type string;} /* optional */
- }
- }
-
- grouping vpn-route-list{
- leaf-list route-entry-id{
- type uint32;
- }
- }
-
- augment "/l3vpn:vpn-interfaces/l3vpn:vpn-interface" {
- ext:augment-identifier "adjacencies";
- uses adjacency-list;
- }
-
- augment "/l3vpn:vpn-instances/l3vpn:vpn-instance" {
- leaf vpn-id { type uint32;}
- uses vpn-route-list;
- }
-
-}
\ No newline at end of file