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 for issues #35, #37, #38 #40

Merged
merged 1 commit into from
Dec 11, 2018
Merged

Fix for issues #35, #37, #38 #40

merged 1 commit into from
Dec 11, 2018

Conversation

vignesh-k
Copy link
Contributor

Issue #35 : For fields which are not predefined in %methods, use the input as it is without changing _ to -.
Issue #37 : Included quotes
Issue #38 : Commented out the print statement.

Additional change : Commented out 'Disconnecting' carp call.

Issue Juniper#35 : For fields which are not predefined in %methods, use the input as it is without changing _ to -.
Issue Juniper#37 : Included quotes
Issue Juniper#38 : Commented out the print statement.

Additional change : Commented out 'Disconnecting' carp call.
Copy link
Member

@ydnath ydnath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this change required? Where is tag or field changing in this code path?

@vignesh-k
Copy link
Contributor Author

I assume the question is for fix to Issue #35 at line 566.
The issue as explained is the conversion of underscore(_) to hyphen(-) for the input netconf query parameters.
The change here is to use the variable 'field' which is the actual parameter rather than the variable 'tag' which has underscores changed to hyphens at line 525. This change will be applicable only for fields not predefined in netconf libarary in %methods hash.

@ydnath ydnath merged commit 8f02d35 into Juniper:master Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants