• This project
    • Loading...
  • Sign in

홍길동 / onos

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • onos
  • utils
  • yangutils
  • src
  • test
  • resources
  • MultiplePatternAndLengthRestrictionIn...
  • Gaurav Agrawal's avatar
    YANG: Junit testcases for restricions resolution · 3a6b5567 ...
    3a6b5567
    Change-Id: I35b8a579f924af50a5e2192bdac36dc94784198e
    Gaurav Agrawal authored 2016-05-04 17:56:43 +0000
MultiplePatternAndLengthRestrictionInValid.yang 415 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
module Test {
    yang-version 1;
    namespace http://huawei.com;
    prefix Ant;
    leaf invalid-interval {
        type hello {
            pattern "[a-z]";
            pattern "[A-Z]";
            length "min..20 | 100..max";
        }
    }
    typedef hello {
        type string {
            pattern "[0-9]";
            pattern "[\n]";
            length "0..100 | 101..200 | 201..300";
        }
    }
}