Bump versions by x.y.(z+1)
[unimgr.git] / presto-api / src / main / yang / onf-core-specs.yang
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
7  */
8 module onf-core-specs {
9   namespace "urn:onf:core-specs";
10   prefix onf-cs;
11
12   import network-topology {
13     prefix nt;
14   }
15
16   revision 2016-06-30 {
17   }
18
19   grouping ltp-ref {
20     leaf topology {
21       type nt:topology-ref;
22     }
23     leaf node {
24       type nt:node-ref;
25     }
26     leaf tp {
27       type nt:tp-ref;
28     }
29   }
30
31   grouping G_FcSpec {
32     status current;
33     leaf uuid {
34       type string;
35     }
36     list fcPortSpec {
37       key 'uuid';
38       config true;
39       ordered-by system;
40       uses G_FcPortSetSpec;
41     }
42   }
43
44   grouping G_FcPortSetSpec {
45     status current;
46     leaf uuid {
47       type string;
48     }
49     list ingressFcPortSet {
50       ordered-by system;
51       key 'topology node tp';
52       config true;
53       uses ltp-ref;
54     }
55     list egressFcPortSet {
56       ordered-by system;
57       key 'topology node tp';
58       config true;
59       uses ltp-ref;
60     }
61     leaf role {
62       type string;
63       default true;
64     }
65   }
66
67   grouping G_LtpSpec {
68   }
69
70   grouping G_LayerProtocolSpec {
71     container adapterSpec {
72       config true;
73       uses G_ConnectionPointAndAdapterSpec;
74     }
75     container terminationSpec {
76       config true;
77       uses G_TerminationSpec;
78     }
79     list adapterPropertySpecList {
80       key 'uuid';
81       config true;
82       leaf uuid {
83         type string;
84       }
85       ordered-by system;
86       uses G_AdapterPropertySpec;
87     }
88     container providerViewSpec {
89       config true;
90       uses G_ProviderViewSpec;
91     }
92     list serverSpecList {
93       key 'uuid';
94       config true;
95       leaf uuid {
96         type string;
97       }
98       ordered-by system;
99       uses G_ServerSpec;
100     }
101   }
102
103   grouping G_TerminationSpec {
104   }
105
106   grouping G_ConnectionPointAndAdapterSpec {
107   }
108
109   grouping G_AdapterPropertySpec {
110   }
111
112   grouping G_ProviderViewSpec {
113   }
114
115   grouping G_ServerSpec {
116   }
117 }