I have a question. Please help me!¶
Please join the YDK community to get answers to any YDK-related questions you may have.
How do I report a bug I found?¶
I am interested in contributing. How do I do this?¶
Can you help me change something in a model bundle API?¶
The YDK model bundle APIs are autogenerated from predefined sets of yang models. Please contact the owners of the respective yang models to request any changes.
What version of YDK core can be used with YDK bundles?¶
Currently, we do not have a central location where the compatibility information between the YDK core and the bundle APIs (for example, openconfig) is maintained. In principle, going forward, we plan to maintain backward compatibility between the releases of the core and bundles.
The release notes contains some information about which bundles were changed in which release of YDK.
Also, the pypi page provides some information about this under the “Requires Distributions” section. For example, see:
Also, we use the ydk-gen tool to generate the bundles. This tool is available for anyone to use in order to generate the bundle version in combination with ydk core version of their choice. For example, the below steps will generate & install the
cisco-ios-xr 6.3.1 bundle compatible with
ydk core 0.6.2 (assuming you have already installed the system dependencies):
- Install libydk (taking CentOS as example. For other OS, please see here)
sudo yum install https://devhub.cisco.com/artifactory/rpm-ydk/0.6.2/libydk-0.6.2-1.x86_64.rpm
- Generate & install ydk-py core
1 2 3 4
git clone https://github.com/CiscoDevNet/ydk-gen.git -b 0.6.2 cd ydk-gen && pip install -r requirements.txt ./generate --core --python pip install gen-api/python/ydk/dist/ydk*.tar.gz
- Generate & install bundle
./generate --bundle profiles/bundles/cisco-ios-xr_6_3_1.json --python -v pip install gen-api/python/cisco_ios_xr-bundle/dist/ydk*.tar.gz