如何使用python从示例cfg文件创建yang文件?

时间:2018-10-09 04:26:16

标签: python

#input:-
log.use.syslog=no


#output:-
#need help on the python to convert the cfg to yang like below
  

模块演示{

     

yang-version 1;

     

命名空间       “ urn:ietf:params:xml:ns:yang:demo”;前缀dm enter code here;修订2018-09-28;容器设置{               config true;           叶log.use.syslog {             输入字符串;           }} //容器设置} //模块演示

0 个答案:

没有答案