Coverage Report

Created: 2025-12-05 06:31

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/frr/yang/frr-deviations-bgp-datacenter.yang.c
Line
Count
Source
1
/* autogenerated by embedmodel.py.  DO NOT EDIT */
2
3
#include <zebra.h>
4
#include "yang.h"
5
6
static const char model[] =
7
  "// SPDX-License-Identifier: BSD-2-Clause\n"
8
  "module frr-deviations-bgp-datacenter {\n"
9
  "  yang-version 1.1;\n"
10
  "  namespace \"http://frrouting.org/yang/frr-deviations-bgp-datacenter\";\n"
11
  "  prefix frr-deviations-bgp-dc;\n"
12
  "\n"
13
  "  import frr-routing {\n"
14
  "    prefix frr-rt;\n"
15
  "  }\n"
16
  "\n"
17
  "  import frr-bgp {\n"
18
  "    prefix frr-bgp;\n"
19
  "  }\n"
20
  "\n"
21
  "  organization\n"
22
  "    \"FRRouting\";\n"
23
  "  contact\n"
24
  "    \"FRR Users List: <mailto:frog@lists.frrouting.org> FRR Development\n"
25
  "     List: <mailto:dev@lists.frrouting.org>\";\n"
26
  "  description\n"
27
  "    \"This module defines deviations for the frr-bgp module with\n"
28
  "     datacenter profile.\n"
29
  "\n"
30
  "     Copyright 2020 FRRouting\n"
31
  "\n"
32
  "     Redistribution and use in source and binary forms, with or without\n"
33
  "     modification, are permitted provided that the following conditions\n"
34
  "     are met:\n"
35
  "\n"
36
  "     1. Redistributions of source code must retain the above copyright notice,\n"
37
  "     this list of conditions and the following disclaimer.\n"
38
  "\n"
39
  "     2. Redistributions in binary form must reproduce the above copyright\n"
40
  "     notice, this list of conditions and the following disclaimer in the\n"
41
  "     documentation and/or other materials provided with the distribution.\n"
42
  "\n"
43
  "     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n"
44
  "     \\\"AS IS\\\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n"
45
  "     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n"
46
  "     A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n"
47
  "     HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n"
48
  "     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n"
49
  "     LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n"
50
  "     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n"
51
  "     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n"
52
  "     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n"
53
  "     OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\";\n"
54
  "\n"
55
  "  revision 2019-12-03 {\n"
56
  "    description\n"
57
  "      \"Initial revision.\";\n"
58
  "  }\n"
59
  "\n"
60
  "  deviation \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/frr-bgp:bgp/frr-bgp:global/frr-bgp:global-config-timers/frr-bgp:connect-retry-interval\" {\n"
61
  "    deviate replace {\n"
62
  "      default \"10\";\n"
63
  "    }\n"
64
  "  }\n"
65
  "\n"
66
  "  deviation \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/frr-bgp:bgp/frr-bgp:global/frr-bgp:global-config-timers/frr-bgp:hold-time\" {\n"
67
  "    deviate replace {\n"
68
  "      default \"9\";\n"
69
  "    }\n"
70
  "  }\n"
71
  "\n"
72
  "  deviation \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/frr-bgp:bgp/frr-bgp:global/frr-bgp:global-config-timers/frr-bgp:keepalive\" {\n"
73
  "    deviate replace {\n"
74
  "      default \"3\";\n"
75
  "    }\n"
76
  "  }\n"
77
  "\n"
78
  "  deviation \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/frr-bgp:bgp/frr-bgp:global/frr-bgp:route-selection-options/frr-bgp:deterministic-med\" {\n"
79
  "    deviate replace {\n"
80
  "      default \"false\";\n"
81
  "    }\n"
82
  "  }\n"
83
  "\n"
84
  "  deviation \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/frr-bgp:bgp/frr-bgp:global/frr-bgp:import-check\" {\n"
85
  "    deviate replace {\n"
86
  "      default \"true\";\n"
87
  "    }\n"
88
  "  }\n"
89
  "\n"
90
  "  deviation \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/frr-bgp:bgp/frr-bgp:global/frr-bgp:show-hostname\" {\n"
91
  "    deviate replace {\n"
92
  "      default \"true\";\n"
93
  "    }\n"
94
  "  }\n"
95
  "\n"
96
  "  deviation \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/frr-bgp:bgp/frr-bgp:global/frr-bgp:show-nexthop-hostname\" {\n"
97
  "    deviate replace {\n"
98
  "      default \"true\";\n"
99
  "    }\n"
100
  "  }\n"
101
  "\n"
102
  "  deviation \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/frr-bgp:bgp/frr-bgp:global/frr-bgp:ebgp-requires-policy\" {\n"
103
  "    deviate replace {\n"
104
  "      default \"false\";\n"
105
  "    }\n"
106
  "  }\n"
107
  "\n"
108
  "  deviation \"/frr-rt:routing/frr-rt:control-plane-protocols/frr-rt:control-plane-protocol/frr-bgp:bgp/frr-bgp:global/frr-bgp:global-neighbor-config/frr-bgp:log-neighbor-changes\" {\n"
109
  "    deviate replace {\n"
110
  "      default \"true\";\n"
111
  "    }\n"
112
  "  }\n"
113
  "}\n"
114
  "";
115
116
static struct yang_module_embed embed = {
117
  .mod_name = "frr-deviations-bgp-datacenter",
118
  .mod_rev = "2019-12-03",
119
  .sub_mod_name = "",
120
  .sub_mod_rev = "",
121
  .data = model,
122
  .format = LYS_IN_YANG,
123
};
124
125
static void embed_register(void) __attribute__((_CONSTRUCTOR(2000)));
126
static void embed_register(void)
127
2
{
128
2
  yang_module_embed(&embed);
129
2
}