Closed atmoskr closed 3 years ago
That is a bug introduced by a commit 6 months ago. Will be fixed in next release of yangsuite-devices. As a workaround you should be able to edit the device profile file directly and put in the IPv6 address there.
The device profile files are stored in the data directory you setup at install time if you did a python install. Look for "data/devices/\<your device name>.devprofile" and change the "address" field in the base section. If you have a docker installation you will find the "/yangsuite/docker/ysdata/devices/" directory, added when you built the container.
Example:
{
"base": {
"profile_name": "csr57",
"description": "csr57",
"address": "2002::80", <---change here
"username": "admin",
"timeout": 30,
"variables": {
"interface": "2",
...<snip>...
Greate Miott. Thank you for this good information, and will try~~
Fixed in next release of yangsuite-devices.
@atmoskr We now have a pre-release of yangsuite-devices available that should fix all IPv6 issues. Give it a try if you wish. If your current install is working with your change to the device profile file no need to update.
Docker install
docker container exec -it <yangsuite container ID> bash
pip install --upgrade --pre yangsuite-devices
exit
Python install
source <your yangsuite venv>/bin/activate
pip install --upgrade --pre yangsuite-devices
One quick question, when I try to input ipv6 address for netconf server, it display ip is wrong. If it doesn't support, do you have any plan to support later?