r2 - 2008-11-04 - 21:06:01 - MartinBjoerklundYou are here: TWiki >  Main Web > YangExamples > YangExamplesExecdTypes
submodule execd-types {

    belongs-to execd { prefix execd; }

    description "Common types used within execd.";

    revision "2008-11-04" {
        description "draft-ietf-netmod-yang-02 compatible.";
    }
    revision "2007-08-29" {
        description "Syntax fixes after pyang validation.";
    }
    revision "2007-06-08" {
        description "Initial revision.";
    }
    
    typedef prefixLengthIPv4 {
        type int32 {
            range "0..32";
        }
    }
    
    typedef prefixLengthIPv6 {
        type int32 {
            range "0..128";
        }
    }
    
    typedef interfaceName {
        type string {
            length "1..30";
            pattern "[A-Za-z][^/:.]*";
        }
    }
    
    typedef interfaceLogicalUnit {
        type int32 {
            range "0..9999";
        }
    }
}
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
YANG
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback