gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 1 | -*- mode: text; -*- |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 2 | $QuaggaId: Format:%an, %ai, %h$ $ |
| 3 | |
| 4 | Contents: |
| 5 | |
| 6 | * GUIDELINES FOR HACKING ON QUAGGA |
| 7 | * COMPILE-TIME CONDITIONAL CODE |
| 8 | * COMMIT MESSAGE |
| 9 | * HACKING THE BUILD SYSTEM |
| 10 | * RELEASE PROCEDURE |
| 11 | * SHARED LIBRARY VERSIONING |
| 12 | * RELEASE PROCEDURE |
| 13 | * TOOL VERSIONS |
| 14 | * SHARED LIBRARY VERSIONING |
| 15 | * PATCH SUBMISSION |
| 16 | * PATCH APPLICATION |
| 17 | * STABLE PLATFORMS AND DAEMONS |
| 18 | * IMPORT OR UPDATE VENDOR SPECIFIC ROUTING PROTOCOLS |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 19 | |
Greg Troxel | a8e474a | 2010-11-03 07:22:00 -0400 | [diff] [blame^] | 20 | |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 21 | GUIDELINES FOR HACKING ON QUAGGA |
| 22 | |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 23 | [this is a draft in progress] |
| 24 | |
hasso | 863076d | 2004-09-01 20:13:23 +0000 | [diff] [blame] | 25 | GNU coding standards apply. Indentation follows the result of |
| 26 | invoking GNU indent (as of 2.2.8a) with no arguments. Note that this |
| 27 | uses tabs instead of spaces where possible for leading whitespace, and |
| 28 | assumes that tabs are every 8 columns. Do not attempt to redefine the |
| 29 | location of tab stops. Note also that some indentation does not |
| 30 | follow GNU style. This is a historical accident, and we generally |
| 31 | only clean up whitespace when code is unmaintainable due to whitespace |
| 32 | issues, as fewer changes from zebra lead to easier merges. |
| 33 | |
| 34 | For GNU emacs, use indentation style "gnu". |
| 35 | |
| 36 | For Vim, use the following lines (note that tabs are at 8, and that |
| 37 | softtabstop sets the indentation level): |
| 38 | |
| 39 | set tabstop=8 |
| 40 | set softtabstop=2 |
| 41 | set shiftwidth=2 |
| 42 | set noexpandtab |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 43 | |
gdt | 2934f28 | 2004-01-05 20:09:00 +0000 | [diff] [blame] | 44 | Be particularly careful not to break platforms/protocols that you |
| 45 | cannot test. |
| 46 | |
| 47 | New code should have good comments, and changes to existing code |
| 48 | should in many cases upgrade the comments when necessary for a |
| 49 | reviewer to conclude that the change has no unintended consequences. |
| 50 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 51 | Each file in the Git repository should have a git format-placeholder (like |
| 52 | an RCS Id keyword), somewhere very near the top, commented out appropriately |
| 53 | for the file type. The placeholder used for Quagga (replacing <dollar> with |
| 54 | $) is: |
| 55 | |
| 56 | $QuaggaId: <dollar>Format:%an, %ai, %h<dollar> $ |
| 57 | |
| 58 | See line 2 of HACKING for an example; |
| 59 | |
| 60 | This placeholder string will be expanded out by the 'git archive' commands, |
| 61 | wihch is used to generate the tar archives for snapshots and releases. |
gdt | 697877e | 2004-11-15 19:23:47 +0000 | [diff] [blame] | 62 | |
ajs | 5e76477 | 2004-12-03 19:03:33 +0000 | [diff] [blame] | 63 | Please document fully the proper use of a new function in the header file |
| 64 | in which it is declared. And please consult existing headers for |
| 65 | documentation on how to use existing functions. In particular, please consult |
| 66 | these header files: |
| 67 | |
| 68 | lib/log.h logging levels and usage guidance |
| 69 | [more to be added] |
| 70 | |
paul | 1eb8ef2 | 2005-04-07 07:30:20 +0000 | [diff] [blame] | 71 | If changing an exported interface, please try to deprecate the interface in |
| 72 | an orderly manner. If at all possible, try to retain the old deprecated |
| 73 | interface as is, or functionally equivalent. Make a note of when the |
| 74 | interface was deprecated and guard the deprecated interface definitions in |
| 75 | the header file, ie: |
| 76 | |
| 77 | /* Deprecated: 20050406 */ |
| 78 | #if !defined(QUAGGA_NO_DEPRECATED_INTERFACES) |
| 79 | #warning "Using deprecated <libname> (interface(s)|function(s))" |
| 80 | ... |
| 81 | #endif /* QUAGGA_NO_DEPRECATED_INTERFACES */ |
| 82 | |
| 83 | To ensure that the core Quagga sources do not use the deprecated interfaces |
| 84 | (you should update Quagga sources to use new interfaces, if applicable) |
| 85 | while allowing external sources to continue to build. Deprecated interfaces |
| 86 | should be excised in the next unstable cycle. |
| 87 | |
paul | 74a2dd7 | 2005-04-25 00:37:03 +0000 | [diff] [blame] | 88 | Note: If you wish, you can test for GCC and use a function |
| 89 | marked with the 'deprecated' attribute. However, you must provide the |
| 90 | #warning for other compilers. |
| 91 | |
paul | 1eb8ef2 | 2005-04-07 07:30:20 +0000 | [diff] [blame] | 92 | If changing or removing a command definition, *ensure* that you properly |
| 93 | deprecate it - use the _DEPRECATED form of the appropriate DEFUN macro. This |
| 94 | is *critical*. Even if the command can no longer function, you *must* still |
| 95 | implement it as a do-nothing stub. Failure to follow this causes grief for |
| 96 | systems administrators. Deprecated commands should be excised in the next |
| 97 | unstable cycle. A list of deprecated commands should be collated for each |
| 98 | release. |
| 99 | |
| 100 | See also below regarding SHARED LIBRARY VERSIONING. |
ajs | 5e76477 | 2004-12-03 19:03:33 +0000 | [diff] [blame] | 101 | |
Greg Troxel | a8e474a | 2010-11-03 07:22:00 -0400 | [diff] [blame^] | 102 | |
Paul Jakma | 750e814 | 2008-07-22 21:11:48 +0000 | [diff] [blame] | 103 | COMPILE-TIME CONDITIONAL CODE |
| 104 | |
| 105 | Please think very carefully before making code conditional at compile time, |
| 106 | as it increases maintenance burdens and user confusion. In particular, |
| 107 | please avoid gratuitious --enable-.... switches to the configure script - |
| 108 | typically code should be good enough to be in Quagga, or it shouldn't be |
| 109 | there at all. |
| 110 | |
| 111 | When code must be compile-time conditional, try have the compiler make it |
| 112 | conditional rather than the C pre-processor. I.e. this: |
| 113 | |
| 114 | if (SOME_SYMBOL) |
| 115 | frobnicate(); |
| 116 | |
| 117 | rather than: |
| 118 | |
| 119 | #ifdef SOME_SYMBOL |
| 120 | frobnicate (); |
| 121 | #endif /* SOME_SYMBOL */ |
| 122 | |
| 123 | Note that the former approach requires ensuring that SOME_SYMBOL will be |
| 124 | defined (watch your AC_DEFINEs). |
paul | 74a2dd7 | 2005-04-25 00:37:03 +0000 | [diff] [blame] | 125 | |
Greg Troxel | a8e474a | 2010-11-03 07:22:00 -0400 | [diff] [blame^] | 126 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 127 | COMMIT MESSAGES |
gdt | 2934f28 | 2004-01-05 20:09:00 +0000 | [diff] [blame] | 128 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 129 | The commit message should provide: |
gdt | 2934f28 | 2004-01-05 20:09:00 +0000 | [diff] [blame] | 130 | |
Greg Troxel | d7a9779 | 2010-11-03 07:20:38 -0400 | [diff] [blame] | 131 | * A suitable one-line summary followed by a blank line as the very |
| 132 | first line of the message, in the form: |
gdt | 2934f28 | 2004-01-05 20:09:00 +0000 | [diff] [blame] | 133 | |
Paul Jakma | 3de4277 | 2009-07-28 16:04:35 +0100 | [diff] [blame] | 134 | topic: high-level, one line summary |
paul | ca6383b | 2005-11-10 10:21:19 +0000 | [diff] [blame] | 135 | |
Paul Jakma | 3de4277 | 2009-07-28 16:04:35 +0100 | [diff] [blame] | 136 | Where topic would tend to be name of a subdirectory, and/or daemon, unless |
| 137 | there's a more suitable topic (e.g. 'build'). This topic is used to |
| 138 | organise change summaries in release announcements. |
paul | ca6383b | 2005-11-10 10:21:19 +0000 | [diff] [blame] | 139 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 140 | * An optional introduction, discussing the general intent of the change. |
Paul Jakma | 3de4277 | 2009-07-28 16:04:35 +0100 | [diff] [blame] | 141 | * A short description of each change made, preferably: |
paul | ca6383b | 2005-11-10 10:21:19 +0000 | [diff] [blame] | 142 | * file by file |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 143 | * function by function (use of "ditto", or globs is allowed) |
paul | ca6383b | 2005-11-10 10:21:19 +0000 | [diff] [blame] | 144 | |
Paul Jakma | 3de4277 | 2009-07-28 16:04:35 +0100 | [diff] [blame] | 145 | to provide a short description of the general intent of the patch, in terms |
| 146 | of the problem it solves and how it achieves it, to help reviewers |
Greg Troxel | a8e474a | 2010-11-03 07:22:00 -0400 | [diff] [blame^] | 147 | understand. |
Paul Jakma | 3de4277 | 2009-07-28 16:04:35 +0100 | [diff] [blame] | 148 | |
Greg Troxel | d7a9779 | 2010-11-03 07:20:38 -0400 | [diff] [blame] | 149 | The one-line summary must be limited to 54 characters, and all other |
| 150 | lines to 72 characters. |
paul | ca6383b | 2005-11-10 10:21:19 +0000 | [diff] [blame] | 151 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 152 | The reason for such itemised commit messages is to encourage the author to |
| 153 | self-review every line of the patch, as well as provide reviewers an index |
Greg Troxel | a8e474a | 2010-11-03 07:22:00 -0400 | [diff] [blame^] | 154 | of which changes are intended, along with a short description for each. |
Paul Jakma | 3de4277 | 2009-07-28 16:04:35 +0100 | [diff] [blame] | 155 | Some discretion is obviously required. A C-to-english description is not |
| 156 | desireable. For short patches, a per-function/file break-down may be |
| 157 | redundant. For longer patches, such a break-down may be essential. |
| 158 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 159 | An example (where the general discussion is obviously somewhat redundant, |
| 160 | given the one-line summary): |
| 161 | |
Paul Jakma | 3de4277 | 2009-07-28 16:04:35 +0100 | [diff] [blame] | 162 | zebra: Enhance frob FSM to detect loss of frob |
paul | ca6383b | 2005-11-10 10:21:19 +0000 | [diff] [blame] | 163 | |
Paul Jakma | 3de4277 | 2009-07-28 16:04:35 +0100 | [diff] [blame] | 164 | * (general) Add a new DOWN state to the frob state machine |
Greg Troxel | a8e474a | 2010-11-03 07:22:00 -0400 | [diff] [blame^] | 165 | to allow the barinator to detect loss of frob. |
Paul Jakma | 3de4277 | 2009-07-28 16:04:35 +0100 | [diff] [blame] | 166 | * frob.h: (struct frob) Add DOWN state flag. |
| 167 | * frob.c: (frob_change) set/clear DOWN appropriately on state change. |
| 168 | * bar.c: (barinate) Check frob for DOWN state. |
paul | 1f8f61a | 2004-11-05 23:38:20 +0000 | [diff] [blame] | 169 | |
Greg Troxel | d7a9779 | 2010-11-03 07:20:38 -0400 | [diff] [blame] | 170 | Note that the commit message format follows git norms, so that "git |
| 171 | log --oneline" will have useful output. |
paul | 74a2dd7 | 2005-04-25 00:37:03 +0000 | [diff] [blame] | 172 | |
| 173 | HACKING THE BUILD SYSTEM |
| 174 | |
| 175 | If you change or add to the build system (configure.ac, any Makefile.am, |
| 176 | etc.), try to check that the following things still work: |
| 177 | |
| 178 | - make dist |
| 179 | - resulting dist tarball builds |
Greg Troxel | a8e474a | 2010-11-03 07:22:00 -0400 | [diff] [blame^] | 180 | - out-of-tree builds |
paul | 74a2dd7 | 2005-04-25 00:37:03 +0000 | [diff] [blame] | 181 | |
| 182 | The quagga.net site relies on make dist to work to generate snapshots. It |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 183 | must work. Common problems are to forget to have some additional file |
paul | 74a2dd7 | 2005-04-25 00:37:03 +0000 | [diff] [blame] | 184 | included in the dist, or to have a make rule refer to a source file without |
| 185 | using the srcdir variable. |
| 186 | |
Greg Troxel | a8e474a | 2010-11-03 07:22:00 -0400 | [diff] [blame^] | 187 | |
gdt | 0d7e913 | 2005-02-23 16:20:07 +0000 | [diff] [blame] | 188 | RELEASE PROCEDURE |
| 189 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 190 | * Tag the apppropriate commit with a release tag (follow existing |
| 191 | conventions). |
gdt | 0d7e913 | 2005-02-23 16:20:07 +0000 | [diff] [blame] | 192 | [This enables recreating the release, and is just good CM practice.] |
| 193 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 194 | * Create a fresh tar archive of the quagga.net repository, and do a test |
| 195 | build: |
gdt | 0d7e913 | 2005-02-23 16:20:07 +0000 | [diff] [blame] | 196 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 197 | git-clone git:///code.quagga.net/quagga.git quagga |
| 198 | git-archive --remote=git://code.quagga.net/quagga.git \ |
| 199 | --prefix=quagga-release/ master | tar -xf - |
| 200 | cd quagga-release |
gdt | 0d7e913 | 2005-02-23 16:20:07 +0000 | [diff] [blame] | 201 | |
Paul Jakma | 3de4277 | 2009-07-28 16:04:35 +0100 | [diff] [blame] | 202 | autoreconf -i |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 203 | ./configure |
| 204 | make |
| 205 | make dist |
gdt | 0d7e913 | 2005-02-23 16:20:07 +0000 | [diff] [blame] | 206 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 207 | The tarball which 'make dist' creates is the tarball to be released! The |
| 208 | git-archive step ensures you're working with code corresponding to that in |
| 209 | the official repository, and also carries out keyword expansion. If any |
Greg Troxel | a8e474a | 2010-11-03 07:22:00 -0400 | [diff] [blame^] | 210 | errors occur, move tags as needed and start over from the fresh checkouts. |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 211 | Do not append to tarballs, as this has produced non-standards-conforming |
| 212 | tarballs in the past. |
gdt | 0d7e913 | 2005-02-23 16:20:07 +0000 | [diff] [blame] | 213 | |
Paul Jakma | 3de4277 | 2009-07-28 16:04:35 +0100 | [diff] [blame] | 214 | See also: http://wiki.quagga.net/index.php/Main/Processes |
| 215 | |
paul | 1eb8ef2 | 2005-04-07 07:30:20 +0000 | [diff] [blame] | 216 | [TODO: collation of a list of deprecated commands. Possibly can be scripted |
| 217 | to extract from vtysh/vtysh_cmd.c] |
| 218 | |
paul | 74a2dd7 | 2005-04-25 00:37:03 +0000 | [diff] [blame] | 219 | |
gdt | fbb6709 | 2004-11-15 17:29:11 +0000 | [diff] [blame] | 220 | TOOL VERSIONS |
| 221 | |
| 222 | Require versions of support tools are listed in INSTALL.quagga.txt. |
| 223 | Required versions should only be done with due deliberation, as it can |
| 224 | cause environments to no longer be able to compile quagga. |
| 225 | |
paul | 74a2dd7 | 2005-04-25 00:37:03 +0000 | [diff] [blame] | 226 | |
gdt | b7a97f8 | 2004-07-23 16:23:56 +0000 | [diff] [blame] | 227 | SHARED LIBRARY VERSIONING |
| 228 | |
| 229 | [this section is at the moment just gdt's opinion] |
| 230 | |
| 231 | Quagga builds several shared libaries (lib/libzebra, ospfd/libospf, |
| 232 | ospfclient/libsopfapiclient). These may be used by external programs, |
| 233 | e.g. a new routing protocol that works with the zebra daemon, or |
| 234 | ospfapi clients. The libtool info pages (node Versioning) explain |
| 235 | when major and minor version numbers should be changed. These values |
| 236 | are set in Makefile.am near the definition of the library. If you |
| 237 | make a change that requires changing the shared library version, |
| 238 | please update Makefile.am. |
| 239 | |
| 240 | libospf exports far more than it should, and is needed by ospfapi |
| 241 | clients. Only bump libospf for changes to functions for which it is |
| 242 | reasonable for a user of ospfapi to call, and please err on the side |
| 243 | of not bumping. |
| 244 | |
| 245 | There is no support intended for installing part of zebra. The core |
| 246 | library libzebra and the included daemons should always be built and |
| 247 | installed together. |
| 248 | |
paul | 74a2dd7 | 2005-04-25 00:37:03 +0000 | [diff] [blame] | 249 | |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 250 | PATCH SUBMISSION |
| 251 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 252 | * Send a clean diff against the 'master' branch of the quagga.git |
Greg Troxel | a8e474a | 2010-11-03 07:22:00 -0400 | [diff] [blame^] | 253 | repository, in unified diff format, preferably with the '-p' argument to |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 254 | show C function affected by any chunk, and with the -w and -b arguments to |
Greg Troxel | a8e474a | 2010-11-03 07:22:00 -0400 | [diff] [blame^] | 255 | minimise changes. E.g: |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 256 | |
Paul Jakma | 3de4277 | 2009-07-28 16:04:35 +0100 | [diff] [blame] | 257 | git diff -up mybranch..remotes/quagga.net/master |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 258 | |
| 259 | Or by using git-format-patch. |
| 260 | |
| 261 | * Not doing so is a definite hindrance to patch application. |
| 262 | |
Greg Troxel | a8e474a | 2010-11-03 07:22:00 -0400 | [diff] [blame^] | 263 | * Include NEWS entries as appropriate. |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 264 | |
| 265 | * Please, please include an appropriate commit message with any emailed |
| 266 | patches. Doing so makes it easier to review a patch, and apply it. |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 267 | |
gdt | 18323bb | 2004-11-05 13:17:20 +0000 | [diff] [blame] | 268 | * Include only one semantic change or group of changes per patch. |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 269 | |
paul | 85cf0a0 | 2004-01-09 16:34:54 +0000 | [diff] [blame] | 270 | * Do not make gratuitous changes to whitespace. See the w and b arguments |
| 271 | to diff. |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 272 | |
| 273 | * State on which platforms and with what daemons the patch has been |
| 274 | tested. Understand that if the set of testing locations is small, |
| 275 | and the patch might have unforeseen or hard to fix consequences that |
| 276 | there may be a call for testers on quagga-dev, and that the patch |
| 277 | may be blocked until test results appear. |
| 278 | |
| 279 | If there are no users for a platform on quagga-dev who are able and |
| 280 | willing to verify -current occasionally, that platform may be |
| 281 | dropped from the "should be checked" list. |
| 282 | |
paul | 74a2dd7 | 2005-04-25 00:37:03 +0000 | [diff] [blame] | 283 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 284 | PATCH APPLICATION |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 285 | |
| 286 | * Only apply patches that meet the submission guidelines. |
| 287 | |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 288 | * If the patch might break something, issue a call for testing on the |
| 289 | mailinglist. |
| 290 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 291 | * Give an appropriate commit message (see above), and use the --author |
| 292 | argument to git-commit, if required, to ensure proper attribution (you |
| 293 | should still be listed as committer) |
| 294 | |
| 295 | * Immediately after commiting, double-check (with git-log and/or gitk). If |
| 296 | there's a small mistake you can easily fix it with 'git commit --amend ..' |
paul | 4134ceb | 2004-05-13 13:38:06 +0000 | [diff] [blame] | 297 | |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 298 | * By committing a patch, you are responsible for fixing problems |
| 299 | resulting from it (or backing it out). |
| 300 | |
paul | 74a2dd7 | 2005-04-25 00:37:03 +0000 | [diff] [blame] | 301 | |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 302 | STABLE PLATFORMS AND DAEMONS |
| 303 | |
| 304 | The list of platforms that should be tested follow. This is a list |
| 305 | derived from what quagga is thought to run on and for which |
| 306 | maintainers can test or there are people on quagga-dev who are able |
| 307 | and willing to verify that -current does or does not work correctly. |
| 308 | |
| 309 | BSD (Free, Net or Open, any platform) # without capabilities |
| 310 | GNU/Linux (any distribution, i386) |
paul | 1f8f61a | 2004-11-05 23:38:20 +0000 | [diff] [blame] | 311 | Solaris (strict alignment, any platform) |
gdt | 18323bb | 2004-11-05 13:17:20 +0000 | [diff] [blame] | 312 | [future: NetBSD/sparc64] |
gdt | d9fd04c | 2003-12-19 19:20:25 +0000 | [diff] [blame] | 313 | |
| 314 | The list of daemons that are thought to be stable and that should be |
| 315 | tested are: |
| 316 | |
| 317 | zebra |
| 318 | bgpd |
| 319 | ripd |
| 320 | ospfd |
| 321 | ripngd |
gdt | 1f431d2 | 2003-12-22 15:45:01 +0000 | [diff] [blame] | 322 | |
gdt | 18323bb | 2004-11-05 13:17:20 +0000 | [diff] [blame] | 323 | Daemons which are in a testing phase are |
| 324 | |
| 325 | ospf6d |
| 326 | isisd |
ajs | 8035e9f | 2004-12-22 03:16:59 +0000 | [diff] [blame] | 327 | watchquagga |
gdt | 18323bb | 2004-11-05 13:17:20 +0000 | [diff] [blame] | 328 | |
paul | 74a2dd7 | 2005-04-25 00:37:03 +0000 | [diff] [blame] | 329 | |
jardin | 9e867fe | 2003-12-23 08:56:18 +0000 | [diff] [blame] | 330 | IMPORT OR UPDATE VENDOR SPECIFIC ROUTING PROTOCOLS |
| 331 | |
| 332 | The source code of Quagga is based on two vendors: |
| 333 | |
| 334 | zebra_org (http://www.zebra.org/) |
| 335 | isisd_sf (http://isisd.sf.net/) |
| 336 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 337 | To import code from further sources, e.g. for archival purposes without |
| 338 | necessarily having to review and/or fix some changeset, create a branch from |
| 339 | 'master': |
gdt | 18323bb | 2004-11-05 13:17:20 +0000 | [diff] [blame] | 340 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 341 | git checkout -b archive/foo master |
| 342 | <apply changes> |
| 343 | git commit -a "Joe Bar <joe@example.com>" |
| 344 | git push quagga archive/foo |
jardin | 9e867fe | 2003-12-23 08:56:18 +0000 | [diff] [blame] | 345 | |
Paul Jakma | d6bb5aa | 2008-08-26 22:15:03 +0100 | [diff] [blame] | 346 | presuming 'quagga' corresponds to a file in your .git/remotes with |
| 347 | configuration for the appropriate Quagga.net repository. |