Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
A set of Ansible playbooks, defined by openness-experience-kits are used to achieve setup of Edge Connector and Edge GW with one-click.

...

Developer  Guide and Troubleshooting

Developer Guide

Clone 5G-MEC-CLOUD-GAMING Code

Access Start by following the page Setting Up Your Development Environment, this covers items such as signing up for a linux foundation account, configuring git, installing gerrit and IDE recommendations.

Clone 5G-MEC-CLOUD-GAMING Code

Access https://gerrit.akraino.org/r/admin/repos/5g-mec-cloud-gaming to get the git clone command and clone projects. 

...

       versify.sh script first installs Golang and ginkgothen installs docker and docker-compose.

 

Unit Test

This part is also included in versify.sh script. The commands for the three submodules are as follows:

...

Golang

wget https://dl.google.com/go/ go1.13.4.linux-amd64.tar.gz

export GOPATH=$HOME/go

export PATH=$PATH:$GOPATH/bin

Ginkgo

go get github.com/onsi/ginkgo/ginkgo

go get github.com/onsi/gomega/

Docker

yum install -y yum-utils  device-mapper-persistent-data  lvm2

yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

yum install -y  docker-ce docker-ce-cli containerd.io

Docker-compose

curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

chmod +x /usr/local/bin/docker-compose

ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

 

Running Playbooks

For convenience, playbooks can be executed by running helper deployment scripts.

NOTE: All nodes provided in the inventory may reboot during the installation.

Convention for the scripts is: action_mode.sh [group]. Following scripts are available for Network Edge mode:

  • deploy_ne.sh [ controller | nodes ]

To run deploy of only Edge Nodes or Edge Controller use deploy_ne.sh nodes and deploy_ne.sh controller respectively. The

NOTE: Playbooks for Edge Controller/Kubernetes master must be executed before playbooks for Edge Nodes.

NOTE: Edge Nodes and Edge Controller must be set up on different machines.

Unistall Guide

Role of cleanup playbook is to revert changes made by deploy playbooks. Convention for the scripts is: action_mode.sh [group].  Following script is available for cleanup:

...

NoSoftwareversionlicence
1openNESS20.03Apache 2.0 license
2Kubernetes1.17Apache 2.0 license
3Docker19.3Apache 2.0 license
4etcd 3.4.3-0Apache 2.0 license

edge GW (aka edgenode in openNESS)

NoSoftwareversionlicence
1openNESS20.03Apache 2.0 license
2Kubernetes1.17Apache 2.0 license
3Docker19.03Apache 2.0 license
4openvswitch2.11.4Apache 2.0 license
5kube-ovn 0.10.2Apache 2.0 license

5GCEmulator

NoSoftwareversionlicence
1openNESS20.03Apache 2.0 license