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

Remove DNS configuration from minigraph schema #15727

Merged
merged 5 commits into from
Jul 10, 2023

Conversation

ganglyu
Copy link
Contributor

@ganglyu ganglyu commented Jul 6, 2023

Why I did it

We should not modify minigraph schema.

Work item tracking
  • Microsoft ADO (number only): 24408420

How I did it

Update minigraph.py and remove unit test.

How to verify it

Run sonic-config-engine unit test.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

@ganglyu ganglyu requested a review from qiluo-msft July 6, 2023 08:01
@qiluo-msft
Copy link
Collaborator

qiluo-msft commented Jul 6, 2023

return syslog_servers, dhcp_servers, dhcpv6_servers, ntp_servers, dns_nameservers, tacacs_servers, mgmt_routes, erspan_dst, deployment_id, region, cloudtype, resource_type, downstream_subrole, switch_id, switch_type, max_cores, kube_data, macsec_profile, downstream_redundancy_types, redundancy_type, qos_profile, rack_mgmt_map

Will you remove this also?


In reply to: 1624162152


Refers to: src/sonic-config-engine/minigraph.py:1065 in 0a7993b. [](commit_id = 0a7993b, deletion_comment = False)

@qiluo-msft
Copy link
Collaborator

return syslog_servers, dhcp_servers, dhcpv6_servers, ntp_servers, dns_nameservers, tacacs_servers, mgmt_routes, erspan_dst, deployment_id, region, cloudtype, resource_type, downstream_subrole, switch_id, switch_type, max_cores, kube_data, macsec_profile, downstream_redundancy_types, redundancy_type, qos_profile, rack_mgmt_map

Many other occurrences in this file.


In reply to: 1624162152


Refers to: src/sonic-config-engine/minigraph.py:1065 in 0a7993b. [](commit_id = 0a7993b, deletion_comment = False)

@ganglyu ganglyu changed the title Revert minigraph update Remove DNS configuration from minigraph schema Jul 7, 2023
@qiluo-msft qiluo-msft merged commit cb3ee65 into sonic-net:master Jul 10, 2023
@StormLiangMS
Copy link
Contributor

@ganglyu could you add ADO in the description?

@ganglyu
Copy link
Contributor Author

ganglyu commented Jul 18, 2023

@ganglyu could you add ADO in the description?

updated

dgsudharsan pushed a commit to dgsudharsan/sonic-buildimage that referenced this pull request Jul 21, 2023
#### Why I did it
We should not modify minigraph schema.

#### How I did it
Update minigraph.py and remove unit test.

#### How to verify it
Run sonic-config-engine unit test.
@mssonicbld
Copy link
Collaborator

@ganglyu PR conflicts with 202305 branch

sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
#### Why I did it
We should not modify minigraph schema.

#### How I did it
Update minigraph.py and remove unit test.

#### How to verify it
Run sonic-config-engine unit test.
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.

4 participants