We are going to setup one master and two worker nodes
Create the master node k3s-master with following script:
Visit following link to view API speficications! | |
https://app.swaggerhub.com/apis/cyrenity/FooSWITCH/v1 |
#!/usr/bin/env python3 | |
import numpy as np | |
import os | |
import sys | |
import asyncio | |
import websockets | |
import concurrent.futures | |
import logging | |
import os |
#!/usr/bin/env python3 | |
import numpy as np | |
import os | |
import sys | |
import asyncio | |
import websockets | |
import concurrent.futures | |
import logging | |
import os |
## Setup L2 switch OpenVSwitch |
# A Small Script for creating a port in an internal network and binding it with one of control/neutron node | |
#### !!!! CAUTION !!!! ##### | |
# DO NOT RUN THIS SCRIPT UNLESS YOU KNOW HOW EACH LINE IS GOING TO DO WITH YOUR OPENSTACK INSTALL | |
# YOU ARE ADVISED TO FIRST UNDERSTAND AND THAN RUN EACH LINE OF THIS SCRIPT INTERACTIVELY | |
############################ | |
NETWORK_NAME=demo1 | |
SUBNET_NAME=demo1-net | |
MGMT_PORT_IP=172.16.2.10 |
Device: /dev/vda | |
Partition Table: gpt | |
/dev/sda1 - 1MB - for UEFI/Bootloader | |
/dev/sda2 - 10G - root partition | |
/dev/sda3 - Remaining Space - for cinder-volumes | |
LVM Volume Groups: |
export VMNAME=instance01 | |
export MAC_ADDR=$(printf '52:54:00:%02x:%02x:%02x' $((RANDOM%256)) $((RANDOM%256)) $((RANDOM%256))) | |
export INTERFACE=enp1s0 | |
export IP_ADDR=192.168.122.101 | |
export CONFIG_DIR=/home/bitvizor.com/.local/share/libvirt/cloudconfigs/ | |
export IMAGES_DIR=/home/bitvizor.com/.local/share/libvirt/images/ | |
export SSH_KEYS=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDVtvTtRd3zOAo5bSgRR7muNdHTFeZg1RhxNkcl24W0ZfKTvLd1HWhL4LEvVjUwQY1xvPaEKiyCXIYf18feIy15KW3oBj4mqEk+YsUbTMSoV32DnMUyhDfoPKM4gOXMYRbliKr2mQ5RX6pEgm2H4mzI+kC6+f8v+/Fn6o6zOwgfo0ltbHfCH31YW1i+DIZtJ6/iWCzLJ7fDvRJW/YKH0DXOJQxaX4k9J7aGjjs8dXdJANtIgT4doa6ZpKTDh36sgBTsAlYQAnnH9DJxv71sRHSnXyzhjrgkkgkKbeG/GZy7Lr3fH/hqEc3P4DE8c7waAySNMOGThbVqx95uwNGSQa6XO3UsDxzg2NTuqmUqlOUQRAyLkteCOpAyd/8YUREriVotFKJGTIJTMo/7TnrPk5VpNQb/BQlGN12z0uQg8GkS88DlefPnDvdGpxemVBXAxtNscYfpoJzwB7H2kcfUeIrzJki929G/CI4K+A3K2i6v7dGXKgHlIbLGDCh3hgHF1a0= vasops@vasops |
FreeSWITCH is a software defined telecom stack that runs on any commodity hardware. FreeSWITCH can handle voice, video and text communication and support all popullar VoIP protocols. FreeSWITCH is flexible and modular, and can be used in any way you can imagine
This guide demonstrates how to get it install FreeSWITCH and get it up and running on a Ubuntu 20.04 LTS machine
To follow along with this guide, you need one Ubuntu 20.04 LTS server which has prerequisite packages installed and configured. In order to install required packages issue following command