#!/bin/bash
read -d "" PKTS << EOF
libssh-dev
sysrepo
libnetconf2-1
libyang-dev
EOF
sudo apt install $PKTS
read -d "" PPKTS << EOF
pyang
ncclient
EOF
pip install $PPKTS
git clone https://github.com/YangModels/yang.git
搭建快速的测试接口的环境一个脚本就可以
#!/bin/bash
read -d "" PKTS << EOF
libssh-dev
sysrepo
libnetconf2-1
libyang-dev
EOF
sudo apt install $PKTS
read -d "" PPKTS << EOF
pyang
ncclient
EOF
pip install $PPKTS
git clone https://github.com/YangModels/yang.git
搭建快速的测试接口的环境一个脚本就可以