Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UPF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-UPF
Commits
7ce020ad
Commit
7ce020ad
authored
Dec 14, 2021
by
Rohan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Instructions updated for vpp native installation.
parent
b29bfd6c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
4 deletions
+20
-4
build/scripts/build_helper
build/scripts/build_helper
+1
-1
build/scripts/build_helper.upf
build/scripts/build_helper.upf
+2
-1
docs/INSTALL_ON_HOST.md
docs/INSTALL_ON_HOST.md
+17
-2
No files found.
build/scripts/build_helper
View file @
7ce020ad
...
@@ -167,7 +167,7 @@ compilations() {
...
@@ -167,7 +167,7 @@ compilations() {
cd $OPENAIRCN_DIR/$1/
cd $OPENAIRCN_DIR/$1/
{
{
make build
make build
if grep -q "@@ Installing vpp @@" "
/home/rohan/gitrepo/oai-cn5g-upf-vpp/build/log/vpp
.txt" ; then
if grep -q "@@ Installing vpp @@" "
$dlog/$2
.txt" ; then
echo_success "##### VPP Compiled Successfully #####"
echo_success "##### VPP Compiled Successfully #####"
else
else
echo_error "##### VPP not compiled #####"
echo_error "##### VPP not compiled #####"
...
...
build/scripts/build_helper.upf
View file @
7ce020ad
...
@@ -108,7 +108,7 @@ install_dep(){
...
@@ -108,7 +108,7 @@ install_dep(){
git clone -b $GIT_BRANCH $GIT_URL
git clone -b $GIT_BRANCH $GIT_URL
# echo "APT::Get::Assume-Yes "true";" >> /etc/apt/apt.conf.d/90forceyes
# echo "APT::Get::Assume-Yes "true";" >> /etc/apt/apt.conf.d/90forceyes
# echo "APT::Get::force-yes "true";" >> /etc/apt/apt.conf.d/90forceyes
# echo "APT::Get::force-yes "true";" >> /etc/apt/apt.conf.d/90forceyes
cd vpp && make install-
ext-
dep
cd vpp && make install-dep
return 0
return 0
}
}
...
@@ -124,6 +124,7 @@ add_Travelping_upf_plugin(){
...
@@ -124,6 +124,7 @@ add_Travelping_upf_plugin(){
echo_info "Cloning Travelping UPG plugin"
echo_info "Cloning Travelping UPG plugin"
pushd $OPENAIRCN_DIR/
pushd $OPENAIRCN_DIR/
git clone -b $GIT_BRANCH $GIT_URL
git clone -b $GIT_BRANCH $GIT_URL
cd $OPENAIRCN_DIR/upg-vpp && git checkout -f 1f047425c5c99db44c2e599ad1dfd767d426cce8
mkdir -p -- $OPENAIRCN_DIR/vpp/patches
mkdir -p -- $OPENAIRCN_DIR/vpp/patches
cp -rf $OPENAIRCN_DIR/upg-vpp/upf/ $OPENAIRCN_DIR/vpp/src/plugins/
cp -rf $OPENAIRCN_DIR/upg-vpp/upf/ $OPENAIRCN_DIR/vpp/src/plugins/
cp -rf $OPENAIRCN_DIR/upg-vpp/vpp-patches/* $OPENAIRCN_DIR/vpp/patches
cp -rf $OPENAIRCN_DIR/upg-vpp/vpp-patches/* $OPENAIRCN_DIR/vpp/patches
...
...
docs/INSTALL_ON_HOST.md
View file @
7ce020ad
# VPP-UPF Native Installation
# VPP-UPF Native Installation
Tested and validated on Ubuntu Bionic arch amd64.
Tested and validated on Ubuntu Bionic arch amd64.
...
@@ -23,12 +22,28 @@ $ cd oai-cn5g-upf-vpp/
...
@@ -23,12 +22,28 @@ $ cd oai-cn5g-upf-vpp/
/oai-cn5g-upf-vpp/build/scripts
$
./build_vpp_upf
-I
-f
/oai-cn5g-upf-vpp/build/scripts
$
./build_vpp_upf
-I
-f
```
```
After successful dependencies install,
```bash
==========================================================
make[1]: Leaving directory '/tmp/oai-cn5g-upf-vpp/vpp/build/external'
VPP UPF deps installation successful
VPP UPF not compiled, to compile it, re-run ./build_vpp_upf without -I option
```
### Build VPP-UPF
### Build VPP-UPF
```
bash
```
bash
/oai-cn5g-upf-vpp/build/scripts$ ./build_vpp_upf -c -V
/oai-cn5g-upf-vpp/build/scripts$ ./build_vpp_upf -c -V
```
```
After successful dependencies install,
```
bash
@@@@ Installing vpp @@@@
[0/1] Install the project...
-- Install configuration: "debug"
make[1]: Leaving directory '/home/rohan/oai-cn5g-upf-vpp/vpp/build-root'
##### VPP compiled #####
VPP UPG initializing
Installing VPP
```
### Wipe VPP source
### Wipe VPP source
```
bash
```
bash
/oai-cn5g-upf-vpp/build/scripts$ ./build_vpp_upf -w
/oai-cn5g-upf-vpp/build/scripts$ ./build_vpp_upf -w
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment