
Comparing two revisions:
| Fri 09 Oct 09 - 10:45am by Brent Chapman | Fri 09 Oct 09 - 11:07am by Brent Chapman | ||
|---|---|---|---|
| < previous diff | next diff > | ||
| Changes to Body | |||
<a href="../formats/ncg"><b>ncg</b> file format</a>, <a href="../formats/neto"><b>neto</b> file format</a>.
| <a href="../formats/ncg"><b>ncg</b> file format</a>, <a href="../formats/neto"><b>neto</b> file format</a>.
| ||
</p>
| </p>
| ||
| - | + | ||
| + | <h2>Version</h2>
| ||
| + | <p>
| ||
| + | This documentation is for <b>ncg</b> version 0.10.x.
| ||
| + | </p> | ||
ncg [ -v | --verbose ] [ -k | --keys ] [ -d | --dump ] [ -E errfile | --error-dump errfile ] [ -L libdir | --libdir libdir ] [ -V | --version ] [ -h | --help ] file [...]
ncg generates config files for networks that are described by neto format file(s).
ncg parses the file(s) (in neto format) specified by the file ... argument(s) to build an internal model of a network, and then generates a config file for each node in the resulting network model which has a ncg_output tag defined for it (which specifies the file where the node's config should be written to, creating or overwriting the file as necessary), using the template file (in ncg format) specified by the node's ncg_template tag.
To read from standard input, specify "-" as the filename.
As a Ruby program, ncg also looks for the standard Ruby environment variables (see ruby(1) man page).
Please report any bugs you find by email to bugs@netomata.com.
ncg was originally written in 2008 by Brent Chapman of Netomata, Inc.
Copyright (C) 2009 Netomata, Inc. All Rights Reserved.
ncg file format, neto file format.
This documentation is for ncg version 0.10.x.