From - English Wiki

Revision as of 17:46, 20 April 2014 by Lib2know (Talk | contribs)

Community Network Mark Up Language (CNML) is a project that aims to define an open ISO standard and scalable for describing mesh clouds, though it's not limited to this kind of networks and nowadays it's being used also in point to point infrastructure networks.

CNML is a specification based on XML, which makes it easily extendible and readable for humans besides of computers. It includes some ideas from other implementations and previous concepts like nodeXchange and SNDX.[1]

Some advantages of using CNML is that it allows to uncouple different functionalities independently of the web application used to show the data, reducing dependence from it and its internal tables of the database.

Be careful!

Please, take into account that the process of generating CNML for big zones (like the whole World, the root zone) takes a long time and a lot of machine resources (cpu, mem, access to db...) and it can take down completely our machines if done several times in a short time. We ask you to use in case you want to play with CNML files and do other things related to development.

Apart from that, you can take advantage that snpservices generates every 30 minutes the CNML file of the World zone and places it at the following url:

Our machines will appreciate if you downloaded this file directly and don't make them generate it again.


Alexander Klosch (German roots) began the CNML project in 2006 during the Wizards of OS 4 international event, in Berlin. In that moment, a community of people interested in developing such standard appeared, with participants from all over Europe like hivenetworks, Wifidog,, B.A.T.M.A.N, OpenWRT and FreiFunk.[2]

How does Community Network Mark Up Language look like?

In the wiki we can find a draft:

  <hardware capabilty>
  <siftware services>
  <devices> cpu, memory, storage, devices, radio level etc. </devices>
  <mapping> gps, name </mapping>
  <network environment>
  <content sharing>
  <node information>
  <owner of device>
  <scale of interest to the network>
  <personal keyring>(hold private, only given volountary)


Even if the specification is not finished, it's a while that allows to export zones and nodes to the CNML format from the website. Apart from that, the user can specify how detailed wants the file: nodes only, zones only and detailed nodes (including hardware, etc...): allows to export zones to CNML format through its website CNML format, more and less detailed

Real examples of CNML files (they were exported from the website):

CNML file (zones only) CNML file (zones and nodes) CNML file with zones and nodes detailed


  1. SNDX: Haciendo un XML-DTD para el intercambio de bases de datos de redes entre servidores
  2. CNML Roadmap,

External links

Personal tools