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

[minigraph.py] Enable telemetry service by default #3611

Merged
merged 8 commits into from
Oct 25, 2019

Conversation

pra-moh
Copy link
Contributor

@pra-moh pra-moh commented Oct 15, 2019

- What I did
Enabling telemetry feature by default
- How I did it
on minigraph load adding new table in config db as 'features|telemetry' {'status':'on'}
- How to verify it
config load_minigraph
- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@jleveque jleveque changed the title enable telemetry by default [minigraph.py] Enable telemetry service by default Oct 15, 2019
src/sonic-config-engine/minigraph.py Outdated Show resolved Hide resolved
Copy link
Contributor

@jleveque jleveque left a comment

Choose a reason for hiding this comment

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

Please resolve new conflicts.

src/sonic-config-engine/minigraph.py Outdated Show resolved Hide resolved
@jleveque
Copy link
Contributor

Retest vs please

@jleveque
Copy link
Contributor

jleveque commented Oct 17, 2019

@nikos-github: Even when loading from minigraph? This section of code will only write this section to the config_db.json when loading from minigraph. Otherwise, if there are no "on"/"enabled" entries in config_db.json, the default behavior will be "disabled". Is this still an issue for you?

@nikos-github
Copy link
Collaborator

@jleveque Ok if this default enabling doesn't propagate to config_db.json, I have no issues.

@jleveque
Copy link
Contributor

@nikos-github: It will only propagate to config_db.json if you are loading your config from a minigraph file.

@nikos-github
Copy link
Collaborator

@jleveque Does the first install config of config_db.json load from minigraph?

@jleveque
Copy link
Contributor

@nikos-github: No. Initial config is in JSON format.

Copy link
Collaborator

@nikos-github nikos-github left a comment

Choose a reason for hiding this comment

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

Ok for me then.

@jleveque
Copy link
Contributor

@pra-moh: Please resolve new conflicts.

src/sonic-config-engine/minigraph.py Outdated Show resolved Hide resolved
@jleveque jleveque merged commit 040672c into sonic-net:master Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants