Graph modelisation for Path Computation Algorithm
[bgpcep.git] / docs / graph / graph-user-guide-running-graph.rst
1 .. _graph-user-guide-running-graph:
2
3 Running Graph
4 =============
5 This section explains how to install Graph plugin.
6
7 1. Install Graph feature - ``feature-graph``.
8    Also, for sake of this sample, it is required to install RESTCONF.
9    In the Karaf console, type command:
10
11    .. code-block:: console
12
13       feature:install feature-restconf feature-graph
14
15 2. The Graph plugin contains a default empty configuration, which is applied
16    after the feature starts up. One instance of Graph plugin is created
17    (named *graph-topology*), and its presence can be verified via REST:
18
19    **URL:** ``restconf/config/graph:graph-topology``
20
21    **Method:** ``GET``
22
23    **Response Body:**
24
25    .. code-block:: json
26
27       {}
28
29    It is also posible to access to the operational graph topology which is
30    also empty by default via REST:
31
32    **URL:** ``restconf/operational/graph:graph-topology``
33
34    **Method:** ``GET``
35
36    **Response Body:**
37
38    .. code-block:: json
39
40       {}