Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix iosxr netconf plugin response namespace (#49238) #49300

Merged
merged 1 commit into from
Dec 4, 2018

Conversation

ganeshrn
Copy link
Member

SUMMARY
  • Fix iosxr netconf plugin response namespace

  • iosxr netconf plugin removes namespace by default
    for all the responses as parsing of xml is easier without namespace in iosxr module. However, to validate the response received from device against yang model requires namespace to be present in the response.

  • Add a parameter in iosxr netconf plugin to control if the namespace
    should be removed from the response or not.

  • Fix CI issues

  • Fix review comment

Merged to devel #49238
(cherry picked from commit 829fc0f)

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

netconf/iosxr.py

ADDITIONAL INFORMATION

* Fix iosxr netconf plugin response namespace

*  iosxr netconf plugin removes namespace by default
   for all the responses as parsing of xml is easier
   without namepsace in iosxr module. However to validate
   the response received from device against yang model requires
   namespace to be present in resposne.
*  Add a parameter in iosxr netconf plugin to control if namespace
   should be removed from response or not.

* Fix CI issues

* Fix review comment

(cherry picked from commit 829fc0f)
@ansibot
Copy link
Contributor

ansibot commented Nov 29, 2018

Hi @ganeshrn, thank you for submitting this pull-request!

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Nov 29, 2018

@ansibot ansibot added affects_2.7 This issue/PR affects Ansible v2.7 backport This PR does not target the devel branch. bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. needs_triage Needs a first human triage before being processed. networking Network category support:community This issue/PR relates to code supported by the Ansible community. support:network This issue/PR relates to code supported by the Ansible Network Team. labels Nov 29, 2018
@abadger abadger merged commit 47e0d29 into ansible:stable-2.7 Dec 4, 2018
@abadger
Copy link
Contributor

abadger commented Dec 4, 2018

Merged for the 2.7.5 release.

@sivel sivel removed the needs_triage Needs a first human triage before being processed. label Dec 17, 2018
@dagwieers dagwieers added iosxr Cisco IOSXR community cisco Cisco technologies labels Feb 22, 2019
@ansible ansible locked and limited conversation to collaborators Jul 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.7 This issue/PR affects Ansible v2.7 backport This PR does not target the devel branch. bug This issue/PR relates to a bug. cisco Cisco technologies core_review In order to be merged, this PR must follow the core review workflow. iosxr Cisco IOSXR community networking Network category support:community This issue/PR relates to code supported by the Ansible community. support:network This issue/PR relates to code supported by the Ansible Network Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants