add `strip_prefix` parameter for `get`

Open
#17 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
ansible
Domain
devops

Research direction

Start by locating the get module and review the recursive-prefix-removal example linked in the issue. Define how the strip_prefix parameter affects returned paths, then verify that get still returns the expected data and cover the behavior with the module's existing tests if available.

Written by the indexing model from the issue text.

Description

enhancement hackathon

Get module can benefit from the option like strip_prefix that will remove yang prefixes from paths returned.

This can be achieved as a post processing step in the get module with something like https://replit.com/@RomanDodin/recursive-prefix-removal#main.py

Dominant language
Jinja
Stars
12
Forks
4
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nokia/srlinux-ansible-integration

All issues in nokia/srlinux-ansible-integration

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.