Open PatrickLePecheur opened 5 years ago
Is there a way to configure an IPsec tunnel via yang? Which yang models did you use to achieve this goal?
You would need the crypto and probably the tunnel yang models. (Assuming that your talking about Cisco devices)
https://github.com/YangModels/yang/blob/master/vendor/cisco/xe/16121/Cisco-IOS-XE-crypto-oper.yang https://github.com/YangModels/yang/blob/master/vendor/cisco/xe/16121/Cisco-IOS-XE-tunnel.yang
But you can always download the capabilities from the device (if netconf-yang is enabled) with yang-explorer.
PS: You should consider developing a feature for configuring more than 1 equipment at the same time.
If you save/export the RPC, you can run the RPC in Python ncclient https://github.com/ncclient/ncclient
Hello there,
Is there a way to configure an IPsec tunnel via yang? Which yang models did you use to achieve this goal?
I can't find any correct model ...
PS: You should consider developing a feature for configuring more than 1 equipment at the same time.