RDO Bug Triage
Visualizing Neutron Networking with GraphViz
I've put together a few tools to help gather information about your Neutron and network configuration and visualize it in different ways. All of these tools are available as part of my neutron-diag repository on GitHub.
In this post I'm going to look at a tool that will help you visualize the connectivity of network devices on your system.read more
An introduction to OpenStack Heat
Heat is a template-based orchestration mechanism for use with OpenStack. With Heat, you can deploy collections of resources -- networks, servers, storage, and more -- all from a single, parameterized template.
In this article I will introduce Heat templates and the
A Python interface to signalfd() using FFI
I just recently learned about the
signalfd(2) system call, which was
introduced to the Linux kernel back in 2007:
signalfd() creates a file descriptor that can be used to accept signals targeted at the caller. This provides an alternative to the use of a signal handler or sigwaitinfo(2), and has the advantage that the file descriptor may be monitored by select(2), poll(2), and epoll(7).
The traditional asynchronous delivery mechanism can be tricky to get right, whereas this provides a convenient fd interface that integrates nicely with your existing event-based code.
I was interested in using
signalfd() in some Python code, but Python
does not expose this system call through any of the standard
libraries. There are a variety of ways one could add support,
- Writing a Python module in C
- Using the
ctypesmodule (which I played with a few years ago)
In this post I'm going to step through an example web chat system implemented in Python (with Bottle and gevent) that uses long polling to implement a simple publish/subscribe mechanism for efficiently updating connected clients.
My pubsub_example repository on GitHub has a complete project that implements the ideas discussed in this article. This project can be deployed directly on OpenShift if you want to try things out on your own. You can also try it out online at http://pubsub.example.oddbit.com/.read more