/
controller.sandesh
102 lines (88 loc) · 1.92 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
/*
* 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;
}
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;
}