Commit a4e47e53 authored by aticig's avatar aticig
Browse files

Updating README.md

parent 3ace7a54
Loading
Loading
Loading
Loading
Loading
+20 −19
Original line number Diff line number Diff line
@@ -3,30 +3,32 @@
First, check the common-vars for the following:

```
APT_PROXY=http://172.21.1.1:3142
FLAVOR=m1.xlarge
PROJECT=f15ab4f845dc4052811fce96a3676ac8
SUBNET=172.21.248
APT_PROXY=http://172.21.1.1.3142
FLAVOR=test_flavor_fix
KEY_NAME=hackfest
NETWORK=osm-ext
FOCAL=ubuntu20.04
```

APT_PROXY: the address of a caching web proxy for installing packages
FLAVOR: the flavour of the new VM to launch.  Must have at least 4 CPUs, 8 GB RAM and 60 GB Disk.
PROJECT: The project ID in which to launch the new VM
SUBNET: the first three octets of the subnet to use.  IP addresses will be allocated from this subnet, starting with .101 - .199
KEY_NAME: Key to connect VMs
NETWORK: IP addresses will be allocated from this network, this network is management network of OSM instance
FOCAL: Image to install VMs


### Initial Configuration
This script updates apt, upgrades the system to the latest 20.04 and installs remote desktop software
### Create VMs
This script creates the VMs in required project

```
./run-vm-initial-setup.sh
./run-create-openstack-vm.sh
```

### Install Microk8s

This script will configure the Microk8s VM launched by the create-openstack-user-and-project script.
### Initial Configuration
This script updates apt, upgrades the system to the latest 20.04 and installs remote desktop software

```
./run-microk8s-setup.sh
./run-vm-initial-setup.sh
```


@@ -38,7 +40,7 @@ This script downloads the installer and runs it. It also sets the OSM admin pas
```

### Add VIM and K8s Cluster

Add VIM and ks8cluster to OSM instance
```
./run-osm-vim-k8scluster-add.sh
```
@@ -46,10 +48,9 @@ This script downloads the installer and runs it. It also sets the OSM admin pas
## Full Flow

```
./run-create-openstack-user-and-project.sh 1 1
./run-vm-setup.sh 1 1
./run-microk8s-setup.sh 1 1
./run-install-osm.sh 1 1
./run-osm-vim-k8scluster-add.sh 1 1
./run-create-openstack-user-and-project.sh
./run-vm-initial-setup.sh
./run-install-osm.sh
./run-osm-vim-k8scluster-add.sh
```
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ if [ ! -z ${DEBUG} ]; then
fi

START=5
MAX=6
MAX=10

if [ ! -z $2 ] ; then
    START=$1
@@ -28,7 +28,7 @@ fi

# ETSI VIM ADMIN_DOMAIN=default
APT_PROXY=http://172.21.1.1.3142
FLAVOR=test_flavor_fix
FLAVOR=osm.sanity
KEY_NAME=hackfest
NETWORK=osm-ext
FOCAL=ubuntu20.04
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ PARTICIPANT=${1}
VM_NAME=`expr charmedosm-${PARTICIPANT}`
echo "Creating public port"
# This port gets created as the admin
openstack port create --security-group default --network osm-ext $VM_NAME
openstack port create --security-group default --network $NETWORK $VM_NAME
wait


+4 −5
Original line number Diff line number Diff line
@@ -3,11 +3,10 @@ echo $0 started at $(date)

. ./common-vars

#./run-create-openstack-vm.sh $@
./run-create-openstack-vm.sh $@
./run-vm-initial-setup.sh $@
#./run-microk8s-setup.sh $@ &
#./run-install-osm.sh $@
#wait
#./run-osm-vim-k8scluster-add.sh $@
./run-install-osm.sh $@
wait
./run-osm-vim-k8scluster-add.sh $@

echo $0 $@ complete at $(date)
 No newline at end of file