阿鲁巴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。在
- 交换机上必须有一个属于“administrators group”并设置了密码的用户。这个用户 然后允许访问restapi。在下面的示例中,替换用户名“admin”和密码 “mypassword”分别带有您自己的用户名和密码。在
8320(config)# user admin group administrators password plaintext mypassword
- 将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文件
- 项目
标签: