Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 549 Bytes

File metadata and controls

30 lines (19 loc) · 549 Bytes

mdcli-lib

Overview

Some library interfaces about huawei mdcli operations for Python Developers.

Prerequisites

  • Python: 3.7+
  • Module: netmiko ( by pip install netmiko)

Examples

More examples in dir examples.

How to use

You only need two files config.py and mdcli_lib.py.

Get Started

from mdcli_lib import MdcliLib

mdcli = MdcliLib()

# Show command that we execute
command = "system-view"
command2 = "tree ifm/interfaces/interface"
output = mdcli.display([command, command2])