This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

ios-xr-grpc-nodejs

IOS-XR gRPC NodeJS connectivity library.

Provides connectivity support between the IOS-XR gRPC server and a client application built using NodeJS.
Includes a basic example demonstrating getting configuration, merging configuration, and deleting configuration.

Requirements

Setup

A working demonstration of setup is most easily visible in the tests/bootstrap directory.

Configure gRPC on IOS-XR

!! iosxr1 configuration  
!  
interface GigabitEthernet0/0/0/0  
 ipv4 address 11.1.1.254 255.255.255.0  
 no shutdown  
!  
grpc  
 port 57500  
!

Configure client system

# Assumes pre-installation of NodeJS  
git clone https://github.com/cisco-grpc-connection-libs/ios-xr-grpc-nodejs.git  
cd ios-xr-grpc-nodejs  
npm install  
# Done!

IOS-XRv

IOS-XRv is a virtualized packaging of an IOS-XR instance that is runnable by Vagrant.
It is downloadable via application at https://xrdocs.github.io/getting-started/steps-download-iosxr-vagrant
Installation and setup instructions are available at https://xrdocs.github.io/application-hosting/tutorials/iosxr-vagrant-quickstart

cd tests  
vagrant up  
vagrant ssh testiosxr  
vagrant ssh testclient  
View code on GitHub
  • Owner

  • Contributors

    +1Github contributor
  • Categories

  • Products

    IOS XR
  • Programming Languages

    JavaScript
  • License

    Apache License 2.0

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.