Skip to content

Commit

Permalink
Add server testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceaulinic committed Aug 14, 2017
1 parent e505bc6 commit 11f8a72
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<149>Jul 13 22:53:14 re0.edge01.bjm01 xntpd[16015]: NTP Server 1.2.3.4 is Unreachable
40 changes: 40 additions & 0 deletions tests/config/junos/NTP_SERVER_UNREACHABLE/server/yang.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"ip": "127.0.0.1",
"host": "edge01.bjm01",
"yang_message": {
"system": {
"ntp": {
"servers": {
"server": {
"1.2.3.4": {
"state": {
"stratum": 16
},
"config": {
"association-type": "SERVER"
}
}
}
}
}
}
},
"message_details": {
"processId": "16015",
"host": "edge01.bjm01",
"date": "Jul 13",
"tag": "xntpd",
"facility": 18,
"hostPrefix": "re0.",
"message": "NTP Server 1.2.3.4 is Unreachable",
"time": "22:53:14",
"pri": "149",
"severity": 5
},
"error": "NTP_SERVER_UNREACHABLE",
"timestamp": 1499986394,
"facility": 18,
"os": "junos",
"yang_model": "openconfig-system",
"severity": 5
}

0 comments on commit 11f8a72

Please sign in to comment.