-
Notifications
You must be signed in to change notification settings - Fork 390
/
controller.sandesh
142 lines (120 loc) · 2.87 KB
/
controller.sandesh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
/*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
struct ControllerProtoStats {
1: u32 open;
2: u32 keepalive;
3: u32 update;
4: u32 close;
}
struct AgentXmppData {
1: string controller_ip;
2: string state;
3: string cfg_controller;
4: string mcast_controller;
5: string last_state;
6: string last_event;
7: string last_state_at;
8: u32 flap_count;
9: string flap_time;
10: ControllerProtoStats rx_proto_stats;
11: ControllerProtoStats tx_proto_stats;
}
struct AgentXmppDnsData {
1: string dns_controller_ip;
2: string state;
3: string last_state;
4: string last_event;
5: string last_state_at;
6: u32 flap_count;
7: string flap_time;
8: ControllerProtoStats rx_proto_stats;
9: ControllerProtoStats tx_proto_stats;
}
struct AgentDiscoveryXmppConnections {
1: string agent_controller_ip;
2: u32 agent_controller_port;
3: string discovery_controller_ip;
4: u32 discovery_controller_port;
}
traceobject sandesh AgentXmppTrace {
1: string peer;
2: string vrf;
3: string event;
}
traceobject sandesh AgentXmppIFMapVmExportTrace {
1: string vm;
2: string vmi;
3: string event;
}
traceobject sandesh AgentXmppIFMapSeqTrace {
1: u32 xmpp_server_index,
2: u64 new_seq_num;
3: string event;
}
traceobject sandesh AgentXmppRouteExport {
1: string peer;
2: string vrf;
3: string ip;
4: bool associate;
5: u32 label;
}
traceobject sandesh AgentXmppRouteImport {
1: string peer;
2: string vrf;
3: string ip;
4: u16 plen;
5: string nexthop;
6: u32 label;
7: string vn;
}
traceobject sandesh AgentXmppMcastSubscribe {
1: string peer;
2: string vrf;
3: string source;
4: string group;
}
traceobject sandesh AgentXmppSession {
1: string peer;
2: string event;
3: string tree_builder;
4: string message;
}
trace sandesh AgentXmppDiscoveryConnection {
1: string message;
2: "index =";
3: u16 index;
4: "server =";
5: string server;
6: string data;
}
trace sandesh AgentXmppWalker {
1: string message;
2: string node_name;
3: string peer;
}
trace sandesh AgentXmppTimer {
1: string operation;
2: string timer_name;
3: string channel;
}
request sandesh AgentXmppConnectionStatusReq {
}
response sandesh AgentXmppConnectionStatus {
1: list<AgentXmppData>peer;
}
request sandesh AgentDnsXmppConnectionStatusReq {
}
response sandesh AgentDnsXmppConnectionStatus {
1: list<AgentXmppDnsData>peer;
}
request sandesh AgentDiscoveryXmppConnectionsRequest {
}
response sandesh AgentDiscoveryXmppConnectionsResponse {
1: list<AgentDiscoveryXmppConnections>xmppc;
}
request sandesh AgentDiscoveryDnsXmppConnectionsRequest {
}
response sandesh AgentDiscoveryDnsXmppConnectionsResponse {
1: list<AgentDiscoveryXmppConnections>xmppc;
}