
- #Cisco ios xe models install#
- #Cisco ios xe models upgrade#
- #Cisco ios xe models software#
- #Cisco ios xe models plus#
You need to configure CMAKE_LIBRARY_PATH environment variable to assure that cmake uses correct Python library: export CMAKE_LIBRARY_PATH=/opt/python/lib If installation directory is different from the system path, Here the /opt/python is your Python installation directory. configure -prefix=/opt/python -enable-shared
#Cisco ios xe models install#
If you choose to install Python from source (need specific version), please include -enable-shared flag in configureĬommand to include build of shared library: cd Python3.4.1 Please follow System Requirements to assure presence of shared Python libraries. As example: python2.7 - /usr/lib/x86_64-linux-gnu/libpython2.7.so It is also required for Python installation to include corresponding shared library. At least Python2.7 or Python3.4 must be installed on your system. YDK supports both Python2 and Python3 versions. See this issue on GRPC GitHub for details.Īs a workaround, the YDK based application runtime environment must include setting of LD_LIBRARY_PATH variable: PROTO="/Your-Protobuf-and-Grpc-installation-directory"Įxport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PROTO/grpc/libs/opt:$PROTO/protobuf-3.5.0/src/.libs:/usr/local/lib64 There is an open issue with gRPC on Centos/Fedora, which requires an extra step before running any YDK gNMI application. Sudo installer -pkg libydk_gnmi-0.4. -target /
#Cisco ios xe models software#
In order to enable YDK support for gNMI protocol, which is optional, the following third party software must be installed prior to gNMI YDK component installation. Mkdir libssh-0.7.6/build & cd libssh-0.7.6/build If after installation of libssh package the libssh_threads.a is missing, please downgrade the installation to libssh-0.7.6,īefore installing libssh make sure the environment for openssl is setup: brew reinstall opensslĮxport OPENSSL_ROOT_DIR=/usr/local/opt/opensslĭownload libssh-0.7.6 source code, compile it and install: wget The libssh-0.8.0 does not support separate threading library, Sudo installer -pkg libydk-0.8.4-Darwin.pkg -target / It is required to install Xcode command line tools, homebrew and the following homebrew packages on your system before installing YDK-Py: xcode-select -installīrew install pkg-config libssh xml2 libxml2 curl pcre cmake pybind11 doxygen libgcrypt Sudo ln -sf /opt/rh/devtoolset-4/root/usr/bin/g++ /usr/bin/c++ Sudo ln -sf /opt/rh/devtoolset-4/root/usr/bin/gcc /usr/bin/cc Sudo yum install devtoolset-4-gcc* -y > /dev/null Sudo yum install centos-release-scl -y > /dev/null Sudo yum install libssh-devel gcc-c++ python-devel python3-devel Currently, only Centos7/RHEL7 are known to work: # Install Third-party software The following packages must be present in your system before installing YDK-Py. Sudo apt-get install gcc-5 g++-5 -y > /dev/null
#Cisco ios xe models upgrade#
You can install the library using prebuilt debian packages for Xenial and Bionic LTS distributions.įor other Ubuntu distributions it is recommended to build core library from source.įor Xenial (Ubuntu 16.04.4): # Upgrade compiler to gcc 5.* Sudo apt-get install libcurl4-openssl-dev libpcre3-dev libssh-dev libxml2-dev libxslt1-dev cmakeĭownload and install YDK core library libydk. Sudo apt-get install gdebi-core python3-dev python-dev libtool-bin The following packages must be present in your system before installing YDK-Py: # Install Third-party software See the docker documentation for more details: docker run -it ydkdev/ydk-py To use the docker image, install docker on your system and run the below command. This be used to run ydk-py without installing anything natively on your machine. DockerĪ docker image is automatically built with the latest ydk-py installed. Please see the release notes for details. The Python YDK-0.8.4 core package is compatible with all model bundles generated previously with ydk-gen releases starting from 0.7.3.
#Cisco ios xe models plus#
YDK is composed of a core package that defines services and providers, plus one or more module bundles that are based on YANG models. The main goal of YDK is to reduce the learning curve of YANG data models by expressing the model semantics in an API and abstracting protocol/encoding details. The YANG Development Kit (YDK) is a Software Development Kit that provides API's that are modeled in YANG.
