Imported vpnservice as a subtree
[netvirt.git] / vpnservice / fibmanager / fibmanager-api / src / main / yang / l3nexthop.yang
1 module l3nexthop {
2     namespace "urn:opendaylight:vpnservice:l3nexthop";
3     prefix l3nexthop;
4
5     revision "2015-04-09" {
6         description "L3 NextHop module";
7     }
8
9     container l3nexthop {
10         config false;
11         list vpnNexthops{
12             key "vpnId";
13             leaf vpnId {type uint32;}
14             list vpnNexthop{
15                 key  "IpAddress";
16                 leaf IpAddress {type string;}
17                 leaf egressPointer {type uint32;}
18                 leaf dpnId {type uint64;}
19                 leaf flowrefCount {type uint16; }
20             }
21         }
22         list tunnelNexthops{
23             key "dpnId";
24             leaf dpnId {type uint64;}
25             list tunnelNexthop{
26                 key  "IpAddress";
27                 leaf IpAddress {type string;}
28                 leaf egressPointer {type uint32;}
29             }
30         }
31     }
32 }