官术网_书友最值得收藏!

Using Python to Manage Network Devices

Now we have a fair knowledge about how to use and install Python in different operating systems and also how to build the network topology using the EVE-NG. In this chapter, we will discover how to leverage many network automation libraries, used today to automate various network tasks. Python can interact with network devices on many layers.

First, it can handle low-level layers with socket programming and socket modules, which serve as low-level networking interfaces between operating systems that run Python and the network device. Also, Python modules provide higher-level interaction through telnet, SSH, and API. In this chapter, we will pe deep into how to use Python to establish remote connections and execute commands on remote devices using telnet and SSH modules.

The following topics will be covered:

  • Using Python to telnet to devices
  • Python and SSH
  • Handling IP addresses and networks with netaddr
  • Network automation sample use cases
主站蜘蛛池模板: 万载县| 唐河县| 长寿区| 比如县| 九龙坡区| 彰武县| 安康市| 磐安县| 营山县| 彭阳县| 南涧| 吉水县| 荔波县| 肥西县| 松潘县| 东明县| 揭东县| 日照市| 成武县| 宝清县| 新巴尔虎左旗| 那坡县| 定安县| 荔浦县| 鹤岗市| 专栏| 志丹县| 宜宾市| 杂多县| 皋兰县| 吉安市| 图木舒克市| 右玉县| 威远县| 高邮市| 固原市| 平遥县| 桃源县| 四子王旗| 都匀市| 江阴市|