Skip to content

[rc.local]: Copy saved minigraph if available.#533

Merged
oleksandrivantsiv merged 2 commits intosonic-net:masterfrom
marian-pritsak:minigraph
Apr 26, 2017
Merged

[rc.local]: Copy saved minigraph if available.#533
oleksandrivantsiv merged 2 commits intosonic-net:masterfrom
marian-pritsak:minigraph

Conversation

@marian-pritsak
Copy link
Copy Markdown
Collaborator

In case of sonic-to-sonic update old image stores minigraph under /host
directory. Upon first boot this minigraph will be used by new image to
save configuration.

Signed-off-by: marian-pritsak marianp@mellanox.com

In case of sonic-to-sonic update old image stores minigraph under /host
directory. Upon first boot this minigraph will be used by new image to
save configuration.

Signed-off-by: marian-pritsak <marianp@mellanox.com>

cp /usr/share/sonic/device/$platform/minigraph.xml /etc/sonic/
if [ -f /host/minigraph.xml ]; then
mv /host/minigraph.xml /etc/sonic/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If it will be better to add some comments here. In the future we could remove this logic when old image with /host/minigraph.xml is deprecated.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done

@oleksandrivantsiv oleksandrivantsiv merged commit d597418 into sonic-net:master Apr 26, 2017
lguohan pushed a commit that referenced this pull request Jul 17, 2019
* ee56d54 2019-07-16 | [fast-reboot] Stop services after killing containers to prevent automatic restart (#572) (HEAD -> master, origin/master, origin/HEAD) [Joe LeVeque]
* c718cab 2019-07-17 | [acl_loader]: Fix show mirror_session error (#580) [JaredLius]
* 2764c6c 2019-07-16 | [Mellanox] Improve the prompt of the Mellanox sdk sniffer command. (#546) [Stephen Sun]
* 5a5b74d 2019-07-10 | Generate interface table to have an entry for default VRF (#525) [Prince Sunny]
* c30e9ff 2019-07-10 | [show] Don't abort in InterfaceAliasConverter ctor if PORT table doesn't exist (#571) [Joe LeVeque]
* 1aac696 2019-07-10 | [fast reboot] stop removing opennsl module before reboot (#560) [Ying Xie]
* 37823d4 2019-07-09 | Modified CLI doc for 201904 release, changed the config interface command, etc., (#561) [kannankvs]
* 77ae6b8 2019-07-03 | [PR template] Add reminder to update Command Line Reference Guide if modifying user-facing commands (#569) [Joe LeVeque]
* dc52015 2019-06-25 | [Sonic-utilities]: Added commands to view acl and port running configs (#557) [Prem Prakash]
* c7f45c3 2019-06-19 | [warm-reboot] Use retryCount option of orchagent_restart_check program (#555) [Jipan Yang]
* c6a08f7 2019-06-17 | [scripts]: add support to db_migrator for non-default unix socket (#551) [Lawrence Lee]
* 98e087f 2019-06-06 | [show]: Edit comment (#549) [Vasant Patil]
* 5667a90 2019-06-06 | [intfutil] Fix error when <interface name> specified in show interface related commands (#548) [Gord Chen]
* b7fcb1f 2019-06-04 | Add buffer pool watermark support in watermarkstat and counterpoll (#521) [Wenda Ni]
* 635dc88 2019-06-03 | [config]: Add config acl add/remove table command (#541) [Shuotian Cheng]
* dcdc922 2019-06-03 | [show]: Add show policer command (#540) [Shuotian Cheng]
* 82ef3ec 2019-06-01 | IP Address validation check (#530) [Tapash Das]
* 1f326ad 2019-05-31 | [show] Remove ability to clear counters from 'show' commands (#518) [Joe LeVeque]
* 669d36d 2019-06-01 | Add SONIC CLI Manual (#533) [kannankvs]
* 7657001 2019-06-01 | 'show vlan config' not displaying the VLAN members, after the clear config and reload with default l2 configuration. (#457) [RAMA CHANDRA REDDY GADDAM]
* 9493883 2019-05-28 | use vlan members (#542) [trzhang-msft]
* 128462a 2019-05-22 | [config]: Add --policer option for mirror session (#537) [Shuotian Cheng]
* 38da7f3 2019-05-22 | [acl_loader]: Add policer attribute in show mirror_session command (#538) [Shuotian Cheng]
* f95ff00 2019-05-22 | [acl_loader]: Do not apply default DENY rule for MIRRORV6 table (#522) [Shuotian Cheng]
* 50b7256 2019-05-21 | [sonic_installer] If asked to install an image which is already installed, simply set as default (#534) [Joe LeVeque]
* d823062 2019-05-20 | [201811] enable DB migrator code (#536) [Ying Xie]
* 7f7f384 2019-05-10 | update scheme variable name (#531) [trzhang-msft]
* c66315a 2019-05-10 | Config interface Loopback0 ip add/del is not working (#443) [Kiran Kumar Kella]
* 430d4b8 2019-05-10 | decode-syseeprom : added new option to show the Product Name. (#496) [Olivier Singla]
Kalimuthu-Velappan pushed a commit to Kalimuthu-Velappan/sonic-buildimage that referenced this pull request Sep 12, 2019
daall added a commit to daall/sonic-buildimage that referenced this pull request Nov 22, 2019
- [syncd] Fix off-by-one error for attribute enum values query (sonic-net#536)
- Add support for remove hostif when using tap device (sonic-net#533)

Signed-off-by: Danny Allen <daall@microsoft.com>
daall added a commit that referenced this pull request Nov 22, 2019
- [syncd] Fix off-by-one error for attribute enum values query (#536)
- Add support for remove hostif when using tap device (#533)

Signed-off-by: Danny Allen <daall@microsoft.com>
zhenggen-xu pushed a commit to zhenggen-xu/sonic-buildimage that referenced this pull request Jan 10, 2020
- [syncd] Fix off-by-one error for attribute enum values query (sonic-net#536)
- Add support for remove hostif when using tap device (sonic-net#533)

Signed-off-by: Danny Allen <daall@microsoft.com>
madhanmellanox pushed a commit to madhanmellanox/sonic-buildimage that referenced this pull request Mar 23, 2020
dmytroxshevchuk pushed a commit to dmytroxshevchuk/sonic-buildimage that referenced this pull request Aug 31, 2020
@prsunny prsunny mentioned this pull request Nov 5, 2021
5 tasks
lguohan pushed a commit that referenced this pull request Nov 5, 2021
d23cf88 - 2021-10-28 : [schema] Add ACL_COUNTER_ATTR_ID_LIST (#533) [Stepan Blyshchak]
53b84c7 - 2021-10-26 : Add default route table name to State DB (#543) [Prince Sunny]
mssonicbld added a commit that referenced this pull request Oct 2, 2024
…D automatically (#20402)

#### Why I did it
src/sonic-platform-daemons
```
* 9598f6b - (HEAD -> 202405, origin/202405) Improve parsing of media-settings.json for non-CMIS and breakout ports (#533) (19 hours ago) [longhuan-cisco]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Oct 2, 2024
…D automatically (#20403)

#### Why I did it
src/sonic-platform-daemons
```
* 604e454 - (HEAD -> master, origin/master, origin/HEAD) Improve parsing of media-settings.json for non-CMIS and breakout ports (#533) (22 hours ago) [longhuan-cisco]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request Oct 4, 2024
…D automatically (#20416)

#### Why I did it
src/sonic-platform-daemons
```
* 10ef649 - (HEAD -> 202311, origin/202311) Improve parsing of media-settings.json for non-CMIS and breakout ports (#533) (#545) (9 hours ago) [longhuan-cisco]
```
#### How I did it
#### How to verify it
#### Description for the changelog
stepanblyschak pushed a commit to stepanblyschak/sonic-buildimage that referenced this pull request Jan 27, 2025
…1156

[action] [PR:21156] Add SRv6 support in Bgpcfgd
mssonicbld added a commit that referenced this pull request Jan 30, 2025
… automatically (#21570)

#### Why I did it
src/sonic-platform-common
```
* bead25d - (HEAD -> master, origin/master, origin/HEAD) Add 800G innolight PNs (#529) (34 hours ago) [Dylan Godwin]
* 2c0f9ed - [cmis] Optimize cmis.get_error_description speed for passive module (#526) (34 hours ago) [Junchao-Mellanox]
* e729c72 - support DSFP (#532) (35 hours ago) [Philo]
* fc91c36 - Override MaxDurationDPInit through software for values <= 1s (#533) (5 days ago) [mihirpat1]
```
#### How I did it
#### How to verify it
#### Description for the changelog
bobby-nexthop pushed a commit to bobby-nexthop/sonic-buildimage that referenced this pull request Aug 1, 2025
sonic-net#533)

* Enhance media_settings_parser for 100G xcvr and DPB etc

* Revert space change

* Cover corner cases

* Change log message level

* Fix docstring and update name of get_speed_lane_count_and_subport

* Address comment

* Change to re.fullmatch for lane_speed key
mssonicbld added a commit that referenced this pull request Nov 14, 2025
…lly (#24419)

#### Why I did it
src/sonic-gnmi
```
* 6052f33 - (HEAD -> master, origin/master, origin/HEAD) gNOI Debug Service Implementation (#524) (5 hours ago) [Matthew Soulsby]
* fdc89af - Implement V2R mapping for SRv6 SID counters (#533) (9 days ago) [Changrong Wu]
* a5ba442 - [gNOI]: sonic service client changes for OS Install RPC (#514) (9 days ago) [Kanchana]
* 59fe88e - [gNOI OS]: Refactor OS Install for architectural cleanup and dependency injection (#517) (10 days ago) [Kanchana]
```
#### How I did it
#### How to verify it
#### Description for the changelog
noaOrMlnx pushed a commit to noaOrMlnx/sonic-buildimage that referenced this pull request Nov 24, 2025
…tomatically (sonic-net#1793)

#### Why I did it
src/sonic-gnmi
```
* 1f064f3 - (HEAD -> 202412, origin/202412) Cherry-pick sonic-gnmi PR sonic-net#533 (sonic-net#143) (21 hours ago) [Changrong Wu]
```
#### How I did it
#### How to verify it
#### Description for the changelog
ashutosh-agrawal pushed a commit to AnantKishorSharma/sonic-buildimage that referenced this pull request Nov 30, 2025
…lly (sonic-net#24419)

#### Why I did it
src/sonic-gnmi
```
* 6052f33 - (HEAD -> master, origin/master, origin/HEAD) gNOI Debug Service Implementation (sonic-net#524) (5 hours ago) [Matthew Soulsby]
* fdc89af - Implement V2R mapping for SRv6 SID counters (sonic-net#533) (9 days ago) [Changrong Wu]
* a5ba442 - [gNOI]: sonic service client changes for OS Install RPC (sonic-net#514) (9 days ago) [Kanchana]
* 59fe88e - [gNOI OS]: Refactor OS Install for architectural cleanup and dependency injection (sonic-net#517) (10 days ago) [Kanchana]
```
#### How I did it
#### How to verify it
#### Description for the changelog
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Dec 4, 2025
…lly (sonic-net#24419)

#### Why I did it
src/sonic-gnmi
```
* 6052f33 - (HEAD -> master, origin/master, origin/HEAD) gNOI Debug Service Implementation (sonic-net#524) (5 hours ago) [Matthew Soulsby]
* fdc89af - Implement V2R mapping for SRv6 SID counters (sonic-net#533) (9 days ago) [Changrong Wu]
* a5ba442 - [gNOI]: sonic service client changes for OS Install RPC (sonic-net#514) (9 days ago) [Kanchana]
* 59fe88e - [gNOI OS]: Refactor OS Install for architectural cleanup and dependency injection (sonic-net#517) (10 days ago) [Kanchana]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Feng Pan <fenpan@microsoft.com>
xwjiang-ms pushed a commit to xwjiang-ms/sonic-buildimage that referenced this pull request Dec 22, 2025
…lly (sonic-net#24419)

#### Why I did it
src/sonic-gnmi
```
* 6052f33 - (HEAD -> master, origin/master, origin/HEAD) gNOI Debug Service Implementation (sonic-net#524) (5 hours ago) [Matthew Soulsby]
* fdc89af - Implement V2R mapping for SRv6 SID counters (sonic-net#533) (9 days ago) [Changrong Wu]
* a5ba442 - [gNOI]: sonic service client changes for OS Install RPC (sonic-net#514) (9 days ago) [Kanchana]
* 59fe88e - [gNOI OS]: Refactor OS Install for architectural cleanup and dependency injection (sonic-net#517) (10 days ago) [Kanchana]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: xiaweijiang <xiaweijiang@microsoft.com>
mssonicbld added a commit that referenced this pull request Feb 12, 2026
…tomatically (#25433)

#### Why I did it
src/sonic-linux-kernel
```
* 0221e68 - (HEAD -> master, origin/master, origin/HEAD) Merge pull request #536 from rustiqly/add-copilot-instructions (4 hours ago) [Lihua Yuan]
|\ 
| failure_prs.log skip_prs.log 8ff4643 - Add .github/copilot-instructions.md for AI-assisted development (21 hours ago) [Rustiqly]
|/ 
* eee20c4 - Integrate HW-MGMT 7.0050.3001 Changes (#533) (2 days ago) [Volodymyr Samotiy]
```
#### How I did it
#### How to verify it
#### Description for the changelog
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Mar 6, 2026
…tomatically (sonic-net#25433)

#### Why I did it
src/sonic-linux-kernel
```
* 0221e68 - (HEAD -> master, origin/master, origin/HEAD) Merge pull request sonic-net#536 from rustiqly/add-copilot-instructions (4 hours ago) [Lihua Yuan]
|\
| failure_prs.log skip_prs.log 8ff4643 - Add .github/copilot-instructions.md for AI-assisted development (21 hours ago) [Rustiqly]
|/
* eee20c4 - Integrate HW-MGMT 7.0050.3001 Changes (sonic-net#533) (2 days ago) [Volodymyr Samotiy]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Feng Pan <fenpan@microsoft.com>
dprital pushed a commit that referenced this pull request Mar 19, 2026
…tomatically (#25433)

#### Why I did it
src/sonic-linux-kernel
```
* 0221e68 - (HEAD -> master, origin/master, origin/HEAD) Merge pull request #536 from rustiqly/add-copilot-instructions (4 hours ago) [Lihua Yuan]
|\
| failure_prs.log skip_prs.log 8ff4643 - Add .github/copilot-instructions.md for AI-assisted development (21 hours ago) [Rustiqly]
|/
* eee20c4 - Integrate HW-MGMT 7.0050.3001 Changes (#533) (2 days ago) [Volodymyr Samotiy]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: dprital <drorp@nvidia.com>
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.

4 participants