blob: b49f0cc86e941b621d580d2b209541d91b8ff667 [file] [log] [blame]
Charles Chancaebcf32021-09-20 22:17:52 -07001Component Configuration
2=======================
Wailok Shum2f05cd32021-09-30 22:18:19 +08003
4Different from network configurations,
5component configurations are attributes and feature flags specific to ONOS components.
6
7For more details, please read ONOS Wiki `Component Configuration <https://wiki.onosproject.org/display/ONOS/Component+Configuration>`_
8
9Enable/Disable Phased Recovery
10------------------------------
11To check current status:
12
13.. code-block:: console
14
15 onos > cfg get org.onosproject.segmentrouting.phasedrecovery.impl.PhasedRecoveryManager phasedRecovery
16 name=phasedRecovery, type=boolean, value=false, defaultValue=false, description=Enabling phased recovery.
17
18
19We can see that the default value of phased recovery is false.
20Which means it is disabled by default.
21
22To enable phased recovery:
23
24.. code-block:: console
25
26 onos > cfg set org.onosproject.segmentrouting.phasedrecovery.impl.PhasedRecoveryManager phasedRecovery true
27 onos > cfg get org.onosproject.segmentrouting.phasedrecovery.impl.PhasedRecoveryManager phasedRecovery
28 name=phasedRecovery, type=boolean, value=true, defaultValue=false, description=Enabling phased recovery.
29
30Now the value is true and we have successfully enable phased recovery.
31
32To disable phased recovery, change the value to ``false``.
33
34
35.. tip::
36 Simply run ``cfg get`` in ONOS CLI to view all available component configurations supported by ONOS.
37 The default values are fine-tuned for SD-Fabric, and therefore we use them for most of the cases.