阿鲁巴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第三方库


热门话题
找不到足够的连续内存会导致OOM吗?   java如何计算一个矩形可以放入另一个矩形的次数?   谷歌地图api java   java Autowired批注在AuthenticationSuccessHandler中返回null   Java电话号码格式正则表达式   eclipse我希望能够同时选择多个复选框?Java SWT   java j2objc可以用于生成不适用于iOS的目标C代码吗?   使用cUrl将PHP post数组转换为java servlet   java playpac4j和Play 2.5:@requireAuthentication注释导致stacktrace   java为什么在Javamail中连接超时?   java使用SwingUtilities。main方法中的invokeLater()   如何在名为from Unity的Java插件中创建Android处理程序