Posts

Showing posts from October, 2013

[Info] Interface to the Routing System (I2RS)

IETF is trying to build its SDN standard by forming a group called Interface to the Routing System (I2RS) .They are going to define SDN based on networking vendor side and could effect SDN market sooner or later. http://searchsdn.techtarget.com/opinion/IETF-SDN-standards-emerge-Southbound-protocols-NFV-service-chains?src=5174092
The Drafts:
Interface to the Routing System (i2rs) Internet Drafts

[Trema] A good example with Trema to build OpenFlow Controller ( use case )

Image
Previously I just wondered how to use Trema to build a useful and piratical solution with a good architecture for users to leverage its functionality. Well, it does exist. The following URL is a good example of a good use case containing a good architecture.
http://www.slideshare.net/chibayasunobu/developing-production-open-flow-controller-with-trema-201304160

Source Code:
https://github.com/trema/virtual-network-platform


Design:


Implementation:

[Network] EtherTypes Reference

802 EtherTypes Reference:

0x0000
-
0x05DCIEEE 802.3 length.0x0600XEROX NS IDP.0x0660
0x0661DLOG.0x0800IP, Internet Protocol.0x0801X.75 Internet.0x0802NBS Internet.0x0803ECMA Internet.0x0804Chaosnet.0x0805X.25 Level 3.0x0806ARP, Address Resolution Protocol.0x0807XNS compatability.0x0808Frame Relay ARP.0x8035DRARP, Dynamic RARP.
RARP, Reverse Address Resolution Protocol.0x80F3AARP, AppleTalk Address Resolution Protocol.0x8100EAPS, Ethernet Automatic Protection Switching.0x8137IPX, Internet Packet Exchange.0x814CSNMP, Simple Network Management Protocol.0x86DDIPv6, Internet Protocol version 6.0x8808MPCP, Multi-Point Control Protocol.0x880BPPP, Point-to-Point Protocol.0x880CGSMP, General Switch Management Protocol.0x8847MPLS, Multi-Protocol Label Switching (unicast).0x8848MPLS, Multi-Protocol Label Switching (multicast).0x8863PPPoE, PPP Over Ethernet (Discovery Stage).0x8864PPPoE, PPP Over Ethernet (PPP Session Stage).0x886FNetwork Load Balancing.0x888EEAPOL, EAP over LAN.0x88A2AoE, ATA over Et…

[Static Analysis] Tools for static analysis ( C/C++ )

Here are the list of some software tools for static analysis ( C/C++ ). FYI.Klocwork Insight ( Commercial )CppcheckLintProject Proscan-build

[dbus] The notes for DBus APIs

The previous post: [dbus] The useful information and example of D-Bus has introduced the concept and an example. This post is focused on its API.

DBusConnection:
http://dbus.freedesktop.org/doc/api/html/group__DBusConnection.html#details
The keypoint that is worth mentioning is about dealing with asynchronous message. 
The function dbus_connection_read_write_dispatch() for example does all three of these things, offering a simple alternative to a main loop.If you don't need to be asynchronous, you can ignore DBusWatchDBusTimeout, and dbus_connection_dispatch(). Instead, dbus_connection_read_write_dispatch() can be used.

Here is an example of how to use dbus watch and dbus timeout:
http://stackoverflow.com/questions/9378593/dbuswatch-and-dbustimeout-examples
#include<errno.h>#include<stdio.h>#include<stdlib.h>#include<string.h>#include<unistd.h>#include<signal.h>#include<sys/types.h>#include<sys/wait.h>#include<sys/socket.h>#include…