Skip to content

Commit

Permalink
Added vni field in VRF Yang for VxLAN L3 VNI Support sonic-net#13456
Browse files Browse the repository at this point in the history
  • Loading branch information
tapashdas committed Feb 9, 2023
1 parent 5b9f3a0 commit e44392a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/sonic-yang-models/yang-models/sonic-vrf.yang
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ module sonic-vrf {
"Enable/disable fallback feature which is useful for specified VRF user to access internet through global/main route.";
}

leaf vni {
type uint32 {
range "0..16777215" {
error-message "VNI ID out of range";
error-app-tag vnid-invalid;
}
}
default 0;
description
"VNI mapped to VRF";
}
} /* end of list VRF_LISt */
} /* end of container VRf */
} /* end of container sonic-vrf */
Expand Down

0 comments on commit e44392a

Please sign in to comment.