Code Review
/
ccsdk
/
apps.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
04d9596017295fa7d113c960c8e20b0f4bea5a64
[ccsdk/apps.git]
/
sdnr
/
wireless-transport
/
code-Carbon-SR1
/
apps
/
route
/
api
/
src
/
main
/
yang
/
route.yang
1
module route {
2
yang-version 1;
3
namespace "urn:opendaylight:params:xml:ns:yang:route";
4
prefix "route";
5
6
revision "2015-01-05" {
7
description "Initial revision of route model";
8
}
9
10
grouping fc_desc {
11
list fc {
12
key 'nodeName';
13
leaf nodeName {
14
type string;
15
}
16
leaf aEnd {
17
type string;
18
}
19
leaf zEnd {
20
type string;
21
}
22
}
23
}
24
grouping status_g {
25
leaf status {
26
type enumeration {
27
enum successful;
28
enum failure;
29
}
30
}
31
}
32
rpc create {
33
input {
34
uses fc_desc;
35
leaf vlanid {
36
type int32;
37
}
38
}
39
output {
40
uses status_g;
41
}
42
}
43
rpc delete {
44
input {
45
leaf vlanid {
46
type int32;
47
}
48
}
49
output {
50
uses status_g;
51
}
52
}
53
rpc create_follow_topo {
54
input {
55
leaf vlanid {
56
type int32;
57
}
58
}
59
output {
60
uses status_g;
61
}
62
}
63
rpc switch_follow_topo {
64
input {
65
leaf vlanid {
66
type int32;
67
}
68
}
69
output {
70
uses status_g;
71
}
72
}
73
rpc restore_follow_topo {
74
input {
75
leaf vlanid {
76
type int32;
77
}
78
}
79
output {
80
uses status_g;
81
}
82
}
83
rpc read_airInterface {
84
input {
85
leaf lp_id {
86
type string;
87
}
88
leaf nodeName {
89
type string;
90
}
91
}
92
}
93
94
}