GithubHelp home page GithubHelp logo

wenners / napalm-ce Goto Github PK

View Code? Open in Web Editor NEW

This project forked from napalm-automation-community/napalm-ce

0.0 0.0 0.0 53 KB

NAPALM driver for Huawei CloudEngine switch.

License: Apache License 2.0

Python 100.00%

napalm-ce's Introduction

PyPI

napalm-ce

This is a NAPALM community driver for the Huawei CloudEngine Switch.

Quick start

pip install napalm-ce
from napalm import get_network_driver

driver = get_network_driver("ce")
device = driver(hostname='192.168.1.1', username='admin', password="Huawei123", optional_args = {'port': 22})
device.open()
facts = device.get_facts()
device.close()

Check the full NAPALM Docs for more detailed instructions.

Implemented API

  • cli(commands)
  • close()
  • commit_config()
  • compare_config()
  • discard_config()
  • get_arp_table()
  • get_config(retrieve=u'all')
  • get_environment()
  • get_facts()
  • get_interfaces()
  • get_interfaces_counters()
  • get_interfaces_ip()
  • get_lldp_neighbors()
  • get_mac_address_table()
  • get_users()
  • is_alive()
  • load_merge_candidate(filename=None, config=None)
  • load_replace_candidate(filename=None, config=None)
  • open()
  • ping(destination, source=u'', ttl=255, timeout=2, size=100, count=5, vrf=u'')
  • rollback()

Setting up a Lab Environment

You can download Huawei eNSP simulator for free from Huawei website after make an account. You can learn how to install it by this tutorial.

napalm-ce's People

Contributors

thddaniel avatar wenners avatar geertkok1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.