File tree 3 files changed +17
-0
lines changed
3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 94
94
"DEVICE_METADATA_RESOURCE_TYPE_CONFIG" : {
95
95
"desc" : " Verifying resource type configuration."
96
96
},
97
+ "DEVICE_METADATA_MGMT_TYPE_CONFIG" : {
98
+ "desc" : " Verifying mgmt type configuration."
99
+ },
97
100
"DEVICE_METADATA_VALID_CLUSTER" : {
98
101
"desc" : " Verifying valid cluster configuration."
99
102
},
Original file line number Diff line number Diff line change 257
257
}
258
258
}
259
259
},
260
+ "DEVICE_METADATA_MGMT_TYPE_CONFIG" : {
261
+ "sonic-device_metadata:sonic-device_metadata" : {
262
+ "sonic-device_metadata:DEVICE_METADATA" : {
263
+ "sonic-device_metadata:localhost" : {
264
+ "mgmt_type" : " mgmt_type_x"
265
+ }
266
+ }
267
+ }
268
+ },
260
269
"DEVICE_METADATA_VALID_CLUSTER" : {
261
270
"sonic-device_metadata:sonic-device_metadata" : {
262
271
"sonic-device_metadata:DEVICE_METADATA" : {
Original file line number Diff line number Diff line change @@ -157,6 +157,11 @@ module sonic-device_metadata {
157
157
type string ;
158
158
}
159
159
160
+ leaf mgmt_type {
161
+ type string ;
162
+ description "Indicates the management type of this device." ;
163
+ }
164
+
160
165
leaf cluster {
161
166
type string ;
162
167
description "The switch is a member of this cluster." ;
You can’t perform that action at this time.
0 commit comments