Debian Codegraph @

tests/unit/rpc-reply/get.xml

raw
1 <rpc-reply>
2 <data>
3 <bgp>
4 <global>
5 <state>
6 <as>0</as>
7 <router-id>128.221.129.25</router-id>
8 <total-paths>0</total-paths>
9 <total-prefixes>0</total-prefixes>
10 </state>
11 <route-selection-options>
12 <state>
13 <always-compare-med>false</always-compare-med>
14 <ignore-as-path-length>false</ignore-as-path-length>
15 <external-compare-router-id>false</external-compare-router-id>
16 <advertise-inactive-routes>false</advertise-inactive-routes>
17 </state>
18 </route-selection-options>
19 <confederation>
20 <state>
21 <enabled>false</enabled>
22 <identifier>0</identifier>
23 </state>
24 </confederation>
25 <graceful-restart>
26 <state>
27 <enabled>false</enabled>
28 <restart-time>0</restart-time>
29 <stale-routes-time>0</stale-routes-time>
30 <helper-only>true</helper-only>
31 </state>
32 </graceful-restart>
33 </global>
34 <neighbors>
35 <neighbor>
36 <neighbor-address>10.10.0.1</neighbor-address>
37 <state>
38 <peer-as>110</peer-as>
39 <local-as>104</local-as>
40 <peer-type>EXTERNAL</peer-type>
41 <auth-password>(null)</auth-password>
42 <remove-private-as>0</remove-private-as>
43 <route-flap-damping>false</route-flap-damping>
44 <description>(null)</description>
45 <session-state>IDLE</session-state>
46 <last-established>241491</last-established>
47 <established-transitions>0</established-transitions>
48 <supported-capabilities>
49 MPBGP
50 </supported-capabilities>
51 <session-status>HALTED</session-status>
52 <session-admin-status>STOP</session-admin-status>
53 <interface-error>true</interface-error>
54 <peer-group>OC</peer-group>
55 <neighbor-address>10.10.0.1</neighbor-address>
56 <enabled>true</enabled>
57 <messages>
58 <sent>
59 <UPDATE>0</UPDATE>
60 <NOTIFICATION>0</NOTIFICATION>
61 </sent>
62 <received>
63 <UPDATE>0</UPDATE>
64 <NOTIFICATION>0</NOTIFICATION>
65 </received>
66 </messages>
67 <queues>
68 <input>0</input>
69 <output>0</output>
70 </queues>
71 </state>
72 <timers>
73 <state>
74 <connect-retry>0</connect-retry>
75 <hold-time>90</hold-time>
76 <keepalive-interval>30</keepalive-interval>
77 <minimum-advertisement-interval>0</minimum-advertisement-interval>
78 <negotiated-hold-time>90</negotiated-hold-time>
79 </state>
80 </timers>
81 <transport>
82 <state>
83 <tcp-mss>0</tcp-mss>
84 <mtu-discovery>false</mtu-discovery>
85 <passive-mode>false</passive-mode>
86 <local-address>unspecified</local-address>
87 <local-port>0</local-port>
88 <remote-address>10.10.0.1</remote-address>
89 <remote-port>179</remote-port>
90 </state>
91 </transport>
92 <error-handling>
93 <state>
94 <treat-as-withdraw>false</treat-as-withdraw>
95 <erroneous-update-messages>0</erroneous-update-messages>
96 </state>
97 </error-handling>
98 <logging-options>
99 <state>
100 <log-neighbor-state-changes>false</log-neighbor-state-changes>
101 </state>
102 </logging-options>
103 <ebgp-multihop>
104 <state>
105 <enabled>false</enabled>
106 <multihop-ttl>0</multihop-ttl>
107 </state>
108 </ebgp-multihop>
109 <route-reflector>
110 <state>
111 <route-reflector-cluster-id>zero-len</route-reflector-cluster-id>
112 <route-reflector-client>false</route-reflector-client>
113 </state>
114 </route-reflector>
115 <as-path-options>
116 <state>
117 <allow-own-as>1</allow-own-as>
118 <replace-peer-as>false</replace-peer-as>
119 </state>
120 </as-path-options>
121 <use-multiple-paths>
122 <state>
123 <enabled>false</enabled>
124 </state>
125 <ebgp>
126 <state>
127 <allow-multiple-as>false</allow-multiple-as>
128 <maximum-paths>16</maximum-paths>
129 </state>
130 </ebgp>
131 <ibgp>
132 <state>
133 <maximum-paths>16</maximum-paths>
134 </state>
135 </ibgp>
136 </use-multiple-paths>
137 <graceful-restart>
138 <state>
139 <enabled>false</enabled>
140 <restart-time>120</restart-time>
141 <stale-routes-time>300</stale-routes-time>
142 <helper-only>true</helper-only>
143 <peer-restart-time>0</peer-restart-time>
144 <peer-restarting>false</peer-restarting>
145 <local-restarting>false</local-restarting>
146 <mode>HELPER_ONLY</mode>
147 </state>
148 </graceful-restart>
149 <apply-policy>
150 <state>
151 <import-policy>
152 bgp-in
153 </import-policy>
154 <export-policy>
155 bgp-out
156 </export-policy>
157 </state>
158 </apply-policy>
159 </neighbor>
160 </neighbors>
161 <peer-groups>
162 <peer-group>
163 <peer-group-name>OC</peer-group-name>
164 <state>
165 <peer-as>110</peer-as>
166 <local-as>104</local-as>
167 <peer-type>EXTERNAL</peer-type>
168 <auth-password>(null)</auth-password>
169 <remove-private-as>0</remove-private-as>
170 <route-flap-damping>false</route-flap-damping>
171 <description>(null)</description>
172 <peer-group-name>OC</peer-group-name>
173 <total-paths>0</total-paths>
174 <total-prefixes>0</total-prefixes>
175 </state>
176 <timers>
177 <state>
178 <connect-retry>0</connect-retry>
179 <hold-time>90</hold-time>
180 <keepalive-interval>30</keepalive-interval>
181 <minimum-advertisement-interval>0</minimum-advertisement-interval>
182 </state>
183 </timers>
184 <transport>
185 <state>
186 <tcp-mss>0</tcp-mss>
187 <mtu-discovery>false</mtu-discovery>
188 <passive-mode>false</passive-mode>
189 <local-address>unspecified</local-address>
190 </state>
191 </transport>
192 <error-handling>
193 <state>
194 <treat-as-withdraw>false</treat-as-withdraw>
195 </state>
196 </error-handling>
197 <logging-options>
198 <state>
199 <log-neighbor-state-changes>false</log-neighbor-state-changes>
200 </state>
201 </logging-options>
202 <ebgp-multihop>
203 <state>
204 <enabled>false</enabled>
205 <multihop-ttl>0</multihop-ttl>
206 </state>
207 </ebgp-multihop>
208 <route-reflector>
209 <state>
210 <route-reflector-cluster-id>zero-len</route-reflector-cluster-id>
211 <route-reflector-client>false</route-reflector-client>
212 </state>
213 </route-reflector>
214 <as-path-options>
215 <state>
216 <allow-own-as>1</allow-own-as>
217 <replace-peer-as>false</replace-peer-as>
218 </state>
219 </as-path-options>
220 <use-multiple-paths>
221 <state>
222 <enabled>false</enabled>
223 </state>
224 <ebgp>
225 <state>
226 <allow-multiple-as>false</allow-multiple-as>
227 <maximum-paths>16</maximum-paths>
228 </state>
229 </ebgp>
230 <ibgp>
231 <state>
232 <maximum-paths>16</maximum-paths>
233 </state>
234 </ibgp>
235 </use-multiple-paths>
236 <graceful-restart>
237 <state>
238 <enabled>false</enabled>
239 <restart-time>120</restart-time>
240 <stale-routes-time>300</stale-routes-time>
241 <helper-only>true</helper-only>
242 </state>
243 </graceful-restart>
244 <apply-policy>
245 <state>
246 <import-policy>
247 bgp-in
248 </import-policy>
249 <export-policy>
250 bgp-out
251 </export-policy>
252 </state>
253 </apply-policy>
254 </peer-group>
255 </peer-groups>
256 </bgp>
257 <database-status-information>
258 <database-status>
259 <user>regress</user>
260 <terminal/>
261 <pid>57076</pid>
262 <start-time seconds="1487593223">2017-02-20 17:50:23 IST</start-time>
263 <idle-time seconds="338413">3d 22:00</idle-time>
264 <edit-path/>
265 </database-status>
266 </database-status-information>
267 </data>
268 </rpc-reply>