mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-11-29 12:43:32 +00:00
[sonic-cfggen]: Move get_machine_info function to sonic_platform.py (#489)
* Move get_machine_info to lib * Add get platform info API * Create sonic_platform.py Signed-off-by: Sihui Han <sihan@microsoft.com>
This commit is contained in:
committed by
Shuotian Cheng
parent
4c81204eaf
commit
ec73735d21
@@ -15,7 +15,7 @@ setup(name='sonic-config-engine',
|
||||
author='Taoyu Li',
|
||||
author_email='taoyl@microsoft.com',
|
||||
url='https://github.com/Azure/sonic-buildimage',
|
||||
py_modules=['minigraph', 'openconfig_acl'],
|
||||
py_modules=['minigraph', 'openconfig_acl', 'sonic_platform'],
|
||||
scripts=['sonic-cfggen', 'translate_acl'],
|
||||
install_requires=['lxml', 'jinja2', 'netaddr', 'ipaddr', 'pyyaml', 'pyangbind'],
|
||||
test_suite='setup.get_test_suite',
|
||||
|
||||
Reference in New Issue
Block a user