Skip to content

Commit

Permalink
Override bsnAPName to DisplayString (#660)
Browse files Browse the repository at this point in the history
Signed-off-by: Devon Mar <[email protected]>
  • Loading branch information
devon-mar authored Sep 18, 2023
1 parent 8dd1302 commit c4cf5e2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 19 deletions.
3 changes: 3 additions & 0 deletions generator/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ modules:
- source_indexes: [bsnAPDot3MacAddress]
lookup: bsnAPName
drop_source_indexes: true
overrides:
bsnAPName:
type: DisplayString

# APC/Schneider UPS Network Management Cards
#
Expand Down
38 changes: 19 additions & 19 deletions snmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2988,7 +2988,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDBNoisePower
Expand All @@ -3009,7 +3009,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnApIfNoOfUsers
Expand All @@ -3027,7 +3027,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfType
Expand All @@ -3045,7 +3045,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
enum_values:
Expand All @@ -3067,7 +3067,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
enum_values:
Expand Down Expand Up @@ -3138,7 +3138,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11MulticastTransmittedFrameCount
Expand All @@ -3157,7 +3157,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11RetryCount
Expand All @@ -3176,7 +3176,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11MultipleRetryCount
Expand All @@ -3195,7 +3195,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11FrameDuplicateCount
Expand All @@ -3214,7 +3214,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11RTSSuccessCount
Expand All @@ -3233,7 +3233,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11RTSFailureCount
Expand All @@ -3252,7 +3252,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11ACKFailureCount
Expand All @@ -3271,7 +3271,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11ReceivedFragmentCount
Expand All @@ -3290,7 +3290,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11MulticastReceivedFrameCount
Expand All @@ -3309,7 +3309,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11FCSErrorCount
Expand All @@ -3328,7 +3328,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11TransmittedFrameCount
Expand All @@ -3347,7 +3347,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11WEPUndecryptableCount
Expand All @@ -3369,7 +3369,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
- name: bsnAPIfDot11FailedCount
Expand All @@ -3389,7 +3389,7 @@ modules:
- bsnAPDot3MacAddress
labelname: bsnAPName
oid: 1.3.6.1.4.1.14179.2.2.1.1.3
type: OctetString
type: DisplayString
- labels: []
labelname: bsnAPDot3MacAddress
cyberpower:
Expand Down

0 comments on commit c4cf5e2

Please sign in to comment.