阿鲁巴AOSCX交换机的凝固汽油弹驱动程序

napalm-aruba-cx的Python项目详细描述


凝固汽油弹阿鲁巴cx

AOS-CX交换机的NAPALM驱动程序实现。在

支持的设备

所有AOS-CX设备都受支持,但是AOS-CX交换机固件应为10.05或更高版本(某些模块) 可能没有在旧版本中正确测试。在

当前支持功能

* get_arp_table - Get the ARP table from a device.
* get_config - Get configuration from the device.
* get_facts - Get the version, serial number, vendor, model, and uptime from a device.
* get_interfaces - Get list of interfaces from a device.
* get_interfaces_ip - Get list of interface IP addresses from a device.
* get_lldp_neighbors - Get the list of LLDP Neighbors from a device.
* get_lldp_neighbors_detail - Get LLDP Neighbor details from a device.
* get_mac_address_table - Get the MAC Address table from a device.
* get_ntp_servers - Gets NTP information from a network device.
* get_route_to - Shows an IP route on a device.
* get_snmp_information - Get the SNMP information of a device.
* is_alive - Check to see if the connection to the device is up.
* ping - Execute a ping command from the device.

Early versions of this driver will focus on the Get functions.  Configuration handling is in current development.

入门

有关帮助入门的更多信息和指南,请查看Aruba Developer Hub section for NAPALM。在

先决条件

需要以下软件:

  • Python3
  • 皮普
  • requirements.txt中指定的Python模块
    • Pyoscx公司
    • 请求
    • urllib3公司

安装

要安装,只需运行:

^{pr2}$

交换机配置

AOS-CX驱动程序在交换机上使用restapi。 根据交换机型号,此功能可能已启用。如果没有,请使用下面的CLI命令启用REST on 指定的VRF。在

  1. 交换机上必须有一个属于“administrators group”并设置了密码的用户。这个用户 然后允许访问restapi。在下面的示例中,替换用户名“admin”和密码 “mypassword”分别带有您自己的用户名和密码。在
8320(config)# user admin group administrators password plaintext mypassword
  1. 将HTTPS服务器的访问模式设置为“读写”,并在VRF上启用HTTPS服务器,通过 发出凝固汽油弹呼叫的客户可以到达交换机。在下面的示例中,它指定了管理VRF和 默认VRF。在
8320(config)# https-server rest access-mode read-write
8320(config)# https-server vrf default
8320(config)# https-server vrf mgmt

贡献

请阅读CONTRIBUTING以了解我们提交问题和请求的过程的详细信息。在

许可证

此项目是在Apache许可下授权的-有关详细信息,请参阅LICENSE文件

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
JAXB可以将ArrayList作为逗号分隔的值输出吗?   java使用bcel将一个内部类移动到另一个外部类   java无法识别Lucene MoreLikeThis中的错误   安卓如何在Frida中将动态类转换为json或java文件   java如何使用Struts2在blob类型的列中保存我的sql中的图像?   使用mavenreleaseplugin将java maven发布到nexus 3.0.1失败   java这是正确的方法吗?   Windows上的java Runner不工作   找不到java Hibernate+Spring xml映射   java如何访问WMI查询的数据(通过JNA)SAFEARRAY结果   java如何在本地导入库而不使用Maven中的Nexus?   java渐变本地项目依赖项   使用URLFetchService/URL Google appengine for java