-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #238 from bittsi/ios_init_down
Adapt syslog message format for messages with synchronised clock on IOS
- Loading branch information
Showing
3 changed files
with
38 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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<189>117: NetAuto_CSRv-03: May 9 12:49:27.098: %LINK-5-CHANGED: Interface GigabitEthernet2, changed state to administratively down |
33 changes: 33 additions & 0 deletions
33
tests/config/ios/INTERFACE_DOWN/time_synchronized/yang.json
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"yang_message": { | ||
"interfaces": { | ||
"interface": { | ||
"GigabitEthernet2": { | ||
"state": { | ||
"admin_status": "DOWN" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"message_details": { | ||
"severity": 5, | ||
"facility": 23, | ||
"messageId": "117", | ||
"pri": "189", | ||
"host": "NetAuto_CSRv-03", | ||
"tag": "LINK-5-CHANGED", | ||
"time": "12:49:27", | ||
"date": "May 9", | ||
"message": "Interface GigabitEthernet2, changed state to administratively down", | ||
"milliseconds": "098" | ||
}, | ||
"facility": 23, | ||
"ip": "127.0.0.1", | ||
"error": "INTERFACE_DOWN", | ||
"host": "NetAuto_CSRv-03", | ||
"yang_model": "openconfig-interfaces", | ||
"timestamp": 1525870167, | ||
"os": "ios", | ||
"severity": 5 | ||
} |