-
Notifications
You must be signed in to change notification settings - Fork 62
Issue 1 duplicate line #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7028870
5440e8b
9d49f26
95d4723
61a0da2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| """Initialization file for library.""" | ||
|
|
||
| __version__ = "0.2.2" | ||
| __version__ = "0.2.3" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| ! | ||
| logging history size 500 | ||
| logging origin-id hostname | ||
| logging source-interface Loopback0 | ||
| logging host 10.5.84.24 | ||
| ! | ||
| logging trap informational | ||
| ! | ||
| ! |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| features = [ | ||
| {"name": "log", "ordered": True, "section": ["logging ", "no logging "]}, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @grelleum , sorry, I realize that I did this, but can you add a feature for snmp as well? I think it was failing before with a stracktrace, and hence this test, but I think that we should now be clear about the expectation of a duplicate line. e.g. add, |
||
| ] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| logging source-interface Loopback0 | ||
| logging host 10.1.1.1 | ||
| ! | ||
| logging trap informational | ||
| ! | ||
| snmp-server community <<REPLACED>> RO SNMP_ACL_RO | ||
| snmp-server community <<REPLACED>> RW SNMP_ACL_RW | ||
| snmp-server community <<REPLACED>> RO SNMP_ACL_RO | ||
| ! |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "log": { | ||
| "compliant": false, | ||
| "missing": "logging host 10.1.1.1", | ||
| "extra": "logging history size 500\nlogging origin-id hostname\nlogging host 10.5.84.24", | ||
| "cannot_parse": true, | ||
| "unordered_compliant": false, | ||
| "ordered_compliant": false, | ||
| "actual": "logging history size 500\nlogging origin-id hostname\nlogging source-interface Loopback0\nlogging host 10.5.84.24\nlogging trap informational", | ||
| "intended": "logging source-interface Loopback0\nlogging host 10.1.1.1\nlogging trap informational" | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing this out, this actually has to be fixed in a few places. You can remove this and squash, i'll update in another PR