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";
        }
    }
}

This topic: Main > WebHome > YangExamples > YangExamplesExecdTypes
History: r2 - 2008-11-04 - 21:06:01 - MartinBjoerklund
 
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