| | 1 | = SoftWare / !DDT - Management of computer names and IP addresses = |
| | 2 | |
| | 3 | == Description == |
| | 4 | |
| | 5 | DDT is an acronym for DHCP-DNS-Tools. |
| | 6 | In practise, DDT is an IP Address Management (IPAM) service. |
| | 7 | It has been used in the LEGI laboratory for over 10 years. |
| | 8 | {{{ddt}}} ({{{dhcp-dns-tools}}}) is a small tool to maintain a set of computers/IP. |
| | 9 | In order to help you in this task, ddt command has a set of action |
| | 10 | to generated DHCP and DNS configuration files. |
| | 11 | |
| | 12 | The tool is quite effective and tries to keep things simple |
| | 13 | but easily configurable for your site like a swiss army knife. |
| | 14 | Everything is saved in a YAML database |
| | 15 | and entries could be added, deleted, or modified by the command line. |
| | 16 | |
| | 17 | |
| | 18 | == Debian package == |
| | 19 | |
| | 20 | Debian is a GNU/Linux distribution. |
| | 21 | Debian (and certainly Ubuntu) package for amd64 arch could be download on: http://servforge.legi.grenoble-inp.fr/pub/soft-trokata/ddt/download. |
| | 22 | |
| | 23 | You can then install it with |
| | 24 | |
| | 25 | {{{ |
| | 26 | sudo dpkg -i ddt_*_amd64.deb |
| | 27 | }}} |
| | 28 | (just replace * with the version you have donwloaded). |
| | 29 | |
| | 30 | |
| | 31 | == Software repository == |
| | 32 | |
| | 33 | All code is under '''free license'''. |
| | 34 | Scripts in `bash` are under GPL version 3 or later (http://www.gnu.org/licenses/gpl.html), |
| | 35 | the `perl` scripts are under the same license as `perl` itself ie the double license GPL and Artistic License (http://dev.perl.org/licenses/artistic.html). |
| | 36 | |
| | 37 | All sources are available on the LEGI forge: http://servforge.legi.grenoble-inp.fr/svn/soft-trokata/trunk/ddt |
| | 38 | |
| | 39 | The sources are managed via subversion (http://subversion.tigris.org/). |
| | 40 | It is very easy to stay synchronized with these sources |
| | 41 | |
| | 42 | * initial recovery |
| | 43 | {{{ |
| | 44 | svn checkout http://servforge.legi.grenoble-inp.fr/svn/soft-trokata/trunk/ddt soft-ddt |
| | 45 | }}} |
| | 46 | * the updates thereafter |
| | 47 | {{{ |
| | 48 | svn update |
| | 49 | }}} |
| | 50 | |
| | 51 | It is possible to have access to writing at the forge on reasoned request to [mailto:Gabriel.Moreau(A)legi.grenoble-inp.fr Gabriel Moreau]. |
| | 52 | For issues of administration time and security, the forge is not writable without permission. |
| | 53 | For the issues of decentralization of the web, autonomy and non-allegiance to the ambient (and North American) centralism, we use our own forge... |
| | 54 | |
| | 55 | You can propose an email patch of a particular file via the `diff` command. |
| | 56 | Note that `svn` defaults to the unified format (`-u`). |
| | 57 | Two examples: |
| | 58 | {{{ |
| | 59 | diff -u ddt.org ddt.new > ddt.patch |
| | 60 | svn diff ddt > ddt.patch |
| | 61 | }}} |
| | 62 | We apply the patch (after having read and read it again) via the command |
| | 63 | {{{ |
| | 64 | patch -p0 < ddt.patch |
| | 65 | }}} |