File tree Expand file tree Collapse file tree 3 files changed +27
-6
lines changed
src/sonic-yang-models/tests Expand file tree Collapse file tree 3 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 1201
1201
"FEATURE" : {
1202
1202
"bgp" : {
1203
1203
"auto_restart" : " enabled" ,
1204
- "has_global_scope" : " false " ,
1205
- "has_per_asic_scope" : " true " ,
1206
- "has_timer" : " false " ,
1204
+ "has_global_scope" : " False " ,
1205
+ "has_per_asic_scope" : " True " ,
1206
+ "has_timer" : " False " ,
1207
1207
"high_mem_alert" : " disabled" ,
1208
1208
"state" : " enabled"
1209
1209
},
Original file line number Diff line number Diff line change 6
6
"desc" : " Referring invalid feature state." ,
7
7
"eStrKey" : " Pattern" ,
8
8
"eStr" : [" enabled|disabled|always_enabled" ]
9
+ },
10
+ "FEATURE_WITH_INVALID_BOOLEAN_TYPE" : {
11
+ "desc" : " Referring invalid feature boolean types." ,
12
+ "eStrKey" : " Pattern" ,
13
+ "eStr" : [" false|true|False|True" ]
9
14
}
10
15
}
Original file line number Diff line number Diff line change 7
7
"name" : " database" ,
8
8
"state" : " always_enabled" ,
9
9
"auto_restart" : " always_enabled" ,
10
- "has_timer" : " false " ,
11
- "has_global_scope" : " true " ,
12
- "has_per_asic_scope" : " true "
10
+ "has_timer" : " False " ,
11
+ "has_global_scope" : " True " ,
12
+ "has_per_asic_scope" : " True "
13
13
},
14
14
{
15
15
"name" : " swss" ,
62
62
]
63
63
}
64
64
}
65
+ },
66
+ "FEATURE_WITH_INVALID_BOOLEAN_TYPE" : {
67
+ "sonic-feature:sonic-feature" : {
68
+ "sonic-feature:FEATURE" : {
69
+ "FEATURE_LIST" : [
70
+ {
71
+ "name" : " database" ,
72
+ "state" : " always_enabled" ,
73
+ "auto_restart" : " always_enabled" ,
74
+ "has_timer" : " FALSE" ,
75
+ "has_global_scope" : " TRUE" ,
76
+ "has_per_asic_scope" : " TRUE"
77
+ }
78
+ ]
79
+ }
80
+ }
65
81
}
66
82
}
You can’t perform that action at this time.
0 commit comments