]> git.puffer.fish Git - matthieu/frr.git/commitdiff
yang : nexthop yang modification
authorvdhingra <vdhingra@vmware.com>
Fri, 24 Apr 2020 12:34:41 +0000 (05:34 -0700)
committervdhingra <vdhingra@vmware.com>
Thu, 16 Jul 2020 15:33:00 +0000 (08:33 -0700)
nexthop vrf is addded as a key along with nh-type, gateway,
interface.

Signed-off-by: VishalDhingra <vdhingra@vmware.com>
yang/frr-nexthop.yang

index 779c56df7f7676f317b76b3e394526fc72dec6d9..8d47183b83a6ffe513c7da6bee43c5a74d131dbc 100644 (file)
@@ -236,7 +236,8 @@ module frr-nexthop {
 
   grouping nexthop-grouping {
     list nexthop {
-      key "nh-type gateway interface";
+      key "nh-type vrf gateway interface";
+      min-elements 1;
       description
         "A list of nexthop objects.";
       uses frr-nexthop-attributes;