Skip to content

Commit e44392a

Browse files
committed
Added vni field in VRF Yang for VxLAN L3 VNI Support sonic-net#13456
1 parent 5b9f3a0 commit e44392a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/sonic-yang-models/yang-models/sonic-vrf.yang

+11
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ module sonic-vrf {
4343
"Enable/disable fallback feature which is useful for specified VRF user to access internet through global/main route.";
4444
}
4545

46+
leaf vni {
47+
type uint32 {
48+
range "0..16777215" {
49+
error-message "VNI ID out of range";
50+
error-app-tag vnid-invalid;
51+
}
52+
}
53+
default 0;
54+
description
55+
"VNI mapped to VRF";
56+
}
4657
} /* end of list VRF_LISt */
4758
} /* end of container VRf */
4859
} /* end of container sonic-vrf */

0 commit comments

Comments
 (0)