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:// -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 \
-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

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

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.


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 paper or Here

SDN/NFV open-source projects:

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

How to Disable Error Reporting in Windows 10

If a program stops working or responding, Windows 10 can automatically report the problem to Microsoft and check for a solution. By default, Windows 10 collects information that describes the problem. This is called a problem report. It can include the name of the program that has stopped working, the date and time when the problem occurred, and the version of the program that has encountered the problem. Sending a problem report allows Windows 10 to notify you if a solution is available. This is called “Error Reporting”. If you are not happy with the OS behavior, for example, because of privacy or disk space issues, high CPU processing, you might want to disable it.

Read More