Add method to register listener for unknown msg
[openflowjava.git] / openflow-protocol-api / src / main / yang / openflow-configuration.yang
1 /*
2  * Copyright (c) 2014 Pantheon Technologies s.r.o. 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
9  module openflow-configuration {
10     namespace "urn:opendaylight:openflow:config";
11     prefix "of-config";
12
13     revision "2014-06-30" {
14         description "Library configuration classes";
15     }
16
17     typedef path-type {
18         type enumeration {
19             enum CLASSPATH {
20                 value 0;
21                 description "Keystore file is located on classpath.";
22             }
23             enum PATH {
24                 value 1;
25                 description "Keystore file is located on absolute or relative path.";
26             }
27         }
28     }
29
30     typedef keystore-type {
31         type enumeration {
32             enum JKS {
33                 value 0;
34                 description "Keystore type - JKS.";
35             }
36             enum PKCS12 {
37                 value 1;
38                 description "Keystore type - PKCS12.";
39             }
40         }
41     }
42
43     typedef transport-protocol {
44         type enumeration {
45             enum TCP {
46                 value 0;
47                 description "Communication over TCP protocol.";
48             }
49             enum TLS {
50                 value 1;
51                 description "Communication over TLS protocol.";
52             }
53             enum UDP {
54                 value 2;
55                 description "Communication over UDP protocol.";
56             }
57         }
58     }
59 }