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

napalm-automation / napalm-yang / 487 / 1

Build:
DEFAULT BRANCH: develop
Ran 04 Mar 2018 01:38PM UTC
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

04 Mar 2018 01:33PM UTC coverage: 84.045% (-0.2%) from 84.236%
487.1

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

1043 of 1241 relevant lines covered (84.05%)

0.84 hits per line

Source Files on job 487.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 487.1
  • 6412cfa0 on github
  • Prev Job for on develop (#486.1)
  • Next Job for on develop (#503.2)
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