X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=vpnservice.git;a=blobdiff_plain;f=nexthopmgr%2Fnexthopmgr-api%2Fsrc%2Fmain%2Fyang%2Fl3nexthop.yang;h=7a287b5b5816e0e669f2068d2c6a9f830a6bdf3b;hp=cc86285bec13430a0f825fc8a8251c4e041dd548;hb=5d87e53cdbed3197a5035ae7452583bd5ae8c638;hpb=2bfbbe0cf9942ff975dc82fc298c603fd9cef6a6 diff --git a/nexthopmgr/nexthopmgr-api/src/main/yang/l3nexthop.yang b/nexthopmgr/nexthopmgr-api/src/main/yang/l3nexthop.yang index cc86285b..7a287b5b 100644 --- a/nexthopmgr/nexthopmgr-api/src/main/yang/l3nexthop.yang +++ b/nexthopmgr/nexthopmgr-api/src/main/yang/l3nexthop.yang @@ -4,34 +4,39 @@ module l3nexthop { namespace "urn:opendaylight:vpnservice:l3nexthop"; prefix l3nexthop; - revision "2015-03-30" { + revision "2015-04-09" { description "L3 NextHop module"; } container l3nexthop { + config false; 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;} + list tunnelNexthops{ + key "dpnId"; leaf dpnId {type uint32;} - leaf egressPointer {type uint32;} + list tunnelNexthop{ + key "IpAddress"; + leaf IpAddress {type string;} + 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;} + leaf ipPrefix {type string;} + leaf nexthopIp {type string;} } output { leaf egressPointer {type uint32;}