8a1f8bbc42d70c810b606a6bb03c9eb53bbdb188
[openflowjava.git] / openflow-protocol-api / src / main / yang / openflow-configuration.yang
1 /*\r
2  * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8  \r
9  module openflow-configuration {\r
10     namespace "urn:opendaylight:openflow:config";\r
11     prefix "of-config";\r
12 \r
13     revision "2014-06-30" {\r
14         description "Library configuration classes";\r
15     }\r
16 \r
17     typedef path-type {\r
18         type enumeration {\r
19             enum CLASSPATH {\r
20                 value 0; \r
21                 description "Keystore file is located on classpath.";\r
22             }\r
23             enum PATH {\r
24                 value 1; \r
25                 description "Keystore file is located on absolute or relative path.";\r
26             }\r
27         }\r
28     }\r
29 \r
30     typedef keystore-type {\r
31         type enumeration {\r
32             enum JKS {\r
33                 value 0; \r
34                 description "Keystore type - JKS.";\r
35             }\r
36             enum PKCS12 {\r
37                 value 1; \r
38                 description "Keystore type - PKCS12.";\r
39             }\r
40         }\r
41     }\r
42 \r
43     typedef transport-protocol {\r
44         type enumeration {\r
45             enum TCP {\r
46                 value 0;\r
47                 description "Communication over TCP protocol.";\r
48             }\r
49             enum TLS {\r
50                 value 1;\r
51                 description "Communication over TLS protocol.";\r
52             }\r
53             enum UDP {\r
54                 value 2;\r
55                 description "Communication over UDP protocol.";\r
56             }\r
57         }\r
58     }\r
59 }