Difference: YangExamplesExecdTypes (1 vs. 2)

Revision 22008-11-04 - MartinBjoerklund

Line: 1 to 1
 
META TOPICPARENT name="YangExamples"
Changed:
<
<
submodule execd-types {

>
>
submodule execd-types {

 
Changed:
<
<
belongs-to execd;
>
>
belongs-to execd { prefix execd; }
  description "Common types used within execd.";
Added:
>
>
revision "2008-11-04" { description "draft-ietf-netmod-yang-02 compatible."; }
  revision "2007-08-29" { description "Syntax fixes after pyang validation."; }

Revision 12007-11-19 - MartinBjoerklund

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="YangExamples"
submodule execd-types {

    belongs-to execd;

    description "Common types used within execd.";

    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 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