summaryrefslogtreecommitdiffstats
path: root/netconf/restconf/restconf-nb-bierman02/src/test/resources/nn-to-xml/choice/module-with-choice.yang
blob: 84547847ee28604a3f561588116ddde2b234819a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module module-with-choice {
  namespace "module:with:choice";  

  prefix "mowicho";
  
  revision 2013-12-18 {    
  }
  

  container cont {
    choice choA {
        case caA1 {
            leaf lf1 {
                type string;
            }
        }
        case caA2 {
            leaf lf2 {
                type string;
            }
        } 
    }
  }    
	  
}