1 module openflow-switch-connection-provider-impl {
3 namespace "urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:provider:impl";
4 prefix "openflow-switch-connection-provider-impl";
6 import config {prefix config; revision-date 2013-04-05; }
7 import openflow-switch-connection-provider {prefix openflow-switch-connection-provider; revision-date 2014-03-28; }
8 import ietf-inet-types {prefix ietf-inet; revision-date 2013-07-15; }
9 import openflow-configuration {prefix of-config; revision-date 2014-06-30; }
10 import rpc-context { prefix rpcx; revision-date 2013-06-17; }
13 "openflow-switch-connection-provider";
15 revision "2014-03-28" {
20 identity openflow-switch-connection-provider-impl {
21 base "config:module-type";
22 config:provided-service openflow-switch-connection-provider:openflow-switch-connection-provider;
23 config:java-name-prefix SwitchConnectionProvider;
27 identity statistics-collection-service-impl {
29 "This is the definition of statistics collection module identity.";
30 base config:module-type;
31 config:provided-service openflow-switch-connection-provider:statistics-collection-service;
32 config:java-name-prefix StatisticsCollection;
35 augment "/config:modules/config:module/config:configuration" {
36 case openflow-switch-connection-provider-impl {
37 when "/config:modules/config:module/config:type = 'openflow-switch-connection-provider-impl'";
40 description "Enable barrier in Openflow java";
46 description "local listening port";
51 description "address of local listening interface";
52 type ietf-inet:ip-address;
54 leaf transport-protocol {
55 description "Transport protocol used for communication.";
56 type of-config:transport-protocol;
59 leaf switch-idle-timeout {
60 description "idle timeout in [ms]";
66 description "keystore location";
70 description "keystore type (JKS or PKCS12)";
71 type of-config:keystore-type;
73 leaf keystore-path-type {
74 description "keystore path type (CLASSPATH or PATH)";
75 type of-config:path-type;
77 leaf keystore-password {
78 description "password protecting keystore";
81 leaf certificate-password {
82 description "password protecting certificate";
86 description "truststore location";
89 leaf truststore-type {
90 description "truststore type (JKS or PKCS12)";
91 type of-config:keystore-type;
93 leaf truststore-path-type {
94 description "truststore path type (CLASSPATH or PATH)";
95 type of-config:path-type;
97 leaf truststore-password {
98 description "password protecting truststore";
101 leaf-list cipher-suites {
102 description "combination of cryptographic algorithms used by TLS connection";
110 leaf worker-threads {
116 case statistics-collection-service-impl {
117 when "/config:modules/config:module/config:type = 'statistics-collection-service-impl'";
119 container statistics {
120 leaf statistics-collect {
121 description "Toggle statistics collecting";
124 leaf log-report-delay {
125 description "Delay between statistics logs";
129 list openflow-switch-connection-provider {
130 uses config:service-ref {
133 config:required-identity openflow-switch-connection-provider:openflow-switch-connection-provider;
140 augment "/config:modules/config:module/config:state" {
141 case statistics-collection-service-impl {
142 when "/config:modules/config:module/config:type = 'statistics-collection-service-impl'";
145 "MXBean designed for Message Statistic providing to JConsole.";
151 rpcx:rpc-context-instance "print-ofjava-statistics-rpc";
152 rpcx:rpc-context-instance "reset-ofjava-statistics-rpc";
156 identity print-ofjava-statistics-rpc;
157 identity reset-ofjava-statistics-rpc;
159 rpc print-ofjava-statistics {
161 "Shortcut JMX call to printOfjavaStatistics.";
163 uses rpcx:rpc-context-ref {
164 refine context-instance {
165 rpcx:rpc-context-instance print-ofjava-statistics-rpc;
176 rpc reset-ofjava-statistics {
178 "Shortcut JMX call to resetOfjavaStatistics.";
180 uses rpcx:rpc-context-ref {
181 refine context-instance {
182 rpcx:rpc-context-instance reset-ofjava-statistics-rpc;