This repository has been archived by the owner on May 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
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 #82 from napalm-automation/develop
Release 0.0.7
- Loading branch information
Showing
181 changed files
with
232,156 additions
and
841 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 |
---|---|---|
|
@@ -65,3 +65,5 @@ test/unit/test_devices.py | |
tags | ||
|
||
report.json | ||
|
||
prof/ |
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,20 @@ | ||
0.0.2 | ||
+++++ | ||
|
||
- Translators now accept ``continue_negating`` option | ||
- YAML files can now include other files via the ``!include relative/path/to/file.yaml`` directive | ||
- ``TextParser``, ``list - block`` supports manual keys via the ``key`` argument | ||
- ``TextParser``, ``list - block`` now supports flat list of commands (i.e. BGP neighbors and static routes) via the ``flat`` argument | ||
- ``TextParser``, ``list - block`` now supports composite keys via the ``composite_key`` argument | ||
- ``TextParser``, ``list - block`` now supports creating elements manually via the ``mandatory`` argument | ||
|
||
- Move mandatory elements previously on the default action to a dedicated action | ||
- from is optional, by default it will always follow the parent | ||
- from is now a pointer, no need to keep serializing/deserializing | ||
- mode is optional. All parsers have a main "default" action now. | ||
- JSONParser added | ||
|
||
0.0.1 | ||
+++++ | ||
|
||
- Initial version |
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 |
---|---|---|
|
@@ -29,3 +29,4 @@ Documentation | |
yang/translators/TextTranslator | ||
yang/api | ||
yang/jinja_filters | ||
yang/faq |
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,24 @@ | ||
FAQ | ||
=== | ||
|
||
Some YAML files are insanely largely. Can I break them down into multiple files? | ||
________________________________________________________________________________ | ||
|
||
Yes, you can with the ``!include relative/path/to/file.yaml`` directive. For example:: | ||
|
||
# ./main.yaml | ||
my_key: | ||
blah: asdasdasd | ||
bleh: !include includes/bleh.yaml | ||
|
||
# ./includes/bleh.yaml | ||
qwe: 1 | ||
asd: 2 | ||
|
||
Will result in the final object:: | ||
|
||
my_key: | ||
blah: asdasdasd | ||
bleh: | ||
qwe: 1 | ||
asd: 2 |
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
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
Oops, something went wrong.