blob: 75ac251a690b5332273d504dfc5da5afc2224162 [file] [log] [blame]
Aleš Komáreka3314b22017-04-11 13:46:06 +02001====================
2OpenContrail Formula
3====================
Filip Pytloun27930402015-10-06 16:28:32 +02004
Jakub Pavlik01fe5372016-05-20 11:23:28 +02005Contrail Controller is an open, standards-based software solution that
6delivers network virtualization and service automation for federated cloud
7networks. It provides self-service provisioning, improves network
8troubleshooting and diagnostics, and enables service chaining for dynamic
9application environments across enterprise virtual private cloud (VPC),
10managed Infrastructure as a Service (IaaS), and Networks Functions
11Virtualization (NFV) use cases.
Filip Pytloun27930402015-10-06 16:28:32 +020012
Jiri Konecny463dee52016-03-03 11:08:46 +010013
Petr Michalec579e64d2017-03-24 12:54:29 +010014Package source
15==============
Aleš Komáreka3314b22017-04-11 13:46:06 +020016
Petr Michalec579e64d2017-03-24 12:54:29 +010017Formula support OpenContrail as well as Juniper Contrail package repository in the backend.
18
19Differences withing the configuration and state run are controlled by
20``opencontrail.common.vendor: [opencontrail|juniper]`` pillar attribute.
21
22Default value is set to ``opencontrail``.
23
24Juniper releases tested with this formula:
25 - 3.0.2.x
26
27To use Juniper Contrail repository as a source of packages override pillar as in this example:
28
29.. code-block:: yaml
30
31 opencontrail:
32 common:
33 vendor: juniper
34
35
Aleš Komáreka3314b22017-04-11 13:46:06 +020036Sample Pillars
Filip Pytloun27930402015-10-06 16:28:32 +020037==============
38
Jiri Konecny463dee52016-03-03 11:08:46 +010039Controller nodes
40----------------
41
42There are several scenarios for OpenContrail control plane.
43
44All-in-one single
45~~~~~~~~~~~~~~~~~
46
47Config, control, analytics, database, web -- altogether on one node.
48
49.. code-block:: yaml
50
51 opencontrail:
52 common:
53 version: 2.2
54 source:
55 engine: pkg
56 address: http://mirror.robotice.cz/contrail-havana/
57 identity:
58 engine: keystone
ibumarskovea5c65c2019-04-16 00:15:00 +040059 protocol: http
Jiri Konecny463dee52016-03-03 11:08:46 +010060 host: 127.0.0.1
61 port: 35357
62 token: token
63 password: password
64 network:
65 engine: neutron
66 host: 127.0.0.1
67 port: 9696
68 config:
69 version: 2.2
70 enabled: true
71 network:
72 engine: neutron
73 host: 127.0.0.1
74 port: 9696
75 discovery:
76 host: 127.0.0.1
77 analytics:
78 host: 127.0.0.1
79 bind:
80 address: 127.0.0.1
81 message_queue:
82 engine: rabbitmq
83 host: 127.0.0.1
84 port: 5672
85 database:
86 members:
87 - host: 127.0.0.1
88 port: 9160
89 cache:
Jakub Pavlikd1a059e2016-07-13 23:08:33 +020090 members:
91 - host: 127.0.0.1
92 port: 11211
Jiri Konecny463dee52016-03-03 11:08:46 +010093 identity:
94 engine: keystone
95 version: '2.0'
96 region: RegionOne
ibumarskovea5c65c2019-04-16 00:15:00 +040097 protocol: http
Jiri Konecny463dee52016-03-03 11:08:46 +010098 host: 127.0.0.1
99 port: 35357
100 user: admin
101 password: password
102 token: token
103 tenant: admin
104 members:
105 - host: 127.0.0.1
106 id: 1
Dmitry Stremkovskiy841fee32017-09-01 18:08:41 +0300107 rootlogger: "INFO, CONSOLE"
Jiri Konecny463dee52016-03-03 11:08:46 +0100108 control:
109 version: 2.2
110 enabled: true
111 bind:
112 address: 127.0.0.1
113 discovery:
114 host: 127.0.0.1
115 master:
116 host: 127.0.0.1
117 members:
118 - host: 127.0.0.1
119 id: 1
120 collector:
121 version: 2.2
122 enabled: true
123 bind:
124 address: 127.0.0.1
125 master:
126 host: 127.0.0.1
Gleb Zimin27521c12018-08-21 14:48:37 +0400127 contrail_cache:
128 engine: redis
129 host: 127.0.0.1
130 port: 6379
131 password: guest
Jiri Konecny463dee52016-03-03 11:08:46 +0100132 discovery:
133 host: 127.0.0.1
134 data_ttl: 2
135 database:
136 members:
137 - host: 127.0.0.1
138 port: 9160
Sergey Kreysfd017c12018-05-04 18:35:37 +0300139 message_queue:
140 members:
141 - host: 127.0.0.1
142 - host: 127.0.0.1
143 - host: 127.0.0.1
Jiri Konecny463dee52016-03-03 11:08:46 +0100144 database:
145 version: 2.2
146 cassandra:
147 version: 2
148 enabled: true
149 minimum_disk: 10
150 name: 'Contrail'
151 original_token: 0
Dmitry Stremkovskiy2a079c72017-07-12 23:11:18 +0300152 compaction_throughput_mb_per_sec: 16
Dmitry Stremkovskiy71b310a2017-08-11 20:39:11 +0300153 concurrent_compactors: 1
Jiri Konecny463dee52016-03-03 11:08:46 +0100154 data_dirs:
155 - /var/lib/cassandra
156 id: 1
157 discovery:
158 host: 127.0.0.1
159 bind:
160 host: 127.0.0.1
161 port: 9042
162 rpc_port: 9160
163 members:
164 - host: 127.0.0.1
165 id: 1
166 web:
167 version: 2.2
168 enabled: True
169 bind:
170 address: 127.0.0.1
171 analytics:
172 host: 127.0.0.1
173 master:
174 host: 127.0.0.1
175 cache:
176 engine: redis
177 host: 127.0.0.1
Gleb Zimin27521c12018-08-21 14:48:37 +0400178 password: guest
Jiri Konecny463dee52016-03-03 11:08:46 +0100179 port: 6379
180 members:
181 - host: 127.0.0.1
182 id: 1
183 identity:
184 engine: keystone
185 version: '2.0'
ibumarskovea5c65c2019-04-16 00:15:00 +0400186 protocol: http
Jiri Konecny463dee52016-03-03 11:08:46 +0100187 host: 127.0.0.1
188 port: 35357
189 user: admin
190 password: password
191 token: token
192 tenant: admin
193
194
195All-in-one cluster
196~~~~~~~~~~~~~~~~~~
197
Jakub Pavlik01fe5372016-05-20 11:23:28 +0200198Config, control, analytics, database, web -- altogether, clustered on multiple
199nodes.
Jiri Konecny463dee52016-03-03 11:08:46 +0100200
201.. code-block:: yaml
202
203 opencontrail:
204 common:
205 version: 2.2
206 source:
207 engine: pkg
208 address: http://mirror.robotice.cz/contrail-havana/
209 identity:
210 engine: keystone
ibumarskovea5c65c2019-04-16 00:15:00 +0400211 protocol: http
Jiri Konecny463dee52016-03-03 11:08:46 +0100212 host: 127.0.0.1
213 port: 35357
214 token: token
215 password: password
216 network:
217 engine: neutron
218 host: 127.0.0.1
219 port: 9696
220 config:
221 version: 2.2
222 enabled: true
223 network:
224 engine: neutron
225 host: 127.0.0.1
226 port: 9696
227 discovery:
228 host: 127.0.0.1
229 analytics:
230 host: 127.0.0.1
231 bind:
232 address: 127.0.0.1
233 message_queue:
234 engine: rabbitmq
235 host: 127.0.0.1
236 port: 5672
237 database:
238 members:
239 - host: 127.0.0.1
240 port: 9160
241 - host: 127.0.0.1
242 port: 9160
243 - host: 127.0.0.1
244 port: 9160
245 cache:
Jakub Pavlikd1a059e2016-07-13 23:08:33 +0200246 members:
247 - host: 127.0.0.1
248 port: 11211
249 - host: 127.0.0.1
250 port: 11211
251 - host: 127.0.0.1
252 port: 11211
Jiri Konecny463dee52016-03-03 11:08:46 +0100253 identity:
254 engine: keystone
255 version: '2.0'
256 region: RegionOne
ibumarskovea5c65c2019-04-16 00:15:00 +0400257 protocol: http
Jiri Konecny463dee52016-03-03 11:08:46 +0100258 host: 127.0.0.1
259 port: 35357
260 user: admin
261 password: password
262 token: token
263 tenant: admin
264 members:
265 - host: 127.0.0.1
266 id: 1
267 - host: 127.0.0.1
268 id: 2
269 - host: 127.0.0.1
270 id: 3
271 control:
272 version: 2.2
273 enabled: true
274 bind:
275 address: 127.0.0.1
276 discovery:
277 host: 127.0.0.1
278 master:
279 host: 127.0.0.1
280 members:
281 - host: 127.0.0.1
282 id: 1
283 - host: 127.0.0.1
284 id: 2
285 - host: 127.0.0.1
286 id: 3
287 collector:
288 version: 2.2
289 enabled: true
290 bind:
291 address: 127.0.0.1
292 master:
293 host: 127.0.0.1
Gleb Zimin27521c12018-08-21 14:48:37 +0400294 contrail_cache:
295 engine: redis
296 host: 127.0.0.1
297 port: 6379
298 password: guest
Jiri Konecny463dee52016-03-03 11:08:46 +0100299 discovery:
300 host: 127.0.0.1
301 data_ttl: 1
302 database:
303 members:
304 - host: 127.0.0.1
305 port: 9160
306 - host: 127.0.0.1
307 port: 9160
308 - host: 127.0.0.1
309 port: 9160
Sergey Kreysfd017c12018-05-04 18:35:37 +0300310 message_queue:
311 members:
312 - host: 127.0.0.1
313 - host: 127.0.0.1
314 - host: 127.0.0.1
Jiri Konecny463dee52016-03-03 11:08:46 +0100315 database:
316 version: 2.2
317 cassandra:
318 version: 2
319 enabled: true
320 name: 'Contrail'
321 minimum_disk: 10
322 original_token: 0
323 data_dirs:
324 - /var/lib/cassandra
325 id: 1
326 discovery:
327 host: 127.0.0.1
328 bind:
329 host: 127.0.0.1
330 port: 9042
331 rpc_port: 9160
332 members:
333 - host: 127.0.0.1
334 id: 1
335 - host: 127.0.0.1
336 id: 2
337 - host: 127.0.0.1
338 id: 3
339 web:
340 version: 2.2
341 enabled: True
342 bind:
343 address: 127.0.0.1
344 master:
345 host: 127.0.0.1
346 analytics:
347 host: 127.0.0.1
348 cache:
349 engine: redis
350 host: 127.0.0.1
Gleb Zimin27521c12018-08-21 14:48:37 +0400351 password: guest
Jiri Konecny463dee52016-03-03 11:08:46 +0100352 port: 6379
353 members:
354 - host: 127.0.0.1
355 id: 1
356 - host: 127.0.0.1
357 id: 2
358 - host: 127.0.0.1
359 id: 3
360 identity:
361 engine: keystone
362 version: '2.0'
ibumarskovea5c65c2019-04-16 00:15:00 +0400363 protocol: http
Jiri Konecny463dee52016-03-03 11:08:46 +0100364 host: 127.0.0.1
365 port: 35357
366 user: admin
367 password: password
368 token: token
369 tenant: admin
370
371
372Separated analytics from control and config
373~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
374
375Config, control, database, web.
376
377.. code-block:: yaml
378
379 opencontrail:
380 common:
381 version: 2.2
382 identity:
383 engine: keystone
ibumarskovea5c65c2019-04-16 00:15:00 +0400384 protocol: http
Jiri Konecny463dee52016-03-03 11:08:46 +0100385 host: 127.0.0.1
386 port: 35357
387 token: token
388 password: password
389 network:
390 engine: neutron
391 host: 127.0.0.1
392 port: 9696
393 config:
394 version: 2.2
395 enabled: true
396 network:
397 engine: neutron
398 host: 127.0.0.1
399 port: 9696
400 discovery:
401 host: 127.0.0.1
402 analytics:
403 host: 127.0.0.1
404 bind:
405 address: 127.0.0.1
406 message_queue:
407 engine: rabbitmq
408 host: 127.0.0.1
409 port: 5672
410 database:
411 members:
412 - host: 127.0.0.1
413 port: 9160
414 - host: 127.0.0.1
415 port: 9160
416 - host: 127.0.0.1
417 port: 9160
418 cache:
Jakub Pavlikd1a059e2016-07-13 23:08:33 +0200419 members:
420 - host: 127.0.0.1
421 port: 11211
422 - host: 127.0.0.1
423 port: 11211
424 - host: 127.0.0.1
425 port: 11211
Jiri Konecny463dee52016-03-03 11:08:46 +0100426 identity:
427 engine: keystone
428 version: '2.0'
429 region: RegionOne
ibumarskovea5c65c2019-04-16 00:15:00 +0400430 protocol: http
Jiri Konecny463dee52016-03-03 11:08:46 +0100431 host: 127.0.0.1
432 port: 35357
433 user: admin
434 password: password
435 token: token
436 tenant: admin
437 members:
438 - host: 127.0.0.1
439 id: 1
440 - host: 127.0.0.1
441 id: 2
442 - host: 127.0.0.1
443 id: 3
444 control:
445 version: 2.2
446 enabled: true
447 bind:
448 address: 127.0.0.1
449 discovery:
450 host: 127.0.0.1
451 master:
452 host: 127.0.0.1
453 members:
454 - host: 127.0.0.1
455 id: 1
456 - host: 127.0.0.1
457 id: 2
458 - host: 127.0.0.1
459 id: 3
460 database:
461 version: 127.0.0.1
462 cassandra:
463 version: 2
464 enabled: true
465 name: 'Contrail'
466 minimum_disk: 10
467 original_token: 0
468 data_dirs:
469 - /var/lib/cassandra
470 id: 1
471 discovery:
472 host: 127.0.0.1
473 bind:
474 host: 127.0.0.1
475 port: 9042
476 rpc_port: 9160
477 members:
478 - host: 127.0.0.1
479 id: 1
480 - host: 127.0.0.1
481 id: 2
482 - host: 127.0.0.1
483 id: 3
484 web:
485 version: 2.2
486 enabled: True
487 bind:
488 address: 127.0.0.1
489 analytics:
490 host: 127.0.0.1
491 master:
492 host: 127.0.0.1
493 cache:
494 engine: redis
495 host: 127.0.0.1
Gleb Zimin27521c12018-08-21 14:48:37 +0400496 password: guest
Jiri Konecny463dee52016-03-03 11:08:46 +0100497 port: 6379
498 members:
499 - host: 127.0.0.1
500 id: 1
501 - host: 127.0.0.1
502 id: 2
503 - host: 127.0.0.1
504 id: 3
505 identity:
506 engine: keystone
507 version: '2.0'
ibumarskovea5c65c2019-04-16 00:15:00 +0400508 protocol: http
Jiri Konecny463dee52016-03-03 11:08:46 +0100509 host: 127.0.0.1
510 port: 35357
511 user: admin
512 password: password
513 token: token
514 tenant: admin
515
Jiri Konecny463dee52016-03-03 11:08:46 +0100516Analytic nodes
Jiri Konecny463dee52016-03-03 11:08:46 +0100517
518Analytics and database on an analytic node(s)
519
520.. code-block:: yaml
521
522 opencontrail:
523 common:
524 version: 2.2
525 identity:
526 engine: keystone
ibumarskovea5c65c2019-04-16 00:15:00 +0400527 protocol: http
Jiri Konecny463dee52016-03-03 11:08:46 +0100528 host: 127.0.0.1
529 port: 35357
530 token: token
531 password: password
532 network:
533 engine: neutron
534 host: 127.0.0.1
535 port: 9696
536 collector:
537 version: 2.2
538 enabled: true
539 bind:
540 address: 127.0.0.1
Gleb Zimin27521c12018-08-21 14:48:37 +0400541 contrail_cache:
542 engine: redis
543 host: 127.0.0.1
544 password: guest
545 port: 6379
Jiri Konecny463dee52016-03-03 11:08:46 +0100546 master:
547 host: 127.0.0.1
548 discovery:
549 host: 127.0.0.1
550 data_ttl: 1
551 database:
552 members:
553 - host: 127.0.0.1
554 port: 9160
555 - host: 127.0.0.1
556 port: 9160
557 - host: 127.0.0.1
558 port: 9160
Sergey Kreysfd017c12018-05-04 18:35:37 +0300559 message_queue:
560 members:
561 - host: 127.0.0.1
562 - host: 127.0.0.1
563 - host: 127.0.0.1
Jiri Konecny463dee52016-03-03 11:08:46 +0100564 database:
565 version: 2.2
566 cassandra:
567 version: 2
568 enabled: true
569 name: 'Contrail'
570 minimum_disk: 10
571 original_token: 0
572 data_dirs:
573 - /var/lib/cassandra
574 id: 1
575 discovery:
576 host: 127.0.0.1
577 bind:
578 host: 127.0.0.1
579 port: 9042
580 rpc_port: 9160
581 members:
582 - host: 127.0.0.1
583 id: 1
584 - host: 127.0.0.1
585 id: 2
586 - host: 127.0.0.1
587 id: 3
588
589
590Compute nodes
Aleš Komáreka3314b22017-04-11 13:46:06 +0200591-------------
Jiri Konecny463dee52016-03-03 11:08:46 +0100592
593Vrouter configuration on a compute node(s)
594
595.. code-block:: yaml
596
597 opencontrail:
598 common:
599 version: 2.2
600 identity:
601 engine: keystone
ibumarskovea5c65c2019-04-16 00:15:00 +0400602 protocol: http
Jiri Konecny463dee52016-03-03 11:08:46 +0100603 host: 127.0.0.1
604 port: 35357
605 token: token
606 password: password
607 network:
608 engine: neutron
609 host: 127.0.0.1
610 port: 9696
611 compute:
612 version: 2.2
613 enabled: True
Dmitry Stremkovskiy0cb5c562017-07-26 00:32:51 +0300614 hostname: node-12.domain.tld
Danysa144f292018-06-26 16:08:50 +0200615 flow_hold_limit: 0
Jiri Konecny463dee52016-03-03 11:08:46 +0100616 discovery:
617 host: 127.0.0.1
618 interface:
619 address: 127.0.0.1
620 dev: eth0
621 gateway: 127.0.0.1
622 mask: /24
623 dns: 127.0.0.1
624 mtu: 9000
625
Petr Jediný5f3008a2017-07-31 15:04:05 +0200626
627Compute nodes with gateway_mode
628-------------------------------
629
630Gateway mode: can be server/ vcpe (default is none)
631
632.. code-block:: yaml
633
634 opencontrail:
635 compute:
636 gateway_mode: server
637
Vasyl Saienkob10b7202017-09-05 14:19:03 +0300638TSN nodes
639---------
640
641Configure TSN nodes
642
643.. code-block:: yaml
644
645 opencontrail:
646 compute:
Anton Samoylov2a301f92019-04-05 17:00:49 +0400647 enabled: True
Vasyl Saienkob10b7202017-09-05 14:19:03 +0300648 tor:
Anton Samoylov2a301f92019-04-05 17:00:49 +0400649 enabled: True
Vasyl Saienkob10b7202017-09-05 14:19:03 +0300650 agent:
651 tor01:
652 id: 0
Vasyl Saienkob10b7202017-09-05 14:19:03 +0300653 address: 127.0.0.1
Anton Samoylov2a301f92019-04-05 17:00:49 +0400654 tor_name: TOR1
655 tor_ip: 10.11.0.100
656 tor_ovs_port: 6640
657 tor_ovs_protocol: tcp
658 http_server_port: 9090
659 tsn_ip: 127.0.0.1
660 tor_tunnel_ip: 10.10.0.100
661 tor_vendor_name: ovs
662 xmpp_auth_enable: False
663 xmpp_dns_auth_enable: False
Petr Jediný5f3008a2017-07-31 15:04:05 +0200664
Andreyeff77ac2017-08-25 12:14:06 -0500665Set up metadata secret for the Vrouter
Petr Jedinýfe51c6a2017-09-05 18:30:31 +0200666--------------------------------------
Andreyeff77ac2017-08-25 12:14:06 -0500667
Petr Jedinýfe51c6a2017-09-05 18:30:31 +0200668In order to get cloud-init within the instance to properly fetch
Andreyeff77ac2017-08-25 12:14:06 -0500669instance metadata, metadata_proxy_secret in the Vrouter agent config
670should match the value in nova.conf. The administrator should define
671it in the pillar:
672
673.. code-block:: yaml
674
675 opencontrail:
676 compute:
677 metadata:
678 secret: opencontrail
679
Petr Jedinýfe51c6a2017-09-05 18:30:31 +0200680Add auth info for Barbican on compute nodes
681-------------------------------------------
682
683.. code-block:: yaml
684
685 opencontrail:
686 compute:
687 lbaas:
688 enabled: true
689 secret_manager:
690 engine: barbican
691 identity:
692 user: admin
693 password: "supersecretpassword123"
694 tenant: admin
695
696
Jakub Pavlik735005f2016-02-26 15:54:53 +0100697Keystone v3
Aleš Komáreka3314b22017-04-11 13:46:06 +0200698-----------
Jakub Pavlik735005f2016-02-26 15:54:53 +0100699
Jakub Pavlik01fe5372016-05-20 11:23:28 +0200700To enable support for keystone v3 in opencontrail, there must be defined
701version for config and web role.
Jakub Pavlik735005f2016-02-26 15:54:53 +0100702
703.. code-block:: yaml
704
705 opencontrail:
706 config:
707 version: 2.2
708 enabled: true
709 ...
710 identity:
711 engine: keystone
712 version: '3'
713 ...
714
715 opencontrail:
716 web:
717 version: 2.2
718 enabled: true
719 ...
720 identity:
721 engine: keystone
722 version: '3'
723 ...
724
marco10cc2212016-04-03 14:21:54 +0200725Without Keystone
726----------------
727
728.. code-block:: yaml
729
730 opencontrail:
731 ...
732 common:
733 ...
734 identity:
735 engine: none
736 token: none
737 password: none
738 ...
739 config:
740 ...
741 identity:
742 engine: none
743 password: none
744 token: none
745 ...
746 web:
747 ...
748 identity:
749 engine: none
750 password: none
751 token: none
752 ...
marcof5461712016-04-04 20:49:36 +0200753
Pavel Cizinsky14eb00e2018-11-09 15:15:07 +0100754XMPP Encryption
755---------------
756
757Configure encryption of XMPP
758
759Computes nodes
760~~~~~~~~~~~~~~
761
762.. code-block:: yaml
763
764 opencontrail:
765 compute:
766 xmpp:
767 tls:
768 enabled: False
769 auth:
770 enabled: False
771 (optional) cert_file: /etc/contrail/server.pem
772 (optional) key_file: /etc/contrail/privkey.pem
773 (optional) ca_cert_file: /etc/contrail/ca-cert.pem
774
775Control nodes
776~~~~~~~~~~~~~
777
778.. code-block:: yaml
779
780 opencontrail:
781 control:
782 xmpp:
783 tls:
784 enabled: False
785 auth:
786 enabled: False
787 (optional) cert_file: /etc/contrail/server.pem
788 (optional) key_file: /etc/contrail/privkey.pem
789 (optional) ca_cert_file: /etc/contrail/ca-cert.pem
790
Aleš Komáreka3314b22017-04-11 13:46:06 +0200791Kubernetes support
792------------------
793
marcof5461712016-04-04 20:49:36 +0200794Kubernetes vrouter nodes
marcof5461712016-04-04 20:49:36 +0200795
796Vrouter configuration on a kubernetes node(s)
797
798.. code-block:: yaml
799
800 opencontrail:
801 ...
802 compute:
803 engine: kubernetes
804 ...
805
Jakub Pavlik0d1f67e2016-11-30 10:04:13 +0100806vRouter with separated control plane
Jakub Pavlik0d1f67e2016-11-30 10:04:13 +0100807
808Separate XMPP traffic from dataplane interface.
809
810.. code-block:: yaml
811
812 opencontrail:
813 compute:
814 bind:
815 address: 172.16.0.50
816 ...
817
Petr Jediný439fab32017-07-10 14:33:09 +0200818Override RPF default in Contrail API
819------------------------------------
820
821From MCP1.1 with OpenContrail >= 3.1.1 you can override RPF default for newly
822created virtual networks. This can be useful for usecases like running
823Calico and K8S in overlay. The `override_rpf_default_by` has valid values
824`disable`, `enable`. If not defined, the configuration fallbacks to Contrail
825default - currently `enable`.
826
827.. code-block:: yaml
828
829 opencontrail:
830 ...
831 config:
832 override_rpf_default_by: 'disable'
833 ...
834
Petr Jediný01c18822017-11-15 12:30:53 +0100835Cassandra GC logging
836--------------------
837
838From Contrail version 3 you can set a way you want to handle Cassandra GC logs.
839The behavior is controlled by `cassandra_gc_logging`. Valid values are
840'rotation' (default), 'legacy' and false.
841
842- 'rotation' is supported by JDK 6u34 7u2 or later and handles rotation of log
843files automatically.
844- 'legacy' is a way to support older JDKs and you will need to handle logs by
845other means. This can be handled for example by using
846`- service.opencontrail.database.cassandra_log_cleanup` in your reclass model.
847- false will disable the cassandra gc logging
848
849.. code-block:: yaml
850
851 opencontrail:
852 ...
853 database:
854 cassandra_gc_logging: false
855 ...
856
Petr Jediný439fab32017-07-10 14:33:09 +0200857
Jakub Pavlik6d90f362016-04-19 20:34:37 +0200858Disable Contrail API authentication
859-----------------------------------
860
Petr Jediný78e6f422017-06-01 13:24:49 +0200861Contrail version must >= 3.0. It is useful especially for Keystone v3.
Jakub Pavlik6d90f362016-04-19 20:34:37 +0200862
863.. code-block:: yaml
864
865 opencontrail:
866 ...
867 config:
868 multi_tenancy: false
869 ...
870
Marek Celoudae98c642018-01-31 12:43:42 +0100871Enable RBAC
872-----------
873
874
875.. code-block:: yaml
876
877 opencontrail:
878 ...
879 config:
880 aaa_mode: rbac
881 cloud_admin_role: admin
882 global_read_only_role: member
883 ...
884
Petr Jediný78e6f422017-06-01 13:24:49 +0200885Switch from on demand to periodic keystone sync
886-----------------------------------------------
887
888This can be useful when you want to sync projects from OpenStack to Contrail
889automatically. The period of sync is 60s.
890
891.. code-block:: yaml
892
893 opencontrail:
894 ...
895 config:
896 identity:
897 sync_on_demand: false
898 ...
899
Sergey Kreys94eba6c2019-11-05 17:33:29 -0600900Configure duration between polls to keystone to sync domains and projects
901-------------------------------------------------------------------------
902
903.. code-block:: yaml
904
905 opencontrail:
906 ...
907 config:
908 keystone_resync_interval_secs: 60
909 ...
910
Petr Jediný03027902018-07-17 20:32:52 +0200911Cassandra listen configuration
912------------------------------
913
914Interface example:
marco2502e052016-05-31 22:53:54 +0200915
916.. code-block:: yaml
Vasyl Saienkob10b7202017-09-05 14:19:03 +0300917
marco2502e052016-05-31 22:53:54 +0200918 database:
919 ....
920 bind:
921 interface: eth0
922 port: 9042
923 rpc_port: 9160
924 ....
Jakub Pavlik6d90f362016-04-19 20:34:37 +0200925
Petr Jediný03027902018-07-17 20:32:52 +0200926For running config and analytics db clusters on same hosts, you will need to
927change ports not to collide. The host is required.
928
929 database:
930 ....
931 bind:
932 host: 127.0.0.1
933 port: 9042
934 rpc_port: 9160
935 # for containers we need to move configdb to neighbouring ports
936 port_configdb: 9041
937 rpc_port_configdb: 9161
938 ....
939
940
Petr Jedinýffbe2082017-03-07 00:56:47 +0100941OpenContrail WebUI version >= 3.1.1
942-----------------------------------
Petr Jediný78e6f422017-06-01 13:24:49 +0200943For OpenContrail version >= 3.1.1 and Cassandra >= 2.1 we should override WebUI's cassandra port from 9160 to 9042.
Petr Jedinýffbe2082017-03-07 00:56:47 +0100944
945For appropriate node at class level:
946
947.. code-block:: yaml
Aleš Komáreka3314b22017-04-11 13:46:06 +0200948
Petr Jedinýffbe2082017-03-07 00:56:47 +0100949 opencontrail:
950 ....
951 web:
952 database:
953 port: 9042
954 ....
955
956
Jakub Pavlik9a4de012016-12-14 13:23:55 +0100957RabbitMQ HA hosts
958------------------
959
960.. code-block:: yaml
961
962 opencontrail:
963 config:
964 message_queue:
965 engine: rabbitmq
966 members:
967 - host: 10.0.16.1
968 - host: 10.0.16.2
969 - host: 10.0.16.3
970 port: 5672
971
972.. code-block:: yaml
973
974 database:
975 ....
976 bind:
977 interface: eth0
978 port: 9042
979 rpc_port: 9160
980 ....
981
Jakub Pavlike3590062017-02-20 23:32:57 +0100982DPDK vRouter
983-------------
984
985.. code-block:: yaml
986
987 opencontrail:
988 compute:
989 dpdk:
990 enabled: true
Jakub Pavlik54761d82017-03-08 11:22:37 +0100991 taskset: "0x0000003C00003C"
992 socket_mem: "1024,1024"
Jakub Pavlike3590062017-02-20 23:32:57 +0100993 interface:
994 mac_address: 90:e2:ba:7c:22:e1
995 pci: 0000:81:00.1
996 ...
997
Petr Jedinýe9960762018-05-04 17:36:59 +0200998Increase number of contrail-api workers
999---------------------------------------
1000
1001.. code-block:: yaml
1002
1003 opencontrail:
1004 ...
1005 config:
Svimbaca9fa5b2018-09-19 14:31:34 +02001006 api:
1007 workers_count: 3
Petr Jedinýe9960762018-05-04 17:36:59 +02001008 ...
1009
Marek Celouddbba7ed2017-12-07 10:36:24 +01001010Increase number of alarm-gen workers
1011------------------------------------
1012
1013Port prefix will increment used ports by workers starting with 5901.
1014
1015.. code-block:: yaml
1016
1017 collector:
1018 alarm_gen:
1019 workers: 1
1020 port_prefix: 59
1021
Ales Komarekad46d2e2017-03-09 17:16:38 +01001022Contrail client
1023---------------
1024
1025Basic parameters with identity and host configs
1026
Petr Jediný78e6f422017-06-01 13:24:49 +02001027.. code-block:: yaml
Ales Komarekad46d2e2017-03-09 17:16:38 +01001028
1029 opencontrail:
1030 client:
1031 identity:
1032 user: admin
1033 project: admin
1034 password: adminpass
1035 host: keystone_host
1036 config:
1037 host: contrail_api_host
1038 port: contrail_api_ort
1039
1040Enforcing virtual routers
1041
Petr Jediný78e6f422017-06-01 13:24:49 +02001042.. code-block:: yaml
Ales Komarekad46d2e2017-03-09 17:16:38 +01001043
1044 opencontrail:
1045 client:
1046 ...
1047 virtual_router:
1048 cmp01:
1049 ip_address: 172.16.0.11
1050 dpdk_enabled: True
1051 cmp02:
1052 ip_address: 172.16.0.12
1053 dpdk_enabled: True
1054
psvimbersky3c84e272018-01-02 10:34:29 +01001055
1056Enforcing global system config
1057
1058.. code-block:: yaml
1059
1060 opencontrail:
1061 client:
1062 ...
1063 global_system_config:
1064 name: default-global-system-config
1065 asn: 64512
1066 grp:
1067 enable: true
1068 restart_time: 60
1069 end_of_rib_timeout: 30
1070 bgp_helper_enable: false
1071 xmpp_helper_enable: false
1072 long_lived_restart_time: 300
1073
1074
Pavel Svimbersky13cda442017-09-14 14:46:13 +02001075Enforcing global vrouter config
1076
1077.. code-block:: yaml
1078
1079 opencontrail:
1080 client:
1081 ...
1082 global_vrouter_config:
Petr Jediný554d0412018-01-04 22:35:48 +01001083 name: default-global-vrouter-config
Pavel Svimbersky13cda442017-09-14 14:46:13 +02001084 parent_type: global-system-config
1085 encap_priority: "MPLSoUDP,MPLSoGRE"
1086 vxlan_vn_id_mode: automatic
1087 fq_names:
1088 - 'default-global-system-config'
1089 - 'default-global-vrouter-config'
1090
psvimbersky3c84e272018-01-02 10:34:29 +01001091
1092
Ales Komarekad46d2e2017-03-09 17:16:38 +01001093Enforcing control nodes
1094
Petr Jediný78e6f422017-06-01 13:24:49 +02001095.. code-block:: yaml
Ales Komarekad46d2e2017-03-09 17:16:38 +01001096
1097 opencontrail:
1098 client:
1099 ...
1100 bgp_router:
1101 ntw01:
1102 type: control-node
1103 ip_address: 172.16.0.11
1104 nwt02:
1105 type: control-node
1106 ip_address: 172.16.0.12
1107 nwt03:
1108 type: control-node
1109 ip_address: 172.16.0.13
1110
1111
1112Enforcing edge BGP routers
1113
Petr Jediný78e6f422017-06-01 13:24:49 +02001114.. code-block:: yaml
Ales Komarekad46d2e2017-03-09 17:16:38 +01001115
1116 opencontrail:
1117 client:
1118 ...
1119 bgp_router:
1120 mx01:
1121 type: router
1122 ip_address: 172.16.0.21
1123 asn: 64512
1124 mx02:
1125 type: router
1126 ip_address: 172.16.0.22
1127 asn: 64512
Marek Celoud3097e5b2018-01-09 13:52:14 +01001128 key_type: md5
1129 key: password
Ales Komarekad46d2e2017-03-09 17:16:38 +01001130
1131Enforcing config nodes
1132
Petr Jediný78e6f422017-06-01 13:24:49 +02001133.. code-block:: yaml
Ales Komarekad46d2e2017-03-09 17:16:38 +01001134
1135 opencontrail:
1136 client:
1137 ...
1138 config_node:
1139 ctl01:
1140 ip_address: 172.16.0.21
1141 ctl02:
1142 ip_address: 172.16.0.22
1143
1144Enforcing database nodes
1145
Petr Jediný78e6f422017-06-01 13:24:49 +02001146.. code-block:: yaml
Ales Komarekad46d2e2017-03-09 17:16:38 +01001147
1148 opencontrail:
1149 client:
1150 ...
1151 database_node:
1152 ntw01:
1153 ip_address: 172.16.0.21
1154 ntw02:
1155 ip_address: 172.16.0.22
1156
1157Enforcing analytics nodes
1158
Petr Jediný78e6f422017-06-01 13:24:49 +02001159.. code-block:: yaml
Ales Komarekad46d2e2017-03-09 17:16:38 +01001160
1161 opencontrail:
1162 client:
1163 ...
1164 analytics_node:
1165 nal01:
1166 ip_address: 172.16.0.31
1167 nal02:
1168 ip_address: 172.16.0.32
1169
Petr Jediný5f3efe32017-05-26 17:55:09 +02001170Enforcing Link Local Services
1171
1172.. code-block:: yaml
1173
1174 opencontrail:
1175 client:
1176 ...
1177 linklocal_service:
1178 # example with dns name address (only one permited)
1179 meta1:
1180 lls_ip: 10.0.0.23
1181 lls_port: 80
1182 ipf_addresses: "meta.example.com"
1183 ipf_port: 80
1184 # example with multiple ip addresses
1185 meta2:
1186 lls_ip: 10.0.0.23
1187 lls_port: 80
1188 ipf_addresses:
1189 - 10.10.10.10
1190 - 10.20.20.20
1191 - 10.30.30.30
1192 ipf_port: 80
1193 # example with one ip address
1194 meta3:
1195 lls_ip: 10.0.0.23
1196 lls_port: 80
1197 ipf_addresses:
1198 - 10.10.10.10
1199 ipf_port: 80
1200 # example with name override
1201 lls_meta4:
1202 name: meta4
1203 lls_ip: 10.0.0.23
1204 lls_port: 80
1205 ipf_addresses:
1206 - 10.10.10.10
1207 ipf_port: 80
1208
Vasyl Saienkob10b7202017-09-05 14:19:03 +03001209
Michel Nederloff5bccda2017-11-20 13:31:38 +01001210Configuring OpenStack default quotasx
1211
1212.. code-block:: yaml
1213 config:
1214 quota:
1215 network: 5
1216 subnet: 10
1217 router: 10
1218 floating_ip: 100
1219 secgroup: 1000
1220 secgroup_rule: 1000
1221 port: 1000
1222 pool: -1
1223 member: -1
1224 health_monitor: -1
1225 vip: -1
1226
1227Enforcing physical routers
Petr Jediný04bed9b2018-05-03 19:44:10 +02001228
Vasyl Saienkob10b7202017-09-05 14:19:03 +03001229.. code-block:: yaml
1230
1231 opencontrail:
1232 client:
1233 ...
1234 physical_router:
1235 router1:
1236 name: router1
1237 dataplane_ip: 1.2.3.4
1238 management_ip: 1.2.3.4
1239 vendor_name: ovs
1240 product_name: ovs
1241 agents:
1242 - tsn0-0
1243 - tsn0
1244
1245Enforcing physical/logical interfaces for routers
1246
1247
1248.. code-block:: yaml
1249
1250 opencontrail
1251 client:
1252 ...
1253 physical_router:
1254 router1:
1255 ...
1256 interface:
1257 port1:
1258 name: port1
1259 logical_interface:
1260 port1_l:
1261 name: 'port1.0'
1262 vlan_tag: 0
1263 interface_type: L2
1264 virtual_machine_interface:
1265 port1_port:
1266 name: port1_port
1267 ip_address: 192.168.90.107
1268 mac_address: '2e:92:a8:af:c2:21'
1269 security_group: 'default'
1270 virtual_network: 'virtual-network'
1271
Jan Cachebfed1c2018-01-09 17:21:35 +01001272Enforcing virtual networks
1273
1274
1275.. code-block:: yaml
1276
1277 opencontrail:
1278 client:
1279 virtual_networks:
1280 net01:
1281 name: 'network01'
1282 ip_address: '172.16.111.0'
1283 ip_prefix: 24
1284 asn: 64512
1285 route_target: 10000
1286 external: True
1287 allow_transit: False
1288 forwarding_mode: 'l2_l3'
1289 rpf: 'disable'
1290 mirror_destination: False
1291 domain: 'default-domain'
1292 project: 'admin'
1293 ipam_domain: 'default-domain'
1294 ipam_project: 'default-project'
1295 ipam_name: 'default-network-ipam'
1296 net02:
1297 name: 'network02'
1298 net03:
1299 name: 'network03'
1300
Ales Komarekad46d2e2017-03-09 17:16:38 +01001301
Jan Cachb3092722018-01-31 12:46:16 +01001302Enforcing floating ip pool setings.
1303
1304Virtual network with flag external needs to be created before managing the floating ip pool.
1305Param vn_name is the name of the external network.
1306
1307.. code-block:: yaml
1308
1309 opencontrail:
1310 client:
1311 floating_ip_pools:
1312 pool1:
1313 vn_name: external-network
1314 vn_project: admin
1315 vn_domain: default-domain
1316 owner_access: 7
1317 global_access: 0
1318 list_of_projects:
1319 - [tenant1, 7]
1320 - [tenant2, 7]
1321 - [tenant3, 7]
1322 pool2:
1323 vn_name: floating-ips
1324 vn_project: admin
1325 vn_domain: default-domain
1326 owner_access: 7
1327 global_access: 0
1328 list_of_projects:
1329 - [tenant3, 7]
1330
1331
Pavel Cizinsky14eb00e2018-11-09 15:15:07 +01001332If you want to remove all shares from the ip floating pool, define only empty list in
Jan Cachb3092722018-01-31 12:46:16 +01001333list of projects, like this:
1334
1335.. code-block:: yaml
1336
1337 opencontrail:
1338 client:
1339 floating_ip_pools:
1340 pool1:
1341 vn_name: external-network
1342 vn_project: admin
1343 vn_domain: default-domain
1344 owner_access: 7
1345 global_access: 0
1346 list_of_projects: []
1347
1348
Michel Nederlof5364ab62017-12-11 15:02:25 +01001349Contrail DNS custom forwarders
1350------------------------------
1351
1352By default Contrail uses the /etc/resolv.conf file to determine the upstream DNS servers.
1353This can have some side-affects, like resolving internal DNS entries on you public instances.
1354
1355In order to overrule this default set, you can configure nameservers using pillar data.
1356The formula is then responsible for configuring and generating a alternate resolv.conf file.
1357
1358Note: this has been patched recently in the Contrail distribution of Mirantis:
1359https://github.com/Mirantis/contrail-controller/commit/ed9a25ccbcfebd7d079a93aecc5a1a7bf1265ea4
1360https://github.com/Mirantis/contrail-controller/commit/94c844cf2e9bcfcd48587aec03d10b869e737ade
1361
1362
1363To change forwarders for the default-dns option (which is handled by compute nodes):
1364
1365.. code-block:: yaml
1366
1367 compute:
1368 ....
1369 dns:
1370 forwarders:
1371 - 8.8.8.8
1372 - 8.8.4.4
1373 ....
1374
1375To change forwarders for vDNS zones (handled by control nodes):
1376
1377.. code-block:: yaml
1378
1379 control:
1380 ....
1381 dns:
1382 forwarders:
1383 - 8.8.8.8
1384 - 8.8.4.4
1385 ....
1386
Petr Jediný04bed9b2018-05-03 19:44:10 +02001387Contrail IF-MAP server configuration
1388------------------------------------
1389
1390Contrail 3.2 contains internal IF-MAP server implementation. This implementation can be enabled
1391by setting ``config:ifmap:engine`` to internal. Currently supported engines are ``internal`` and
1392``irond`` (default). The ``internal`` will configure contrail-api to run as a IF-MAP server in the
1393same process as contrail-api and will generate security certificates in specified folder.
1394
1395.. code-block:: yaml
1396
1397 config:
1398 ....
1399 ifmap:
1400 engine: internal
1401 cert_dir: /etc/contrail/ssl/certs/ # default
1402 basename_cert: ifmap.crt # default
1403 basename_key: ifmap.key # default
1404 ....
1405
1406To set static configuration of the IF-MAP server for contrail-control instead of using
1407discovery service, you can use ``control:ifmap:bind:host`` and ``port``. The static configuration
1408is triggered by existence of non-empty value of ``control:ifmap:bind`` key.
1409
1410.. code-block:: yaml
1411 control:
1412 ....
1413 ifmap
1414 bind:
1415 host: 127.0.0.1
1416 port: 8443
1417 ....
1418
Jan Cach2f99ae82018-10-03 19:50:09 +02001419Configure TCP_TW_RECYCLE in kernel
1420------------------------------------
Petr Jediný04bed9b2018-05-03 19:44:10 +02001421
Jan Cach2f99ae82018-10-03 19:50:09 +02001422Enable fast recycling of TIME-WAIT sockets. To enable set parameter to 1, which is
1423default value in formula. To turn off this option set parameter to 0:
1424
1425.. code-block:: yaml
1426
1427 opencontrail:
1428 ....
1429 common
1430 ....
1431 tcp_tw_recycle: 0
1432 ....
Michel Nederloff5bccda2017-11-20 13:31:38 +01001433
Anton Samoylov28ad4fa2018-10-02 14:45:41 +04001434Define extra states for contrail services health check
1435------------------------------------------------------
1436
1437Service health check procedure verifies that all available contrail services are in ``active``
1438state.
1439Additional states could be defined for every service as expected states for validation procedure.
1440
1441.. code-block:: yaml
1442
1443 config:
1444 ....
1445 services_extra_states:
1446 contrail-schema:
1447 - backup
1448 contrail-device-manager
1449 - backup
1450 contrail-svc-monitor:
1451 - backup
1452 ....
1453
1454``contrail-schema``, ``contrail-device-manager`` and ``contrail-svc-monitor`` config services already
1455have additional ``backup`` state by default.
1456
Svimba4c4d45a2019-05-03 15:49:08 +02001457Setup Sandesh rate limit
1458------------------------
1459Sandesh send rate limit can be used to throttle system logs transmitted per second. System logs are
1460dropped if the sending rate is exceeded.
1461
1462It is possible to use only global limit for all services of contrail component.
1463
1464.. code-block:: yaml
1465
1466 opencontrail:
1467 control:
1468 ....
1469 sandesh_send_rate_limits:
1470 global: 10
1471 ....
1472
1473
1474Global limit and limit for specific service can be defined together where specific service limit
1475has higher priority.
1476
1477.. code-block:: yaml
1478
1479 opencontrail:
1480 config:
1481 ....
1482 sandesh_send_rate_limits:
1483 global: 10
1484 config_api: 3
1485 schema: 5
1486 ....
1487
1488Only specific service limit can be defined. In this case other services of Contrail component
1489keep default value (0) of `sandesh_send_rate_limit`
1490
1491.. code-block:: yaml
1492
1493 opencontrail:
1494 collector:
1495 ....
1496 sandesh_send_rate_limits:
1497 collector: 100
1498 analytics-api: 50
1499 ....
1500
1501Full list:
1502
1503.. code-block:: yaml
1504
1505 opencontrail:
1506 control:
1507 ....
1508 sandesh_send_rate_limits:
1509 global: 100
1510 control: 10
1511 dns: 10
1512 nodemgr: 10
1513 ....
1514
1515 config:
1516 ....
1517 sandesh_send_rate_limits:
1518 global: 100
1519 config_api: 10
1520 schema: 10
1521 svc_monitor: 10
1522 device_manager: 10
1523 nodemgr: 10
1524 ....
1525
1526 collector:
1527 ....
1528 sandesh_send_rate_limits:
1529 global: 100
1530 collector: 10
1531 analytics_api: 10
1532 query_engine: 10
1533 alarm_gen: 10
1534 snmp_collector: 10
1535 topology: 10
1536 nodemgr: 10
1537 ....
1538
1539 compute:
1540 ....
1541 sandesh_send_rate_limits:
1542 global: 100
1543 agent: 10
1544 nodemgr: 10
1545 ....
1546
Svimbae72ef8b2019-06-05 11:45:02 +02001547Disable database writes of collector
1548------------------------------------
1549
1550Sandesh messages aren't written to analytics database by changing following parameters to `true`.
1551Default value all of these parametes is `false`. Is possible to change one or more parametes.
1552
1553.. code-block:: yaml
1554
1555 opencontrail:
1556 ....
1557 collector
1558 ....
1559 database:
1560 ....
1561 disable_all_writes: false
1562 disable_statistics_writes: true
1563 disable_message_writes: false
1564 ....
1565
1566
Anton Samoylov973116f2019-05-08 18:03:28 +04001567Define aging time for flow-records in seconds
1568---------------------------------------------
1569
1570Flows are aged out based on inactivity for a specific period of time. By default,
1571the timeout value is 180 seconds. This can be modified by configuring flow_cache_timeout for
1572contrail-vrouter-agent service:
1573
1574.. code-block:: yaml
1575
1576 opencontrail:
1577 ....
1578 compute
1579 ....
1580 flow_cache_timeout: 180
1581 ....
1582
Filip Pytloun27930402015-10-06 16:28:32 +02001583Usage
1584=====
1585
1586Basic installation
Ales Komarekad46d2e2017-03-09 17:16:38 +01001587------------------
Filip Pytloun27930402015-10-06 16:28:32 +02001588
1589Add control BGP
Ales Komarekad46d2e2017-03-09 17:16:38 +01001590
1591.. code-block:: bash
Filip Pytloun27930402015-10-06 16:28:32 +02001592
1593 python /etc/contrail/provision_control.py --api_server_ip 192.168.1.11 --api_server_port 8082 --host_name network1.contrail.domain.com --host_ip 192.168.1.11 --router_asn 64512
1594
Ales Komarekad46d2e2017-03-09 17:16:38 +01001595Install compute node
Filip Pytloun27930402015-10-06 16:28:32 +02001596
Ales Komarekad46d2e2017-03-09 17:16:38 +01001597.. code-block:: bash
Filip Pytloun27930402015-10-06 16:28:32 +02001598
1599 yum install contrail-vrouter contrail-openstack-vrouter
1600
1601 salt-call state.sls nova,opencontrail
1602
1603Add virtual router
Filip Pytloun27930402015-10-06 16:28:32 +02001604
Ales Komarekad46d2e2017-03-09 17:16:38 +01001605.. code-block:: bash
Filip Pytloun27930402015-10-06 16:28:32 +02001606
1607 python /etc/contrail/provision_vrouter.py --host_name hostnode1.intra.domain.com --host_ip 10.0.100.101 --api_server_ip 10.0.100.30 --oper add --admin_user admin --admin_password cloudlab --admin_tenant_name admin
1608
1609 /etc/sysconfig/network-scripts/ifcfg-bond0 -- comment GATEWAY,NETMASK,IPADDR
1610
1611 reboot
1612
Aleš Komáreka3314b22017-04-11 13:46:06 +02001613Debugging
1614---------
Filip Pytloun27930402015-10-06 16:28:32 +02001615
1616Display vhost XMPP connection status
1617
1618You should see the correct controller_ip and state should be established.
1619
1620 http://<compute-node>:8085/Snh_AgentXmppConnectionStatusReq?
1621
1622Display vrouter interface status
1623
1624When vrf_name = ---ERROR--- then something goes wrong
1625
1626 http://<compute-node>:8085/Snh_ItfReq?name=
1627
1628Display IF MAP table
1629
Vasyl Saienkob10b7202017-09-05 14:19:03 +03001630Look for neighbours, if VM has 2, it's ok
Filip Pytloun27930402015-10-06 16:28:32 +02001631
1632 http://<control-node>:8083/Snh_IFMapTableShowReq?table_name=
1633
1634Trace XMPP requests
1635
1636 http://<compute-node>:8085/Snh_SandeshTraceRequest?x=XmppMessageTrace