diff options
| -rw-r--r-- | doc/user/bgp.rst | 5 | ||||
| -rw-r--r-- | tests/lib/test_frrlua.c | 6 | ||||
| -rw-r--r-- | tests/lib/test_grpc.py | 4 |
3 files changed, 9 insertions, 6 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index b9733cd522..a2cd18c420 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -2956,7 +2956,7 @@ local discriminator against the bond interface on the PE (via zebra) - The sys-mac and local discriminator are used for generating a 10-byte, Type-3 Ethernet Segment ID. -Type-1 (EAS-per-ES and EAD-per-EVI) routes are used to advertise the locally +Type-1 (EAD-per-ES and EAD-per-EVI) routes are used to advertise the locally attached ESs and to learn off remote ESs in the network. Local Type-2/MAC-IP routes are also advertised with a destination ESI allowing for MAC-IP syncing between Ethernet Segment peers. @@ -3056,8 +3056,7 @@ route maybe fragmented. The number of EVIs per-EAD route can be configured via the following BGP command - -.. index:: [no] ead-es-frag evi-limit(1-1000) -.. clicmd:: [no] ead-es-frag evi-limit(1-1000) +.. clicmd:: [no] ead-es-frag evi-limit (1-1000) Sample Configuration ^^^^^^^^^^^^^^^^^^^^^ diff --git a/tests/lib/test_frrlua.c b/tests/lib/test_frrlua.c index a81446f9ca..fb6b77c0f8 100644 --- a/tests/lib/test_frrlua.c +++ b/tests/lib/test_frrlua.c @@ -61,7 +61,7 @@ static void test_encode_decode(void) assert(strncmp(p_a_str, p_b_str, sizeof(p_b_str)) == 0); assert(lua_gettop(L) == 0); - struct interface ifp_a; + struct interface ifp_a = {}; struct interface ifp_b = ifp_a; lua_pushinterface(L, &ifp_a); @@ -79,7 +79,7 @@ static void test_encode_decode(void) assert(ifp_a.ll_type == ifp_b.ll_type); assert(lua_gettop(L) == 0); - struct in_addr addr_a; + struct in_addr addr_a = {}; struct in_addr addr_b = addr_a; lua_pushinaddr(L, &addr_a); @@ -87,7 +87,7 @@ static void test_encode_decode(void) assert(addr_a.s_addr == addr_b.s_addr); assert(lua_gettop(L) == 0); - struct in6_addr in6addr_a; + struct in6_addr in6addr_a = {}; struct in6_addr in6addr_b = in6addr_a; lua_pushin6addr(L, &in6addr_a); diff --git a/tests/lib/test_grpc.py b/tests/lib/test_grpc.py index 2e292fadc9..7f722de422 100644 --- a/tests/lib/test_grpc.py +++ b/tests/lib/test_grpc.py @@ -13,6 +13,10 @@ class TestGRPC(object): 'S["GRPC_TRUE"]=""\n' not in open("../config.status").readlines(), reason="GRPC not enabled", ) + @pytest.mark.skipif( + not os.path.isdir("/usr/share/yang"), + reason="YANG models aren't installed in /usr/share/yang", + ) def test_exits_cleanly(self): basedir = os.path.dirname(inspect.getsourcefile(type(self))) program = os.path.join(basedir, self.program) |
