SDNC-52 Source files should not be executable
[sdnc/core.git] / sli / common / src / main / yang / ase-network.yang
1 module ase {
2   namespace "att:ase";
3   prefix ase;
4   revision "2014-06-03" {
5     description "Example ASE Network Module";
6   }
7
8   container ase {
9       config true;
10       leaf ase-network-id{
11         type uint32;
12       }
13       leaf topology {
14         type string ; // check enum
15       }
16   }
17
18   container ase-port {
19       config true;
20       // is this really a list of cpe ports one for each  uni-ckt
21       leaf esm-name {
22                 type string;
23       }
24       
25       leaf resource-emt-clli {
26         type string;
27       }
28       
29       leaf resource-emt-ip-addr{
30                 type string;
31       }
32       leaf port-action {
33                 type string;
34       }
35       leaf profile  {
36                 type string;
37       }
38       leaf port {
39                 type string;
40       }
41       leaf state {
42                 type string;
43       }
44       leaf resource-mode {
45                 type string;
46       }
47       leaf speed {
48                 type string;
49       }
50       leaf resource-lldp {
51                 type string;
52       }
53       leaf  resource-mtu {
54                 type string;
55       }
56       leaf resource-autoneg{
57                 type string;
58       }
59       leaf  resource-twamp {
60                 type string;
61       }
62       leaf resource-description {
63                 type string;
64       }
65       leaf uni-circuit-id {
66         type string;
67       }
68     } // ase-port container  
69
70     container ase-evc {
71 //  Port contains a list of EVC
72 //     EVCs are either point to point or multipoint (topology)
73 //     EVCs are connected ? what ID is used to connected them ? (network-id) ?
74       config true;
75       leaf esm-name {   
76                 type string;
77       } 
78           leaf emt-ip-addr {
79                 type string;
80       } 
81           leaf evc-action {
82                 type string;
83       } 
84           leaf service-id {
85                 type string;
86       } 
87
88           leaf serv-type {
89                 type string;
90       } 
91           leaf evc-choice {
92                 type string;
93       } 
94           leaf uni-port {
95                 type string;
96       } 
97           leaf lag-port {
98                 type string;
99       } 
100           leaf mac-onoff {
101                 type string;
102       } 
103
104           leaf ppcos {
105                 type string;
106       } 
107           leaf cir {
108                 type string;
109       } 
110           leaf cbs {
111                 type string;
112       } 
113           leaf ebs {
114                 type string;
115      }  
116          leaf sgos {
117                 type string;
118      }  
119 // ipag Device Data
120         leaf pe {
121                 type string;
122       } 
123         leaf unit {
124                 type string;
125       } 
126           leaf qinq {
127                 type string;
128       } 
129           leaf interface {
130                 type string;
131       } 
132           leaf evc-description {
133                 type string;
134       } 
135           leaf bandwidth {
136                 type string;
137       } 
138           leaf svlan {
139                 type string;
140                 description "Service VLAN is either outer tag or only tag depending on QinQ";
141       } 
142           leaf cvlan  {
143                 type string;
144                 description "Customer VLAN is null if not QinQ";
145       } 
146           leaf routing-instance {
147                 type string;
148       } 
149           leaf rd {
150                 type string;
151       } 
152           leaf rt {
153                 type string;
154       } 
155           leaf limit {
156                 type string;
157       } 
158           leaf label-block-size {
159                 type string;
160       } 
161           leaf site {
162                 type string;
163       } 
164           leaf int-mac-limit {
165                 type string;
166       } 
167           leaf sgos-grade {
168                 type string;
169       } 
170           leaf bum-rate {
171                 type string;
172       } 
173       leaf uni-circuit-id {
174         type string;
175       }
176     } // ase-evc container
177
178 } // module ase-network 
179