notify

Mode: Configuration Mode

Description:

The notify statement lists daemons that are to be notified when this configuration is changed. The input file of the daemon where the CLI knob is defined is automatically notified but there may be other daemons which may need to know when the knob is changed. These daemons are to be included in the notify list. During commit time, all the daemons in the notify list will be notified to read the new configurations.

The recommendation is to put the notify list to the topmost object that needs to be notified.

Example:

        object newbie {
            help "Newbie settings";
            flag remove-empty;

            attribute mcast-addr {
                help "Test mcast address";
                flag multicast-only;
                notify rpd;
                type ipv4addr;
            }
        }

Display:

        user@router# set example newbie ?
        Possible completions:
        + apply-groups         Groups from which to inherit configuration data
        + apply-groups-except  Don't inherit configuration data from these groups
          mcast-addr           Test mcast address
        [edit]
        user@router# set example newbie mcast-addr 224.0.0.7    

        [edit]
        user@router# commit
        commit complete

        [edit]
        user@router# show example
        newbie {
            mcast-addr 224.0.0.7;
        }

        [edit]

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