- Mastering Python Networking
- Eric Chou
- 378字
- 2021-07-02 21:42:38
Infrastructure as the Python code
In a perfect world, network engineers and people who design and manage networks should focus on what they want the network to achieve instead of the device-level interactions. In my first job as an intern for a local ISP, wide-eyed and excited, I received my first assignment to install a router on a customer's site to turn up their fractional frame relay link (remember those?). How would I do that? I asked. I was handed a standard operating procedure for turning up frame relay links. I went to the customer site, blindly typed in the commands and looked at the green lights flash, and then I happily packed my bag and patted myself on the back for a job well done. As exciting as that first assignment was, I did not fully understand what I was doing. I was simply following instructions without thinking about the implication of the commands I was typing in. How would I troubleshoot something if the light was red instead of green? I think I would have called back to the office.
Of course, network engineering is not about typing in commands onto a device, but it is about building a way that allows services to be delivered from one point to another with as little friction as possible. The commands we have to use and the output that we have to interpret are merely a means to an end. I would like to hereby argue that we should focus as much on the intent of the network as possible for an intent-driven networking and abstract ourselves from the device-level interaction on an as-needed basis.
In using an API, it is my opinion that it gets us closer to a state of intent-driven networking. In short, because we abstract the layer of a specific command executed on destination device, we focus on our intent instead of the specific command given to the device. For example, if our intend is to deny an IP from entering our network, we might use access-list and access-group on a Cisco and filter-list on a Juniper. However, in using API, our program can start asking the executor for their intent while masking what kind of physical device it is they are talking to.
- Scala Design Patterns
- Java加密與解密的藝術(shù)(第2版)
- INSTANT CakePHP Starter
- Linux環(huán)境編程:從應(yīng)用到內(nèi)核
- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- Mastering Data Mining with Python:Find patterns hidden in your data
- HTML5 APP開發(fā)從入門到精通(微課精編版)
- HTML5從入門到精通(第4版)
- Python語言實(shí)用教程
- Domain-Driven Design in PHP
- C語言程序設(shè)計(jì)實(shí)訓(xùn)教程與水平考試指導(dǎo)
- 深度實(shí)踐KVM:核心技術(shù)、管理運(yùn)維、性能優(yōu)化與項(xiàng)目實(shí)施
- Java核心編程
- Head First Kotlin程序設(shè)計(jì)
- JBoss AS 7 Development