c8f23162790460febce87cfb05729c79998eb8d8
[neutron.git] / model / src / main / yang / neutron-constants.yang
1 /*
2  * Copyright (c) 2018 Intel Corporation and others.  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
7  */
8 module neutron-constants {
9
10     yang-version 1;
11
12     namespace "urn:opendaylight:neutron-constants";
13
14     prefix neutron-constants;
15
16     organization "OpenDaylight Neutron Group";
17
18     contact "Ryan Moats <rmoats@us.ibm.com>";
19
20     revision "2015-07-12" {
21         description "Initial revision";
22     }
23
24     // PROTOCOL
25     identity protocol-base {
26         description "Base identity for all front end protocols";
27     }
28
29     identity protocol-http {
30         description "HTTP protocol.";
31         base protocol-base;
32     }
33
34     identity protocol-terminated-https {
35         description "TERMINATED HTTPS protocol.";
36         base protocol-base;
37     }
38
39     identity protocol-https {
40         description "HTTPS protocol.";
41         base protocol-base;
42     }
43
44     identity protocol-tcp {
45         description "TCP protocol.";
46         base protocol-base;
47     }
48
49     identity protocol-icmp {
50         description "ICMP protocol.";
51         base protocol-base;
52     }
53
54     identity protocol-icmp-v6 {
55         description "ICMPV6 protocol.";
56         base protocol-base;
57     }
58
59     identity protocol-udp {
60         description "UDP protocol.";
61         base protocol-base;
62     }
63
64     // PROBE
65     identity probe-base {
66         description "Base identity for all probes";
67     }
68
69     identity probe-http {
70         description "HTTP protocol.";
71         base probe-base;
72     }
73
74     identity probe-https {
75         description "HTTPS protocol.";
76         base probe-base;
77     }
78
79     identity probe-tcp {
80         description "TCP protocol.";
81         base probe-base;
82     }
83
84     identity probe-ping {
85         description "PING protocol.";
86         base probe-base;
87     }
88
89     // FWaaS v1
90     identity fw-protocol-base {
91         description "Base identity for firewall protocol";
92     }
93
94     identity fw-protocol-tcp {
95         description "TCP protocol.";
96         base fw-protocol-base;
97     }
98
99     identity fw-protocol-udp {
100         description "UDP protocol.";
101         base fw-protocol-base;
102     }
103
104     identity fw-protocol-icmp {
105         description "ICMP protocol.";
106         base fw-protocol-base;
107     }
108
109     // DIRECTION
110     identity direction-base {
111         description "Base identity for direction";
112     }
113
114     identity direction-ingress {
115         description "Ingress direction.";
116         base direction-base;
117     }
118
119     identity direction-egress {
120         description "Egress direction.";
121         base direction-base;
122
123     }
124
125     identity direction-minimum-bandwidth-rule {
126         description "Direction for minimum bandwidth rule.";
127         base direction-base;
128     }
129
130     // IP VERSION
131     identity ip-version-base {
132         description "the base identity for ip versions";
133     }
134
135     identity ip-version-v4 {
136         description "IP v4";
137         base ip-version-base;
138     }
139
140     identity ip-version-v6 {
141         description "IP v6";
142         base ip-version-base;
143     }
144
145     // ETHERTYPE
146     identity ethertype-base {
147         description "the base identity for ethertype versions";
148     }
149
150     identity ethertype-v4 {
151         description "IP v4";
152         base ethertype-base;
153     }
154
155     identity ethertype-v6 {
156         description "IP v6";
157         base ethertype-base;
158     }
159
160     // DHCP
161     identity dhcpv6-base {
162         description "the base identity for DHCP v6 information";
163     }
164
165     identity dhcpv6-off {
166         description "DHCP v6 off";
167         base dhcpv6-base;
168     }
169
170     identity dhcpv6-stateful {
171         description "DHCP v6 stateful";
172         base dhcpv6-base;
173     }
174
175     identity dhcpv6-slaac {
176         description "SLAAC";
177         base dhcpv6-base;
178     }
179
180     identity dhcpv6-stateless {
181         description "DHCP v6 stateless";
182         base dhcpv6-base;
183     }
184 }