Blog

Developing the Python Libs in DevStack

In Devstack, the Python packages/libs, e.g., python-tackerclient [1], tacker-horizon [2], are not easy to develop because normally they will be installed under python’s site-packages. Therefore, to easy for developing, we can install from the local environment and work on it:

1. Clone the repo of the project:

cd /opt/stack/
git clone git://git.openstack.org/openstack/python-tackerclient -b <branch>

2. Install:

cd python-tackerclient
sudo pip install -U -e .

3. Make changes.

Note: You need restart Apache server to work with tacker-horizon

sudo systemctl restart apache2

Customize the OpenWRT 15.05.1 for OpenStack Tacker

The OpenWRT is modified based on KVM OpenWRT 15.05.1 to be suitable for OpenStack Tacker.
The procedure is following as below:

cd ~
wget https://archive.openwrt.org/chaos_calmer/15.05.1/x86/kvm_guest/openwrt-15.05.1-x86-kvm_guest-combined-ext4.img.gz \
-O openwrt-x86-kvm_guest-combined-ext4.img.gz
gunzip openwrt-x86-kvm_guest-combined-ext4.img.gz

mkdir -p imgroot

sudo kpartx -av openwrt-x86-kvm_guest-combined-ext4.img

# Replace the loopXp2 with the result of above command, e.g., loop0p2
sudo mount -o loop /dev/mapper/loopXp2 imgroot
sudo chroot imgroot /bin/ash

# Set password of this image to blank, type follow command and then enter two times
passwd

# Set DHCP for the network of OpenWRT so that the VNF can be ping
uci set network.lan.proto=dhcp; uci commit
exit

sudo umount imgroot
sudo kpartx -dv openwrt-x86-kvm_guest-combined-ext4.img

A customized OpenWRT 15.05.1 that can be deployed as VNFs including Firewall, Router, NAT, DHCP, DNS, or QoS VNFs in OpenStack Tacker.

Download: https://anda.ssu.ac.kr/~openwrt/

Paper: Network functions virtualization – An overview and open-source projects

Abstract: Network Functions Virtualization (NFV) has emerged as a networking technology from telecom industry to provide agility and flexibility in the deployment of network services and to reduce the Capital Expenditures (CAPEX) and the Operating Expenses (OPEX) by leveraging virtualization and cloud technologies. NFV decouples the software implementation of network functions from the underlying hardware, and it provides an abstraction of network functions such as firewalls, deep packet inspectors, load balancers, among others, via software components that can run on general purpose devices that can be located in a variety of telecom infrastructure, including data centers, network nodes, and end-user facilities. These Virtual Network Functions (VNFs) can easily be created, moved or migrated from one equipment to another without the need to install new specialized hardware, allowing a faster deployment of the services and providing innovation and a great number of opportunities for the world of networked systems. In this paper is provided an overview of NFV, explaining its characteristics, enabling technologies, benefits, use cases and challenges, as well as its relationship with another emerging technology as Software Defined Networking (SDN). The architectural framework, several uses case and a list with 179 SDN/NFV open-source projects are also provided, at the end it is described the Proof of Concepts (PoCs) and some research lines in this interesting research area.

Full paperhttp://ieeexplore.ieee.org/document/8247541/ or Here

SDN/NFV open-source projects: https://drive.google.com/file/d/0B5x07DW9JAXbektsOFo3STZMbGM/view

Getting started with contributing to OpenStack; Do’s and Don’ts

OpenStack Sydney: The talk describes the structure of most open source communities, governance, and how members of the community communicate. The talk describes the first 5 things that every newcomer to OpenStack should follow. Reviewing code is an important aspect of community participation and we describe how to do good code reviews.

Read More