摘要
RESTCONF API提供了一种通过HTTP协议访问网络设备的方法。以VMWare作为虚拟机管理平台,在上面部署DEVASC、CSR1kv等虚拟机资源,通过Postman工具构造HTTP请求数据包,实现虚拟机资源RESTCONF API的调用与访问。使用不同的HTTP请求方法构造多个测试样例进行测试,测试结果表明,通过RESTCONF API访问虚拟化资源是可行的,可以在支持RESTCONF协议的SDN网络设备中进行编程访问,从而实现网络资源的自动化部署和管理。
The RESTCONF API provides a way to access network devices through the HTTP protocol.Use VMWare as the vir⁃tual machine management platform,deploy virtual machine resources such as DEVASC and CSR1kv on it,construct HTTP request packets through the Postman tool,and implement the call and access of virtual machine resources RESTCONF API.Use different HTTP request methods to construct multiple test samples for testing.The test results show that it is feasible to access virtualized re⁃sources through RESTCONF API.Programmatic access can be performed on SDN network devices that support the RESTCONF protocol,thereby realizing automated deployment of network resources and management.
作者
李春平
Li Chunping(Faculty of Megadata and Computing,Guangdong Baiyun University,Guangzhou 510000)
出处
《现代计算机》
2022年第10期97-101,共5页
Modern Computer