Skip to content

Building vrouter for a specific Operating System

Vinay Mahuli edited this page Aug 12, 2014 · 2 revisions
  1. Clone 3 repos viz vrouter, sandesh and build using below mentioned manifest.xml

$ cat .repo/manifest.xml

<manifest>

<remote name="github" fetch=".."/>

<default revision="refs/heads/master" remote="github"/>

<project name="contrail-build" remote="github" path="tools/build">

<copyfile src="SConstruct" dest="SConstruct"/>

</project>

<project name="contrail-vrouter" remote="github" path="vrouter"/>

<project name="contrail-sandesh" remote="github" path="tools/sandesh"/>

</manifest>

  1. Sync repos using 'repo sync'

$ repo sync

  1. ls should give 2 directories and a SConstruct file.

$ ls

SConstruct tools vrouter

  1. Run below mentioned "scons" command.

$ scons vrouter