Skip to content

Commit c83a19b

Browse files
[NX-OS] Update serial number xpath and description of jumbo mtu setting
1 parent 409d290 commit c83a19b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

internal/provider/cisco/nxos/system.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var (
1515
_ gnmiext.Configurable = (*FirmwareVersion)(nil)
1616
)
1717

18-
// System represents general system settings.
18+
// SystemJumboMTU represents the jumbo MTU size configured on the system.
1919
type SystemJumboMTU int16
2020

2121
func (s *SystemJumboMTU) XPath() string {
@@ -34,12 +34,11 @@ func (*Model) XPath() string {
3434
}
3535

3636
// SerialNumber is the serial number of the device, e.g. "9VT9OHZBC3H".
37-
// This value should typically match the serial number
38-
// of the chassis under "System/ch-items/ser".
37+
// This value should typically match the serial number under "System/serial".
3938
type SerialNumber string
4039

4140
func (*SerialNumber) XPath() string {
42-
return "System/serial"
41+
return "System/ch-items/ser"
4342
}
4443

4544
// FirmwareVersion is the firmware version of the device, e.g. "10.4(3)".

0 commit comments

Comments
 (0)