blob: 65108161f9d3d1605625d35d13a01103cc574799 [file] [log] [blame]
Thomas Vachuska8ca75a22017-08-24 16:12:59 -07001submodule openconfig-ospfv2-common {
2
3 belongs-to openconfig-ospfv2 {
4 prefix "oc-ospfv2";
5 }
6
7 import openconfig-extensions { prefix "oc-ext"; }
8
9 // meta
10 organization "OpenConfig working group";
11
12 contact
13 "OpenConfig working group
14 www.openconfig.net";
15
16 description
17 "This submodule provides OSPFv2 configuration and operational
18 state parameters that are shared across multiple contexts";
19
20 oc-ext:openconfig-version "0.1.0";
21
22 revision "2017-02-28"{
23 description
24 "Initial public release of OSPFv2";
25 reference "0.1.0";
26 }
27
28 revision "2016-06-24" {
29 description
30 "Initial revision";
31 reference "0.0.1";
32 }
33
34 grouping ospfv2-common-mpls-igp-ldp-sync-config {
35 description
36 "Configuration parameters used for OSPFv2 MPLS/IGP
37 synchronization";
38
39 leaf enabled {
40 type boolean;
41 description
42 "When this leaf is set to true, do not utilise this link for
43 forwarding via the IGP until such time as LDP adjacencies to
44 the neighbor(s) over the link are established.";
45 }
46
47 leaf post-session-up-delay {
48 type uint32;
49 units milliseconds;
50 description
51 "This leaf specifies a delay, expressed in units of milliseconds,
52 between the LDP session to the IGP neighbor being established, and
53 it being considered synchronized by the IGP.";
54 }
55 }
56
57 grouping ospfv2-common-timers {
58 description
59 "Common definition of the type of timers that the OSPFv2 implementation
60 uses";
61
62 leaf timer-type {
63 type enumeration {
64 enum LINEAR_BACKOFF {
65 description
66 "The backoff used by the OSPFv2 implementation is linear, such that
67 a common delay is added following each event.";
68 }
69 enum EXPONENTIAL_BACKOFF {
70 description
71 "The backoff used by the OSPFv2 implementation is exponential, such
72 that the delay added following each event increases.";
73 }
74 }
75 description
76 "The timer mode that is utilised by the implementation.";
77 }
78 }
79}