action propagate

Mode: Configuration Mode

Description:

The action propagate statement allows mgd to propagate the configuration setting to other processes. One common usage is to copy some configurations to an rc file for some processes to read, instead of reading the junos configuration database (for example, inetd uses inetd.conf, and it is easier for mgd to propagate settings pertaining to inetd to inetd.conf rather than rewriting inetd to use the junos configuration database.)

Example:

src/junos/lib/ddl/input/system.cnf.dd

        object services {
            flag no-struct;
            require system;
            help "System services";
            notify inetd;

            object finger {
                help "Allow finger requests from remote systems";
                flag no-fips;
                TCP_SERVICE(finger, nobody, /usr/libexec/fingerd, fingerd -s);
            }

            object ftp {
                help "Allow FTP file transfers";
                flag no-fips;
                TCP_AND_TCP6_SERVICE(ftp, root, /usr/libexec/ftpd, ftpd -l);
            }

            object rlogin {
                hidden unreleased;
                help "Allow rlogin access from remote systems";
                flag no-fips;
                TCP_SERVICE(login, root, /usr/libexec/rlogind, rlogind);
            }

            ...

        }

Topics for further reading:

See also:

Reference (to programmers guide/style guide):


2007-2008 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are trademarks of Juniper Networks, Inc.
Generated on Sun May 30 20:23:12 2010 for DDL Reference Guide by doxygen 1.4.5