You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: show/plugins/sonic-fine-grained-ecmp_yang.py
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -54,9 +54,7 @@ def FG_NHG(db):
54
54
55
55
"BUCKET SIZE",
56
56
"MATCH MODE",
57
-
"NHG MODE",
58
57
"MAX NEXT HOPS",
59
-
60
58
]
61
59
62
60
body= []
@@ -97,6 +95,19 @@ def FG_NHG(db):
97
95
that match FG_NHG_PREFIX for this FG_NHG.', 'is-leaf-list': False, 'is-mandatory': False, 'group': ''}
98
96
),
99
97
]
98
+
format_attr_value(
99
+
entry,
100
+
{'name': 'bucket_size', 'description': 'total hash bucket size desired, recommended value of Lowest Common\nMultiple of 1..{max # of next-hops}', 'is-leaf-list': False, 'is-mandatory': True, 'group': ''}
101
+
),
102
+
format_attr_value(
103
+
entry,
104
+
{'name': 'match_mode', 'description': 'The filtering method used to identify when to use Fine Grained vs regular route handling.\n -- nexthop-based filters on nexthop IPs only.\n -- route-based filters on both prefix and nexthop IPs.\n -- prefix-based filters on prefix only.', 'is-leaf-list': False, 'is-mandatory': True, 'group': ''}
105
+
),
106
+
format_attr_value(
107
+
entry,
108
+
{'name': 'max_next_hops', 'description': 'Applicable only for match_mode = prefix-based. Maximum number of nexthops that will be\nreceived in route updates for any of the prefixes that match FG_NHG_PREFIX for this FG_NHG.', 'is-leaf-list': False, 'is-mandatory': True, 'group': ''}
0 commit comments