Commit b339a0f
committed
SNMP: revert serial_number addition to _cisco-metadata mixin
Adding serial_number to _cisco-metadata.yaml turned out to suppress the
leaf-level _cisco-catalyst.yaml symbols list during profile merging, so
cisco-catalyst-profiled devices stopped extracting chassisSerialNumberString
(the previously-working source). The metric mixin scope was already
narrow benefit: the only known cisco_switch_1300 / c9407r devices now
match cisco-catalyst directly, and the other inheritors of _cisco-metadata
(cisco-firepower, cisco-firepower-asa, cisco-ironport-email) don't expose
entPhysicalSerialNum in their test fixtures.
Keep the entPhysicalSerialNum fallbacks in _cisco-catalyst.yaml and
cisco-sb.yaml only.1 parent 3ee9d31 commit b339a0f
2 files changed
Lines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 8 | | |
17 | 9 | | |
18 | 10 | | |
| |||
0 commit comments