flag kilo

Mode: Configuration Mode

Description:

With flag kilo, the presentation of integer values will be shown with in the shortest possible form in the binary system with kilo (k), mega (m), or giga (g), if applicable.

Example:

        object newbie {
            help "Newbie settings";

            attribute number {
                help "Newbie number";
                flag kilo;
                type uint;
                default 10;
            }
        }

Display:

        user@router# set example newbie number ?
        Possible completions:
          <number>             Newbie number
        [edit]
        user@router# set example newbie number 2097152

        [edit]
        user@router# commit 
        commit complete

        [edit]
        user@router# show example 
        newbie {
            number 2m;
        }

        [edit]
        user@router# set example newbie number 1100101  

        [edit]
        user@router# show example
        newbie {
            number 1100101;
        }

        [edit]

Topics for further reading:

See also:
flag k1000

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