Table of Contents |
---|
...
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 ginkgo,then 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:
...
No | Software | version | licence |
---|---|---|---|
1 | openNESS | 20.03 | Apache 2.0 license |
2 | Kubernetes | 1.17 | Apache 2.0 license |
3 | Docker | 19.3 | Apache 2.0 license |
4 | etcd | 3.4.3-0 | Apache 2.0 license |
edge GW (aka edgenode in openNESS)
No | Software | version | licence |
---|---|---|---|
1 | openNESS | 20.03 | Apache 2.0 license |
2 | Kubernetes | 1.17 | Apache 2.0 license |
3 | Docker | 19.03 | Apache 2.0 license |
4 | openvswitch | 2.11.4 | Apache 2.0 license |
5 | kube-ovn | 0.10.2 | Apache 2.0 license |
5GCEmulator
No | Software | version | licence |
---|---|---|---|
1 | openNESS | 20.03 | Apache 2.0 license |