VPP Sandbox/vpp-userdemo

From fd.io
< VPP Sandbox
Revision as of 16:43, 14 September 2016 by Alagalah (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  1. INTRO:

This is a Vagrant based user demo environment for beginners with VPP

The demo requires NodeJS installed on the host (today - we are working dilligently to keep this "all in the VM")

You then do the following: - install nodeJS from nodejs.org/en/download/ for you host distribution

- from folder vpp-userdemo/gui/backend:

 npm install

- from folder vpp-userdemo/gui:

 NODE_ENV=production node backend/server.js

It walks a user through - each of the commands, - the expected output, - gives a file of the commands used to try themselves

  1. REQUIREMENTS

- vagrant (1.8) - virtualbox / vmware fusion

  1. GETTING STARTED

- clone the repo - modify env.sh if needed and ```source ./env.sh``` - by default the VM uses 2 x CPUs and 4G RAM - ```vagrant up``` - ... run the demo

  1. RUNNING DEMOs

- From the Host, where you ran ```vagrant up``` run ```./run <demoname>```

```./run <demoname>```

  1. DEMOs
    1. routing - directly connected routing

- Creates two network namespaces c1, c2 - A gateway interface for each on VPP - Routes due to directly connected routes inserted into default FIB

    1. bridging - directly connected interfaces into a bridge-domain

- Creates two network namespaces c1, c2 - Adds interfaces to VPP and add them to bridge-domain 1 - MAC addresses are automatically learned

    1. tracing - how to show a "day in the life of a packet" in VPP

- Same environment as "routing" demo - How to add a trace - View a trace - Interpret a trace