X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=nexthopmgr%2Fnexthopmgr-api%2Fsrc%2Fmain%2Fyang%2Fl3nexthop.yang;fp=nexthopmgr%2Fnexthopmgr-api%2Fsrc%2Fmain%2Fyang%2Fl3nexthop.yang;h=cc86285bec13430a0f825fc8a8251c4e041dd548;hb=2bfbbe0cf9942ff975dc82fc298c603fd9cef6a6;hp=0000000000000000000000000000000000000000;hpb=272200b362c916ee5af9fa07a5dcd34c1b4a10b6;p=vpnservice.git diff --git a/nexthopmgr/nexthopmgr-api/src/main/yang/l3nexthop.yang b/nexthopmgr/nexthopmgr-api/src/main/yang/l3nexthop.yang new file mode 100644 index 00000000..cc86285b --- /dev/null +++ b/nexthopmgr/nexthopmgr-api/src/main/yang/l3nexthop.yang @@ -0,0 +1,40 @@ + + +module l3nexthop { + namespace "urn:opendaylight:vpnservice:l3nexthop"; + prefix l3nexthop; + + revision "2015-03-30" { + description "L3 NextHop module"; + } + + container l3nexthop { + list vpnNexthops{ + key "vpnId"; + leaf vpnId {type uint32;} + list vpnNexthop{ + key "IpAddress"; + leaf IpAddress {type string;} + leaf dpnId {type uint32;} + leaf egressPointer {type uint32;} + } + } + list genNexthops{ + key "IpAddress"; + leaf IpAddress {type string;} + leaf dpnId {type uint32;} + leaf egressPointer {type uint32;} + } + } + rpc getEgressPointer { + description "returns egress pointer, an OF Group Id"; + input { + leaf dpnId {type uint32;} + leaf vpnId { type uint32;} /* optional */ + leaf ipAddress{type string;} + } + output { + leaf egressPointer {type uint32;} + } + } +} \ No newline at end of file