-
Notifications
You must be signed in to change notification settings - Fork 555
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 #1414 from minefuto/fix_sinitized_junos
Fix sinitized bug for Junos
- Loading branch information
Showing
4 changed files
with
5 additions
and
3 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
4 changes: 2 additions & 2 deletions
4
test/junos/mocked_data/test_get_config_sanitized/normal/expected_result.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"startup": "", | ||
"running": "\nversion 18.1;\nsystem {\n host-name some-switch;\n domain-name example.com;\n time-zone UTC;\n authentication-order [ password radius ];\n root-authentication {\n encrypted-password <removed>;\n }\n radius-server {\n 10.0.0.1 {\n secret <removed>;\n timeout 3;\n retry 1;\n }\n }\n login {\n user test-user {\n uid 1717;\n class admin;\n authentication {\n encrypted-password <removed>;\n }\n }\n }\n }\n services {\n ssh {\n protocol-version v2;\n }\n netconf {\n ssh;\n }\n }\n ntp {\n server 10.17.0.1;\n }\n}\nsnmp {\n location napalm;\n contact \"contact@napalm-automation.net\";\n community <removed> {\n authorization read-only;\n }\n}\n", | ||
"candidate": "\nversion 18.1;\nsystem {\n host-name some-switch;\n domain-name example.com;\n time-zone UTC;\n authentication-order [ password radius ];\n root-authentication {\n encrypted-password <removed>;\n }\n radius-server {\n 10.0.0.1 {\n secret <removed>;\n timeout 3;\n retry 1;\n }\n }\n login {\n user test-user {\n uid 1717;\n class admin;\n authentication {\n encrypted-password <removed>;\n }\n }\n }\n }\n services {\n ssh {\n protocol-version v2;\n }\n netconf {\n ssh;\n }\n }\n ntp {\n server 10.17.0.1;\n }\n}\nsnmp {\n location napalm;\n contact \"contact@napalm-automation.net\";\n community <removed> {\n authorization read-only;\n }\n}\n" | ||
"running": "\nversion 18.1;\nsystem {\n host-name some-switch;\n domain-name example.com;\n time-zone UTC;\n authentication-order [ password radius ];\n root-authentication {\n encrypted-password <removed>;\n }\n radius-server {\n 10.0.0.1 {\n secret <removed>;\n timeout 3;\n retry 1;\n }\n }\n login {\n user test-user {\n uid 1717;\n class admin;\n authentication {\n encrypted-password <removed>;\n }\n }\n }\n }\n services {\n ssh {\n protocol-version v2;\n }\n netconf {\n ssh;\n }\n }\n ntp {\n server 10.17.0.1;\n }\n}\nsnmp {\n location napalm;\n contact \"contact@napalm-automation.net\";\n community <removed>;\n community <removed> {\n authorization read-only;\n }\n}\n", | ||
"candidate": "\nversion 18.1;\nsystem {\n host-name some-switch;\n domain-name example.com;\n time-zone UTC;\n authentication-order [ password radius ];\n root-authentication {\n encrypted-password <removed>;\n }\n radius-server {\n 10.0.0.1 {\n secret <removed>;\n timeout 3;\n retry 1;\n }\n }\n login {\n user test-user {\n uid 1717;\n class admin;\n authentication {\n encrypted-password <removed>;\n }\n }\n }\n }\n services {\n ssh {\n protocol-version v2;\n }\n netconf {\n ssh;\n }\n }\n ntp {\n server 10.17.0.1;\n }\n}\nsnmp {\n location napalm;\n contact \"contact@napalm-automation.net\";\n community <removed>;\n community <removed> {\n authorization read-only;\n }\n}\n" | ||
} |
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