Difference between revisions of "NSH SFC/Installing NSH SFC binaries from packages"
From fd.io
< NSH SFC
(→CentOS 7.2 - VPP stable/1707 branch RPMs) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
1. Pick Ubuntu version: | 1. Pick Ubuntu version: | ||
− | |||
− | |||
* Ubuntu 16.04 - Xenial | * Ubuntu 16.04 - Xenial | ||
export UBUNTU="xenial" | export UBUNTU="xenial" | ||
2. Pick VPP version: | 2. Pick VPP version: | ||
− | * Released (VPP 17. | + | * Released (VPP 17.07) |
export RELEASE="" | export RELEASE="" | ||
* MASTER (in development) | * MASTER (in development) | ||
export RELEASE=".master" | export RELEASE=".master" | ||
+ | * VPP 17.07 | ||
+ | export RELEASE=".stable.1707" | ||
* VPP 17.04 | * VPP 17.04 | ||
export RELEASE=".stable.1704" | export RELEASE=".stable.1704" | ||
Line 49: | Line 49: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> | <div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> | ||
− | ==== CentOS 7.2 - VPP Release RPMs (VPP 17. | + | ==== CentOS 7.2 - VPP Release RPMs (VPP 17.07) ==== |
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
Line 83: | Line 83: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> | <div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> | ||
− | ==== CentOS 7.2 - VPP stable/ | + | ==== CentOS 7.2 - VPP stable/1707 branch RPMs ==== |
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | Create a file /etc/yum.repos.d/fdio-stable- | + | Create a file /etc/yum.repos.d/fdio-stable-1707.repo with contents: |
<pre> | <pre> | ||
− | [fdio-stable- | + | [fdio-stable-1707] |
− | name=fd.io stable/ | + | name=fd.io stable/1707 branch latest merge |
− | baseurl=https://nexus.fd.io/content/repositories/fd.io.stable. | + | baseurl=https://nexus.fd.io/content/repositories/fd.io.stable.1707.centos7/ |
enabled=1 | enabled=1 | ||
gpgcheck=0 | gpgcheck=0 | ||
Line 101: | Line 101: | ||
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> | <div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> | ||
− | ==== CentOS 7.2 - VPP stable/ | + | ==== CentOS 7.2 - VPP stable/1707 branch RPMs ==== |
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | Create a file /etc/yum.repos.d/fdio-stable- | + | Create a file /etc/yum.repos.d/fdio-stable-1707.repo with contents: |
<pre> | <pre> | ||
− | [fdio-stable- | + | [fdio-stable-1707] |
− | name=fd.io stable/ | + | name=fd.io stable/1707 branch latest merge |
− | baseurl=https://nexus.fd.io/content/repositories/fd.io.stable. | + | baseurl=https://nexus.fd.io/content/repositories/fd.io.stable.1707.centos7/ |
enabled=1 | enabled=1 | ||
gpgcheck=0 | gpgcheck=0 |
Latest revision as of 06:28, 31 July 2017
Intro
If you are simply using nsh_sfc, 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 - Description: nsh_sfc plugin for vpp
- vpp-nsh-plugin-dev - Description: This package contains development support files for the nsh-plugin
- vpp-nsh-plugin-dbg - Description: This package contains debug symbols for nsh-plugin
Ubuntu/Debian
Add fd.io repo
1. Pick Ubuntu version:
- Ubuntu 16.04 - Xenial
export UBUNTU="xenial"
2. Pick VPP version:
- Released (VPP 17.07)
export RELEASE=""
- MASTER (in development)
export RELEASE=".master"
- VPP 17.07
export RELEASE=".stable.1707"
- VPP 17.04
export RELEASE=".stable.1704"
- VPP 17.01
export RELEASE=".stable.1701"
- VPP 16.09
export RELEASE=".stable.1609"
- VPP 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 - VPP Release RPMs (VPP 17.07)
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 - VPP 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 - VPP stable/1707 branch RPMs
Create a file /etc/yum.repos.d/fdio-stable-1707.repo with contents:
[fdio-stable-1707] name=fd.io stable/1707 branch latest merge baseurl=https://nexus.fd.io/content/repositories/fd.io.stable.1707.centos7/ enabled=1 gpgcheck=0
CentOS 7.2 - VPP stable/1707 branch RPMs
Create a file /etc/yum.repos.d/fdio-stable-1707.repo with contents:
[fdio-stable-1707] name=fd.io stable/1707 branch latest merge baseurl=https://nexus.fd.io/content/repositories/fd.io.stable.1707.centos7/ enabled=1 gpgcheck=0
Install vpp packages
sudo yum install vpp-nsh-plugin