cl_napalm.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:napalm-base 作者: napalm-automation 项目源码 文件源码
def check_installed_packages():
    logger.debug("Gathering napalm packages")
    installed_packages = pip.get_installed_distributions()
    napalm_packages = sorted(["{}=={}".format(i.key, i.version)
                              for i in installed_packages if i.key.startswith("napalm")])
    for n in napalm_packages:
        logger.debug(n)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号