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

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.

主站蜘蛛池模板: 斗六市| 钦州市| 恩平市| 台北市| 乐都县| 鞍山市| 尚义县| 河西区| 桑日县| 凯里市| 东莞市| 遂平县| 郧西县| 南靖县| 乾安县| 迭部县| 安顺市| 永新县| 荃湾区| 当阳市| 若羌县| 孟村| 莒南县| 思茅市| 湖北省| 通山县| 麻阳| 法库县| 商城县| 教育| 鹿邑县| 韶关市| 西吉县| 吴桥县| 灵石县| 大新县| 华亭县| 博乐市| 绥阳县| 攀枝花市| 河东区|