NSH SFC/Installing NSH SFC binaries from packages here

From fd.io
Jump to: navigation, search

Intro

If you are simply using vpp, it can be convenient to simply install the packages. The instructions below will pull the latest freshest package build from the master branch (updated on every merge).

Package Descriptions

  • vpp-nsh-plugin - vpp nsh plugin
  • vpp-nsh-plugin-dev - vpp nsh plugin headers
  • vpp-nsh-plugin-dbg - vpp nsh plugin debug symbols

Ubuntu/Debian

Add fd.io repo

1. Pick Ubuntu version:

  • Ubuntu 14.04 - Trusty
 export UBUNTU="trusty"
  • Ubuntu 16.04 - Xenial
 export UBUNTU="xenial"

2. Pick version:

  • Released (17.01)
 export RELEASE=""
  • MASTER (in development)
 export RELEASE=".master"
  • 17.01
 export RELEASE=".stable.1701"
  • 16.09
 export RELEASE=".stable.1609"
  • 16.06
 export RELEASE=".stable.1606"

3. Then run:

 sudo rm /etc/apt/sources.list.d/99fd.io.list
 echo "deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io$RELEASE.ubuntu.$UBUNTU.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list
 sudo apt-get update
 sudo apt-get install vpp-nsh-plugin

Uninstalling

 sudo apt-get remove --purge vpp-nsh-plugin

Centos

Add fd.io repo

CentOS 7.2 - Release RPMs (16.09)

Create a file /etc/yum.repos.d/fdio-release.repo with contents:

[fdio-release]
name=fd.io release branch latest merge
baseurl=https://nexus.fd.io/content/repositories/fd.io.centos7/
enabled=1
gpgcheck=0

CentOS 7.2 - master branch RPMs (in development)

Create a file /etc/yum.repos.d/fdio-master.repo with contents:

[fdio-master]
name=fd.io master branch latest merge
baseurl=https://nexus.fd.io/content/repositories/fd.io.master.centos7/
enabled=1
gpgcheck=0

CentOS 7.2 - stable/1609 branch RPMs

Create a file /etc/yum.repos.d/fdio-stable-1609.repo with contents:

[fdio-stable-1609]
name=fd.io stable/1609 branch latest merge
baseurl=https://nexus.fd.io/content/repositories/fd.io.stable.1609.centos7/
enabled=1
gpgcheck=0

CentOS 7.2 - stable/1606 branch RPMs

Create a file /etc/yum.repos.d/fdio-stable-1606.repo with contents:

[fdio-stable-1606]
name=fd.io stable/1606 branch latest merge
baseurl=https://nexus.fd.io/content/repositories/fd.io.stable.1606.centos7/
enabled=1
gpgcheck=0

Install nsh_sfc packages

sudo yum install vpp-nsh-plugin