BUG-9223:Remove hardcoded value of lldp interval
[openflowplugin.git] / model / model-flow-service / src / main / yang / sal-echo.yang
1 module sal-echo {
2     namespace "urn:opendaylight:echo:service";
3     prefix echo;
4
5     import opendaylight-inventory {prefix inv; revision-date "2013-08-19";}
6
7     description "Openflow echo service.";
8
9     revision "2015-03-05" {
10         description "Initial proposal, tentative API.";
11     }
12
13     rpc send-echo {
14         description "Sending echo message to openflow device.";
15
16         input {
17             uses "inv:node-context-ref";
18             leaf data {
19                 description "Openflow echo request payload (arbirary-length data field). The
20                   data field might be a message timestamp to check latency, various lengths
21                   to measure bandwidth, or zero-size to verify liveness between the switch
22                   and controller.";
23
24                 type binary;
25             }
26         }
27         output {
28             leaf data {
29                 description "Unmodified data field.";
30
31                 type binary;
32             }
33         }
34     }
35 }