Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
labs
bird-tools
Commits
e95bf9f3
Commit
e95bf9f3
authored
Mar 02, 2021
by
Matous Holinka
Committed by
Ondřej Zajíček
Mar 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Netlab: Ignore transient log warning in BGP configs
parent
f39cad91
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
netlab/cf-bgp-auth/test-cf-bgp-auth.py
netlab/cf-bgp-auth/test-cf-bgp-auth.py
+3
-1
netlab/cf-bgp-base/test-cf-bgp-base.py
netlab/cf-bgp-base/test-cf-bgp-base.py
+3
-1
netlab/cf-bgp-int/test-cf-bgp-int.py
netlab/cf-bgp-int/test-cf-bgp-int.py
+3
-1
netlab/cf-bgp-merged/test-cf-bgp-merged.py
netlab/cf-bgp-merged/test-cf-bgp-merged.py
+3
-1
No files found.
netlab/cf-bgp-auth/test-cf-bgp-auth.py
View file @
e95bf9f3
...
...
@@ -24,6 +24,8 @@ EXPECTED_DEVICES = (
"m44"
,
)
LOG_OPT
=
[
"<WARN> Next hop address .* resolvable through recursive route"
]
@
pytest
.
mark
.
skipif
(
cf
.
save
==
False
,
reason
=
"mode: save"
)
def
test_wait
():
...
...
@@ -58,4 +60,4 @@ def test_bird_routes_ipv6(exp_devs: str):
@
pytest
.
mark
.
parametrize
(
"exp_devs"
,
EXPECTED_DEVICES
)
def
test_logging
(
exp_devs
:
str
):
"""Check the log files. There should only DBG, INFO and TRACE messages"""
tk
.
test_logs
(
exp_devs
,
[]
,
[])
tk
.
test_logs
(
exp_devs
,
LOG_OPT
,
[])
netlab/cf-bgp-base/test-cf-bgp-base.py
View file @
e95bf9f3
...
...
@@ -24,6 +24,8 @@ EXPECTED_DEVICES = (
"m44"
,
)
LOG_OPT
=
[
"<WARN> Next hop address .* resolvable through recursive route"
]
@
pytest
.
mark
.
skipif
(
cf
.
save
==
False
,
reason
=
"mode: save"
)
def
test_wait
():
...
...
@@ -58,4 +60,4 @@ def test_bird_routes_ipv6(exp_devs: str):
@
pytest
.
mark
.
parametrize
(
"exp_devs"
,
EXPECTED_DEVICES
)
def
test_logging
(
exp_devs
:
str
):
"""Check the log files. There should only DBG, INFO and TRACE messages"""
tk
.
test_logs
(
exp_devs
,
[]
,
[])
tk
.
test_logs
(
exp_devs
,
LOG_OPT
,
[])
netlab/cf-bgp-int/test-cf-bgp-int.py
View file @
e95bf9f3
...
...
@@ -24,6 +24,8 @@ EXPECTED_DEVICES = (
"m44"
,
)
LOG_OPT
=
[
"<WARN> Next hop address .* resolvable through recursive route"
]
@
pytest
.
mark
.
skipif
(
cf
.
save
==
False
,
reason
=
"mode: save"
)
def
test_wait
():
...
...
@@ -58,4 +60,4 @@ def test_bird_routes_ipv6(exp_devs: str):
@
pytest
.
mark
.
parametrize
(
"exp_devs"
,
EXPECTED_DEVICES
)
def
test_logging
(
exp_devs
:
str
):
"""Check the log files. There should only DBG, INFO and TRACE messages"""
tk
.
test_logs
(
exp_devs
,
[]
,
[])
tk
.
test_logs
(
exp_devs
,
LOG_OPT
,
[])
netlab/cf-bgp-merged/test-cf-bgp-merged.py
View file @
e95bf9f3
...
...
@@ -24,6 +24,8 @@ EXPECTED_DEVICES = (
"m44"
,
)
LOG_OPT
=
[
"<WARN> Next hop address .* resolvable through recursive route"
]
@
pytest
.
mark
.
skipif
(
cf
.
save
==
False
,
reason
=
"mode: save"
)
def
test_wait
():
...
...
@@ -58,4 +60,4 @@ def test_bird_routes_ipv6(exp_devs: str):
@
pytest
.
mark
.
parametrize
(
"exp_devs"
,
EXPECTED_DEVICES
)
def
test_logging
(
exp_devs
:
str
):
"""Check the log files. There should only DBG, INFO and TRACE messages"""
tk
.
test_logs
(
exp_devs
,
[]
,
[])
tk
.
test_logs
(
exp_devs
,
LOG_OPT
,
[])
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment