• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

napalm-automation / napalm-yang / 487

Build:
DEFAULT BRANCH: develop
Ran 04 Mar 2018 01:38PM UTC
Jobs 1
Files 24
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
487

push

travis-ci

dbarrosop
Username Management for EOS with oc-system model (#119)

* Start parsing system oc model for eos

* usernames, and only usernames being parsed

* Finished username parsing for eos

* Finish up user parsing for EOS

- Added in translator for the users
- Added tests for parser/translator
- Added in the dummy template for the whole oc-system model

* first pass at priv:role

* Working version priv:role

Store the privilege and role in the oc-system role leaf and break out in
translator

* Try pulling default config settings into extra_vars

Added a rule directive that specifies a default config setting
that will then store that data in extra_vars so it can be used latter.

* Tweak how to save additional config to extra_vars

Changed the directive rules as per dbarrosop's comments, from
config_default and key to path and save.

Tweaked parsers.base.parse_container to allow for multiple extra_vars to
be returned.  If the mapping has multiple save directives, only the
first was being taken since the mapping loop breaked after the
extra_vars were returned.

Other minor changes
* Added parsing for eos root password
* default to ipdb when debugging if installed.  I need color in my life

* minor fixes

* introduce save_as

* Update tests and translator for user parsing

* Fixup merge issues and finish testing

Take all the changes from
https://github.com/napalm-automation/napalm-yang/pull/125

to get the extra data and remove my attempts.

Update the mapping files to use the save_as directive and finish writing
the profile tests.

fix auto merge issue, jsonp.py should only take code from extract_data branch

Add tests for the eos username parsing

remove src dir that was accidentally committed

specify ipdb.set_trace() correctly

* debugging set with helper function

* pep8 fixes to parsers/base.py

* Capture password hash type as well as hash

10 of 10 new or added lines in 1 file covered. (100.0%)

1043 of 1241 relevant lines covered (84.05%)

0.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
9
100.0
napalm_yang/parsers/base.py
Jobs
ID Job ID Ran Files Coverage
1 487.1 04 Mar 2018 01:38PM UTC 0
84.05
Travis Job 487.1
Source Files on build 487
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #487
  • 6412cfa0 on github
  • Prev Build on develop (#486)
  • Next Build on develop (#503)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc