-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: Icd22d0ddf18a19ca05823d8ae344f02e63cbe1bc
- Loading branch information
Showing
4 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
let xcvrStatus = `*:/Sysdb/hardware/archer/xcvr/status/all/*` | ||
let filteredXcvrStat = xcvrStatus | map(_value | mapne(_value, _value | field("goVendorInfo") | field("vendorSn"))) | ||
let filteredXcvrStat = xcvrStatus | map(_value | mapne(_value, _value | field("actualIdEepromContents") | field("vendorSn"))) | ||
filteredXcvrStat | map(_value | mapne(_value, _value[0])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
let data = `*:/Sysdb/hardware/archer/xcvr/status/all/*` | ||
let xcvrStatus = data | map(_value | mapne(_value, _value | field("goVendorInfo") | field("vendorSn"))) | ||
let xcvrStatus = data | map(_value | mapne(_value, _value | field("actualIdEepromContents") | field("vendorSn"))) | ||
let xcvrStatus = xcvrStatus | map(_value | mapne(_value[0], _value)) | ||
|
||
xcvrStatus | map(_value | where(reMatch(_value, _regexInput))) | where(length(_value) > 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters