close
Skip to content

Fix issue with check_config and set prefix.#51

Merged
remingtonc merged 38 commits into
cisco-ie:masterfrom
miott:dev
May 1, 2020
Merged

Fix issue with check_config and set prefix.#51
remingtonc merged 38 commits into
cisco-ie:masterfrom
miott:dev

Conversation

@miott
Copy link
Copy Markdown
Collaborator

@miott miott commented Apr 28, 2020

Fixes #39

String check on name instead of config that may be json.

Passing in prefix to set() fails because in order to set a prefix you must "CopyFrom" not assign.

Added a logger for clients to be able to see the string representation of the gnmi messages in logs for debugging..

@miott
Copy link
Copy Markdown
Collaborator Author

miott commented Apr 28, 2020

BTW, can we decorate Client.parse_xpath_to_gnmi_path() with @classmethod? Handy utility.

@remingtonc remingtonc self-requested a review April 30, 2020 17:36
@remingtonc
Copy link
Copy Markdown
Contributor

Logger messages reinforcing #38 - we should have an easy way to dump all protos throughout construction.

@remingtonc remingtonc added bug Something isn't working ergonomics feature labels Apr 30, 2020
@remingtonc
Copy link
Copy Markdown
Contributor

Added logging to everything. Good idea.

Copy link
Copy Markdown
Contributor

@remingtonc remingtonc left a comment

Choose a reason for hiding this comment

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

Thank you!

@remingtonc remingtonc merged commit 9b09824 into cisco-ie:master May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ergonomics feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The check_configs function only works with one update config.

2 participants