Skip to content

[config] Adapt to config DB#85

Merged
taoyl-ms merged 2 commits intosonic-net:masterfrom
taoyl-ms:taoyl/cfgdb
Jul 21, 2017
Merged

[config] Adapt to config DB#85
taoyl-ms merged 2 commits intosonic-net:masterfrom
taoyl-ms:taoyl/cfgdb

Conversation

@taoyl-ms
Copy link
Contributor

For BGP admin status, CLI will now only write config into DB, and config daemon in bgp docker will do actual config job.

@taoyl-ms taoyl-ms requested review from jleveque and lguohan July 18, 2017 22:27
@msftclas
Copy link

@taoyl-ms,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

config/main.py Outdated
def _get_bgp_asn_from_minigraph():
# Get BGP ASN from minigraph
proc = subprocess.Popen([SONIC_CFGGEN_PATH, '-m', MINIGRAPH_PATH, '--var-json', MINIGRAPH_BGP_ASN_KEY],
# Returns BGP neighbor dict from minigraph
Copy link
Contributor

Choose a reason for hiding this comment

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

better to move the comments as python doc.

@lguohan
Copy link
Contributor

lguohan commented Jul 19, 2017

:shipit:

@taoyl-ms taoyl-ms merged commit 5131e7f into sonic-net:master Jul 21, 2017
@taoyl-ms taoyl-ms deleted the taoyl/cfgdb branch July 21, 2017 00:42
@taoyl-ms taoyl-ms restored the taoyl/cfgdb branch July 21, 2017 00:42
vdahiya12 pushed a commit to vdahiya12/sonic-utilities that referenced this pull request Jul 23, 2021
As part of the migration from Python 2 to Python 3, this PR ensures that all Python files in sonic-platform-daemons are Python 3-compliant, and work with both Python 2 and Python 3.

Once this is merged, we can begin building Python 3-based versions of the sonic-platform-daemons packages.
stepanblyschak referenced this pull request in stepanblyschak/sonic-utilities Apr 28, 2022
[eeprom] Add try-except to catch the IOError (#85)
[sfputilbase.py] Don't try to print EEPROM sysfs file name if we failed
 to read from it (#81)
stepanblyschak referenced this pull request in stepanblyschak/sonic-utilities Apr 28, 2022
e466ac226c48cf87f83aa5564efd7155ac97a0c1 (HEAD -> master, origin/master, origin/HEAD) Reject incorrect CIDR addresses while configuring routes (#91)
07cf59d866914ef7cb6901d51f289f0bee721e44 [CI] Set up Azure pipeline (#89)
47476acdfaf668ab0cd9ae2443205a3bdc2e9ef9 Upgrade Go version to 1.14 (#90)
ee887c785c10d8b4f70db90ca50cc398327c5d73 Added flag to make go/pkg/ folder writable (removable) (#87)
6cfc8fe110c46a1ee5a8430e02a440b5a7b4006d (origin/shilongliu/azp) Default Vrf static route support (#85)
d3e8b8e4aee278fa11d7d86acabdab3fffc70d5a Add BFD config to subinterface and neighbor (#68)
8d4fd4a56b637d3b7403c321aef36b8dff58cd62 Fix WS-2018-0594 potential non-random UUIDs security issue (#78)
fad87fa20f6b15e28c90e02a131c44d236d6a751 Update API description for default vrf and ecmp routes (#82)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
mihirpat1 pushed a commit to mihirpat1/sonic-utilities that referenced this pull request Sep 15, 2023
Handling the IOError produced during interacting with the eeprom
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.

5 participants